ProviderRegistrationResource.CreateOrUpdateAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent>> CreateOrUpdateAsync(Azure.ResourceManager.ProviderHub.Models.OperationsPutContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.ResourceManager.ProviderHub.Models.OperationsPutContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent>>
override this.CreateOrUpdateAsync : Azure.ResourceManager.ProviderHub.Models.OperationsPutContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.Models.OperationsPutContent>>
Public Overridable Function CreateOrUpdateAsync (content As OperationsPutContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.