共用方式為


ManagementGroupsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.

public static object CreateOrUpdate (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, Microsoft.Azure.Management.ManagementGroups.Models.CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = "no-cache");
static member CreateOrUpdate : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * Microsoft.Azure.Management.ManagementGroups.Models.CreateManagementGroupRequest * string -> obj
<Extension()>
Public Function CreateOrUpdate (operations As IManagementGroupsOperations, groupId As String, createManagementGroupRequest As CreateManagementGroupRequest, Optional cacheControl As String = "no-cache") As Object

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

createManagementGroupRequest
CreateManagementGroupRequest

Management group creation parameters.

cacheControl
String

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

Returns

Applies to