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