次の方法で共有


HybridConnectivityServiceConfigurationCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource> GetIfExists (string serviceConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>
Public Overridable Function GetIfExists (serviceConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of HybridConnectivityServiceConfigurationResource)

Parameters

serviceConfigurationName
String

The service name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

serviceConfigurationName is null.

Applies to