|
882 | 882 | <dev:version />
|
883 | 883 | </command:details>
|
884 | 884 | <maml:description>
|
885 |
| - <maml:para>Gets the resource group deployment operation</maml:para> |
| 885 | + <maml:para>This lists all the operations that were part of a deployment. It can be used for debugging deployment failures as it will help you identify and give more information about the exact operations that failed for a particular deployment. It can also give out the response and the request content for each deployment operation. This is the same information that you get from the deployment details on the portal. </maml:para> |
| 886 | + <maml:para>For getting the request and the response content, the setting will have to be enabled when submitting a deployment through New-AzureRmResourceGroupDeployment. log and expose secrets like passwords used in the resource property or listKeys operations that are then returned when you retrieve the deployment operations. For more details on this setting and how to enable it, please see the help for New-AzureRmResourceGroupDeployment</maml:para> |
886 | 887 | </maml:description>
|
887 | 888 | <command:syntax>
|
888 | 889 | <command:syntaxItem>
|
|
1095 | 1096 | </maml:alertSet>
|
1096 | 1097 | <command:examples>
|
1097 | 1098 | <command:example>
|
1098 |
| - <maml:title>-------------------------- Get1 --------------------------</maml:title> |
| 1099 | + <maml:title>-------------------------- Example1 --------------------------</maml:title> |
1099 | 1100 | <maml:introduction>
|
1100 | 1101 | <maml:paragraph>PS C:\></maml:paragraph>
|
1101 | 1102 | </maml:introduction>
|
|
1115 | 1116 | </command:commandLine>
|
1116 | 1117 | </command:commandLines>
|
1117 | 1118 | </command:example>
|
| 1119 | + <command:example> |
| 1120 | + <maml:title>------- Example2 Get the request and response content for each deployment operation if enabled on new deployment -------</maml:title> |
| 1121 | + <maml:introduction> |
| 1122 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1123 | + </maml:introduction> |
| 1124 | + <dev:code> |
| 1125 | + $operations = Get-AzureRmResourceGroupDeploymentOperation -DeploymentName test -ResourceGroupName test |
| 1126 | + foreach($operation in $operations) |
| 1127 | + { |
| 1128 | + Write-Host $operation.id |
| 1129 | + Write-Host "Request:" |
| 1130 | + $operation.Properties.Request | ConvertTo-Json -Depth 10 |
| 1131 | + Write-Host "Response:" |
| 1132 | + $operation.Properties.Response | ConvertTo-Json -Depth 10 |
| 1133 | + } |
| 1134 | + </dev:code> |
| 1135 | + <dev:remarks> |
| 1136 | + <maml:para>Gets deployment operation with name "test" under resource group "test" and lists all the request and response content associated with each deployment operation.</maml:para> |
| 1137 | + <maml:para /> |
| 1138 | + <maml:para /> |
| 1139 | + <maml:para> |
| 1140 | + </maml:para> |
| 1141 | + </dev:remarks> |
| 1142 | + <command:commandLines> |
| 1143 | + <command:commandLine> |
| 1144 | + <command:commandText> |
| 1145 | + <maml:para /> |
| 1146 | + </command:commandText> |
| 1147 | + </command:commandLine> |
| 1148 | + </command:commandLines> |
| 1149 | + </command:example> |
1118 | 1150 | </command:examples>
|
1119 | 1151 | <maml:relatedLinks>
|
1120 | 1152 | </maml:relatedLinks>
|
|
2863 | 2895 | <dev:version />
|
2864 | 2896 | </command:details>
|
2865 | 2897 | <maml:description>
|
2866 |
| - <maml:para>Create a new resource lock.</maml:para> |
| 2898 | + <maml:para>Create a new resource lock. Resource Locks are useful to prevent accidental deletions of your azure resources. Once a lock is placed on a resource, it can't be deleted unless the lock is removed. </maml:para> |
2867 | 2899 | </maml:description>
|
2868 | 2900 | <command:syntax>
|
2869 | 2901 | <command:syntaxItem>
|
2870 | 2902 | <maml:name>New-AzureRmResourceLock</maml:name>
|
2871 | 2903 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
2872 | 2904 | <maml:name>LockLevel</maml:name>
|
2873 | 2905 | <maml:description>
|
2874 |
| - <maml:para>The level of the lock.</maml:para> |
| 2906 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
2875 | 2907 | </maml:description>
|
2876 | 2908 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
2877 | 2909 | </command:parameter>
|
2878 | 2910 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
2879 | 2911 | <maml:name>LockNotes</maml:name>
|
2880 | 2912 | <maml:description>
|
2881 |
| - <maml:para>The notes of the lock.</maml:para> |
| 2913 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
2882 | 2914 | </maml:description>
|
2883 | 2915 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
2884 | 2916 | </command:parameter>
|
|
2965 | 2997 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
2966 | 2998 | <maml:name>LockLevel</maml:name>
|
2967 | 2999 | <maml:description>
|
2968 |
| - <maml:para>The level of the lock.</maml:para> |
| 3000 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
2969 | 3001 | </maml:description>
|
2970 | 3002 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
2971 | 3003 | </command:parameter>
|
2972 | 3004 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
2973 | 3005 | <maml:name>LockNotes</maml:name>
|
2974 | 3006 | <maml:description>
|
2975 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3007 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
2976 | 3008 | </maml:description>
|
2977 | 3009 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
2978 | 3010 | </command:parameter>
|
|
3052 | 3084 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3053 | 3085 | <maml:name>LockLevel</maml:name>
|
3054 | 3086 | <maml:description>
|
3055 |
| - <maml:para>The level of the lock.</maml:para> |
| 3087 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
3056 | 3088 | </maml:description>
|
3057 | 3089 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
3058 | 3090 | </command:parameter>
|
3059 | 3091 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3060 | 3092 | <maml:name>LockNotes</maml:name>
|
3061 | 3093 | <maml:description>
|
3062 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3094 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
3063 | 3095 | </maml:description>
|
3064 | 3096 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
3065 | 3097 | </command:parameter>
|
|
3153 | 3185 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3154 | 3186 | <maml:name>LockLevel</maml:name>
|
3155 | 3187 | <maml:description>
|
3156 |
| - <maml:para>The level of the lock.</maml:para> |
| 3188 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
3157 | 3189 | </maml:description>
|
3158 | 3190 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
3159 | 3191 | </command:parameter>
|
3160 | 3192 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3161 | 3193 | <maml:name>LockNotes</maml:name>
|
3162 | 3194 | <maml:description>
|
3163 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3195 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
3164 | 3196 | </maml:description>
|
3165 | 3197 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
3166 | 3198 | </command:parameter>
|
|
3254 | 3286 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3255 | 3287 | <maml:name>LockLevel</maml:name>
|
3256 | 3288 | <maml:description>
|
3257 |
| - <maml:para>The level of the lock.</maml:para> |
| 3289 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
3258 | 3290 | </maml:description>
|
3259 | 3291 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
3260 | 3292 | </command:parameter>
|
3261 | 3293 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3262 | 3294 | <maml:name>LockNotes</maml:name>
|
3263 | 3295 | <maml:description>
|
3264 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3296 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
3265 | 3297 | </maml:description>
|
3266 | 3298 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
3267 | 3299 | </command:parameter>
|
|
3334 | 3366 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3335 | 3367 | <maml:name>LockLevel</maml:name>
|
3336 | 3368 | <maml:description>
|
3337 |
| - <maml:para>The level of the lock.</maml:para> |
| 3369 | + <maml:para>The level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed.</maml:para> |
3338 | 3370 | </maml:description>
|
3339 | 3371 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
3340 | 3372 | </command:parameter>
|
3341 | 3373 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3342 | 3374 | <maml:name>LockNotes</maml:name>
|
3343 | 3375 | <maml:description>
|
3344 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3376 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
3345 | 3377 | </maml:description>
|
3346 | 3378 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
3347 | 3379 | </command:parameter>
|
|
3421 | 3453 | <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3422 | 3454 | <maml:name>LockLevel</maml:name>
|
3423 | 3455 | <maml:description>
|
3424 |
| - <maml:para>The level of the lock.</maml:para> |
| 3456 | + <maml:para>TThe level of the lock. The currently supported lock level is "CannotDelete". When this level is set on a resource, that resource cannont be deleted unless the lock is removed. </maml:para> |
3425 | 3457 | </maml:description>
|
3426 | 3458 | <command:parameterValue required="true" variableLength="false">LockLevel</command:parameterValue>
|
3427 | 3459 | <dev:type>
|
|
3434 | 3466 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
|
3435 | 3467 | <maml:name>LockNotes</maml:name>
|
3436 | 3468 | <maml:description>
|
3437 |
| - <maml:para>The notes of the lock.</maml:para> |
| 3469 | + <maml:para>The notes of the lock. This should not exceed 512 characters.</maml:para> |
3438 | 3470 | </maml:description>
|
3439 | 3471 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
3440 | 3472 | <dev:type>
|
|
3684 | 3716 | </maml:alertSet>
|
3685 | 3717 | <command:examples>
|
3686 | 3718 | <command:example>
|
3687 |
| - <maml:title>-------------------------- New1 --------------------------</maml:title> |
| 3719 | + <maml:title>-------------------------- Example1 --------------------------</maml:title> |
3688 | 3720 | <maml:introduction>
|
3689 | 3721 | <maml:paragraph>PS C:\></maml:paragraph>
|
3690 | 3722 | </maml:introduction>
|
|
4924 | 4956 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
|
4925 | 4957 | <maml:name>Properties</maml:name>
|
4926 | 4958 | <maml:description>
|
4927 |
| - <maml:para>A hash table which represents resource properties.</maml:para> |
| 4959 | + <maml:para>A hash table which represents resource properties. You should always provide the full properties set to Set-AzureResource. You can fetch all the current properties using Get-AzureRmResource, modify the properties you want to and then pass it to this cmdlet for updating.</maml:para> |
4928 | 4960 | </maml:description>
|
4929 | 4961 | <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
|
4930 | 4962 | </command:parameter>
|
|
5032 | 5064 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
|
5033 | 5065 | <maml:name>Properties</maml:name>
|
5034 | 5066 | <maml:description>
|
5035 |
| - <maml:para>A hash table which represents resource properties.</maml:para> |
| 5067 | + <maml:para>A hash table which represents resource properties. You should always provide the full properties set to Set-AzureResource. You can fetch all the current properties using Get-AzureRmResource, modify the properties you want to and then pass it to this cmdlet for updating.</maml:para> |
5036 | 5068 | </maml:description>
|
5037 | 5069 | <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
|
5038 | 5070 | </command:parameter>
|
|
5168 | 5200 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
|
5169 | 5201 | <maml:name>Properties</maml:name>
|
5170 | 5202 | <maml:description>
|
5171 |
| - <maml:para>A hash table which represents resource properties.</maml:para> |
| 5203 | + <maml:para>A hash table which represents resource properties. You should always provide the full properties set to Set-AzureResource. You can fetch all the current properties using Get-AzureRmResource, modify the properties you want to and then pass it to this cmdlet for updating.</maml:para> |
5172 | 5204 | </maml:description>
|
5173 | 5205 | <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
|
5174 | 5206 | </command:parameter>
|
|
5310 | 5342 | <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
|
5311 | 5343 | <maml:name>Properties</maml:name>
|
5312 | 5344 | <maml:description>
|
5313 |
| - <maml:para>A hash table which represents resource properties.</maml:para> |
| 5345 | + <maml:para>A hash table which represents resource properties. You should always provide the full properties set to Set-AzureResource. You can fetch all the current properties using Get-AzureRmResource, modify the properties you want to and then pass it to this cmdlet for updating.</maml:para> |
5314 | 5346 | </maml:description>
|
5315 | 5347 | <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
|
5316 | 5348 | <dev:type>
|
|
0 commit comments