Share via


SqlExtensions.GetSqlServerBlobAuditingPolicyResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlServerBlobAuditingPolicyResource object.

Exceptions

client is null.

Applies to