Delen via


ManagedCcfCollection.GetIfExistsAsync(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}
  • Operation Id: ManagedCCF_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ManagedCcfResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ConfidentialLedger.ManagedCcfResource>> GetIfExistsAsync (string appName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ConfidentialLedger.ManagedCcfResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ConfidentialLedger.ManagedCcfResource>>
Public Overridable Function GetIfExistsAsync (appName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedCcfResource))

Parameters

appName
String

Name of the Managed CCF.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

appName is null.

Applies to