public static interface PolicyAssignment.DefinitionStages.WithPolicyDefinition
| Modifier and Type | Method and Description |
|---|---|
PolicyAssignment.DefinitionStages.WithCreate |
withPolicyDefinition(PolicyDefinition policyDefinition)
Specifies the policy definition.
|
PolicyAssignment.DefinitionStages.WithCreate |
withPolicyDefinitionId(String policyDefinitionId)
Specifies the policy assignment.
|
PolicyAssignment.DefinitionStages.WithCreate withPolicyDefinitionId(String policyDefinitionId)
policyDefinitionId - the ID of the policy assignmentPolicyAssignment.DefinitionStages.WithCreate withPolicyDefinition(PolicyDefinition policyDefinition)
policyDefinition - the policy definition/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/