Share via


MockableResourcesArmClient.GetTemplateSpecResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TemplateSpecResource object.

Applies to