Share via


MockableSecretsStoreExtensionResourceGroupResource.GetSecretSync Method

Definition

Gets the properties of a SecretSync instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecretSyncController/secretSyncs/{secretSyncName}
  • Operation Id: SecretSync_Get
  • Default Api Version: 2024-08-21-preview
  • Resource: SecretSyncResource
public virtual Azure.Response<Azure.ResourceManager.SecretsStoreExtension.SecretSyncResource> GetSecretSync(string secretSyncName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecretSync : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecretsStoreExtension.SecretSyncResource>
override this.GetSecretSync : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecretsStoreExtension.SecretSyncResource>
Public Overridable Function GetSecretSync (secretSyncName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecretSyncResource)

Parameters

secretSyncName
String

The name of the SecretSync.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

secretSyncName is null.

secretSyncName is an empty string, and was expected to be non-empty.

Applies to