Compartilhar via


NetworkCloudCloudServicesNetworkCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/cloudServicesNetworks/{cloudServicesNetworkName}
  • Operation Id: CloudServicesNetworks_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudCloudServicesNetworkResource
public virtual Azure.NullableResponse<Azure.ResourceManager.NetworkCloud.NetworkCloudCloudServicesNetworkResource> GetIfExists (string cloudServicesNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.NetworkCloud.NetworkCloudCloudServicesNetworkResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.NetworkCloud.NetworkCloudCloudServicesNetworkResource>
Public Overridable Function GetIfExists (cloudServicesNetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkCloudCloudServicesNetworkResource)

Parameters

cloudServicesNetworkName
String

The name of the cloud services network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

cloudServicesNetworkName is null.

Applies to