Share via


MockableElasticArmClient.GetElasticMonitorResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Elastic.ElasticMonitorResource GetElasticMonitorResource (Azure.Core.ResourceIdentifier id);
abstract member GetElasticMonitorResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Elastic.ElasticMonitorResource
override this.GetElasticMonitorResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Elastic.ElasticMonitorResource
Public Overridable Function GetElasticMonitorResource (id As ResourceIdentifier) As ElasticMonitorResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ElasticMonitorResource object.

Applies to