Update-AzVMwareDatastore
Syntax
UpdateExpanded (Default)
Update-AzVMwareDatastore
-ClusterName <String>
-Name <String>
-PrivateCloudName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-DiskPoolVolumeLunName <String>]
[-DiskPoolVolumeMountOption <String>]
[-DiskPoolVolumeTargetId <String>]
[-ElasticSanVolumeTargetId <String>]
[-NetAppVolumeId <String>]
[-PureStorageVolumeSizeGb <Int32>]
[-PureStorageVolumeStoragePoolId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpdateViaIdentityPrivateCloudExpanded
Update-AzVMwareDatastore
-ClusterName <String>
-Name <String>
-PrivateCloudInputObject <IVMwareIdentity>
[-DiskPoolVolumeLunName <String>]
[-DiskPoolVolumeMountOption <String>]
[-DiskPoolVolumeTargetId <String>]
[-ElasticSanVolumeTargetId <String>]
[-NetAppVolumeId <String>]
[-PureStorageVolumeSizeGb <Int32>]
[-PureStorageVolumeStoragePoolId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpdateViaIdentityClusterExpanded
Update-AzVMwareDatastore
-Name <String>
-ClusterInputObject <IVMwareIdentity>
[-DiskPoolVolumeLunName <String>]
[-DiskPoolVolumeMountOption <String>]
[-DiskPoolVolumeTargetId <String>]
[-ElasticSanVolumeTargetId <String>]
[-NetAppVolumeId <String>]
[-PureStorageVolumeSizeGb <Int32>]
[-PureStorageVolumeStoragePoolId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpdateViaIdentityExpanded
Update-AzVMwareDatastore
-InputObject <IVMwareIdentity>
[-DiskPoolVolumeLunName <String>]
[-DiskPoolVolumeMountOption <String>]
[-DiskPoolVolumeTargetId <String>]
[-ElasticSanVolumeTargetId <String>]
[-NetAppVolumeId <String>]
[-PureStorageVolumeSizeGb <Int32>]
[-PureStorageVolumeStoragePoolId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Examples
Example 1: Update a datastore in a private cloud cluster.
Update-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
Name Status ProvisioningState ResourceGroupName
---- ------ ----------------- -----------------
azps_test_datastore Accessible Succeeded azps_test_group
Update a datastore in a private cloud cluster.
Parameters
-AsJob
Run the command as a job
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IVMwareIdentity
Default value: None
Supports wildcards: False
DontShow: False
UpdateViaIdentityClusterExpanded
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-ClusterName
Name of the cluster
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
UpdateExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
UpdateViaIdentityPrivateCloudExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: cf
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DiskPoolVolumeLunName
Name of the LUN to be used for datastore
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DiskPoolVolumeMountOption
Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Azure resource ID of the iSCSI target
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Azure resource ID of the Elastic SAN Volume
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IVMwareIdentity
Default value: None
Supports wildcards: False
DontShow: False
UpdateViaIdentityExpanded
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the datastore
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: DatastoreName
Parameter sets
UpdateExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
UpdateViaIdentityPrivateCloudExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
UpdateViaIdentityClusterExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-NetAppVolumeId
Azure resource ID of the NetApp volume
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-NoWait
Run the command asynchronously
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IVMwareIdentity
Default value: None
Supports wildcards: False
DontShow: False
UpdateViaIdentityPrivateCloudExpanded
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-PrivateCloudName
Name of the private cloud
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
UpdateExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-PureStorageVolumeSizeGb
Volume size to be used to create a Virtual Volumes (vVols) datastore
Parameter properties
Type: Int32
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-PureStorageVolumeStoragePoolId
Azure resource ID of the Pure Storage Pool
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
UpdateExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
UpdateExpanded
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: wi
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs