다음을 통해 공유


MockableSubscriptionArmClient.GetTenantPolicyResource Method

Definition

Gets an object representing a TenantPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier() to create a TenantPolicyResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Subscription.TenantPolicyResource GetTenantPolicyResource (Azure.Core.ResourceIdentifier id);
abstract member GetTenantPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Subscription.TenantPolicyResource
override this.GetTenantPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Subscription.TenantPolicyResource
Public Overridable Function GetTenantPolicyResource (id As ResourceIdentifier) As TenantPolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TenantPolicyResource object.

Applies to