共用方式為


ServicesOperationsExtensions.CreateOrUpdate Method

Definition

Create a new Service or update an exiting Service.

public static Microsoft.Azure.Management.AppPlatform.Models.ServiceResource CreateOrUpdate (this Microsoft.Azure.Management.AppPlatform.IServicesOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.AppPlatform.Models.ServiceResource resource);
static member CreateOrUpdate : Microsoft.Azure.Management.AppPlatform.IServicesOperations * string * string * Microsoft.Azure.Management.AppPlatform.Models.ServiceResource -> Microsoft.Azure.Management.AppPlatform.Models.ServiceResource
<Extension()>
Public Function CreateOrUpdate (operations As IServicesOperations, resourceGroupName As String, serviceName As String, resource As ServiceResource) As ServiceResource

Parameters

operations
IServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

resource
ServiceResource

Parameters for the create or update operation

Returns

Applies to