Share via


ServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update the metadata of a service instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.ServicesDescription> CreateOrUpdateAsync (this Microsoft.Azure.Management.HealthcareApis.IServicesOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.HealthcareApis.Models.ServicesDescription serviceDescription, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.HealthcareApis.IServicesOperations * string * string * Microsoft.Azure.Management.HealthcareApis.Models.ServicesDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.ServicesDescription>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IServicesOperations, resourceGroupName As String, resourceName As String, serviceDescription As ServicesDescription, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicesDescription)

Parameters

operations
IServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the service instance.

resourceName
String

The name of the service instance.

serviceDescription
ServicesDescription

The service instance metadata.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to