NetworkFabricIPExtendedCommunityCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}
  • Operation Id: IpExtendedCommunities_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource> GetIfExists (string ipExtendedCommunityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>
Public Overridable Function GetIfExists (ipExtendedCommunityName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkFabricIPExtendedCommunityResource)

Parameters

ipExtendedCommunityName
String

Name of the IP Extended Community.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

ipExtendedCommunityName is null.

Applies to