Share via


SqlExtensions.GetSqlAgentConfigurationResource Method

Definition

Gets an object representing a SqlAgentConfigurationResource 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 SqlAgentConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlAgentConfigurationResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlAgentConfigurationResource object.

Exceptions

client is null.

Applies to