共用方式為


PaloAltoNetworksFirewallCollection.Get(String, CancellationToken) Method

Definition

Get a FirewallResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}
  • Operation Id: Firewalls_Get
public virtual Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PaloAltoNetworksFirewallResource> Get (string firewallName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PaloAltoNetworksFirewallResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PaloAltoNetworksFirewallResource>
Public Overridable Function Get (firewallName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PaloAltoNetworksFirewallResource)

Parameters

firewallName
String

Firewall resource name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

firewallName is null.

Applies to