SubscriptionExtensions.GetTenantPolicy(TenantResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object representing a TenantPolicyResource along with the instance operations that can be performed on it in the TenantResource. MockingTo mock this method, please mock GetTenantPolicy() instead.
public static Azure.ResourceManager.Subscription.TenantPolicyResource GetTenantPolicy (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetTenantPolicy : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Subscription.TenantPolicyResource
<Extension()>
Public Function GetTenantPolicy (tenantResource As TenantResource) As TenantPolicyResource
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
Returns
Returns a TenantPolicyResource object.
Exceptions
tenantResource
is null.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET