IspCacheNodeCollection.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 ispCacheNode with the specified create parameters
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}
- Operation Id: IspCacheNodeResource_CreateOrUpdate
- Default Api Version: 2024-11-30-preview
- Resource: IspCacheNodeResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string cacheNodeResourceName, Azure.ResourceManager.ConnectedCache.IspCacheNodeData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.IspCacheNodeData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ConnectedCache.IspCacheNodeData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, cacheNodeResourceName As String, data As IspCacheNodeData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IspCacheNodeResource)
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.
- cacheNodeResourceName
- String
Name of the ConnectedCache resource.
- data
- IspCacheNodeData
Resource create parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
cacheNodeResourceName
is an empty string, and was expected to be non-empty.
cacheNodeResourceName
or data
is null.