EnterpriseMccCustomerCollection.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This api creates an enterprise mcc customer with the specified create parameters
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/{customerResourceName}
- Operation Id: EnterpriseMccCustomerResource_CreateOrUpdate
- Default Api Version: 2024-11-30-preview
- Resource: EnterpriseMccCustomerResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string customerResourceName, Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.EnterpriseMccCustomerResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, customerResourceName As String, data As EnterpriseMccCustomerData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of EnterpriseMccCustomerResource)
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.
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.