Поделиться через


IspCustomerCollection.CreateOrUpdate Method

Definition

This api creates an ispCustomer with the specified create parameters

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}
  • Operation Id: IspCustomerResource_CreateOrUpdate
  • Default Api Version: 2024-11-30-preview
  • Resource: IspCustomerResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCustomerResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string customerResourceName, Azure.ResourceManager.ConnectedCache.IspCustomerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.IspCustomerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCustomerResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.IspCustomerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCustomerResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, customerResourceName As String, data As IspCustomerData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IspCustomerResource)

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.

customerResourceName
String

Name of the Customer resource.

data
IspCustomerData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

customerResourceName or data is null.

Applies to