Freigeben über


NetworkFabricIPCommunityCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

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

Parameter

ipCommunityName
String

Name der IP-Community.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ipCommunityName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ipCommunityName ist NULL.

Gilt für: