Share via


ArmClient.GetSubscriptionResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SubscriptionResource object.

Applies to