Partilhar via


NetworkCloudL3NetworkCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

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

Parameters

l3NetworkName
String

The name of the L3 network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

l3NetworkName is null.

Applies to