GlobalRulestackCollection.CreateOrUpdateAsync Method

Definition

Create a GlobalRulestackResource

  • Request Path: /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • Operation Id: GlobalRulestack_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string globalRulestackName, Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, globalRulestackName As String, data As GlobalRulestackData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of GlobalRulestackResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

globalRulestackName
String

GlobalRulestack resource name.

data
GlobalRulestackData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

globalRulestackName or data is null.

Applies to