diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml
index 625240e694e9..1c72966f882f 100644
--- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml
+++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml
@@ -1909,7 +1909,7 @@
PS C:\>
- Get-AzureResourceLock -LockName test
+ Get-AzureResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup
Gets the resource lock "test"
@@ -5081,4 +5081,1646 @@
+
+
+
+ Set-AzureResource
+
+ Updates an existing azure resource.
+
+
+
+
+ Set
+ AzureResource
+
+
+
+ Updates an existing azure resource.
+
+
+
+ Set-AzureResource
+
+ Kind
+
+ The resource kind.
+
+ String
+
+
+ Properties
+
+ A hash table which represents resource properties.
+
+ PSObject
+
+
+ Plan
+
+ A hash table which represents resource plan properties.
+
+ Hashtable
+
+
+ Tag
+
+ A hash table which represents resource tags.
+
+ Hashtable[]
+
+
+ UsePatchSemantics
+
+ When set indicates if an HTTP PATCH should be used to update the object instead of PUT.
+
+ SwitchParameter
+
+
+ OutputObjectFormat
+
+ The output format of the resource properties.
+
+ Nullable`1[ResourceObjectFormat]
+
+
+ ResourceId
+
+ The fully qualified resource Id, including the subscription. e.g. /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers/myServer/databases/myDatabase
+
+ String
+
+
+ ODataQuery
+
+ An OData style filter which will be appended to the request in addition to any other filters.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResource
+
+ Kind
+
+ The resource kind.
+
+ String
+
+
+ Properties
+
+ A hash table which represents resource properties.
+
+ PSObject
+
+
+ Plan
+
+ A hash table which represents resource plan properties.
+
+ Hashtable
+
+
+ Tag
+
+ A hash table which represents resource tags.
+
+ Hashtable[]
+
+
+ UsePatchSemantics
+
+ When set indicates if an HTTP PATCH should be used to update the object instead of PUT.
+
+ SwitchParameter
+
+
+ OutputObjectFormat
+
+ The output format of the resource properties.
+
+ Nullable`1[ResourceObjectFormat]
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ ParentResource
+
+ The parent resource type. e.g. Servers/myServer.
+
+ String
+
+
+ ExtensionResourceName
+
+ The extension resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ExtensionResourceType
+
+ The extension resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ ODataQuery
+
+ An OData style filter which will be appended to the request in addition to any other filters.
+
+ String
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+
+ ResourceGroupName
+
+ The resource group name.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResource
+
+ Kind
+
+ The resource kind.
+
+ String
+
+
+ Properties
+
+ A hash table which represents resource properties.
+
+ PSObject
+
+
+ Plan
+
+ A hash table which represents resource plan properties.
+
+ Hashtable
+
+
+ Tag
+
+ A hash table which represents resource tags.
+
+ Hashtable[]
+
+
+ UsePatchSemantics
+
+ When set indicates if an HTTP PATCH should be used to update the object instead of PUT.
+
+ SwitchParameter
+
+
+ OutputObjectFormat
+
+ The output format of the resource properties.
+
+ Nullable`1[ResourceObjectFormat]
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ ExtensionResourceName
+
+ The extension resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ExtensionResourceType
+
+ The extension resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ ODataQuery
+
+ An OData style filter which will be appended to the request in addition to any other filters.
+
+ String
+
+
+ TenantLevel
+
+ Indicates that this is a tenant level operation.
+
+ SwitchParameter
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+
+
+ Kind
+
+ The resource kind.
+
+ String
+
+ String
+
+
+
+
+
+ Properties
+
+ A hash table which represents resource properties.
+
+ PSObject
+
+ PSObject
+
+
+
+
+
+ Plan
+
+ A hash table which represents resource plan properties.
+
+ Hashtable
+
+ Hashtable
+
+
+
+
+
+ Tag
+
+ A hash table which represents resource tags.
+
+ Hashtable[]
+
+ Hashtable[]
+
+
+
+
+
+ UsePatchSemantics
+
+ When set indicates if an HTTP PATCH should be used to update the object instead of PUT.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ OutputObjectFormat
+
+ The output format of the resource properties.
+
+ Nullable`1[ResourceObjectFormat]
+
+ Nullable`1[ResourceObjectFormat]
+
+
+
+
+
+ ResourceId
+
+ The fully qualified resource Id, including the subscription. e.g. /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers/myServer/databases/myDatabase
+
+ String
+
+ String
+
+
+
+
+
+ ODataQuery
+
+ An OData style filter which will be appended to the request in addition to any other filters.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+ String
+
+
+
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Profile
+
+
+
+ AzureProfile
+
+ AzureProfile
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+ String
+
+
+
+
+
+ ParentResource
+
+ The parent resource type. e.g. Servers/myServer.
+
+ String
+
+ String
+
+
+
+
+
+ ExtensionResourceName
+
+ The extension resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+ String
+
+
+
+
+
+ ExtensionResourceType
+
+ The extension resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+ Nullable`1[Guid]
+
+
+
+
+
+ ResourceGroupName
+
+ The resource group name.
+
+ String
+
+ String
+
+
+
+
+
+ TenantLevel
+
+ Indicates that this is a tenant level operation.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- SetAzureResource1 --------------------------
+
+ PS C:\>
+
+
+ $r = Get-AzureResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName mySite -OutputObjectFormat New
+ $r.Properties.Enabled = "False"
+ $r | Set-AzureResource -Force -OutputObjectFormat New
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureResourceLock
+
+ Updates an existing resource lock.
+
+
+
+
+ Set
+ AzureResourceLock
+
+
+
+ Updates an existing resource lock.
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ Scope
+
+ The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resoruce group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
+
+ String
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+
+ ResourceGroupName
+
+ The resource group name.
+
+ String
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+
+ TenantLevel
+
+ Indicates that this is a tenant level operation.
+
+ SwitchParameter
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+ Set-AzureResourceLock
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+
+ ResourceGroupName
+
+ The resource group name.
+
+ String
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+
+ Profile
+
+
+
+ AzureProfile
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+
+
+
+
+ LockLevel
+
+ The level of the lock.
+
+ LockLevel
+
+ LockLevel
+
+
+
+
+
+ LockNotes
+
+ The notes of the lock.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Do not ask for confirmation.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ LockName
+
+ The name of the lock.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceName
+
+ The resource name. e.g. to specify a database MyServer/MyDatabase.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceType
+
+ The resource type. e.g. Microsoft.Sql/Servers/Databases.
+
+ String
+
+ String
+
+
+
+
+
+ ApiVersion
+
+ When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the latest available.
+
+ String
+
+ String
+
+
+
+
+
+ Pre
+
+ When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Profile
+
+
+
+ AzureProfile
+
+ AzureProfile
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ WhatIf
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Confirm
+
+
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Scope
+
+ The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resoruce group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionId
+
+ The subscription to use.
+
+ Nullable`1[Guid]
+
+ Nullable`1[Guid]
+
+
+
+
+
+ ResourceGroupName
+
+ The resource group name.
+
+ String
+
+ String
+
+
+
+
+
+ TenantLevel
+
+ Indicates that this is a tenant level operation.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- SetResourceLock1 --------------------------
+
+ PS C:\>
+
+ Set-AzureResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -LockLevel CanNotDelete -LockNotes "Updated note"
+
+ Updates existing resource lock
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file