IotOperationsRegistryEndpointCollection.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.
Create a RegistryEndpointResource
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/registryEndpoints/{registryEndpointName}
- Operation Id: RegistryEndpointResource_CreateOrUpdate
- Default Api Version: 2025-07-01-preview
- Resource: IotOperationsRegistryEndpointResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string registryEndpointName, Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsRegistryEndpointResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, registryEndpointName As String, data As IotOperationsRegistryEndpointData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IotOperationsRegistryEndpointResource)
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.
- registryEndpointName
- String
Name of RegistryEndpoint resource.
Resource create parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
registryEndpointName is an empty string, and was expected to be non-empty.
registryEndpointName or data is null.