Compartilhar via


IPolicySetDefinitionsOperations.CreateOrUpdateAtManagementGroupWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicySetDefinition>> CreateOrUpdateAtManagementGroupWithHttpMessagesAsync (string policySetDefinitionName, Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicySetDefinition parameters, string managementGroupId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAtManagementGroupWithHttpMessagesAsync : string * Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicySetDefinition * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicySetDefinition>>
Public Function CreateOrUpdateAtManagementGroupWithHttpMessagesAsync (policySetDefinitionName As String, parameters As PolicySetDefinition, managementGroupId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PolicySetDefinition))

Parameters

policySetDefinitionName
String
parameters
PolicySetDefinition
managementGroupId
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to