共用方式為


SynapseExtensions.GetSynapseServerSecurityAlertPolicyResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SynapseServerSecurityAlertPolicyResource object.

Exceptions

client is null.

Applies to