次の方法で共有


HybridConnectivityServiceConfigurationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}
  • Operation Id: ServiceConfigurations_Get
  • Default Api Version: 2023-03-15
  • Resource: HybridConnectivityServiceConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>> GetIfExistsAsync (string serviceConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>>
Public Overridable Function GetIfExistsAsync (serviceConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of HybridConnectivityServiceConfigurationResource))

Parameters

serviceConfigurationName
String

The service name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

serviceConfigurationName is null.

Applies to