def __init__( self, credential, # type: "TokenCredential" top=None, # type: Optional[int] skip=None, # type: Optional[int] search=None, # type: Optional[str] filter=None, # type: Optional[str] count=None, # type: Optional[bool] base_url=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> None if not base_url: base_url = 'https://graph.microsoft.com/v1.0' self._config = FilesConfiguration(credential, top, skip, search, filter, count, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.drive_drive = DriveDriveOperations(self._client, self._config, self._serialize, self._deserialize) self.drive = DriveOperations(self._client, self._config, self._serialize, self._deserialize) self.drive_list = DriveListOperations(self._client, self._config, self._serialize, self._deserialize) self.drive_list_content_type = DriveListContentTypeOperations( self._client, self._config, self._serialize, self._deserialize) self.drive_list_item = DriveListItemOperations(self._client, self._config, self._serialize, self._deserialize) self.drive_list_item_version = DriveListItemVersionOperations( self._client, self._config, self._serialize, self._deserialize) self.group = GroupOperations(self._client, self._config, self._serialize, self._deserialize) self.share_shared_drive_item = ShareSharedDriveItemOperations( self._client, self._config, self._serialize, self._deserialize) self.share = ShareOperations(self._client, self._config, self._serialize, self._deserialize) self.share_list = ShareListOperations(self._client, self._config, self._serialize, self._deserialize) self.share_list_content_type = ShareListContentTypeOperations( self._client, self._config, self._serialize, self._deserialize) self.share_list_item = ShareListItemOperations(self._client, self._config, self._serialize, self._deserialize) self.share_list_item_version = ShareListItemVersionOperations( self._client, self._config, self._serialize, self._deserialize) self.share_list_item = ShareListItemOperations(self._client, self._config, self._serialize, self._deserialize) self.share_list_item_version = ShareListItemVersionOperations( self._client, self._config, self._serialize, self._deserialize) self.share_permission = SharePermissionOperations( self._client, self._config, self._serialize, self._deserialize) self.user = UserOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__(self, base_url=None, creds=None): super(CustomerIntelligenceClient, self).__init__(base_url, creds) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models)
def __init__(self, credentials, subscription_id, base_url=None): self.config = RecoveryServicesBackupClientConfiguration( credentials, subscription_id, base_url) super(RecoveryServicesBackupClient, self).__init__(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.protection_intent = ProtectionIntentOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_status = BackupStatusOperations(self._client, self.config, self._serialize, self._deserialize) self.feature_support = FeatureSupportOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_jobs = BackupJobsOperations(self._client, self.config, self._serialize, self._deserialize) self.job_details = JobDetailsOperations(self._client, self.config, self._serialize, self._deserialize) self.export_jobs_operation_results = ExportJobsOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.jobs = JobsOperations(self._client, self.config, self._serialize, self._deserialize) self.backup_policies = BackupPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_protected_items = BackupProtectedItemsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_usage_summaries = BackupUsageSummariesOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_engines = BackupEnginesOperations(self._client, self.config, self._serialize, self._deserialize) self.protection_container_refresh_operation_results = ProtectionContainerRefreshOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.protectable_containers = ProtectableContainersOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_containers = ProtectionContainersOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_workload_items = BackupWorkloadItemsOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_container_operation_results = ProtectionContainerOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.protected_items = ProtectedItemsOperations( self._client, self.config, self._serialize, self._deserialize) self.backups = BackupsOperations(self._client, self.config, self._serialize, self._deserialize) self.protected_item_operation_results = ProtectedItemOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.protected_item_operation_statuses = ProtectedItemOperationStatusesOperations( self._client, self.config, self._serialize, self._deserialize) self.recovery_points = RecoveryPointsOperations( self._client, self.config, self._serialize, self._deserialize) self.item_level_recovery_connections = ItemLevelRecoveryConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.restores = RestoresOperations(self._client, self.config, self._serialize, self._deserialize) self.job_cancellations = JobCancellationsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_operation_results = JobOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_operation_results = BackupOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_operation_statuses = BackupOperationStatusesOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_policies = ProtectionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_policy_operation_results = ProtectionPolicyOperationResultsOperations( self._client, self.config, self._serialize, self._deserialize) self.protection_policy_operation_statuses = ProtectionPolicyOperationStatusesOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_protectable_items = BackupProtectableItemsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_protection_containers = BackupProtectionContainersOperations( self._client, self.config, self._serialize, self._deserialize) self.security_pi_ns = SecurityPINsOperations(self._client, self.config, self._serialize, self._deserialize) self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations( self._client, self.config, self._serialize, self._deserialize) self.operations = Operations(self._client, self.config, self._serialize, self._deserialize)
def __init__(self, credential: "TokenCredential", endpoint: str, **kwargs: Any) -> None: _base_url = '{endpoint}' self._config = ArtifactsClientConfiguration(credential=credential, endpoint=endpoint, **kwargs) self._client = PipelineClient(base_url=_base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False self.kql_scripts = KqlScriptsOperations(self._client, self._config, self._serialize, self._deserialize) self.kql_script = KqlScriptOperations(self._client, self._config, self._serialize, self._deserialize) self.metastore = MetastoreOperations(self._client, self._config, self._serialize, self._deserialize) self.spark_configuration = SparkConfigurationOperations( self._client, self._config, self._serialize, self._deserialize) self.big_data_pools = BigDataPoolsOperations(self._client, self._config, self._serialize, self._deserialize) self.data_flow = DataFlowOperations(self._client, self._config, self._serialize, self._deserialize) self.data_flow_debug_session = DataFlowDebugSessionOperations( self._client, self._config, self._serialize, self._deserialize) self.dataset = DatasetOperations(self._client, self._config, self._serialize, self._deserialize) self.workspace_git_repo_management = WorkspaceGitRepoManagementOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtimes = IntegrationRuntimesOperations( self._client, self._config, self._serialize, self._deserialize) self.library = LibraryOperations(self._client, self._config, self._serialize, self._deserialize) self.linked_service = LinkedServiceOperations(self._client, self._config, self._serialize, self._deserialize) self.notebook = NotebookOperations(self._client, self._config, self._serialize, self._deserialize) self.notebook_operation_result = NotebookOperationResultOperations( self._client, self._config, self._serialize, self._deserialize) self.pipeline = PipelineOperations(self._client, self._config, self._serialize, self._deserialize) self.pipeline_run = PipelineRunOperations(self._client, self._config, self._serialize, self._deserialize) self.spark_job_definition = SparkJobDefinitionOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pools = SqlPoolsOperations(self._client, self._config, self._serialize, self._deserialize) self.sql_script = SqlScriptOperations(self._client, self._config, self._serialize, self._deserialize) self.trigger = TriggerOperations(self._client, self._config, self._serialize, self._deserialize) self.trigger_run = TriggerRunOperations(self._client, self._config, self._serialize, self._deserialize) self.workspace = WorkspaceOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = ComputeManagementClientConfiguration( credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) self.availability_sets = AvailabilitySetsOperations( self._client, self._config, self._serialize, self._deserialize) self.proximity_placement_groups = ProximityPlacementGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.dedicated_host_groups = DedicatedHostGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.dedicated_hosts = DedicatedHostsOperations( self._client, self._config, self._serialize, self._deserialize) self.ssh_public_keys = SshPublicKeysOperations(self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_extension_images = VirtualMachineExtensionImagesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_extensions = VirtualMachineExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_images = VirtualMachineImagesOperations( self._client, self._config, self._serialize, self._deserialize) self.usage = UsageOperations(self._client, self._config, self._serialize, self._deserialize) self.virtual_machines = VirtualMachinesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_sizes = VirtualMachineSizesOperations( self._client, self._config, self._serialize, self._deserialize) self.images = ImagesOperations(self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_sets = VirtualMachineScaleSetsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_set_extensions = VirtualMachineScaleSetExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_set_rolling_upgrades = VirtualMachineScaleSetRollingUpgradesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_set_vm_extensions = VirtualMachineScaleSetVMExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_set_vms = VirtualMachineScaleSetVMsOperations( self._client, self._config, self._serialize, self._deserialize) self.log_analytics = LogAnalyticsOperations(self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_run_commands = VirtualMachineRunCommandsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_scale_set_vm_run_commands = VirtualMachineScaleSetVMRunCommandsOperations( self._client, self._config, self._serialize, self._deserialize)
def __init__(self, credentials, subscription_id, base_url=None): self.config = LogAnalyticsManagementClientConfiguration( credentials, subscription_id, base_url) super(LogAnalyticsManagementClient, self).__init__(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self.api_version = '2020-03-01-preview' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.data_exports = DataExportsOperations(self._client, self.config, self._serialize, self._deserialize) self.data_sources = DataSourcesOperations(self._client, self.config, self._serialize, self._deserialize) self.intelligence_packs = IntelligencePacksOperations( self._client, self.config, self._serialize, self._deserialize) self.linked_services = LinkedServicesOperations( self._client, self.config, self._serialize, self._deserialize) self.linked_storage_accounts = LinkedStorageAccountsOperations( self._client, self.config, self._serialize, self._deserialize) self.management_groups = ManagementGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.operations = Operations(self._client, self.config, self._serialize, self._deserialize) self.operation_statuses = OperationStatusesOperations( self._client, self.config, self._serialize, self._deserialize) self.shared_keys = SharedKeysOperations(self._client, self.config, self._serialize, self._deserialize) self.usages = UsagesOperations(self._client, self.config, self._serialize, self._deserialize) self.workspaces = WorkspacesOperations(self._client, self.config, self._serialize, self._deserialize) self.deleted_workspaces = DeletedWorkspacesOperations( self._client, self.config, self._serialize, self._deserialize) self.clusters = ClustersOperations(self._client, self.config, self._serialize, self._deserialize) self.storage_insight_configs = StorageInsightConfigsOperations( self._client, self.config, self._serialize, self._deserialize) self.saved_searches = SavedSearchesOperations(self._client, self.config, self._serialize, self._deserialize) self.available_service_tiers = AvailableServiceTiersOperations( self._client, self.config, self._serialize, self._deserialize) self.gateways = GatewaysOperations(self._client, self.config, self._serialize, self._deserialize) self.schema = SchemaOperations(self._client, self.config, self._serialize, self._deserialize) self.workspace_purge = WorkspacePurgeOperations( self._client, self.config, self._serialize, self._deserialize) self.tables = TablesOperations(self._client, self.config, self._serialize, self._deserialize)
def __init__(self, credential: "TokenCredential", subscription_id: str, base_url: str = "https://management.azure.com", **kwargs: Any) -> None: self._config = CosmosDBManagementClientConfiguration( credential=credential, subscription_id=subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False self.database_accounts = DatabaseAccountsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) self.database = DatabaseOperations(self._client, self._config, self._serialize, self._deserialize) self.collection = CollectionOperations(self._client, self._config, self._serialize, self._deserialize) self.collection_region = CollectionRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.database_account_region = DatabaseAccountRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile_source_target = PercentileSourceTargetOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile_target = PercentileTargetOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile = PercentileOperations(self._client, self._config, self._serialize, self._deserialize) self.collection_partition_region = CollectionPartitionRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.collection_partition = CollectionPartitionOperations( self._client, self._config, self._serialize, self._deserialize) self.partition_key_range_id = PartitionKeyRangeIdOperations( self._client, self._config, self._serialize, self._deserialize) self.partition_key_range_id_region = PartitionKeyRangeIdRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.graph_resources = GraphResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_resources = SqlResourcesOperations(self._client, self._config, self._serialize, self._deserialize) self.mongo_db_resources = MongoDBResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.table_resources = TableResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.cassandra_resources = CassandraResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.gremlin_resources = GremlinResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.locations = LocationsOperations(self._client, self._config, self._serialize, self._deserialize) self.data_transfer_jobs = DataTransferJobsOperations( self._client, self._config, self._serialize, self._deserialize) self.cassandra_clusters = CassandraClustersOperations( self._client, self._config, self._serialize, self._deserialize) self.cassandra_data_centers = CassandraDataCentersOperations( self._client, self._config, self._serialize, self._deserialize) self.notebook_workspaces = NotebookWorkspacesOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_database_accounts = RestorableDatabaseAccountsOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_sql_databases = RestorableSqlDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_sql_containers = RestorableSqlContainersOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_sql_resources = RestorableSqlResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_mongodb_databases = RestorableMongodbDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_mongodb_collections = RestorableMongodbCollectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_mongodb_resources = RestorableMongodbResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_gremlin_databases = RestorableGremlinDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_gremlin_graphs = RestorableGremlinGraphsOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_gremlin_resources = RestorableGremlinResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_tables = RestorableTablesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_table_resources = RestorableTableResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.service = ServiceOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any ) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = NetworkManagementClientConfiguration(credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.application_security_groups = ApplicationSecurityGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.available_endpoint_services = AvailableEndpointServicesOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuits = ExpressRouteCircuitsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_service_providers = ExpressRouteServiceProvidersOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.inbound_nat_rules = InboundNatRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_probes = LoadBalancerProbesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interfaces = NetworkInterfacesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( self._client, self._config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.default_security_rules = DefaultSecurityRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self._config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self._config, self._serialize, self._deserialize) self.connection_monitors = ConnectionMonitorsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self._config, self._serialize, self._deserialize) self.route_filters = RouteFiltersOperations( self._client, self._config, self._serialize, self._deserialize) self.route_filter_rules = RouteFilterRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.route_tables = RouteTablesOperations( self._client, self._config, self._serialize, self._deserialize) self.routes = RoutesOperations( self._client, self._config, self._serialize, self._deserialize) self.bgp_service_communities = BgpServiceCommunitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.usages = UsagesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self._config, self._serialize, self._deserialize) self.subnets = SubnetsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_peerings = VirtualNetworkPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_gateways = VirtualNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize)
def operations(self): """Instance depends on the API version: * 2018-03-31: :class:`Operations<azure.mgmt.containerservice.v2018_03_31.operations.Operations>` * 2018-08-01-preview: :class:`Operations<azure.mgmt.containerservice.v2018_08_01_preview.operations.Operations>` * 2019-02-01: :class:`Operations<azure.mgmt.containerservice.v2019_02_01.operations.Operations>` * 2019-04-01: :class:`Operations<azure.mgmt.containerservice.v2019_04_01.operations.Operations>` * 2019-06-01: :class:`Operations<azure.mgmt.containerservice.v2019_06_01.operations.Operations>` * 2019-08-01: :class:`Operations<azure.mgmt.containerservice.v2019_08_01.operations.Operations>` * 2019-10-01: :class:`Operations<azure.mgmt.containerservice.v2019_10_01.operations.Operations>` * 2019-11-01: :class:`Operations<azure.mgmt.containerservice.v2019_11_01.operations.Operations>` * 2020-01-01: :class:`Operations<azure.mgmt.containerservice.v2020_01_01.operations.Operations>` * 2020-02-01: :class:`Operations<azure.mgmt.containerservice.v2020_02_01.operations.Operations>` * 2020-03-01: :class:`Operations<azure.mgmt.containerservice.v2020_03_01.operations.Operations>` * 2020-04-01: :class:`Operations<azure.mgmt.containerservice.v2020_04_01.operations.Operations>` * 2020-06-01: :class:`Operations<azure.mgmt.containerservice.v2020_06_01.operations.Operations>` * 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.operations.Operations>` * 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.operations.Operations>` * 2020-11-01: :class:`Operations<azure.mgmt.containerservice.v2020_11_01.operations.Operations>` * 2020-12-01: :class:`Operations<azure.mgmt.containerservice.v2020_12_01.operations.Operations>` * 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>` * 2021-03-01: :class:`Operations<azure.mgmt.containerservice.v2021_03_01.operations.Operations>` * 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>` """ api_version = self._get_api_version('operations') if api_version == '2018-03-31': from .v2018_03_31.operations import Operations as OperationClass elif api_version == '2018-08-01-preview': from .v2018_08_01_preview.operations import Operations as OperationClass elif api_version == '2019-02-01': from .v2019_02_01.operations import Operations as OperationClass elif api_version == '2019-04-01': from .v2019_04_01.operations import Operations as OperationClass elif api_version == '2019-06-01': from .v2019_06_01.operations import Operations as OperationClass elif api_version == '2019-08-01': from .v2019_08_01.operations import Operations as OperationClass elif api_version == '2019-10-01': from .v2019_10_01.operations import Operations as OperationClass elif api_version == '2019-11-01': from .v2019_11_01.operations import Operations as OperationClass elif api_version == '2020-01-01': from .v2020_01_01.operations import Operations as OperationClass elif api_version == '2020-02-01': from .v2020_02_01.operations import Operations as OperationClass elif api_version == '2020-03-01': from .v2020_03_01.operations import Operations as OperationClass elif api_version == '2020-04-01': from .v2020_04_01.operations import Operations as OperationClass elif api_version == '2020-06-01': from .v2020_06_01.operations import Operations as OperationClass elif api_version == '2020-07-01': from .v2020_07_01.operations import Operations as OperationClass elif api_version == '2020-09-01': from .v2020_09_01.operations import Operations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import Operations as OperationClass elif api_version == '2020-12-01': from .v2020_12_01.operations import Operations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import Operations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import Operations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import Operations as OperationClass else: raise ValueError( "API version {} does not have operation group 'operations'". format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credentials, subscription_id, base_url=None): self.config = SqlManagementClientConfiguration(credentials, subscription_id, base_url) super(SqlManagementClient, self).__init__(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.recoverable_databases = RecoverableDatabasesOperations( self._client, self.config, self._serialize, self._deserialize) self.restorable_dropped_databases = RestorableDroppedDatabasesOperations( self._client, self.config, self._serialize, self._deserialize) self.servers = ServersOperations(self._client, self.config, self._serialize, self._deserialize) self.server_connection_policies = ServerConnectionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.database_threat_detection_policies = DatabaseThreatDetectionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.data_masking_policies = DataMaskingPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.data_masking_rules = DataMaskingRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.firewall_rules = FirewallRulesOperations(self._client, self.config, self._serialize, self._deserialize) self.geo_backup_policies = GeoBackupPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.databases = DatabasesOperations(self._client, self.config, self._serialize, self._deserialize) self.elastic_pools = ElasticPoolsOperations(self._client, self.config, self._serialize, self._deserialize) self.recommended_elastic_pools = RecommendedElasticPoolsOperations( self._client, self.config, self._serialize, self._deserialize) self.replication_links = ReplicationLinksOperations( self._client, self.config, self._serialize, self._deserialize) self.server_azure_ad_administrators = ServerAzureADAdministratorsOperations( self._client, self.config, self._serialize, self._deserialize) self.server_communication_links = ServerCommunicationLinksOperations( self._client, self.config, self._serialize, self._deserialize) self.service_objectives = ServiceObjectivesOperations( self._client, self.config, self._serialize, self._deserialize) self.elastic_pool_activities = ElasticPoolActivitiesOperations( self._client, self.config, self._serialize, self._deserialize) self.elastic_pool_database_activities = ElasticPoolDatabaseActivitiesOperations( self._client, self.config, self._serialize, self._deserialize) self.service_tier_advisors = ServiceTierAdvisorsOperations( self._client, self.config, self._serialize, self._deserialize) self.transparent_data_encryptions = TransparentDataEncryptionsOperations( self._client, self.config, self._serialize, self._deserialize) self.transparent_data_encryption_activities = TransparentDataEncryptionActivitiesOperations( self._client, self.config, self._serialize, self._deserialize) self.server_usages = ServerUsagesOperations(self._client, self.config, self._serialize, self._deserialize) self.database_usages = DatabaseUsagesOperations( self._client, self.config, self._serialize, self._deserialize) self.database_blob_auditing_policies = DatabaseBlobAuditingPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.database_automatic_tuning = DatabaseAutomaticTuningOperations( self._client, self.config, self._serialize, self._deserialize) self.encryption_protectors = EncryptionProtectorsOperations( self._client, self.config, self._serialize, self._deserialize) self.failover_groups = FailoverGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.managed_instances = ManagedInstancesOperations( self._client, self.config, self._serialize, self._deserialize) self.operations = Operations(self._client, self.config, self._serialize, self._deserialize) self.server_keys = ServerKeysOperations(self._client, self.config, self._serialize, self._deserialize) self.sync_agents = SyncAgentsOperations(self._client, self.config, self._serialize, self._deserialize) self.sync_groups = SyncGroupsOperations(self._client, self.config, self._serialize, self._deserialize) self.sync_members = SyncMembersOperations(self._client, self.config, self._serialize, self._deserialize) self.subscription_usages = SubscriptionUsagesOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_rules = VirtualNetworkRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.database_vulnerability_assessment_rule_baselines = DatabaseVulnerabilityAssessmentRuleBaselinesOperations( self._client, self.config, self._serialize, self._deserialize) self.database_vulnerability_assessments = DatabaseVulnerabilityAssessmentsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_agents = JobAgentsOperations(self._client, self.config, self._serialize, self._deserialize) self.job_credentials = JobCredentialsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_executions = JobExecutionsOperations(self._client, self.config, self._serialize, self._deserialize) self.jobs = JobsOperations(self._client, self.config, self._serialize, self._deserialize) self.job_step_executions = JobStepExecutionsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_steps = JobStepsOperations(self._client, self.config, self._serialize, self._deserialize) self.job_target_executions = JobTargetExecutionsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_target_groups = JobTargetGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.job_versions = JobVersionsOperations(self._client, self.config, self._serialize, self._deserialize) self.long_term_retention_backups = LongTermRetentionBackupsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_long_term_retention_policies = BackupLongTermRetentionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.managed_databases = ManagedDatabasesOperations( self._client, self.config, self._serialize, self._deserialize) self.server_automatic_tuning = ServerAutomaticTuningOperations( self._client, self.config, self._serialize, self._deserialize) self.server_dns_aliases = ServerDnsAliasesOperations( self._client, self.config, self._serialize, self._deserialize) self.restore_points = RestorePointsOperations(self._client, self.config, self._serialize, self._deserialize) self.database_operations = DatabaseOperations(self._client, self.config, self._serialize, self._deserialize) self.elastic_pool_operations = ElasticPoolOperations( self._client, self.config, self._serialize, self._deserialize) self.capabilities = CapabilitiesOperations(self._client, self.config, self._serialize, self._deserialize) self.database_vulnerability_assessment_scans = DatabaseVulnerabilityAssessmentScansOperations( self._client, self.config, self._serialize, self._deserialize) self.instance_failover_groups = InstanceFailoverGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( self._client, self.config, self._serialize, self._deserialize)
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = CosmosDBManagementClientConfiguration( credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.database_accounts = DatabaseAccountsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) self.database = DatabaseOperations(self._client, self._config, self._serialize, self._deserialize) self.collection = CollectionOperations(self._client, self._config, self._serialize, self._deserialize) self.collection_region = CollectionRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.database_account_region = DatabaseAccountRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile_source_target = PercentileSourceTargetOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile_target = PercentileTargetOperations( self._client, self._config, self._serialize, self._deserialize) self.percentile = PercentileOperations(self._client, self._config, self._serialize, self._deserialize) self.collection_partition_region = CollectionPartitionRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.collection_partition = CollectionPartitionOperations( self._client, self._config, self._serialize, self._deserialize) self.partition_key_range_id = PartitionKeyRangeIdOperations( self._client, self._config, self._serialize, self._deserialize) self.partition_key_range_id_region = PartitionKeyRangeIdRegionOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_resources = SqlResourcesOperations(self._client, self._config, self._serialize, self._deserialize) self.mongo_db_resources = MongoDBResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.table_resources = TableResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.cassandra_resources = CassandraResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.gremlin_resources = GremlinResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.notebook_workspaces = NotebookWorkspacesOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize)
def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any ) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = SqlManagementClientConfiguration(credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.recoverable_databases = RecoverableDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_connection_policies = ServerConnectionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.data_masking_policies = DataMaskingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.data_masking_rules = DataMaskingRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.geo_backup_policies = GeoBackupPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.databases = DatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.elastic_pools = ElasticPoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.replication_links = ReplicationLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.server_communication_links = ServerCommunicationLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.service_objectives = ServiceObjectivesOperations( self._client, self._config, self._serialize, self._deserialize) self.elastic_pool_activities = ElasticPoolActivitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.elastic_pool_database_activities = ElasticPoolDatabaseActivitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.transparent_data_encryptions = TransparentDataEncryptionsOperations( self._client, self._config, self._serialize, self._deserialize) self.transparent_data_encryption_activities = TransparentDataEncryptionActivitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_usages = ServerUsagesOperations( self._client, self._config, self._serialize, self._deserialize) self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.extended_database_blob_auditing_policies = ExtendedDatabaseBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.extended_server_blob_auditing_policies = ExtendedServerBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_blob_auditing_policies = ServerBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.database_blob_auditing_policies = DatabaseBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.database_advisors = DatabaseAdvisorsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_automatic_tuning = DatabaseAutomaticTuningOperations( self._client, self._config, self._serialize, self._deserialize) self.database_columns = DatabaseColumnsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_recommended_actions = DatabaseRecommendedActionsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_schemas = DatabaseSchemasOperations( self._client, self._config, self._serialize, self._deserialize) self.database_security_alert_policies = DatabaseSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.database_tables = DatabaseTablesOperations( self._client, self._config, self._serialize, self._deserialize) self.database_vulnerability_assessment_rule_baselines = DatabaseVulnerabilityAssessmentRuleBaselinesOperations( self._client, self._config, self._serialize, self._deserialize) self.database_vulnerability_assessments = DatabaseVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_vulnerability_assessment_scans = DatabaseVulnerabilityAssessmentScansOperations( self._client, self._config, self._serialize, self._deserialize) self.data_warehouse_user_activities = DataWarehouseUserActivitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.deleted_servers = DeletedServersOperations( self._client, self._config, self._serialize, self._deserialize) self.elastic_pool_operations = ElasticPoolOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.encryption_protectors = EncryptionProtectorsOperations( self._client, self._config, self._serialize, self._deserialize) self.failover_groups = FailoverGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.firewall_rules = FirewallRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.instance_failover_groups = InstanceFailoverGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.instance_pools = InstancePoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_agents = JobAgentsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_credentials = JobCredentialsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_executions = JobExecutionsOperations( self._client, self._config, self._serialize, self._deserialize) self.jobs = JobsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_step_executions = JobStepExecutionsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_steps = JobStepsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_target_executions = JobTargetExecutionsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_target_groups = JobTargetGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.job_versions = JobVersionsOperations( self._client, self._config, self._serialize, self._deserialize) self.capabilities = CapabilitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.long_term_retention_backups = LongTermRetentionBackupsOperations( self._client, self._config, self._serialize, self._deserialize) self.long_term_retention_managed_instance_backups = LongTermRetentionManagedInstanceBackupsOperations( self._client, self._config, self._serialize, self._deserialize) self.long_term_retention_policies = LongTermRetentionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.maintenance_window_options = MaintenanceWindowOptionsOperations( self._client, self._config, self._serialize, self._deserialize) self.maintenance_windows = MaintenanceWindowsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_backup_short_term_retention_policies = ManagedBackupShortTermRetentionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_columns = ManagedDatabaseColumnsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_queries = ManagedDatabaseQueriesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_restore_details = ManagedDatabaseRestoreDetailsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_databases = ManagedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_schemas = ManagedDatabaseSchemasOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_security_alert_policies = ManagedDatabaseSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_security_events = ManagedDatabaseSecurityEventsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_sensitivity_labels = ManagedDatabaseSensitivityLabelsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_recommended_sensitivity_labels = ManagedDatabaseRecommendedSensitivityLabelsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_tables = ManagedDatabaseTablesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_transparent_data_encryption = ManagedDatabaseTransparentDataEncryptionOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_vulnerability_assessment_rule_baselines = ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_vulnerability_assessments = ManagedDatabaseVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_database_vulnerability_assessment_scans = ManagedDatabaseVulnerabilityAssessmentScansOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_administrators = ManagedInstanceAdministratorsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_azure_ad_only_authentications = ManagedInstanceAzureADOnlyAuthenticationsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_encryption_protectors = ManagedInstanceEncryptionProtectorsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_keys = ManagedInstanceKeysOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_long_term_retention_policies = ManagedInstanceLongTermRetentionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_operations = ManagedInstanceOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_private_endpoint_connections = ManagedInstancePrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_private_link_resources = ManagedInstancePrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instances = ManagedInstancesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_tde_certificates = ManagedInstanceTdeCertificatesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_instance_vulnerability_assessments = ManagedInstanceVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_restorable_dropped_database_backup_short_term_retention_policies = ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.managed_server_security_alert_policies = ManagedServerSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) self.operations_health = OperationsHealthOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.recoverable_managed_databases = RecoverableManagedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.restore_points = RestorePointsOperations( self._client, self._config, self._serialize, self._deserialize) self.sensitivity_labels = SensitivityLabelsOperations( self._client, self._config, self._serialize, self._deserialize) self.recommended_sensitivity_labels = RecommendedSensitivityLabelsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_advisors = ServerAdvisorsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_automatic_tuning = ServerAutomaticTuningOperations( self._client, self._config, self._serialize, self._deserialize) self.server_azure_ad_administrators = ServerAzureADAdministratorsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_azure_ad_only_authentications = ServerAzureADOnlyAuthenticationsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_dev_ops_audit_settings = ServerDevOpsAuditSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_dns_aliases = ServerDnsAliasesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_keys = ServerKeysOperations( self._client, self._config, self._serialize, self._deserialize) self.server_operations = ServerOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.servers = ServersOperations( self._client, self._config, self._serialize, self._deserialize) self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_trust_groups = ServerTrustGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_vulnerability_assessments = ServerVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_agent = SqlAgentOperations( self._client, self._config, self._serialize, self._deserialize) self.subscription_usages = SubscriptionUsagesOperations( self._client, self._config, self._serialize, self._deserialize) self.sync_agents = SyncAgentsOperations( self._client, self._config, self._serialize, self._deserialize) self.sync_groups = SyncGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.sync_members = SyncMembersOperations( self._client, self._config, self._serialize, self._deserialize) self.tde_certificates = TdeCertificatesOperations( self._client, self._config, self._serialize, self._deserialize) self.time_zones = TimeZonesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_clusters = VirtualClustersOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_rules = VirtualNetworkRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.workload_classifiers = WorkloadClassifiersOperations( self._client, self._config, self._serialize, self._deserialize) self.workload_groups = WorkloadGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_extensions = DatabaseExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_operations = DatabaseOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_usages = DatabaseUsagesOperations( self._client, self._config, self._serialize, self._deserialize) self.ledger_digest_uploads = LedgerDigestUploadsOperations( self._client, self._config, self._serialize, self._deserialize) self.outbound_firewall_rules = OutboundFirewallRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_dropped_databases = RestorableDroppedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_dropped_managed_databases = RestorableDroppedManagedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.usages = UsagesOperations( self._client, self._config, self._serialize, self._deserialize)
def regions(self): """Instance depends on the API version: * 2017-04-01: :class:`RegionsOperations<azure.mgmt.eventhub.v2017_04_01.aio.operations.RegionsOperations>` * 2018-01-01-preview: :class:`RegionsOperations<azure.mgmt.eventhub.v2018_01_01_preview.aio.operations.RegionsOperations>` """ api_version = self._get_api_version('regions') if api_version == '2017-04-01': from ..v2017_04_01.aio.operations import RegionsOperations as OperationClass elif api_version == '2018-01-01-preview': from ..v2018_01_01_preview.aio.operations import RegionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'regions'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def private_endpoint_connections(self): """Instance depends on the API version: * 2018-01-01-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.eventhub.v2018_01_01_preview.aio.operations.PrivateEndpointConnectionsOperations>` * 2021-01-01-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.eventhub.v2021_01_01_preview.aio.operations.PrivateEndpointConnectionsOperations>` """ api_version = self._get_api_version('private_endpoint_connections') if api_version == '2018-01-01-preview': from ..v2018_01_01_preview.aio.operations import PrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-01-01-preview': from ..v2021_01_01_preview.aio.operations import PrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credentials, subscription_id, base_url=None): self.config = NetworkManagementClientConfiguration( credentials, subscription_id, base_url) self._client = ServiceClient(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self.api_version = '2016-09-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) self.application_gateways = ApplicationGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuits = ExpressRouteCircuitsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_service_providers = ExpressRouteServiceProvidersOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations(self._client, self.config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations(self._client, self.config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self.config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self.config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_tables = RouteTablesOperations(self._client, self.config, self._serialize, self._deserialize) self.routes = RoutesOperations(self._client, self.config, self._serialize, self._deserialize) self.usages = UsagesOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self.config, self._serialize, self._deserialize) self.subnets = SubnetsOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_network_peerings = VirtualNetworkPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateways = VirtualNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize)
def usages(self): """Instance depends on the API version: * 2018-03-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2018_03_01_preview.operations.UsagesOperations>` * 2018-07-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_07_01.operations.UsagesOperations>` * 2018-11-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_11_01.operations.UsagesOperations>` * 2019-04-01: :class:`UsagesOperations<azure.mgmt.storage.v2019_04_01.operations.UsagesOperations>` * 2019-06-01: :class:`UsagesOperations<azure.mgmt.storage.v2019_06_01.operations.UsagesOperations>` """ api_version = self._get_api_version('usages') if api_version == '2018-03-01-preview': from .v2018_03_01_preview.operations import UsagesOperations as OperationClass elif api_version == '2018-07-01': from .v2018_07_01.operations import UsagesOperations as OperationClass elif api_version == '2018-11-01': from .v2018_11_01.operations import UsagesOperations as OperationClass elif api_version == '2019-04-01': from .v2019_04_01.operations import UsagesOperations as OperationClass elif api_version == '2019-06-01': from .v2019_06_01.operations import UsagesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__( self, credential, # type: "TokenCredential" subscription_id, # type: str base_url=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> None if not base_url: base_url = 'https://management.azure.com' self._config = SynapseManagementClientConfiguration( credential, subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.big_data_pools = BigDataPoolsOperations(self._client, self._config, self._serialize, self._deserialize) self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) self.ip_firewall_rules = IpFirewallRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pools = SqlPoolsOperations(self._client, self._config, self._serialize, self._deserialize) self.sql_pool_metadata_sync_configs = SqlPoolMetadataSyncConfigsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_operation_results = SqlPoolOperationResultsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_geo_backup_policies = SqlPoolGeoBackupPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_data_warehouse_user_activities = SqlPoolDataWarehouseUserActivitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_restore_points = SqlPoolRestorePointsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_replication_links = SqlPoolReplicationLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_transparent_data_encryptions = SqlPoolTransparentDataEncryptionsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_blob_auditing_policies = SqlPoolBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_operations = SqlPoolOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_usages = SqlPoolUsagesOperations(self._client, self._config, self._serialize, self._deserialize) self.sql_pool_sensitivity_labels = SqlPoolSensitivityLabelsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_schemas = SqlPoolSchemasOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_tables = SqlPoolTablesOperations(self._client, self._config, self._serialize, self._deserialize) self.sql_pool_table_columns = SqlPoolTableColumnsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_connection_policies = SqlPoolConnectionPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_vulnerability_assessments = SqlPoolVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_vulnerability_assessment_scans = SqlPoolVulnerabilityAssessmentScansOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_security_alert_policies = SqlPoolSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_vulnerability_assessment_rule_baselines = SqlPoolVulnerabilityAssessmentRuleBaselinesOperations( self._client, self._config, self._serialize, self._deserialize) self.extended_sql_pool_blob_auditing_policies = ExtendedSqlPoolBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.data_masking_policies = DataMaskingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.data_masking_rules = DataMaskingRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_columns = SqlPoolColumnsOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_workload_group = SqlPoolWorkloadGroupOperations( self._client, self._config, self._serialize, self._deserialize) self.sql_pool_workload_classifier = SqlPoolWorkloadClassifierOperations( self._client, self._config, self._serialize, self._deserialize) self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize) self.workspace_aad_admins = WorkspaceAadAdminsOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_sql_aad_admins = WorkspaceSqlAadAdminsOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_identity_sql_control_settings = WorkspaceManagedIdentitySqlControlSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.restorable_dropped_sql_pools = RestorableDroppedSqlPoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtimes = IntegrationRuntimesOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_node_ip_address = IntegrationRuntimeNodeIpAddressOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_object_metadata = IntegrationRuntimeObjectMetadataOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_nodes = IntegrationRuntimeNodesOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_credentials = IntegrationRuntimeCredentialsOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_connection_infos = IntegrationRuntimeConnectionInfosOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_auth_keys = IntegrationRuntimeAuthKeysOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_monitoring_data = IntegrationRuntimeMonitoringDataOperations( self._client, self._config, self._serialize, self._deserialize) self.integration_runtime_status = IntegrationRuntimeStatusOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_hubs = PrivateLinkHubsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections_private_link_hub = PrivateEndpointConnectionsPrivateLinkHubOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_blob_auditing_policies = WorkspaceManagedSqlServerBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_extended_blob_auditing_policies = WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_security_alert_policy = WorkspaceManagedSqlServerSecurityAlertPolicyOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_vulnerability_assessments = WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_usages = WorkspaceManagedSqlServerUsagesOperations( self._client, self._config, self._serialize, self._deserialize) self.workspace_managed_sql_server_recoverable_sqlpools = WorkspaceManagedSqlServerRecoverableSqlpoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.keys = KeysOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = ApiManagementClientConfiguration( credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.api = ApiOperations(self._client, self._config, self._serialize, self._deserialize) self.api_revision = ApiRevisionOperations(self._client, self._config, self._serialize, self._deserialize) self.api_release = ApiReleaseOperations(self._client, self._config, self._serialize, self._deserialize) self.api_operation = ApiOperationOperations(self._client, self._config, self._serialize, self._deserialize) self.api_operation_policy = ApiOperationPolicyOperations( self._client, self._config, self._serialize, self._deserialize) self.tag = TagOperations(self._client, self._config, self._serialize, self._deserialize) self.api_product = ApiProductOperations(self._client, self._config, self._serialize, self._deserialize) self.api_policy = ApiPolicyOperations(self._client, self._config, self._serialize, self._deserialize) self.api_schema = ApiSchemaOperations(self._client, self._config, self._serialize, self._deserialize) self.api_diagnostic = ApiDiagnosticOperations(self._client, self._config, self._serialize, self._deserialize) self.api_issue = ApiIssueOperations(self._client, self._config, self._serialize, self._deserialize) self.api_issue_comment = ApiIssueCommentOperations( self._client, self._config, self._serialize, self._deserialize) self.api_issue_attachment = ApiIssueAttachmentOperations( self._client, self._config, self._serialize, self._deserialize) self.api_tag_description = ApiTagDescriptionOperations( self._client, self._config, self._serialize, self._deserialize) self.operation = OperationOperations(self._client, self._config, self._serialize, self._deserialize) self.api_export = ApiExportOperations(self._client, self._config, self._serialize, self._deserialize) self.api_version_set = ApiVersionSetOperations(self._client, self._config, self._serialize, self._deserialize) self.authorization_server = AuthorizationServerOperations( self._client, self._config, self._serialize, self._deserialize) self.backend = BackendOperations(self._client, self._config, self._serialize, self._deserialize) self.cache = CacheOperations(self._client, self._config, self._serialize, self._deserialize) self.certificate = CertificateOperations(self._client, self._config, self._serialize, self._deserialize) self.content_type = ContentTypeOperations(self._client, self._config, self._serialize, self._deserialize) self.content_item = ContentItemOperations(self._client, self._config, self._serialize, self._deserialize) self.deleted_services = DeletedServicesOperations( self._client, self._config, self._serialize, self._deserialize) self.api_management_operations = ApiManagementOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.api_management_service_skus = ApiManagementServiceSkusOperations( self._client, self._config, self._serialize, self._deserialize) self.api_management_service = ApiManagementServiceOperations( self._client, self._config, self._serialize, self._deserialize) self.diagnostic = DiagnosticOperations(self._client, self._config, self._serialize, self._deserialize) self.email_template = EmailTemplateOperations(self._client, self._config, self._serialize, self._deserialize) self.gateway = GatewayOperations(self._client, self._config, self._serialize, self._deserialize) self.gateway_hostname_configuration = GatewayHostnameConfigurationOperations( self._client, self._config, self._serialize, self._deserialize) self.gateway_api = GatewayApiOperations(self._client, self._config, self._serialize, self._deserialize) self.gateway_certificate_authority = GatewayCertificateAuthorityOperations( self._client, self._config, self._serialize, self._deserialize) self.group = GroupOperations(self._client, self._config, self._serialize, self._deserialize) self.group_user = GroupUserOperations(self._client, self._config, self._serialize, self._deserialize) self.identity_provider = IdentityProviderOperations( self._client, self._config, self._serialize, self._deserialize) self.issue = IssueOperations(self._client, self._config, self._serialize, self._deserialize) self.logger = LoggerOperations(self._client, self._config, self._serialize, self._deserialize) self.named_value = NamedValueOperations(self._client, self._config, self._serialize, self._deserialize) self.network_status = NetworkStatusOperations(self._client, self._config, self._serialize, self._deserialize) self.notification = NotificationOperations(self._client, self._config, self._serialize, self._deserialize) self.notification_recipient_user = NotificationRecipientUserOperations( self._client, self._config, self._serialize, self._deserialize) self.notification_recipient_email = NotificationRecipientEmailOperations( self._client, self._config, self._serialize, self._deserialize) self.open_id_connect_provider = OpenIdConnectProviderOperations( self._client, self._config, self._serialize, self._deserialize) self.policy = PolicyOperations(self._client, self._config, self._serialize, self._deserialize) self.policy_description = PolicyDescriptionOperations( self._client, self._config, self._serialize, self._deserialize) self.portal_revision = PortalRevisionOperations( self._client, self._config, self._serialize, self._deserialize) self.portal_settings = PortalSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.sign_in_settings = SignInSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.sign_up_settings = SignUpSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.delegation_settings = DelegationSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.product = ProductOperations(self._client, self._config, self._serialize, self._deserialize) self.product_api = ProductApiOperations(self._client, self._config, self._serialize, self._deserialize) self.product_group = ProductGroupOperations(self._client, self._config, self._serialize, self._deserialize) self.product_subscriptions = ProductSubscriptionsOperations( self._client, self._config, self._serialize, self._deserialize) self.product_policy = ProductPolicyOperations(self._client, self._config, self._serialize, self._deserialize) self.quota_by_counter_keys = QuotaByCounterKeysOperations( self._client, self._config, self._serialize, self._deserialize) self.quota_by_period_keys = QuotaByPeriodKeysOperations( self._client, self._config, self._serialize, self._deserialize) self.region = RegionOperations(self._client, self._config, self._serialize, self._deserialize) self.reports = ReportsOperations(self._client, self._config, self._serialize, self._deserialize) self.tenant_settings = TenantSettingsOperations( self._client, self._config, self._serialize, self._deserialize) self.api_management_skus = ApiManagementSkusOperations( self._client, self._config, self._serialize, self._deserialize) self.subscription = SubscriptionOperations(self._client, self._config, self._serialize, self._deserialize) self.tag_resource = TagResourceOperations(self._client, self._config, self._serialize, self._deserialize) self.tenant_access = TenantAccessOperations(self._client, self._config, self._serialize, self._deserialize) self.tenant_access_git = TenantAccessGitOperations( self._client, self._config, self._serialize, self._deserialize) self.tenant_configuration = TenantConfigurationOperations( self._client, self._config, self._serialize, self._deserialize) self.user = UserOperations(self._client, self._config, self._serialize, self._deserialize) self.user_group = UserGroupOperations(self._client, self._config, self._serialize, self._deserialize) self.user_subscription = UserSubscriptionOperations( self._client, self._config, self._serialize, self._deserialize) self.user_identities = UserIdentitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.user_confirmation_password = UserConfirmationPasswordOperations( self._client, self._config, self._serialize, self._deserialize)
def deleted_accounts(self): """Instance depends on the API version: * 2020-08-01-preview: :class:`DeletedAccountsOperations<azure.mgmt.storage.v2020_08_01_preview.operations.DeletedAccountsOperations>` * 2021-01-01: :class:`DeletedAccountsOperations<azure.mgmt.storage.v2021_01_01.operations.DeletedAccountsOperations>` * 2021-02-01: :class:`DeletedAccountsOperations<azure.mgmt.storage.v2021_02_01.operations.DeletedAccountsOperations>` """ api_version = self._get_api_version('deleted_accounts') if api_version == '2020-08-01-preview': from .v2020_08_01_preview.operations import DeletedAccountsOperations as OperationClass elif api_version == '2021-01-01': from .v2021_01_01.operations import DeletedAccountsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import DeletedAccountsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'deleted_accounts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credentials, subscription_id, base_url=None): self.config = NetworkManagementClientConfiguration( credentials, subscription_id, base_url) super(NetworkManagementClient, self).__init__(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.application_security_groups = ApplicationSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.ddos_protection_plans = DdosProtectionPlansOperations( self._client, self.config, self._serialize, self._deserialize) self.available_endpoint_services = AvailableEndpointServicesOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_connections = ExpressRouteCircuitConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuits = ExpressRouteCircuitsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_service_providers = ExpressRouteServiceProvidersOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_cross_connections = ExpressRouteCrossConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations(self._client, self.config, self._serialize, self._deserialize) self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.inbound_nat_rules = InboundNatRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_probes = LoadBalancerProbesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interfaces = NetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( self._client, self.config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations(self._client, self.config, self._serialize, self._deserialize) self.default_security_rules = DefaultSecurityRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self.config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self.config, self._serialize, self._deserialize) self.connection_monitors = ConnectionMonitorsOperations( self._client, self.config, self._serialize, self._deserialize) self.operations = Operations(self._client, self.config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_filters = RouteFiltersOperations(self._client, self.config, self._serialize, self._deserialize) self.route_filter_rules = RouteFilterRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_tables = RouteTablesOperations(self._client, self.config, self._serialize, self._deserialize) self.routes = RoutesOperations(self._client, self.config, self._serialize, self._deserialize) self.bgp_service_communities = BgpServiceCommunitiesOperations( self._client, self.config, self._serialize, self._deserialize) self.usages = UsagesOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self.config, self._serialize, self._deserialize) self.subnets = SubnetsOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_network_peerings = VirtualNetworkPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateways = VirtualNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize)
def private_link_resources(self): """Instance depends on the API version: * 2019-06-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.storage.v2019_06_01.operations.PrivateLinkResourcesOperations>` * 2020-08-01-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.storage.v2020_08_01_preview.operations.PrivateLinkResourcesOperations>` * 2021-01-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.storage.v2021_01_01.operations.PrivateLinkResourcesOperations>` * 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.storage.v2021_02_01.operations.PrivateLinkResourcesOperations>` """ api_version = self._get_api_version('private_link_resources') if api_version == '2019-06-01': from .v2019_06_01.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2020-08-01-preview': from .v2020_08_01_preview.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2021-01-01': from .v2021_01_01.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__( self, credential, # type: "TokenCredential" subscription_id, # type: str base_url=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> None if not base_url: base_url = 'https://management.azure.com' self._config = MariaDBManagementClientConfiguration(credential, subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.servers = ServersOperations( self._client, self._config, self._serialize, self._deserialize) self.replicas = ReplicasOperations( self._client, self._config, self._serialize, self._deserialize) self.firewall_rules = FirewallRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_rules = VirtualNetworkRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.databases = DatabasesOperations( self._client, self._config, self._serialize, self._deserialize) self.configurations = ConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.server_parameters = ServerParametersOperations( self._client, self._config, self._serialize, self._deserialize) self.log_files = LogFilesOperations( self._client, self._config, self._serialize, self._deserialize) self.recoverable_servers = RecoverableServersOperations( self._client, self._config, self._serialize, self._deserialize) self.server_based_performance_tier = ServerBasedPerformanceTierOperations( self._client, self._config, self._serialize, self._deserialize) self.location_based_performance_tier = LocationBasedPerformanceTierOperations( self._client, self._config, self._serialize, self._deserialize) self.check_name_availability = CheckNameAvailabilityOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) self.query_texts = QueryTextsOperations( self._client, self._config, self._serialize, self._deserialize) self.top_query_statistics = TopQueryStatisticsOperations( self._client, self._config, self._serialize, self._deserialize) self.wait_statistics = WaitStatisticsOperations( self._client, self._config, self._serialize, self._deserialize) self.advisors = AdvisorsOperations( self._client, self._config, self._serialize, self._deserialize) self.recommended_actions = RecommendedActionsOperations( self._client, self._config, self._serialize, self._deserialize) self.location_based_recommended_action_sessions_operation_status = LocationBasedRecommendedActionSessionsOperationStatusOperations( self._client, self._config, self._serialize, self._deserialize) self.location_based_recommended_action_sessions_result = LocationBasedRecommendedActionSessionsResultOperations( self._client, self._config, self._serialize, self._deserialize) self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize)
def usages(self): """Instance depends on the API version: * 2018-03-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2018_03_01_preview.operations.UsagesOperations>` * 2018-07-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_07_01.operations.UsagesOperations>` * 2018-11-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_11_01.operations.UsagesOperations>` * 2019-04-01: :class:`UsagesOperations<azure.mgmt.storage.v2019_04_01.operations.UsagesOperations>` * 2019-06-01: :class:`UsagesOperations<azure.mgmt.storage.v2019_06_01.operations.UsagesOperations>` * 2020-08-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2020_08_01_preview.operations.UsagesOperations>` * 2021-01-01: :class:`UsagesOperations<azure.mgmt.storage.v2021_01_01.operations.UsagesOperations>` * 2021-02-01: :class:`UsagesOperations<azure.mgmt.storage.v2021_02_01.operations.UsagesOperations>` """ api_version = self._get_api_version('usages') if api_version == '2018-03-01-preview': from .v2018_03_01_preview.operations import UsagesOperations as OperationClass elif api_version == '2018-07-01': from .v2018_07_01.operations import UsagesOperations as OperationClass elif api_version == '2018-11-01': from .v2018_11_01.operations import UsagesOperations as OperationClass elif api_version == '2019-04-01': from .v2019_04_01.operations import UsagesOperations as OperationClass elif api_version == '2019-06-01': from .v2019_06_01.operations import UsagesOperations as OperationClass elif api_version == '2020-08-01-preview': from .v2020_08_01_preview.operations import UsagesOperations as OperationClass elif api_version == '2021-01-01': from .v2021_01_01.operations import UsagesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import UsagesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credentials, subscription_id, base_url=None): self.config = NetworkManagementClientConfiguration( credentials, subscription_id, base_url) super(NetworkManagementClient, self).__init__(self.config.credentials, self.config) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.application_security_groups = ApplicationSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.available_delegations = AvailableDelegationsOperations( self._client, self.config, self._serialize, self._deserialize) self.available_resource_group_delegations = AvailableResourceGroupDelegationsOperations( self._client, self.config, self._serialize, self._deserialize) self.azure_firewalls = AzureFirewallsOperations( self._client, self.config, self._serialize, self._deserialize) self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( self._client, self.config, self._serialize, self._deserialize) self.ddos_custom_policies = DdosCustomPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.ddos_protection_plans = DdosProtectionPlansOperations( self._client, self.config, self._serialize, self._deserialize) self.available_endpoint_services = AvailableEndpointServicesOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_connections = ExpressRouteCircuitConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.peer_express_route_circuit_connections = PeerExpressRouteCircuitConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuits = ExpressRouteCircuitsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_service_providers = ExpressRouteServiceProvidersOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_cross_connections = ExpressRouteCrossConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_gateways = ExpressRouteGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_connections = ExpressRouteConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_ports_locations = ExpressRoutePortsLocationsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_ports = ExpressRoutePortsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_links = ExpressRouteLinksOperations( self._client, self.config, self._serialize, self._deserialize) self.interface_endpoints = InterfaceEndpointsOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations(self._client, self.config, self._serialize, self._deserialize) self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.inbound_nat_rules = InboundNatRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_outbound_rules = LoadBalancerOutboundRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) self.load_balancer_probes = LoadBalancerProbesOperations( self._client, self.config, self._serialize, self._deserialize) self.nat_gateways = NatGatewaysOperations(self._client, self.config, self._serialize, self._deserialize) self.network_interfaces = NetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( self._client, self.config, self._serialize, self._deserialize) self.network_interface_tap_configurations = NetworkInterfaceTapConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.network_profiles = NetworkProfilesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations(self._client, self.config, self._serialize, self._deserialize) self.default_security_rules = DefaultSecurityRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self.config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self.config, self._serialize, self._deserialize) self.connection_monitors = ConnectionMonitorsOperations( self._client, self.config, self._serialize, self._deserialize) self.operations = Operations(self._client, self.config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self.config, self._serialize, self._deserialize) self.public_ip_prefixes = PublicIPPrefixesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_filters = RouteFiltersOperations(self._client, self.config, self._serialize, self._deserialize) self.route_filter_rules = RouteFilterRulesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_tables = RouteTablesOperations(self._client, self.config, self._serialize, self._deserialize) self.routes = RoutesOperations(self._client, self.config, self._serialize, self._deserialize) self.bgp_service_communities = BgpServiceCommunitiesOperations( self._client, self.config, self._serialize, self._deserialize) self.service_endpoint_policies = ServiceEndpointPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( self._client, self.config, self._serialize, self._deserialize) self.usages = UsagesOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self.config, self._serialize, self._deserialize) self.subnets = SubnetsOperations(self._client, self.config, self._serialize, self._deserialize) self.virtual_network_peerings = VirtualNetworkPeeringsOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateways = VirtualNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_network_taps = VirtualNetworkTapsOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_wans = VirtualWansOperations(self._client, self.config, self._serialize, self._deserialize) self.vpn_sites = VpnSitesOperations(self._client, self.config, self._serialize, self._deserialize) self.vpn_sites_configuration = VpnSitesConfigurationOperations( self._client, self.config, self._serialize, self._deserialize) self.virtual_hubs = VirtualHubsOperations(self._client, self.config, self._serialize, self._deserialize) self.hub_virtual_network_connections = HubVirtualNetworkConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.vpn_gateways = VpnGatewaysOperations(self._client, self.config, self._serialize, self._deserialize) self.vpn_connections = VpnConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) self.p2s_vpn_server_configurations = P2sVpnServerConfigurationsOperations( self._client, self.config, self._serialize, self._deserialize) self.p2s_vpn_gateways = P2sVpnGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self.config, self._serialize, self._deserialize)
def private_link_resources(self): """Instance depends on the API version: * 2019-06-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.storage.v2019_06_01.operations.PrivateLinkResourcesOperations>` """ api_version = self._get_api_version('private_link_resources') if api_version == '2019-06-01': from .v2019_06_01.operations import PrivateLinkResourcesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credential: "AsyncTokenCredential", base_url: Optional[str] = None, **kwargs: Any) -> None: if not base_url: base_url = 'https://graph.microsoft.com/beta' self._config = UsersFunctionsConfiguration(credential, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.user_activity = UserActivityOperations(self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_calendar = UserCalendarCalendarViewCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_exception_occurrence = UserCalendarCalendarViewExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_instance = UserCalendarCalendarViewInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view = UserCalendarCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_calendar = UserCalendarEventCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_exception_occurrence = UserCalendarEventExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_instance = UserCalendarEventInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event = UserCalendarEventOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar = UserCalendarOperations(self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_calendar_view_calendar = UserCalendarGroupCalendarCalendarViewCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_calendar_view_exception_occurrence = UserCalendarGroupCalendarCalendarViewExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_calendar_view_instance = UserCalendarGroupCalendarCalendarViewInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_calendar_view = UserCalendarGroupCalendarCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_event_calendar = UserCalendarGroupCalendarEventCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_event_exception_occurrence = UserCalendarGroupCalendarEventExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_event_instance = UserCalendarGroupCalendarEventInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar_event = UserCalendarGroupCalendarEventOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_group_calendar = UserCalendarGroupCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_calendar = UserCalendarCalendarViewCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_exception_occurrence = UserCalendarCalendarViewExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view_instance = UserCalendarCalendarViewInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_calendar_view = UserCalendarCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_calendar = UserCalendarEventCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_exception_occurrence = UserCalendarEventExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event_instance = UserCalendarEventInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_event = UserCalendarEventOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar = UserCalendarOperations(self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view_calendar_calendar_view = UserCalendarViewCalendarCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view_calendar_event = UserCalendarViewCalendarEventOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view_calendar = UserCalendarViewCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view_exception_occurrence = UserCalendarViewExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view_instance = UserCalendarViewInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_calendar_view = UserCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_contact_folder_child_folder = UserContactFolderChildFolderOperations( self._client, self._config, self._serialize, self._deserialize) self.user_contact_folder_contact = UserContactFolderContactOperations( self._client, self._config, self._serialize, self._deserialize) self.user_contact_folder = UserContactFolderOperations( self._client, self._config, self._serialize, self._deserialize) self.user_contact = UserContactOperations(self._client, self._config, self._serialize, self._deserialize) self.user_event_calendar_calendar_view = UserEventCalendarCalendarViewOperations( self._client, self._config, self._serialize, self._deserialize) self.user_event_calendar_event = UserEventCalendarEventOperations( self._client, self._config, self._serialize, self._deserialize) self.user_event_calendar = UserEventCalendarOperations( self._client, self._config, self._serialize, self._deserialize) self.user_event_exception_occurrence = UserEventExceptionOccurrenceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_event_instance = UserEventInstanceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_event = UserEventOperations(self._client, self._config, self._serialize, self._deserialize) self.user_mail_folder_child_folder = UserMailFolderChildFolderOperations( self._client, self._config, self._serialize, self._deserialize) self.user_mail_folder_message = UserMailFolderMessageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_mail_folder = UserMailFolderOperations( self._client, self._config, self._serialize, self._deserialize) self.user_managed_app_registration = UserManagedAppRegistrationOperations( self._client, self._config, self._serialize, self._deserialize) self.user_managed_device = UserManagedDeviceOperations( self._client, self._config, self._serialize, self._deserialize) self.user_message = UserMessageOperations(self._client, self._config, self._serialize, self._deserialize) self.user = UserOperations(self._client, self._config, self._serialize, self._deserialize) self.user_onenote_notebook_section_group_section_page = UserOnenoteNotebookSectionGroupSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_notebook_section_page = UserOnenoteNotebookSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_notebook = UserOnenoteNotebookOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_page = UserOnenotePageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_page_parent_notebook_section_group_section_page = UserOnenotePageParentNotebookSectionGroupSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_page_parent_notebook_section_page = UserOnenotePageParentNotebookSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_page_parent_section_page = UserOnenotePageParentSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_section_group_parent_notebook_section_page = UserOnenoteSectionGroupParentNotebookSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_section_group_section_page = UserOnenoteSectionGroupSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_onenote_section_page = UserOnenoteSectionPageOperations( self._client, self._config, self._serialize, self._deserialize) self.user_outlook = UserOutlookOperations(self._client, self._config, self._serialize, self._deserialize) self.user_planner_all = UserPlannerAllOperations( self._client, self._config, self._serialize, self._deserialize) self.user_todo_list_task = UserTodoListTaskOperations( self._client, self._config, self._serialize, self._deserialize) self.user_todo_list = UserTodoListOperations(self._client, self._config, self._serialize, self._deserialize)
def storage_accounts(self): """Instance depends on the API version: * 2015-06-15: :class:`StorageAccountsOperations<azure.mgmt.storage.v2015_06_15.operations.StorageAccountsOperations>` * 2016-01-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2016_01_01.operations.StorageAccountsOperations>` * 2016-12-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2016_12_01.operations.StorageAccountsOperations>` * 2017-06-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2017_06_01.operations.StorageAccountsOperations>` * 2017-10-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2017_10_01.operations.StorageAccountsOperations>` * 2018-02-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2018_02_01.operations.StorageAccountsOperations>` * 2018-03-01-preview: :class:`StorageAccountsOperations<azure.mgmt.storage.v2018_03_01_preview.operations.StorageAccountsOperations>` * 2018-07-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2018_07_01.operations.StorageAccountsOperations>` * 2018-11-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2018_11_01.operations.StorageAccountsOperations>` * 2019-04-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2019_04_01.operations.StorageAccountsOperations>` * 2019-06-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2019_06_01.operations.StorageAccountsOperations>` """ api_version = self._get_api_version('storage_accounts') if api_version == '2015-06-15': from .v2015_06_15.operations import StorageAccountsOperations as OperationClass elif api_version == '2016-01-01': from .v2016_01_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2016-12-01': from .v2016_12_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2017-06-01': from .v2017_06_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2017-10-01': from .v2017_10_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-02-01': from .v2018_02_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-03-01-preview': from .v2018_03_01_preview.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-07-01': from .v2018_07_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-11-01': from .v2018_11_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2019-04-01': from .v2019_04_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2019-06-01': from .v2019_06_01.operations import StorageAccountsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any) -> None: if not base_url: base_url = 'https://management.azure.com' self._config = NetworkManagementClientConfiguration( credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = { k: v for k, v in models.__dict__.items() if isinstance(v, type) } self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.application_security_groups = ApplicationSecurityGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.available_delegations = AvailableDelegationsOperations( self._client, self._config, self._serialize, self._deserialize) self.available_resource_group_delegations = AvailableResourceGroupDelegationsOperations( self._client, self._config, self._serialize, self._deserialize) self.available_service_aliases = AvailableServiceAliasesOperations( self._client, self._config, self._serialize, self._deserialize) self.azure_firewalls = AzureFirewallsOperations( self._client, self._config, self._serialize, self._deserialize) self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( self._client, self._config, self._serialize, self._deserialize) self.bastion_hosts = BastionHostsOperations(self._client, self._config, self._serialize, self._deserialize) self.ddos_custom_policies = DdosCustomPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.ddos_protection_plans = DdosProtectionPlansOperations( self._client, self._config, self._serialize, self._deserialize) self.available_endpoint_services = AvailableEndpointServicesOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuit_connections = ExpressRouteCircuitConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.peer_express_route_circuit_connections = PeerExpressRouteCircuitConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_circuits = ExpressRouteCircuitsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_service_providers = ExpressRouteServiceProvidersOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_cross_connections = ExpressRouteCrossConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_ports_locations = ExpressRoutePortsLocationsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_ports = ExpressRoutePortsOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_links = ExpressRouteLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.firewall_policies = FirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.firewall_policy_rule_groups = FirewallPolicyRuleGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.ip_allocations = IpAllocationsOperations(self._client, self._config, self._serialize, self._deserialize) self.ip_groups = IpGroupsOperations(self._client, self._config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations(self._client, self._config, self._serialize, self._deserialize) self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.inbound_nat_rules = InboundNatRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_outbound_rules = LoadBalancerOutboundRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( self._client, self._config, self._serialize, self._deserialize) self.load_balancer_probes = LoadBalancerProbesOperations( self._client, self._config, self._serialize, self._deserialize) self.nat_gateways = NatGatewaysOperations(self._client, self._config, self._serialize, self._deserialize) self.network_interfaces = NetworkInterfacesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( self._client, self._config, self._serialize, self._deserialize) self.network_interface_tap_configurations = NetworkInterfaceTapConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.network_profiles = NetworkProfilesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations(self._client, self._config, self._serialize, self._deserialize) self.default_security_rules = DefaultSecurityRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_virtual_appliances = NetworkVirtualAppliancesOperations( self._client, self._config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self._config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self._config, self._serialize, self._deserialize) self.connection_monitors = ConnectionMonitorsOperations( self._client, self._config, self._serialize, self._deserialize) self.flow_logs = FlowLogsOperations(self._client, self._config, self._serialize, self._deserialize) self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) self.private_endpoints = PrivateEndpointsOperations( self._client, self._config, self._serialize, self._deserialize) self.available_private_endpoint_types = AvailablePrivateEndpointTypesOperations( self._client, self._config, self._serialize, self._deserialize) self.private_dns_zone_groups = PrivateDnsZoneGroupsOperations( self._client, self._config, self._serialize, self._deserialize) self.private_link_services = PrivateLinkServicesOperations( self._client, self._config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self._config, self._serialize, self._deserialize) self.public_ip_prefixes = PublicIPPrefixesOperations( self._client, self._config, self._serialize, self._deserialize) self.route_filters = RouteFiltersOperations(self._client, self._config, self._serialize, self._deserialize) self.route_filter_rules = RouteFilterRulesOperations( self._client, self._config, self._serialize, self._deserialize) self.route_tables = RouteTablesOperations(self._client, self._config, self._serialize, self._deserialize) self.routes = RoutesOperations(self._client, self._config, self._serialize, self._deserialize) self.security_partner_providers = SecurityPartnerProvidersOperations( self._client, self._config, self._serialize, self._deserialize) self.bgp_service_communities = BgpServiceCommunitiesOperations( self._client, self._config, self._serialize, self._deserialize) self.service_endpoint_policies = ServiceEndpointPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( self._client, self._config, self._serialize, self._deserialize) self.service_tags = ServiceTagsOperations(self._client, self._config, self._serialize, self._deserialize) self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self._config, self._serialize, self._deserialize) self.subnets = SubnetsOperations(self._client, self._config, self._serialize, self._deserialize) self.resource_navigation_links = ResourceNavigationLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.service_association_links = ServiceAssociationLinksOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_peerings = VirtualNetworkPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_gateways = VirtualNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_network_taps = VirtualNetworkTapsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_routers = VirtualRoutersOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_router_peerings = VirtualRouterPeeringsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_wans = VirtualWansOperations(self._client, self._config, self._serialize, self._deserialize) self.vpn_sites = VpnSitesOperations(self._client, self._config, self._serialize, self._deserialize) self.vpn_site_links = VpnSiteLinksOperations(self._client, self._config, self._serialize, self._deserialize) self.vpn_sites_configuration = VpnSitesConfigurationOperations( self._client, self._config, self._serialize, self._deserialize) self.vpn_server_configurations = VpnServerConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_hubs = VirtualHubsOperations(self._client, self._config, self._serialize, self._deserialize) self.hub_virtual_network_connections = HubVirtualNetworkConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.vpn_gateways = VpnGatewaysOperations(self._client, self._config, self._serialize, self._deserialize) self.vpn_connections = VpnConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.vpn_site_link_connections = VpnSiteLinkConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.vpn_link_connections = VpnLinkConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.vpn_server_configurations_associated_with_virtual_wan = VpnServerConfigurationsAssociatedWithVirtualWanOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_hub_route_table_v2_s = VirtualHubRouteTableV2SOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_gateways = ExpressRouteGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) self.express_route_connections = ExpressRouteConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.hub_route_tables = HubRouteTablesOperations( self._client, self._config, self._serialize, self._deserialize) self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize)
def usage(self): """Instance depends on the API version: * 2015-06-15: :class:`UsageOperations<azure.mgmt.storage.v2015_06_15.operations.UsageOperations>` * 2016-01-01: :class:`UsageOperations<azure.mgmt.storage.v2016_01_01.operations.UsageOperations>` * 2016-12-01: :class:`UsageOperations<azure.mgmt.storage.v2016_12_01.operations.UsageOperations>` * 2017-06-01: :class:`UsageOperations<azure.mgmt.storage.v2017_06_01.operations.UsageOperations>` * 2017-10-01: :class:`UsageOperations<azure.mgmt.storage.v2017_10_01.operations.UsageOperations>` * 2018-02-01: :class:`UsageOperations<azure.mgmt.storage.v2018_02_01.operations.UsageOperations>` """ api_version = self._get_api_version('usage') if api_version == '2015-06-15': from .v2015_06_15.operations import UsageOperations as OperationClass elif api_version == '2016-01-01': from .v2016_01_01.operations import UsageOperations as OperationClass elif api_version == '2016-12-01': from .v2016_12_01.operations import UsageOperations as OperationClass elif api_version == '2017-06-01': from .v2017_06_01.operations import UsageOperations as OperationClass elif api_version == '2017-10-01': from .v2017_10_01.operations import UsageOperations as OperationClass elif api_version == '2018-02-01': from .v2018_02_01.operations import UsageOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
def test_deserialize_datetime(self): a = Deserializer.deserialize_iso('9999-12-31T23:59:59+23:59') utc = a.utctimetuple() self.assertEqual(utc.tm_year, 9999) self.assertEqual(utc.tm_mon, 12) self.assertEqual(utc.tm_mday, 31) self.assertEqual(utc.tm_hour, 0) self.assertEqual(utc.tm_min, 0) self.assertEqual(utc.tm_sec, 59) self.assertEqual(a.microsecond, 0) with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('9999-12-31T23:59:59-23:59') a = Deserializer.deserialize_iso('1999-12-31T23:59:59-23:59') utc = a.utctimetuple() self.assertEqual(utc.tm_year, 2000) self.assertEqual(utc.tm_mon, 1) self.assertEqual(utc.tm_mday, 1) self.assertEqual(utc.tm_hour, 23) self.assertEqual(utc.tm_min, 58) self.assertEqual(utc.tm_sec, 59) self.assertEqual(a.microsecond, 0) a = Deserializer.deserialize_iso('0001-01-01T23:59:00+23:59') utc = a.utctimetuple() self.assertEqual(utc.tm_year, 1) self.assertEqual(utc.tm_mon, 1) self.assertEqual(utc.tm_mday, 1) self.assertEqual(utc.tm_hour, 0) self.assertEqual(utc.tm_min, 0) self.assertEqual(utc.tm_sec, 0) self.assertEqual(a.microsecond, 0) #with self.assertRaises(DeserializationError): # a = Deserializer.deserialize_iso('1996-01-01T23:01:54-22:66') #TODO with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('1996-01-01T23:01:54-24:30') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('1996-01-01T23:01:78+00:30') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('1996-01-01T23:60:01+00:30') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('1996-01-01T24:01:01+00:30') #with self.assertRaises(DeserializationError): # a = Deserializer.deserialize_iso('1996-01-01t01:01:01/00:30') #TODO with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('1996-01-01F01:01:01+00:30') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('2015-02-32') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('2015-22-01') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('2010-13-31') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('99999-12-31') with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso(True) with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso(2010) with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso(None) with self.assertRaises(DeserializationError): a = Deserializer.deserialize_iso('Happy New Year 2016')
def __init__( self, credential, # type: "TokenCredential" subscription_id, # type: str base_url=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> None if not base_url: base_url = 'https://management.azure.com' self._config = DevTestLabsClientConfiguration(credential, subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.provider_operations = ProviderOperationsOperations( self._client, self._config, self._serialize, self._deserialize) self.labs = LabsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) self.global_schedules = GlobalSchedulesOperations( self._client, self._config, self._serialize, self._deserialize) self.artifact_sources = ArtifactSourcesOperations( self._client, self._config, self._serialize, self._deserialize) self.arm_templates = ArmTemplatesOperations( self._client, self._config, self._serialize, self._deserialize) self.artifacts = ArtifactsOperations( self._client, self._config, self._serialize, self._deserialize) self.costs = CostsOperations( self._client, self._config, self._serialize, self._deserialize) self.custom_images = CustomImagesOperations( self._client, self._config, self._serialize, self._deserialize) self.formulas = FormulasOperations( self._client, self._config, self._serialize, self._deserialize) self.gallery_images = GalleryImagesOperations( self._client, self._config, self._serialize, self._deserialize) self.notification_channels = NotificationChannelsOperations( self._client, self._config, self._serialize, self._deserialize) self.policy_sets = PolicySetsOperations( self._client, self._config, self._serialize, self._deserialize) self.policies = PoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.schedules = SchedulesOperations( self._client, self._config, self._serialize, self._deserialize) self.service_runners = ServiceRunnersOperations( self._client, self._config, self._serialize, self._deserialize) self.users = UsersOperations( self._client, self._config, self._serialize, self._deserialize) self.disks = DisksOperations( self._client, self._config, self._serialize, self._deserialize) self.environments = EnvironmentsOperations( self._client, self._config, self._serialize, self._deserialize) self.secrets = SecretsOperations( self._client, self._config, self._serialize, self._deserialize) self.service_fabrics = ServiceFabricsOperations( self._client, self._config, self._serialize, self._deserialize) self.service_fabric_schedules = ServiceFabricSchedulesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machines = VirtualMachinesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_machine_schedules = VirtualMachineSchedulesOperations( self._client, self._config, self._serialize, self._deserialize) self.virtual_networks = VirtualNetworksOperations( self._client, self._config, self._serialize, self._deserialize)