Share via


MockableNewRelicObservabilityArmClient.GetNewRelicMonitoredSubscriptionResource Method

Definition

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

public virtual Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource GetNewRelicMonitoredSubscriptionResource (Azure.Core.ResourceIdentifier id);
abstract member GetNewRelicMonitoredSubscriptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource
override this.GetNewRelicMonitoredSubscriptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource
Public Overridable Function GetNewRelicMonitoredSubscriptionResource (id As ResourceIdentifier) As NewRelicMonitoredSubscriptionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a NewRelicMonitoredSubscriptionResource object.

Applies to