You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/PolicyHelpStrings.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,8 @@ public static class PolicyHelpStrings
47
47
publicconststringSetPolicyAssignmentDescriptionHelp="The description of the updated policy assignment";
48
48
publicconststringSetPolicyAssignmentMetadataHelp="The updated metadata for the policy assignment. This can either be a path to a file name containing the metadata, or the metadata as a string.";
49
49
publicconststringSetPolicyAssignmentSkuHelp="A hash table which specifies sku properties. This parameter is deprecated and ignored.";
50
-
publicconststringPolicyAssignmentAssignIdentityHelp="Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies.";
51
-
publicconststringPolicyAssignmentLocationHelp="The location of the policy assignment. This is only required when the policy assignment has a resource identity.";
50
+
publicconststringPolicyAssignmentAssignIdentityHelp="Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies. Location is required when assigning an identity.";
51
+
publicconststringPolicyAssignmentLocationHelp="The location of the policy assignment's resource identity. This is required when the -AssignIdentity switch is used.";
52
52
53
53
/// <summary>
54
54
/// Policy definition cmdlet parameter help strings
The first command gets a resource group named ResourceGroup11 by using the Get-AzureRMResourceGroup cmdlet and stores it in the $ResourceGroup variable.
129
129
The second command gets the policy definition named VirtualMachinePolicy by using the Get-AzureRmPolicyDefinition cmdlet and stores it in the $Policy variable.
130
-
The final command assigns the policy in $Policy to the resource gruop. A managed identity is automatically created and assigned to the policy assignment.
130
+
The final command assigns the policy in $Policy to the resource group. A managed identity is automatically created and assigned to the policy assignment.
Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies.
151
+
Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies. Location is required when assigning an identity.
Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies.
80
+
Generate and assign an Azure Active Directory Identity for this policy assignment. The identity will be used when executing deployments for 'deployIfNotExists' policies. Location is required when assigning an identity.
0 commit comments