ProviderRegistrationResource.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.
Creates or updates the operation supported by the given provider.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/operations/default.
- Operation Id. : OperationsPutContents_CreateOrUpdate.
- Default Api Version. : 2024-09-01.
- Resource. : ProviderRegistrationResource.
public virtual Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent> CreateOrUpdate(Azure.ResourceManager.ProviderHub.Models.OperationsPutContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.ResourceManager.ProviderHub.Models.OperationsPutContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent>
override this.CreateOrUpdate : Azure.ResourceManager.ProviderHub.Models.OperationsPutContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent>
Public Overridable Function CreateOrUpdate (content As OperationsPutContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationsPutContent)
Parameters
- content
- OperationsPutContent
The operations content properties supplied to the CreateOrUpdate operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.