PolicyDefinitionsOperationsExtensions.CreateOrUpdateAtManagementGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition> CreateOrUpdateAtManagementGroupAsync (this Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyDefinitionsOperations operations, string policyDefinitionName, Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition parameters, string managementGroupId, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAtManagementGroupAsync : Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyDefinitionsOperations * string * Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition>
<Extension()>
Public Function CreateOrUpdateAtManagementGroupAsync (operations As IPolicyDefinitionsOperations, policyDefinitionName As String, parameters As PolicyDefinition, managementGroupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyDefinition)
Parameters
- operations
- IPolicyDefinitionsOperations
- policyDefinitionName
- String
- parameters
- PolicyDefinition
- managementGroupId
- String
- cancellationToken
- CancellationToken