Share via


ArmClient.GetSubscriptionPolicyDefinitionResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource GetSubscriptionPolicyDefinitionResource (Azure.Core.ResourceIdentifier id);
abstract member GetSubscriptionPolicyDefinitionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource
override this.GetSubscriptionPolicyDefinitionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource
Public Overridable Function GetSubscriptionPolicyDefinitionResource (id As ResourceIdentifier) As SubscriptionPolicyDefinitionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SubscriptionPolicyDefinitionResource object.

Applies to