Share via


ElasticExtensions.GetElasticTagRuleResource Method

Definition

Gets an object representing an ElasticTagRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ElasticTagRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetElasticTagRuleResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Elastic.ElasticTagRuleResource GetElasticTagRuleResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetElasticTagRuleResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Elastic.ElasticTagRuleResource
<Extension()>
Public Function GetElasticTagRuleResource (client As ArmClient, id As ResourceIdentifier) As ElasticTagRuleResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ElasticTagRuleResource object.

Exceptions

client is null.

Applies to