다음을 통해 공유


PolicySetDefinitionsOperationsExtensions.CreateOrUpdateAtManagementGroup Method

Definition

Creates or updates a policy set definition.

public static Microsoft.Azure.Management.ResourceManager.Models.PolicySetDefinition CreateOrUpdateAtManagementGroup (this Microsoft.Azure.Management.ResourceManager.IPolicySetDefinitionsOperations operations, string policySetDefinitionName, Microsoft.Azure.Management.ResourceManager.Models.PolicySetDefinition parameters, string managementGroupId);
static member CreateOrUpdateAtManagementGroup : Microsoft.Azure.Management.ResourceManager.IPolicySetDefinitionsOperations * string * Microsoft.Azure.Management.ResourceManager.Models.PolicySetDefinition * string -> Microsoft.Azure.Management.ResourceManager.Models.PolicySetDefinition
<Extension()>
Public Function CreateOrUpdateAtManagementGroup (operations As IPolicySetDefinitionsOperations, policySetDefinitionName As String, parameters As PolicySetDefinition, managementGroupId As String) As PolicySetDefinition

Parameters

operations
IPolicySetDefinitionsOperations

The operations group for this extension method.

policySetDefinitionName
String

The name of the policy set definition to create.

parameters
PolicySetDefinition

The policy set definition properties.

managementGroupId
String

The ID of the management group.

Returns

Remarks

This operation creates or updates a policy set definition in the given management group with the given name.

Applies to