NetworkFabricInternalNetworkCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}
  • Operation Id: InternalNetworks_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>> GetIfExistsAsync (string internalNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>>
Public Overridable Function GetIfExistsAsync (internalNetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of NetworkFabricInternalNetworkResource))

Parameters

internalNetworkName
String

Name of the Internal Network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

internalNetworkName is null.

Applies to