Freigeben über


RelayNetworkRuleSetResource.GetAsync(CancellationToken) Methode

Definition

Ruft NetworkRuleSet für einen Namespace ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/networkRuleSets/default
  • Vorgangs-IdNamespaces_GetNetworkRuleSet
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNetworkRuleSetResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNetworkRuleSetResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayNetworkRuleSetResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RelayNetworkRuleSetResource))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: