Share via


MockableBillingArmClient.GetSubscriptionPolicyResource Method

Definition

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

public virtual Azure.ResourceManager.Billing.SubscriptionPolicyResource GetSubscriptionPolicyResource (Azure.Core.ResourceIdentifier id);
abstract member GetSubscriptionPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Billing.SubscriptionPolicyResource
override this.GetSubscriptionPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Billing.SubscriptionPolicyResource
Public Overridable Function GetSubscriptionPolicyResource (id As ResourceIdentifier) As SubscriptionPolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SubscriptionPolicyResource object.

Applies to