1234567891011 |
- def get_dns_ops_client(parameters):
- tenant_id = parameters.get('azure_tenant_id')
- client_id = parameters.get('azure_client_id')
- secret = parameters.get('azure_client_secret')
- subscription_id = parameters.get('azure_subscription_id')
- token_credential = ClientSecretCredential(
- tenant_id, client_id, secret)
- dns_ops_client = DnsManagementClient(token_credential,
- subscription_id)
- return dns_ops_client
|