ServiceBusManagementClient Classe
Barramento de Serviço do Azure cliente para gerenciar o Namespace.
Este pronto contém várias versões de API, para ajudá-lo a lidar com todas as nuvens do Azure (Azure Stack, Azure Governamental, Azure China etc.). Por padrão, ele usa a versão mais recente da API disponível no Azure público. Para produção, você deve se ater a uma versão de API específica e/ou perfil. O perfil define um mapeamento entre um grupo de operações e sua versão de API. O parâmetro api-version define a versão padrão da API se o grupo de operações não estiver descrito no perfil.
- Herança
-
ServiceBusManagementClientazure.mgmt.servicebus.aio._service_bus_management_client._SDKClientServiceBusManagementClient
Construtor
ServiceBusManagementClient(credential: AsyncTokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parâmetros
- credential
- AsyncTokenCredential
Credencial necessária para que o cliente se conecte ao Azure. Obrigatórios.
- subscription_id
- str
Credenciais de assinatura que identificam exclusivamente uma assinatura do Microsoft Azure. A ID da assinatura faz parte do URI para cada chamada de serviço. Obrigatórios.
- api_version
- str
Versão da API a ser usada se nenhum perfil for fornecido ou se estiver ausente no perfil.
- profile
- KnownProfiles
Uma definição de perfil, de KnownProfiles a dict.
- polling_interval
- int
Tempo de espera padrão entre duas pesquisas para operações LRO se nenhum cabeçalho Retry-After estiver presente.
Métodos
close | |
models |
O módulo depende da versão da API: |
close
async close()
models
O módulo depende da versão da API:
2015-08-01: models
2017-04-01: models
2018-01-01-preview: models
2021-01-01-preview: models
2021-06-01-preview: models
2021-11-01: models
2022-01-01-preview: models
2022-10-01-preview: models
models(api_version='2021-11-01')
Parâmetros
- api_version
Atributos
disaster_recovery_configs
A instância depende da versão da API:
2017-04-01: DisasterRecoveryConfigsOperations
2018-01-01-preview: DisasterRecoveryConfigsOperations
2021-01-01-preview: DisasterRecoveryConfigsOperations
2021-06-01-preview: DisasterRecoveryConfigsOperations
2021-11-01: DisasterRecoveryConfigsOperations
2022-01-01-preview: DisasterRecoveryConfigsOperations
2022-10-01-preview: DisasterRecoveryConfigsOperations
event_hubs
A instância depende da versão da API:
2017-04-01: EventHubsOperations
2018-01-01-preview: EventHubsOperations
migration_configs
A instância depende da versão da API:
2017-04-01: MigrationConfigsOperations
2018-01-01-preview: MigrationConfigsOperations
2021-01-01-preview: MigrationConfigsOperations
2021-06-01-preview: MigrationConfigsOperations
2021-11-01: MigrationConfigsOperations
2022-01-01-preview: MigrationConfigsOperations
2022-10-01-preview: MigrationConfigsOperations
namespaces
A instância depende da versão da API:
2015-08-01: NamespacesOperations
2017-04-01: NamespacesOperations
2018-01-01-preview: NamespacesOperations
2021-01-01-preview: NamespacesOperations
2021-06-01-preview: NamespacesOperations
2021-11-01: NamespacesOperations
2022-01-01-preview: NamespacesOperations
2022-10-01-preview: NamespacesOperations
operations
A instância depende da versão da API:
2015-08-01: Operations
2017-04-01: Operations
2018-01-01-preview: Operations
2021-01-01-preview: Operations
2021-06-01-preview: Operations
2021-11-01: Operations
2022-01-01-preview: Operations
2022-10-01-preview: Operations
premium_messaging_regions
A instância depende da versão da API:
2017-04-01: PremiumMessagingRegionsOperations
2018-01-01-preview: PremiumMessagingRegionsOperations
private_endpoint_connections
A instância depende da versão da API:
2018-01-01-preview: PrivateEndpointConnectionsOperations
2021-01-01-preview: PrivateEndpointConnectionsOperations
2021-06-01-preview: PrivateEndpointConnectionsOperations
2021-11-01: PrivateEndpointConnectionsOperations
2022-01-01-preview: PrivateEndpointConnectionsOperations
2022-10-01-preview: PrivateEndpointConnectionsOperations
private_link_resources
A instância depende da versão da API:
2018-01-01-preview: PrivateLinkResourcesOperations
2021-01-01-preview: PrivateLinkResourcesOperations
2021-06-01-preview: PrivateLinkResourcesOperations
2021-11-01: PrivateLinkResourcesOperations
2022-01-01-preview: PrivateLinkResourcesOperations
2022-10-01-preview: PrivateLinkResourcesOperations
queues
A instância depende da versão da API:
2015-08-01: QueuesOperations
2017-04-01: QueuesOperations
2018-01-01-preview: QueuesOperations
2021-01-01-preview: QueuesOperations
2021-06-01-preview: QueuesOperations
2021-11-01: QueuesOperations
2022-01-01-preview: QueuesOperations
2022-10-01-preview: QueuesOperations
regions
A instância depende da versão da API:
2017-04-01: RegionsOperations
2018-01-01-preview: RegionsOperations
rules
A instância depende da versão da API:
2017-04-01: RulesOperations
2018-01-01-preview: RulesOperations
2021-01-01-preview: RulesOperations
2021-06-01-preview: RulesOperations
2021-11-01: RulesOperations
2022-01-01-preview: RulesOperations
2022-10-01-preview: RulesOperations
subscriptions
A instância depende da versão da API:
2015-08-01: SubscriptionsOperations
2017-04-01: SubscriptionsOperations
2018-01-01-preview: SubscriptionsOperations
2021-01-01-preview: SubscriptionsOperations
2021-06-01-preview: SubscriptionsOperations
2021-11-01: SubscriptionsOperations
2022-01-01-preview: SubscriptionsOperations
2022-10-01-preview: SubscriptionsOperations
topics
A instância depende da versão da API:
2015-08-01: TopicsOperations
2017-04-01: TopicsOperations
2018-01-01-preview: TopicsOperations
2021-01-01-preview: TopicsOperations
2021-06-01-preview: TopicsOperations
2021-11-01: TopicsOperations
2022-01-01-preview: TopicsOperations
2022-10-01-preview: TopicsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2021-11-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.servicebus.ServiceBusManagementClient latest
Azure SDK for Python