Skip to content

Latest commit

 

History

History
454 lines (348 loc) · 11.9 KB

Set-IntersightVirtualizationVmwareVirtualDisk.md

File metadata and controls

454 lines (348 loc) · 11.9 KB
external help file Module Name online version schema
Intersight.PowerShell.dll-Help.xml
Intersight.PowerShell
2.0.0

Set-IntersightVirtualizationVmwareVirtualDisk

SYNOPSIS

Fill in the Synopsis

SYNTAX


Set-IntersightVirtualizationVmwareVirtualDisk [-AdditionalProperties< System.Collections.Generic.Dictionary`2[string,object]>][-CompatibilityMode< VirtualizationVmwareVirtualDisk.CompatibilityModeEnum>][-ControllerKey< long>][-DeviceName< string>][-DiskMode< VirtualizationVmwareVirtualDisk.DiskModeEnum>][-DiskType< VirtualizationVmwareVirtualDisk.DiskTypeEnum>][-Key< long>][-Limit< long>][-LunUuid< string>][[-Moid]< string>][-Name< string>][-RegisteredDevice< AssetDeviceRegistrationRelationship>][-Serial< string>][-Shares< VirtualizationVmwareSharesInfo>][-Sharing< VirtualizationVmwareVirtualDisk.SharingEnum>][-Size< long>][-StorageAllocationType< VirtualizationVmwareVirtualDisk.StorageAllocationTypeEnum>][-Tags< System.Collections.Generic.List`1[MoTag]>][-UnitNumber< long>][-Uuid< string>][-VdiskId< string>][-Vendor< string>][-VirtualDiskPath< string>][-VmIdentity< string>][-Json< SwitchParameter>][-WithHttpInfo< SwitchParameter>]

DESCRIPTION

Update a 'VirtualizationVmwareVirtualDisk' resource.

PARAMETERS

-AdditionalProperties

Type: System.Collections.Generic.Dictionary`2[string,object]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-CompatibilityMode

Compatibility mode of the raw disk mapping (RDM).\n* notApplicable - Value specified for any disk which is not of raw device mapping type.\n* physicalMode - A disk device backed by a physical compatibility mode raw disk mapping cannot use disk modes, and commands are passed straight through to the LUN indicated by the raw disk mapping.\n* virtualMode - A disk device backed by a virtual compatibility mode raw disk mapping can use disk modes.

Type: VirtualizationVmwareVirtualDisk.CompatibilityModeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-ControllerKey

Key of the controller on which the disk is created.

Type: long
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-DeviceName

Host-specific device the LUN is being accessed through. If the target LUN is not available on the host then it is empty. For example, this could happen if it has accidentally been masked out.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-DiskMode

Persistence mode of the virtual disk. For RDM disks, it is only supported when the raw disk mapping is using virtual compatibility mode.\n* persistent - Changes are immediately and permanently written to the virtual disk.\n* independent_persistent - Changes are immediately and permanently written to the virtual disk and not affected by snapshots.\n* independent_nonpersistent - Changes to virtual disk are made to a redo log and discarded at power off and not affected by snapshots.\n* nonpersistent - Changes to virtual disk are made to a redo log and discarded at power off.\n* undoable - Changes to virtual disk are made to a redo log and has the option to commit or undo.\n* append - Changes are appended to the redo log and can be revoked by removing the undo log.

Type: VirtualizationVmwareVirtualDisk.DiskModeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-DiskType

Specifies whether the virtual disk is a RDM or a Hard disk.\n* flatDisk - Specifies that it is a flat disk.\n* rdmDisk - Specifies that it is a raw device mapping disk.

Type: VirtualizationVmwareVirtualDisk.DiskTypeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Key

The internally assigned key of this disk. This entity is not manipulated by users.

Type: long
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Limit

The utilization of a virtual machine will not exceed this limit, even if there are available resources. Used to ensure a consistent performance of virtual machines independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). The unit is number of I/O per second.

Type: long
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-LunUuid

Unique identifier of the LUN accessed by the raw disk mapping (RDM).

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Moid

The unique identifier of this Managed Object instance.

Type: string
Parameter Sets: (All)
Aliases:

Required: true
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Name

Name of the storage disk. Name must be unique within a Datastore.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-RegisteredDevice

A reference to a assetDeviceRegistration resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: AssetDeviceRegistrationRelationship
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Serial

Serial ID of the storage device.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Shares

Disk shares used for resource scheduling.

Note :- Use Initialize-IntersightVirtualizationVmwareSharesInfo to create the object of complex type VirtualizationVmwareSharesInfo

Type: VirtualizationVmwareSharesInfo
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Sharing

Sharing mode of the virtual disk.\n* sharingNone - The virtual disk is not shared.\n* sharingMultiWriter - The virtual disk is shared between multiple virtual machines.

Type: VirtualizationVmwareVirtualDisk.SharingEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Size

Disk size represented in bytes.

Type: long
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-StorageAllocationType

Allocation type for the virtual disk.\n* notApplicable - Value specified for a disk for which storage allocation type is not applicable.\n* thin - A thin provisioned disk consumes only the space that it needs for its initial operrations, and grows with time according to demand. It is the fastest method to create a virtual disk because it creates a disk with just the header information.\n* lazyZeroedThick - A lazy zeroed thick disk has all space allocated at the time of its creation. Data remaining on the physical device is not erased during creation, but is zeroed out on demand later on first write from the virtual machine.\n* eagerZeroedThick - An eager zeroed thick disk has all space allocated and wiped clean of any previous contents on the physical media at creation time. Such disks may take longer time during creation compared to other disk formats.

Type: VirtualizationVmwareVirtualDisk.StorageAllocationTypeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Tags

Note :- Use Initialize-IntersightMoTag to create the object of complex type MoTag

Type: System.Collections.Generic.List`1[MoTag]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-UnitNumber

Unit number of the disk on its controller.

Type: long
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Uuid

UUID assigned by vCenter to every disk.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-VdiskId

Identity of the virtual disk object as the first class entity.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Vendor

Vendor of the storage device.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-VirtualDiskPath

Path of the virtual disk.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-VmIdentity

Identity of the virtual machine where the virtual disk is created.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Json

Returns the json payload received in response.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-WithHttpInfo

Returns the HTTP response with headers and content.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

EXAMPLES

Example 1

PS C:\> Set-IntersightVirtualizationVmwareVirtualDisk

{ Add example description here }

INPUTS

System.Int32

System.String

OUTPUTS

TestModule.FavoriteStuff

NOTES

RELATED LINKS

Get-IntersightVirtualizationVmwareVirtualDisk

Initialize-IntersightMoVersionContext

Initialize-IntersightVirtualizationVmwareSharesInfo