diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/_meta.json b/sdk/servicelinker/azure-mgmt-servicelinker/_meta.json index 7802fd517b39..5eb0e873aa86 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/_meta.json +++ b/sdk/servicelinker/azure-mgmt-servicelinker/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.8.4", "@autorest/modelerfour@4.19.2" ], - "commit": "5dbc2b65a3329f246971fa72c758d19bb72a8e83", + "commit": "40b136cac6742fa7ca16ff00e146c7c58c90b400", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", "readme": "specification/servicelinker/resource-manager/readme.md" diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models.py b/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models.py index 86ce993725b2..b35f890d4992 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models.py +++ b/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models.py @@ -500,6 +500,8 @@ class ServicePrincipalCertificateAuthInfo(AuthInfoBase): :type principal_id: str :param certificate: Required. ServicePrincipal certificate for servicePrincipal auth. :type certificate: str + :param tenant_id: Tenant Id for servicePrincipal auth. Optional. + :type tenant_id: str """ _validation = { @@ -514,6 +516,7 @@ class ServicePrincipalCertificateAuthInfo(AuthInfoBase): 'client_id': {'key': 'clientId', 'type': 'str'}, 'principal_id': {'key': 'principalId', 'type': 'str'}, 'certificate': {'key': 'certificate', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } def __init__( @@ -525,6 +528,7 @@ def __init__( self.client_id = kwargs['client_id'] self.principal_id = kwargs['principal_id'] self.certificate = kwargs['certificate'] + self.tenant_id = kwargs.get('tenant_id', None) class ServicePrincipalSecretAuthInfo(AuthInfoBase): @@ -542,6 +546,8 @@ class ServicePrincipalSecretAuthInfo(AuthInfoBase): :type principal_id: str :param secret: Required. Secret for servicePrincipal auth. :type secret: str + :param tenant_id: Tenant Id for servicePrincipal auth. Optional. + :type tenant_id: str """ _validation = { @@ -556,6 +562,7 @@ class ServicePrincipalSecretAuthInfo(AuthInfoBase): 'client_id': {'key': 'clientId', 'type': 'str'}, 'principal_id': {'key': 'principalId', 'type': 'str'}, 'secret': {'key': 'secret', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } def __init__( @@ -567,6 +574,7 @@ def __init__( self.client_id = kwargs['client_id'] self.principal_id = kwargs['principal_id'] self.secret = kwargs['secret'] + self.tenant_id = kwargs.get('tenant_id', None) class SourceConfiguration(msrest.serialization.Model): diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models_py3.py b/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models_py3.py index 422f79617f46..a4c8d0f4e6ed 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models_py3.py +++ b/sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/_models_py3.py @@ -523,6 +523,8 @@ class ServicePrincipalCertificateAuthInfo(AuthInfoBase): :type principal_id: str :param certificate: Required. ServicePrincipal certificate for servicePrincipal auth. :type certificate: str + :param tenant_id: Tenant Id for servicePrincipal auth. Optional. + :type tenant_id: str """ _validation = { @@ -537,6 +539,7 @@ class ServicePrincipalCertificateAuthInfo(AuthInfoBase): 'client_id': {'key': 'clientId', 'type': 'str'}, 'principal_id': {'key': 'principalId', 'type': 'str'}, 'certificate': {'key': 'certificate', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } def __init__( @@ -545,6 +548,7 @@ def __init__( client_id: str, principal_id: str, certificate: str, + tenant_id: Optional[str] = None, **kwargs ): super(ServicePrincipalCertificateAuthInfo, self).__init__(**kwargs) @@ -552,6 +556,7 @@ def __init__( self.client_id = client_id self.principal_id = principal_id self.certificate = certificate + self.tenant_id = tenant_id class ServicePrincipalSecretAuthInfo(AuthInfoBase): @@ -569,6 +574,8 @@ class ServicePrincipalSecretAuthInfo(AuthInfoBase): :type principal_id: str :param secret: Required. Secret for servicePrincipal auth. :type secret: str + :param tenant_id: Tenant Id for servicePrincipal auth. Optional. + :type tenant_id: str """ _validation = { @@ -583,6 +590,7 @@ class ServicePrincipalSecretAuthInfo(AuthInfoBase): 'client_id': {'key': 'clientId', 'type': 'str'}, 'principal_id': {'key': 'principalId', 'type': 'str'}, 'secret': {'key': 'secret', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } def __init__( @@ -591,6 +599,7 @@ def __init__( client_id: str, principal_id: str, secret: str, + tenant_id: Optional[str] = None, **kwargs ): super(ServicePrincipalSecretAuthInfo, self).__init__(**kwargs) @@ -598,6 +607,7 @@ def __init__( self.client_id = client_id self.principal_id = principal_id self.secret = secret + self.tenant_id = tenant_id class SourceConfiguration(msrest.serialization.Model):