Delen via


SynapseExtensions.GetSynapseEncryptionProtectorResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SynapseEncryptionProtectorResource object.

Exceptions

client is null.

Applies to