diff --git a/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml b/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
index 2587402beb61..42aab4574e02 100644
--- a/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
+++ b/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
@@ -11,6 +11,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -21,6 +39,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -98,9 +134,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonListResult#Multiple
@@ -327,6 +363,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -337,6 +391,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -346,9 +418,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkListResult#Multiple
@@ -377,6 +449,9 @@
+
+
+
@@ -387,6 +462,9 @@
LinkedCloud
+
+ ProvisioningState
+ Status
@@ -405,6 +483,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -415,6 +511,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -424,9 +538,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterListResult#Multiple
@@ -461,6 +575,9 @@
+
+
+
@@ -474,6 +591,9 @@
ProvisioningState
+
+ VsanDatastoreName
+
@@ -523,40 +643,6 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CommonClusterProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CommonClusterProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClusterId
-
-
- ClusterSize
-
-
- ProvisioningState
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Datastore
@@ -598,9 +684,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreListResult#Multiple
@@ -687,6 +773,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ElasticSanVolume
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ElasticSanVolume#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ TargetId
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Encryption
@@ -771,9 +879,18 @@
+
+
+
+
+
+
+
+
+
@@ -784,9 +901,18 @@
HcxCloudManager
+
+ HcxCloudManagerIP
+ NsxtManager
+
+ NsxtManagerIP
+
+
+ VcenterIP
+ Vcsa
@@ -839,6 +965,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -849,6 +993,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -858,9 +1020,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationListResult#Multiple
@@ -929,6 +1091,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -939,6 +1119,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -948,9 +1146,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionListResult#Multiple
@@ -1031,6 +1229,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1041,6 +1257,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -1050,9 +1284,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteListResult#Multiple
@@ -1081,6 +1315,9 @@
+
+
+
@@ -1091,6 +1328,9 @@
ActivationKey
+
+ ProvisioningState
+ Status
@@ -1121,9 +1361,6 @@
-
-
-
@@ -1155,9 +1392,6 @@
Name
-
- Password
- PrimaryServer
@@ -1176,33 +1410,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.LogSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPath
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.LogSpecification#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPath#Multiple
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- BlobDuration
+ Name
- DisplayName
+ SystemDataCreatedAt
- Name
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -1210,33 +1474,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPathListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPathListResult#Multiple
-
-
-
-
-
-
-
+
- ClusterId
-
-
- ClusterSize
-
-
- ProvisioningState
+ NextLink
@@ -1244,39 +1496,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricDimension
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPathProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricDimension#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IscsiPathProperties#Multiple
-
-
-
-
-
-
-
+
-
+
- DisplayName
-
-
- InternalName
-
-
- Name
+ NetworkBlock
- ToBeExportedForShoebox
+ ProvisioningState
@@ -1284,75 +1524,39 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricSpecification#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
- AggregationType
-
-
- Category
-
-
- DisplayDescription
-
-
- DisplayName
-
-
- EnableRegionalMdmAccount
-
-
- FillGapWithZero
-
-
- Name
+ ClusterId
- SourceMdmAccount
+ ClusterSize
- SourceMdmNamespace
+ ProvisioningState
- Unit
+ VsanDatastoreName
@@ -1366,6 +1570,9 @@
+
+
+
@@ -1379,6 +1586,9 @@
+
+ ActionType
+ IsDataAction
@@ -1434,9 +1644,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationListResult#Multiple
@@ -1456,21 +1666,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPoliciesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPoliciesList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -1478,27 +1730,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -1586,6 +1832,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1600,35 +1864,25 @@
Name
- ResourceGroupName
+ SystemDataCreatedAt
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudIdentity
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudIdentity#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
- PrincipalId
+ SystemDataCreatedBy
- TenantId
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -1636,9 +1890,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudListResult#Multiple
@@ -1665,47 +1919,11 @@
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1718,9 +1936,6 @@
-
-
-
@@ -1731,7 +1946,7 @@
-
+
@@ -1741,47 +1956,11 @@
- AvailabilitySecondaryZone
-
-
- AvailabilityStrategy
-
-
- AvailabilityZone
-
-
- EncryptionStatus
+ DnsZoneTypeInternet
-
- KeyVaultPropertyAutoDetectedKeyVersion
-
-
- KeyVaultPropertyKeyName
-
-
- KeyVaultPropertyKeyState
-
-
- KeyVaultPropertyKeyVaultUrl
-
-
- KeyVaultPropertyKeyVersion
-
-
- KeyVaultPropertyVersionType
-
-
- ManagementClusterId
-
-
- ManagementClusterProvisioningState
-
-
- ManagementClusterSize
- ManagementNetwork
@@ -1794,9 +1973,6 @@
NsxtCertificateThumbprint
-
- NsxtPassword
- ProvisioningNetwork
@@ -1807,7 +1983,7 @@
VcenterCertificateThumbprint
- VcenterPassword
+ VirtualNetworkIdVmotionNetwork
@@ -1824,6 +2000,9 @@
+
+
+
@@ -1831,6 +2010,9 @@
+
+ DnsZoneType
+ Internet
@@ -1840,21 +2022,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudUpdateTags
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudUpdateTags#Multiple
-
+
- Name
+ Item
@@ -1862,9 +2044,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource#Multiple
@@ -1872,10 +2054,22 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1885,10 +2079,22 @@
Name
- Password
+ SystemDataCreatedAt
- Username
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
@@ -1896,21 +2102,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter#Multiple
-
+
+
+
+
- Enabled
+ Name
+
+
+ Username
@@ -1918,21 +2130,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota#Multiple
-
+
- Item
+ Enabled
@@ -1940,21 +2152,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining#Multiple
-
+
- Name
+ Item
@@ -1962,21 +2174,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ResourceTags#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource#Multiple
-
+
- Item
+ Name
@@ -1993,6 +2205,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2003,6 +2233,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -2012,27 +2260,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletListResult#Multiple
-
-
-
-
+
- Description
-
-
- Timeout
+ NextLink
@@ -2040,21 +2282,39 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletsList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties#Multiple
-
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Audience
+
+
+ Description
+
+
+ ProvisioningState
+
+
+ Timeout
@@ -2071,6 +2331,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2081,6 +2359,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -2089,6 +2385,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionParameter
@@ -2176,21 +2494,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionsList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -2198,27 +2558,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackageListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackageListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -2238,6 +2592,9 @@
+
+
+
@@ -2255,32 +2612,13 @@
Description
- Uri
+ ProvisioningState
- Version
+ Uri
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackagesList
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackagesList#Multiple
-
-
-
-
-
-
-
-
-
-
- NextLink
+ Version
@@ -2337,9 +2675,6 @@
-
-
-
@@ -2347,9 +2682,6 @@
Name
-
- SecureValue
-
@@ -2390,43 +2722,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Capacity
+
+
+ Family
+ Name
+
+ Size
+
+
+ Tier
+
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.SystemAssignedServiceIdentity
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.SystemAssignedServiceIdentity#Multiple
-
+
-
+
- Name
+ PrincipalId
- Location
+ TenantId
@@ -2434,37 +2790,61 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.SystemData
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.SystemData#Multiple
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
- AvailableHost
+ CreatedAt
- Status
+ CreatedBy
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource#Multiple
@@ -2472,7 +2852,25 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2482,7 +2880,25 @@
Name
- ResourceGroupName
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ Location
@@ -2490,39 +2906,113 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResourceTags
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResourceTags#Multiple
-
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial#Multiple
+
+
+
+
+
-
+
+
+
+
+
+
+
+ AvailableHost
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine#Multiple
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- DisplayName
+ Name
- FolderPath
+ SystemDataCreatedAt
- MoRefId
+ SystemDataCreatedBy
- RestrictMovement
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -2530,12 +3020,46 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineListResult#Multiple
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2543,6 +3067,18 @@
+
+ DisplayName
+
+
+ FolderPath
+
+
+ MoRefId
+
+
+ ProvisioningState
+ RestrictMovement
@@ -2552,21 +3088,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachinesList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement#Multiple
-
+
- NextLink
+ RestrictMovement
@@ -2744,9 +3280,6 @@
-
-
-
@@ -2823,9 +3356,6 @@
VirtualMachineId
-
- WorkloadNetworkName
-
@@ -2841,6 +3371,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2851,6 +3399,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -2869,6 +3435,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2879,6 +3463,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -2928,21 +3530,33 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntityUpdate
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntityUpdate#Multiple
-
+
+
+
+
+
+
+
- NextLink
+ DhcpType
+
+
+ DisplayName
+
+
+ Revision
@@ -2950,19 +3564,41 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpListResult#Multiple
-
-
-
-
+
-
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay#Multiple
+
+
+
+
+
+
+
+
+
+
@@ -2989,6 +3625,40 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelayUpdate
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelayUpdate#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DhcpType
+
+
+ DisplayName
+
+
+ Revision
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpServer
@@ -3041,6 +3711,52 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpServerUpdate
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpServerUpdate#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DhcpType
+
+
+ DisplayName
+
+
+ Revision
+
+
+ LeaseTime
+
+
+ ServerAddress
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsService
@@ -3051,6 +3767,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3061,6 +3795,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -3069,6 +3821,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServiceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServiceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServiceProperties
@@ -3128,21 +3902,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServicesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServicesList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -3150,27 +3966,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZoneListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZoneListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -3223,28 +4033,6 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZonesList
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZonesList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGateway
@@ -3255,6 +4043,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3265,6 +4071,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -3274,9 +4098,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayListResult#Multiple
@@ -3308,6 +4132,9 @@
+
+
+
@@ -3318,15 +4145,18 @@
Path
+
+ ProvisioningState
+
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkListResult#Multiple
@@ -3355,6 +4185,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3365,6 +4213,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -3374,9 +4240,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringListResult#Multiple
@@ -3453,6 +4319,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIP
@@ -3463,6 +4351,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3473,6 +4379,24 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+ ResourceGroupName
@@ -3481,6 +4405,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPProperties
@@ -3522,21 +4468,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPsList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -3544,27 +4532,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -3640,21 +4622,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentsList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet#Multiple
-
+
- NextLink
+ GatewayAddress
@@ -3662,21 +4644,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- GatewayAddress
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -3684,27 +4708,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachineListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachineListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -3721,6 +4739,9 @@
+
+
+
@@ -3731,6 +4752,9 @@
DisplayName
+
+ ProvisioningState
+ VMType
@@ -3740,21 +4764,63 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachinesList#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
@@ -3762,27 +4828,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupListResult
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup#Multiple
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupListResult#Multiple
-
-
-
-
+
- Name
-
-
- ResourceGroupName
+ NextLink
@@ -3829,27 +4889,5 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupsList
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupsList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/Az.VMware.psd1 b/src/VMware/VMware.Autorest/Az.VMware.psd1
index 424c2ddd1dc2..bf4c8056f02f 100644
--- a/src/VMware/VMware.Autorest/Az.VMware.psd1
+++ b/src/VMware/VMware.Autorest/Az.VMware.psd1
@@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.VMware.private.dll'
FormatsToProcess = './Az.VMware.format.ps1xml'
- FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster', 'Get-AzVMwareClusterZone', 'Get-AzVMwareDatastore', 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwarePlacementPolicy', 'Get-AzVMwarePrivateCloud', 'Get-AzVMwarePrivateCloudAdminCredential', 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', 'New-AzVMwareAddonSrmPropertiesObject', 'New-AzVMwareAddonVrPropertiesObject', 'New-AzVMwareAuthorization', 'New-AzVMwareCloudLink', 'New-AzVMwareCluster', 'New-AzVMwareDatastore', 'New-AzVMwareGlobalReachConnection', 'New-AzVMwareIdentitySourceObject', 'New-AzVMwarePlacementPolicy', 'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword', 'New-AzVMwarePrivateCloudVcenterPassword', 'New-AzVMwarePSCredentialExecutionParameterObject', 'New-AzVMwareScriptSecureStringExecutionParameterObject', 'New-AzVMwareScriptStringExecutionParameterObject', 'New-AzVMwareVmHostPlacementPolicyPropertiesObject', 'New-AzVMwareVMPlacementPolicyPropertiesObject', 'Remove-AzVMwareAddon', 'Remove-AzVMwareAuthorization', 'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster', 'Remove-AzVMwareDatastore', 'Remove-AzVMwareGlobalReachConnection', 'Remove-AzVMwarePlacementPolicy', 'Remove-AzVMwarePrivateCloud', 'Test-AzVMwareLocationQuotaAvailability', 'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareAuthorization', 'Update-AzVMwareCloudLink', 'Update-AzVMwareCluster', 'Update-AzVMwareDatastore', 'Update-AzVMwareGlobalReachConnection', 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud'
+ FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster', 'Get-AzVMwareClusterZone', 'Get-AzVMwareDatastore', 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwareIscsiPath', 'Get-AzVMwarePlacementPolicy', 'Get-AzVMwarePrivateCloud', 'Get-AzVMwarePrivateCloudAdminCredential', 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', 'New-AzVMwareAddonSrmPropertyObject', 'New-AzVMwareAddonVrPropertyObject', 'New-AzVMwareAuthorization', 'New-AzVMwareCloudLink', 'New-AzVMwareCluster', 'New-AzVMwareDatastore', 'New-AzVMwareGlobalReachConnection', 'New-AzVMwareIscsiPath', 'New-AzVMwarePlacementPolicy', 'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword', 'New-AzVMwarePrivateCloudVcenterPassword', 'New-AzVMwarePSCredentialExecutionParameterObject', 'New-AzVMwareScriptSecureStringExecutionParameterObject', 'New-AzVMwareScriptStringExecutionParameterObject', 'New-AzVMwareVmHostPlacementPolicyPropertyObject', 'New-AzVMwareVMPlacementPolicyPropertyObject', 'Remove-AzVMwareAddon', 'Remove-AzVMwareAuthorization', 'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster', 'Remove-AzVMwareDatastore', 'Remove-AzVMwareGlobalReachConnection', 'Remove-AzVMwareIscsiPath', 'Remove-AzVMwarePlacementPolicy', 'Remove-AzVMwarePrivateCloud', 'Test-AzVMwareLocationQuotaAvailability', 'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareAuthorization', 'Update-AzVMwareCloudLink', 'Update-AzVMwareCluster', 'Update-AzVMwareDatastore', 'Update-AzVMwareGlobalReachConnection', 'Update-AzVMwareIscsiPath', 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'VMware'
diff --git a/src/VMware/VMware.Autorest/README.md b/src/VMware/VMware.Autorest/README.md
index a8c94d7ddf60..7bfe56faa074 100644
--- a/src/VMware/VMware.Autorest/README.md
+++ b/src/VMware/VMware.Autorest/README.md
@@ -44,17 +44,15 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest
``` yaml
-commit: 0baf811c3c76c87b3c127d098519bd97141222dd
+commit: e934daa5febe039d94794aa0ffc53a7f996db11f
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json
+ - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json
module-version: 0.4.0
title: VMware
subject-prefix: $(service-name)
-disable-transform-identity-type: true
-flatten-userassignedidentity: false
support-json-input: false
@@ -157,17 +155,19 @@ directive:
- no-inline:
- AddonProperties
- PlacementPolicyProperties
- - model-cmdlet:
- - model-name: IdentitySource
# Re-name and custom it
- # - model-cmdlet:
- # - VMPlacementPolicyProperties
- # - VmHostPlacementPolicyProperties
- # - ScriptSecureStringExecutionParameter
- # - ScriptStringExecutionParameter
- # - PSCredentialExecutionParameter
- # - AddonSrmProperties
- # - AddonVrProperties
+ - model-cmdlet:
+ - model-name: VMPlacementPolicyProperties
+ cmdlet-name: New-AzVMwareVMPlacementPolicyPropertyObject
+ - model-name: VmHostPlacementPolicyProperties
+ cmdlet-name: New-AzVMwareVmHostPlacementPolicyPropertyObject
+ # - model-name: ScriptSecureStringExecutionParameter
+ # - model-name: ScriptStringExecutionParameter
+ # - model-name: PSCredentialExecutionParameter
+ # - model-name: AddonSrmProperties
+ # cmdlet-name: New-AzVMwareAddonSrmPropertyObject
+ # - model-name: AddonVrProperties
+ # cmdlet-name: New-AzVMwareAddonVrPropertyObject
- where:
verb: Get
subject: ^PrivateCloudAdminCredentials$
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json
index 41e2799f344c..5a7d76dcaa97 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json
@@ -1,6 +1,6 @@
{
"resourceType": "locations",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json
index 94d8600cc81d..649f8c7f9f9f 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/authorizations",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareAuthorization",
- "description": "Get an ExpressRoute Circuit Authorization by name in a private cloud",
+ "description": "Get a ExpressRouteAuthorization",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
"help": {
"learnMore": {
@@ -26,7 +26,7 @@
},
"examples": [
{
- "description": "Get an ExpressRoute Circuit Authorization by name in a private cloud",
+ "description": "Get a ExpressRouteAuthorization",
"parameters": [
{
"name": "-Name",
@@ -50,7 +50,7 @@
},
{
"name": "Remove-AzVMwareAuthorization",
- "description": "Delete an ExpressRoute Circuit Authorization in a private cloud",
+ "description": "Delete a ExpressRouteAuthorization",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
"help": {
"learnMore": {
@@ -69,7 +69,7 @@
},
"examples": [
{
- "description": "Delete an ExpressRoute Circuit Authorization in a private cloud",
+ "description": "Delete a ExpressRouteAuthorization",
"parameters": [
{
"name": "-Name",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json
index 673a13f4486b..e1f42758c9ae 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/cloudLinks",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareCloudLink",
- "description": "Get an cloud link by name in a private cloud",
+ "description": "Get a CloudLink",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}",
"help": {
"learnMore": {
@@ -26,7 +26,7 @@
},
"examples": [
{
- "description": "Get an cloud link by name in a private cloud",
+ "description": "Get a CloudLink",
"parameters": [
{
"name": "-Name",
@@ -50,7 +50,7 @@
},
{
"name": "Remove-AzVMwareCloudLink",
- "description": "Delete a cloud link in a private cloud",
+ "description": "Delete a CloudLink",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}",
"help": {
"learnMore": {
@@ -69,7 +69,7 @@
},
"examples": [
{
- "description": "Delete a cloud link in a private cloud",
+ "description": "Delete a CloudLink",
"parameters": [
{
"name": "-Name",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json
index 686be6375cd3..3e65e3996051 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/clusters/datastores",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareDatastore",
- "description": "Get a datastore in a private cloud cluster",
+ "description": "Get a Datastore",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}",
"help": {
"learnMore": {
@@ -27,7 +27,7 @@
},
"examples": [
{
- "description": "Get a datastore in a private cloud cluster",
+ "description": "Get a Datastore",
"parameters": [
{
"name": "-ClusterName",
@@ -55,7 +55,7 @@
},
{
"name": "Remove-AzVMwareDatastore",
- "description": "Delete a datastore in a private cloud cluster",
+ "description": "Delete a Datastore",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}",
"help": {
"learnMore": {
@@ -75,7 +75,7 @@
},
"examples": [
{
- "description": "Delete a datastore in a private cloud cluster",
+ "description": "Delete a Datastore",
"parameters": [
{
"name": "-ClusterName",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json
index 69cb075e68e5..335ea0fb0922 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/clusters/placementPolicies",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwarePlacementPolicy",
- "description": "Get a placement policy by name in a private cloud cluster",
+ "description": "Get a PlacementPolicy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}",
"help": {
"learnMore": {
@@ -27,7 +27,7 @@
},
"examples": [
{
- "description": "Get a placement policy by name in a private cloud cluster",
+ "description": "Get a PlacementPolicy",
"parameters": [
{
"name": "-ClusterName",
@@ -55,7 +55,7 @@
},
{
"name": "Remove-AzVMwarePlacementPolicy",
- "description": "Delete a placement policy in a private cloud cluster",
+ "description": "Delete a PlacementPolicy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}",
"help": {
"learnMore": {
@@ -75,7 +75,7 @@
},
"examples": [
{
- "description": "Delete a placement policy in a private cloud cluster",
+ "description": "Delete a PlacementPolicy",
"parameters": [
{
"name": "-ClusterName",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json
index 93858c0449a0..db15345b9eeb 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/clusters/virtualMachines",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareVirtualMachine",
- "description": "Get a virtual machine by id in a private cloud cluster",
+ "description": "Get a VirtualMachine",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}",
"help": {
"learnMore": {
@@ -27,7 +27,7 @@
},
"examples": [
{
- "description": "Get a virtual machine by id in a private cloud cluster",
+ "description": "Get a VirtualMachine",
"parameters": [
{
"name": "-ClusterName",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json
index aae124e85202..740cd32979e1 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/clusters",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareCluster",
- "description": "Get a cluster by name in a private cloud",
+ "description": "Get a Cluster",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
"help": {
"learnMore": {
@@ -26,7 +26,7 @@
},
"examples": [
{
- "description": "Get a cluster by name in a private cloud",
+ "description": "Get a Cluster",
"parameters": [
{
"name": "-Name",
@@ -50,7 +50,7 @@
},
{
"name": "Remove-AzVMwareCluster",
- "description": "Delete a cluster in a private cloud",
+ "description": "Delete a Cluster",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
"help": {
"learnMore": {
@@ -69,7 +69,7 @@
},
"examples": [
{
- "description": "Delete a cluster in a private cloud",
+ "description": "Delete a Cluster",
"parameters": [
{
"name": "-Name",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json
index 0e3859c18c26..2942935122a7 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json
@@ -1,13 +1,13 @@
{
"resourceType": "privateClouds/globalReachConnections",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareGlobalReachConnection",
- "description": "Get a global reach connection by name in a private cloud",
+ "description": "Get a GlobalReachConnection",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}",
"help": {
"learnMore": {
@@ -26,7 +26,7 @@
},
"examples": [
{
- "description": "Get a global reach connection by name in a private cloud",
+ "description": "Get a GlobalReachConnection",
"parameters": [
{
"name": "-Name",
@@ -50,7 +50,7 @@
},
{
"name": "Remove-AzVMwareGlobalReachConnection",
- "description": "Delete a global reach connection in a private cloud",
+ "description": "Delete a GlobalReachConnection",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}",
"help": {
"learnMore": {
@@ -69,7 +69,7 @@
},
"examples": [
{
- "description": "Delete a global reach connection in a private cloud",
+ "description": "Delete a GlobalReachConnection",
"parameters": [
{
"name": "-Name",
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
index 90a4844a598a..2e96abe37143 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
@@ -1,13 +1,51 @@
{
"resourceType": "privateClouds",
- "apiVersion": "2023-03-01",
+ "apiVersion": "2023-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
+ {
+ "name": "Get-AzVMwareIscsiPath",
+ "description": "Get a IscsiPath",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default",
+ "help": {
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareiscsipath"
+ },
+ "parameterSets": [
+ {
+ "parameters": [
+ "-PrivateCloudName ",
+ "-ResourceGroupName ",
+ "[-SubscriptionId ]"
+ ]
+ }
+ ]
+ },
+ "examples": [
+ {
+ "description": "Get a IscsiPath",
+ "parameters": [
+ {
+ "name": "-PrivateCloudName",
+ "value": "[Path.privateCloudName]"
+ },
+ {
+ "name": "-ResourceGroupName",
+ "value": "[Path.resourceGroupName]"
+ },
+ {
+ "name": "-SubscriptionId",
+ "value": "[Path.subscriptionId]"
+ }
+ ]
+ }
+ ]
+ },
{
"name": "Get-AzVMwarePrivateCloud",
- "description": "Get a private cloud",
+ "description": "Get a PrivateCloud",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
"help": {
"learnMore": {
@@ -25,7 +63,7 @@
},
"examples": [
{
- "description": "Get a private cloud",
+ "description": "Get a PrivateCloud",
"parameters": [
{
"name": "-Name",
@@ -42,6 +80,44 @@
]
}
]
+ },
+ {
+ "name": "Remove-AzVMwareIscsiPath",
+ "description": "Delete a IscsiPath",
+ "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default",
+ "help": {
+ "learnMore": {
+ "url": "https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareiscsipath"
+ },
+ "parameterSets": [
+ {
+ "parameters": [
+ "-PrivateCloudName ",
+ "-ResourceGroupName ",
+ "[-SubscriptionId ]"
+ ]
+ }
+ ]
+ },
+ "examples": [
+ {
+ "description": "Delete a IscsiPath",
+ "parameters": [
+ {
+ "name": "-PrivateCloudName",
+ "value": "[Path.privateCloudName]"
+ },
+ {
+ "name": "-ResourceGroupName",
+ "value": "[Path.resourceGroupName]"
+ },
+ {
+ "name": "-SubscriptionId",
+ "value": "[Path.subscriptionId]"
+ }
+ ]
+ }
+ ]
}
]
}
diff --git a/src/VMware/VMware.Autorest/build-module.ps1 b/src/VMware/VMware.Autorest/build-module.ps1
index bb2f2aed8745..a4b9b8cd7127 100644
--- a/src/VMware/VMware.Autorest/build-module.ps1
+++ b/src/VMware/VMware.Autorest/build-module.ps1
@@ -12,7 +12,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX)
+param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX, [Switch]$DisableAfterBuildTasks)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
@@ -130,7 +130,7 @@ $examplesFolder = Join-Path $PSScriptRoot 'examples'
$null = New-Item -ItemType Directory -Force -Path $examplesFolder
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
-$modelCmdlets = @(@{modelName="IdentitySource"; cmdletName=""})
+$modelCmdlets = @(@{modelName="VMPlacementPolicyProperties"; cmdletName="New-AzVMwareVMPlacementPolicyPropertyObject"}, @{modelName="VmHostPlacementPolicyProperties"; cmdletName="New-AzVMwareVmHostPlacementPolicyPropertyObject"})
$modelCmdletFolder = Join-Path (Join-Path $PSScriptRoot './custom') 'autogen-model-cmdlets'
if (Test-Path $modelCmdletFolder) {
$null = Remove-Item -Force -Recurse -Path $modelCmdletFolder
@@ -177,4 +177,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
. (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
}
+if (-not $DisableAfterBuildTasks){
+ $afterBuildTasksPath = Join-Path $PSScriptRoot ''
+ $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable
+ if(Test-Path -Path $afterBuildTasksPath -PathType leaf){
+ Write-Host -ForegroundColor Green 'Running after build tasks...'
+ . $afterBuildTasksPath @afterBuildTasksArgs
+ }
+}
+
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
index 99e7da339f8c..94c369a2238b 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
@@ -20,7 +20,7 @@ Create or update a addon in a private cloud
.Description
Create or update a addon in a private cloud
.Example
-PS C:\> $data = New-AzVMwareAddonVrPropertiesObject -VrsCount 2
+PS C:\> $data = New-AzVMwareAddonVrPropertyObject -VrsCount 2
PS C:\> New-AzVMwareAddon -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -Property $data
Name Type ResourceGroupName
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1
deleted file mode 100644
index eb4894260f8f..000000000000
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1
+++ /dev/null
@@ -1,44 +0,0 @@
- # ----------------------------------------------------------------------------------
- #
- # Copyright Microsoft Corporation
- # Licensed under the Apache License, Version 2.0 (the \"License\");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an \"AS IS\" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ----------------------------------------------------------------------------------
-
- <#
- .Synopsis
- Create a in-memory object for AddonSrmProperties
- .Description
- Create a in-memory object for AddonSrmProperties
-
- .Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties
- .Link
- https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareAddonSrmPropertiesObject
- #>
- function New-AzVMwareAddonSrmPropertiesObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(Mandatory, HelpMessage="The Site Recovery Manager (SRM) license.")]
- [string]
- $LicenseKey
- )
-
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties]::New()
-
- $Object.LicenseKey = $LicenseKey
- $Object.AddonType = "SRM"
- return $Object
- }
- }
-
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertyObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertyObject.ps1
new file mode 100644
index 000000000000..c1fe63d6ddf3
--- /dev/null
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertyObject.ps1
@@ -0,0 +1,47 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create an in-memory object for AddonSrmProperties.
+.Description
+Create an in-memory object for AddonSrmProperties.
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties
+.Link
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwareaddonsrmpropertyobject
+#>
+function New-AzVMwareAddonSrmPropertyObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
+
+ [Parameter(HelpMessage="The Site Recovery Manager (SRM) license.")]
+ [string]
+ $LicenseKey
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties]::New()
+
+ if ($PSBoundParameters.ContainsKey('LicenseKey')) {
+ $Object.LicenseKey = $LicenseKey
+ }
+ return $Object
+ }
+}
+
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1
deleted file mode 100644
index c2e93fd59606..000000000000
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1
+++ /dev/null
@@ -1,44 +0,0 @@
- # ----------------------------------------------------------------------------------
- #
- # Copyright Microsoft Corporation
- # Licensed under the Apache License, Version 2.0 (the \"License\");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an \"AS IS\" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ----------------------------------------------------------------------------------
-
- <#
- .Synopsis
- Create a in-memory object for AddonVrProperties
- .Description
- Create a in-memory object for AddonVrProperties
-
- .Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties
- .Link
- https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareAddonVrPropertiesObject
- #>
- function New-AzVMwareAddonVrPropertiesObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(Mandatory, HelpMessage="The vSphere Replication Server (VRS) count.")]
- [int]
- $VrsCount
- )
-
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties]::New()
-
- $Object.VrsCount = $VrsCount
- $Object.AddonType = "VR"
- return $Object
- }
- }
-
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertyObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertyObject.ps1
new file mode 100644
index 000000000000..b3a5336171fe
--- /dev/null
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertyObject.ps1
@@ -0,0 +1,47 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create an in-memory object for AddonVrProperties.
+.Description
+Create an in-memory object for AddonVrProperties.
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties
+.Link
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwareaddonvrpropertyobject
+#>
+function New-AzVMwareAddonVrPropertyObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
+
+ [Parameter(Mandatory, HelpMessage="The vSphere Replication Server (VRS) count.")]
+ [int]
+ $VrsCount
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties]::New()
+
+ if ($PSBoundParameters.ContainsKey('VrsCount')) {
+ $Object.VrsCount = $VrsCount
+ }
+ return $Object
+ }
+}
+
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
index 985a99d1a5d3..847c04f12cf6 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
@@ -1,53 +1,60 @@
- # ----------------------------------------------------------------------------------
- #
- # Copyright Microsoft Corporation
- # Licensed under the Apache License, Version 2.0 (the \"License\");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an \"AS IS\" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ----------------------------------------------------------------------------------
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
- <#
- .Synopsis
- Create a in-memory object for PSCredentialExecutionParameter
- .Description
- Create a in-memory object for PSCredentialExecutionParameter
+<#
+.Synopsis
+Create an in-memory object for PSCredentialExecutionParameter.
+.Description
+Create an in-memory object for PSCredentialExecutionParameter.
- .Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter
- .Link
- https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwarePSCredentialExecutionParameterObject
- #>
- function New-AzVMwarePSCredentialExecutionParameterObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(HelpMessage="password for login.")]
- [string]
- $Password,
- [Parameter(HelpMessage="username for login.")]
- [string]
- $Username,
- [Parameter(Mandatory, HelpMessage="The parameter name.")]
- [string]
- $Name
- )
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter
+.Link
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwarepscredentialexecutionparameterobject
+#>
+function New-AzVMwarePSCredentialExecutionParameterObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter]::New()
-
+ [Parameter(HelpMessage="password for login.")]
+ [System.Security.SecureString]
+ $Password,
+ [Parameter(HelpMessage="username for login.")]
+ [string]
+ $Username,
+ [Parameter(Mandatory, HelpMessage="The parameter name.")]
+ [string]
+ $Name
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter]::New()
+
+ if ($PSBoundParameters.ContainsKey('Password')) {
$Object.Password = $Password
+ }
+ if ($PSBoundParameters.ContainsKey('Username')) {
$Object.Username = $Username
+ }
+ if ($PSBoundParameters.ContainsKey('Name')) {
$Object.Name = $Name
- $Object.Type = "Credential"
- return $Object
}
+ $Object.Type = "Credential"
+ return $Object
}
-
+}
+
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
index e21edc216e4a..455e9a9b344e 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
@@ -191,7 +191,7 @@ function New-AzVMwarePrivateCloud {
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([System.String]))]
[System.Collections.Hashtable]
# Resource tags
${Tag},
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
index bbbf3119f132..c6b398ccbbea 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
@@ -1,49 +1,54 @@
- # ----------------------------------------------------------------------------------
- #
- # Copyright Microsoft Corporation
- # Licensed under the Apache License, Version 2.0 (the \"License\");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an \"AS IS\" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ----------------------------------------------------------------------------------
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
- <#
- .Synopsis
- Create a in-memory object for ScriptSecureStringExecutionParameter
- .Description
- Create a in-memory object for ScriptSecureStringExecutionParameter
+<#
+.Synopsis
+Create an in-memory object for ScriptSecureStringExecutionParameter.
+.Description
+Create an in-memory object for ScriptSecureStringExecutionParameter.
- .Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter
- .Link
- https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareScriptSecureStringExecutionParameterObject
- #>
- function New-AzVMwareScriptSecureStringExecutionParameterObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(HelpMessage="A secure value for the passed parameter, not to be stored in logs.")]
- [string]
- $SecureValue,
- [Parameter(Mandatory, HelpMessage="The parameter name.")]
- [string]
- $Name
- )
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter
+.Link
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwarescriptsecurestringexecutionparameterobject
+#>
+function New-AzVMwareScriptSecureStringExecutionParameterObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter]::New()
-
+ [Parameter(HelpMessage="A secure value for the passed parameter, not to be stored in logs.")]
+ [System.Security.SecureString]
+ $SecureValue,
+ [Parameter(Mandatory, HelpMessage="The parameter name.")]
+ [string]
+ $Name
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter]::New()
+
+ if ($PSBoundParameters.ContainsKey('SecureValue')) {
$Object.SecureValue = $SecureValue
+ }
+ if ($PSBoundParameters.ContainsKey('Name')) {
$Object.Name = $Name
- $Object.Type = "SecureValue"
- return $Object
}
+ $Object.Type = "SecureValue"
+ return $Object
}
-
+}
+
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
index e927d67f46dc..d846406a7d10 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
@@ -1,49 +1,54 @@
- # ----------------------------------------------------------------------------------
- #
- # Copyright Microsoft Corporation
- # Licensed under the Apache License, Version 2.0 (the \"License\");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an \"AS IS\" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ----------------------------------------------------------------------------------
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
- <#
- .Synopsis
- Create a in-memory object for ScriptStringExecutionParameter
- .Description
- Create a in-memory object for ScriptStringExecutionParameter
+<#
+.Synopsis
+Create an in-memory object for ScriptStringExecutionParameter.
+.Description
+Create an in-memory object for ScriptStringExecutionParameter.
- .Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter
- .Link
- https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareScriptStringExecutionParameterObject
- #>
- function New-AzVMwareScriptStringExecutionParameterObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(HelpMessage="The value for the passed parameter.")]
- [string]
- $Value,
- [Parameter(Mandatory, HelpMessage="The parameter name.")]
- [string]
- $Name
- )
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter
+.Link
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwarescriptstringexecutionparameterobject
+#>
+function New-AzVMwareScriptStringExecutionParameterObject {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter')]
+ [CmdletBinding(PositionalBinding=$false)]
+ Param(
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter]::New()
-
+ [Parameter(HelpMessage="The value for the passed parameter.")]
+ [string]
+ $Value,
+ [Parameter(Mandatory, HelpMessage="The parameter name.")]
+ [string]
+ $Name
+ )
+
+ process {
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter]::New()
+
+ if ($PSBoundParameters.ContainsKey('Value')) {
$Object.Value = $Value
+ }
+ if ($PSBoundParameters.ContainsKey('Name')) {
$Object.Name = $Name
- $Object.Type = "Value"
- return $Object
}
+ $Object.Type = "Value"
+ return $Object
}
-
+}
+
diff --git a/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareIdentitySourceObject.ps1 b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareIdentitySourceObject.ps1
deleted file mode 100644
index cb2806a18f66..000000000000
--- a/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareIdentitySourceObject.ps1
+++ /dev/null
@@ -1,102 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
-# is regenerated.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Create an in-memory object for IdentitySource.
-.Description
-Create an in-memory object for IdentitySource.
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource
-.Link
-https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwareidentitysourceobject
-#>
-function New-AzVMwareIdentitySourceObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource')]
- [CmdletBinding(PositionalBinding=$false)]
- Param(
-
- [Parameter(HelpMessage="The domain's NetBIOS name.")]
- [string]
- $Alias,
- [Parameter(HelpMessage="The base distinguished name for groups.")]
- [string]
- $BaseGroupDn,
- [Parameter(HelpMessage="The base distinguished name for users.")]
- [string]
- $BaseUserDn,
- [Parameter(HelpMessage="The domain's dns name.")]
- [string]
- $Domain,
- [Parameter(HelpMessage="The name of the identity source.")]
- [string]
- $Name,
- [Parameter(HelpMessage="The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.")]
- [string]
- $Password,
- [Parameter(HelpMessage="Primary server URL.")]
- [string]
- $PrimaryServer,
- [Parameter(HelpMessage="Secondary server URL.")]
- [string]
- $SecondaryServer,
- [Parameter(HelpMessage="Protect LDAP communication using SSL certificate (LDAPS).")]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
- [string]
- $Ssl,
- [Parameter(HelpMessage="The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group.")]
- [string]
- $Username
- )
-
- process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource]::New()
-
- if ($PSBoundParameters.ContainsKey('Alias')) {
- $Object.Alias = $Alias
- }
- if ($PSBoundParameters.ContainsKey('BaseGroupDn')) {
- $Object.BaseGroupDn = $BaseGroupDn
- }
- if ($PSBoundParameters.ContainsKey('BaseUserDn')) {
- $Object.BaseUserDn = $BaseUserDn
- }
- if ($PSBoundParameters.ContainsKey('Domain')) {
- $Object.Domain = $Domain
- }
- if ($PSBoundParameters.ContainsKey('Name')) {
- $Object.Name = $Name
- }
- if ($PSBoundParameters.ContainsKey('Password')) {
- $Object.Password = $Password
- }
- if ($PSBoundParameters.ContainsKey('PrimaryServer')) {
- $Object.PrimaryServer = $PrimaryServer
- }
- if ($PSBoundParameters.ContainsKey('SecondaryServer')) {
- $Object.SecondaryServer = $SecondaryServer
- }
- if ($PSBoundParameters.ContainsKey('Ssl')) {
- $Object.Ssl = $Ssl
- }
- if ($PSBoundParameters.ContainsKey('Username')) {
- $Object.Username = $Username
- }
- return $Object
- }
-}
-
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVMPlacementPolicyPropertyObject.ps1
similarity index 83%
rename from src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1
rename to src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVMPlacementPolicyPropertyObject.ps1
index c911281b689c..2ffe936f8940 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVMPlacementPolicyPropertyObject.ps1
@@ -23,14 +23,14 @@ Create an in-memory object for VMPlacementPolicyProperties.
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties
.Link
-https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVMPlacementPolicyPropertiesObject
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwarevmplacementpolicypropertyobject
#>
-function New-AzVMwareVMPlacementPolicyPropertiesObject {
+function New-AzVMwareVMPlacementPolicyPropertyObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
- [Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
+ [Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")]
[string]
$AffinityType,
@@ -43,11 +43,7 @@ function New-AzVMwareVMPlacementPolicyPropertiesObject {
[Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
[string]
- $State,
- [Parameter(Mandatory, HelpMessage="placement policy type.")]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")]
- [string]
- $Type
+ $State
)
process {
@@ -65,9 +61,6 @@ function New-AzVMwareVMPlacementPolicyPropertiesObject {
if ($PSBoundParameters.ContainsKey('State')) {
$Object.State = $State
}
- if ($PSBoundParameters.ContainsKey('Type')) {
- $Object.Type = $Type
- }
return $Object
}
}
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVmHostPlacementPolicyPropertyObject.ps1
similarity index 75%
rename from src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1
rename to src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVmHostPlacementPolicyPropertyObject.ps1
index 160e62c5562e..c946578fec5b 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareVmHostPlacementPolicyPropertyObject.ps1
@@ -21,19 +21,27 @@ Create an in-memory object for VmHostPlacementPolicyProperties.
Create an in-memory object for VmHostPlacementPolicyProperties.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20230301.VmHostPlacementPolicyProperties
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties
.Link
-https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVmHostPlacementPolicyPropertiesObject
+https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwarevmhostplacementpolicypropertyobject
#>
-function New-AzVMwareVmHostPlacementPolicyPropertiesObject {
+function New-AzVMwareVmHostPlacementPolicyPropertyObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
+ [Parameter(HelpMessage="vm-host placement policy affinity strength (should/must).")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Should", "Must")]
+ [string]
+ $AffinityStrength,
[Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")]
[string]
$AffinityType,
+ [Parameter(HelpMessage="placement policy azure hybrid benefit opt-in type.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SqlHost", "None")]
+ [string]
+ $AzureHybridBenefitType,
[Parameter(Mandatory, HelpMessage="Host members list.")]
[string[]]
$HostMember,
@@ -46,19 +54,21 @@ function New-AzVMwareVmHostPlacementPolicyPropertiesObject {
[Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
[string]
- $State,
- [Parameter(Mandatory, HelpMessage="placement policy type.")]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")]
- [string]
- $Type
+ $State
)
process {
$Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties]::New()
+ if ($PSBoundParameters.ContainsKey('AffinityStrength')) {
+ $Object.AffinityStrength = $AffinityStrength
+ }
if ($PSBoundParameters.ContainsKey('AffinityType')) {
$Object.AffinityType = $AffinityType
}
+ if ($PSBoundParameters.ContainsKey('AzureHybridBenefitType')) {
+ $Object.AzureHybridBenefitType = $AzureHybridBenefitType
+ }
if ($PSBoundParameters.ContainsKey('HostMember')) {
$Object.HostMember = $HostMember
}
@@ -71,9 +81,6 @@ function New-AzVMwareVmHostPlacementPolicyPropertiesObject {
if ($PSBoundParameters.ContainsKey('State')) {
$Object.State = $State
}
- if ($PSBoundParameters.ContainsKey('Type')) {
- $Object.Type = $Type
- }
return $Object
}
}
diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwareIscsiPath.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareIscsiPath.md
new file mode 100644
index 000000000000..fa91c48995b4
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareIscsiPath.md
@@ -0,0 +1,23 @@
+### Example 1: Get a IscsiPath
+```powershell
+Get-AzVMwareIscsiPath -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+
+```output
+Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/i
+ scsiPaths/default
+Name : default
+NetworkBlock : 192.168.0.0/24
+ProvisioningState : Succeeded
+ResourceGroupName : group1
+SystemDataCreatedAt :
+SystemDataCreatedBy :
+SystemDataCreatedByType :
+SystemDataLastModifiedAt :
+SystemDataLastModifiedBy :
+SystemDataLastModifiedByType :
+Type : Microsoft.AVS/privateClouds/iscsiPaths
+```
+
+ Get a IscsiPath
+
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddon.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddon.md
index 4e65325928e7..c4fb5758f0f1 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddon.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddon.md
@@ -1,6 +1,6 @@
### Example 1: Create an addon in a private cloud
```powershell
-$data = New-AzVMwareAddonVrPropertiesObject -VrsCount 2
+$data = New-AzVMwareAddonVrPropertyObject -VrsCount 2
New-AzVMwareAddon -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -Property $data
```
```output
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertyObject.md
similarity index 80%
rename from src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md
rename to src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertyObject.md
index 1b7b51851942..81feefec697d 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertyObject.md
@@ -1,6 +1,6 @@
### Example 1: Create a local SRM object for the Addon Property parameter
```powershell
-New-AzVMwareAddonSrmPropertiesObject -LicenseKey "YourLicenseKeyValue"
+New-AzVMwareAddonSrmPropertyObject -LicenseKey "YourLicenseKeyValue"
```
```output
AddonType LicenseKey ProvisioningState
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertyObject.md
similarity index 85%
rename from src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md
rename to src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertyObject.md
index 8873bbb02979..49532a46bb98 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertyObject.md
@@ -1,6 +1,6 @@
### Example 1: Create a local VR object for the Addon Property parameter
```powershell
-New-AzVMwareAddonVrPropertiesObject -VrsCount 2
+New-AzVMwareAddonVrPropertyObject -VrsCount 2
```
```output
AddonType ProvisioningState VrsCount
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md
deleted file mode 100644
index 70068547f284..000000000000
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md
+++ /dev/null
@@ -1,18 +0,0 @@
-### Example 1: Create an in-memory object for IdentitySource
-```powershell
-New-AzVMwareIdentitySourceObject -Alias test
-```
-```output
-Alias : test
-BaseGroupDn :
-BaseUserDn :
-Domain :
-Name :
-Password :
-PrimaryServer :
-SecondaryServer :
-Ssl :
-Username :
-```
-
-Create an in-memory object for IdentitySource
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareIscsiPath.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareIscsiPath.md
new file mode 100644
index 000000000000..e574f7d3f072
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareIscsiPath.md
@@ -0,0 +1,22 @@
+### Example 1: Create a IscsiPath
+```powershell
+New-AzVMwareIscsiPath -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+
+```output
+Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default
+Name : default
+NetworkBlock : 192.168.0.0/24
+ProvisioningState : Succeeded
+ResourceGroupName : group1
+SystemDataCreatedAt :
+SystemDataCreatedBy :
+SystemDataCreatedByType :
+SystemDataLastModifiedAt :
+SystemDataLastModifiedBy :
+SystemDataLastModifiedByType :
+Type : Microsoft.AVS/privateClouds/iscsiPaths
+```
+
+Create a IscsiPath
+
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
index 7414ca16f031..a34070cad73f 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
@@ -1,11 +1,12 @@
### Example 1: Create a local PS Credential Execution object
```powershell
-New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password "passwordValue" -Username "usernameValue"
+$mypwd = ConvertTo-SecureString -String "1234" -Force -AsPlainText
+New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password $mypwd -Username "usernameValue"
```
```output
-Name Password Type Username
----- -------- ---- --------
-azps_test_credentialvalue passwordValue Credential usernameValue
+Name Password Type Username
+---- -------- ---- --------
+azps_test_credentialvalue System.Security.SecureString Credential usernameValue
```
Create a local PS Credential Execution object
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/examples/New-AzVMwarePlacementPolicy.md
index 329999ea57bb..76084807b38e 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwarePlacementPolicy.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwarePlacementPolicy.md
@@ -1,6 +1,6 @@
### Example 1: Create or update a placement policy in a private cloud cluster
```powershell
-$abc = New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"}
+$abc = New-AzVMwareVMPlacementPolicyPropertyObject -AffinityType 'Affinity' -VMMember @{"test"="test"}
New-AzVMwarePlacementPolicy -ClusterName cluster1 -Name policy1 -PrivateCloudName cloud1 -ResourceGroupName group1 -Property $abc
```
```output
@@ -13,7 +13,7 @@ Create or update a placement policy in a private cloud cluster
### Example 2: Create or update a placement policy in a private cloud cluster
```powershell
-$abc = New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"}
+$abc = New-AzVMwareVmHostPlacementPolicyPropertyObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -VMMember @{"test"="test"}
New-AzVMwarePlacementPolicy -ClusterName cluster1 -Name policy1 -PrivateCloudName cloud1 -ResourceGroupName group1 -Property $abc
```
```output
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
index 92c3ce00ad68..aa36604ac5fd 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
@@ -1,11 +1,13 @@
### Example 1: Create a local Script Secure String Execution object
```powershell
-New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue "passwordValue"
+$mypwd = ConvertTo-SecureString -String "1234" -Force -AsPlainText
+New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue $mypwd
```
```output
-Name SecureValue Type
----- ----------- ----
-azps_test_securevalue passwordValue SecureValue
+
+Name SecureValue Type
+---- ----------- ----
+azps_test_securevalue System.Security.SecureString SecureValue
```
Create a local Script Secure String Execution object
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md
index 2a4af6b0f6d6..0f433f4de4d7 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md
@@ -3,9 +3,9 @@
New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_value -Value "passwordValue"
```
```output
-Name Value
----- -----------
-azps_test_value passwordValue
+Name Type Value
+---- ---- -----
+azps_test_value Value passwordValue
```
Create a local Script String Execution object
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertyObject.md
similarity index 74%
rename from src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md
rename to src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertyObject.md
index bc8b5c2e2d77..c53c168875f4 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertyObject.md
@@ -1,6 +1,6 @@
### Example 1: Create an in-memory object for VMPlacementPolicyProperties.
```powershell
- New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"}
+ New-AzVMwareVMPlacementPolicyPropertyObject -AffinityType 'Affinity' -VMMember @{"test"="test"}
```
```output
AffinityType : Affinity
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertyObject.md
similarity index 76%
rename from src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md
rename to src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertyObject.md
index db24ec7cc767..764a706387c4 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertyObject.md
@@ -1,6 +1,6 @@
### Example 1: Create an in-memory object for VmHostPlacementPolicyProperties.
```powershell
-New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"}
+New-AzVMwareVmHostPlacementPolicyPropertyObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -VMMember @{"test"="test"}
```
```output
AffinityStrength :
diff --git a/src/VMware/VMware.Autorest/examples/Remove-AzVMwareIscsiPath.md b/src/VMware/VMware.Autorest/examples/Remove-AzVMwareIscsiPath.md
new file mode 100644
index 000000000000..2f5a04740741
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Remove-AzVMwareIscsiPath.md
@@ -0,0 +1,13 @@
+### Example 1: Delete a IscsiPath in a private cloud
+```powershell
+Remove-AzVMwareIscsiPath -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+
+Delete a IscsiPath in a private cloud
+
+### Example 2: Delete a datastore in a private cloud cluster.
+```powershell
+Get-AzVMwareIscsiPath -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group | Remove-AzVMwareIscsiPath
+```
+
+Delete a IscsiPath in a private cloud
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md
index 29f96552644f..c3e9363f06c4 100644
--- a/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md
@@ -1,6 +1,6 @@
### Example 1: Update a cloud link in a private cloud
```powershell
-Update-AzVMwareCloudLink -Name azps_test_cloudlink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -LinkedCloud "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azps_test_group2/providers/Microsoft.AVS/privateClouds/azps_test_cloud2/"
+Update-AzVMwareCloudLink -Name azps_test_cloudlink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
```
```output
Name Type ResourceGroupName
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md
index 25b291d27c7e..db5956c4798c 100644
--- a/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md
@@ -1,6 +1,6 @@
### Example 1: Update a datastore in a private cloud cluster.
```powershell
-Update-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -NetAppVolumeId "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/azps_test_group/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"
+Update-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
```
```output
Name Status ProvisioningState ResourceGroupName
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareIscsiPath.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareIscsiPath.md
new file mode 100644
index 000000000000..44ce84efc57b
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareIscsiPath.md
@@ -0,0 +1,21 @@
+### Example 1: Update a IscsiPath
+```powershell
+Update-AzVMwareIscsiPath -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+
+```output
+Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default
+Name : default
+NetworkBlock : 192.168.0.0/24
+ProvisioningState : Succeeded
+ResourceGroupName : group1
+SystemDataCreatedAt :
+SystemDataCreatedBy :
+SystemDataCreatedByType :
+SystemDataLastModifiedAt :
+SystemDataLastModifiedBy :
+SystemDataLastModifiedByType :
+Type : Microsoft.AVS/privateClouds/iscsiPaths
+```
+
+Update a IscsiPath
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwarePrivateCloud.md
index 1e03989ef823..e78424903998 100644
--- a/src/VMware/VMware.Autorest/examples/Update-AzVMwarePrivateCloud.md
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwarePrivateCloud.md
@@ -1,6 +1,6 @@
### Example 1: Update size of private cloud by name
```powershell
-Update-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -ManagementClusterSize 4
+Update-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group
```
```output
Location Name Type ResourceGroupName
@@ -12,7 +12,7 @@ Update size of private cloud by name
### Example 2: Update size of private cloud
```powershell
-Get-AzVMwarePrivateCloud -ResourceGroupName azps_test_group -Name azps_test_cloud | Update-AzVMwarePrivateCloud -ManagementClusterSize 4
+Get-AzVMwarePrivateCloud -ResourceGroupName azps_test_group -Name azps_test_cloud | Update-AzVMwarePrivateCloud
```
```output
Location Name Type ResourceGroupName
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
index d69e30a3c901..dbdb1063cb08 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
@@ -34,32 +34,31 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName ]: Name of the cloud link resource
- [ClusterName ]: Name of the cluster in the private cloud
- [DatastoreName ]: Name of the datastore in the private cloud cluster
- [DhcpId ]: NSX DHCP identifier. Generally the same as the DHCP display name
- [DnsServiceId ]: NSX DNS Service identifier. Generally the same as the DNS Service's display name
- [DnsZoneId ]: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
- [GatewayId ]: NSX Gateway identifier. Generally the same as the Gateway's display name
- [GlobalReachConnectionName ]: Name of the global reach connection in the private cloud
- [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site in the private cloud
+ [AddonName ]: Name of the addon.
+ [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization
+ [CloudLinkName ]: Name of the cloud link.
+ [ClusterName ]: Name of the cluster
+ [DatastoreName ]: Name of the datastore
+ [DhcpId ]: The ID of the DHCP configuration
+ [DnsServiceId ]: ID of the DNS service.
+ [DnsZoneId ]: ID of the DNS zone.
+ [GatewayId ]: The ID of the NSX Gateway
+ [GlobalReachConnectionName ]: Name of the global reach connection
+ [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site
[Id ]: Resource identity path
- [Location ]: Azure region
- [PlacementPolicyName ]: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- [PortMirroringId ]: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name
+ [Location ]: The name of the Azure region.
+ [PlacementPolicyName ]: Name of the placement policy.
+ [PortMirroringId ]: ID of the NSX port mirroring profile.
[PrivateCloudName ]: Name of the private cloud
- [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [PublicIPId ]: ID of the DNS zone.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ScriptCmdletName ]: Name of the script cmdlet resource in the script package in the private cloud
- [ScriptExecutionName ]: Name of the user-invoked script execution resource
- [ScriptPackageName ]: Name of the script package in the private cloud
- [SegmentId ]: NSX Segment identifier. Generally the same as the Segment's display name
- [SubscriptionId ]: The ID of the target subscription.
- [VMGroupId ]: NSX VM Group identifier. Generally the same as the VM Group's display name
- [VirtualMachineId ]: Virtual Machine identifier
- [WorkloadNetworkName ]: Name for the workload network in the private cloud
+ [ScriptCmdletName ]: Name of the script cmdlet.
+ [ScriptExecutionName ]: Name of the script cmdlet.
+ [ScriptPackageName ]: Name of the script package.
+ [SegmentId ]: The ID of the NSX Segment
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VMGroupId ]: ID of the VM group.
+ [VirtualMachineId ]: ID of the virtual machine.
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareaddon
#>
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
index a1748b4d46a5..917091acac3e 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Get an ExpressRoute Circuit Authorization by name in a private cloud
+Get a ExpressRouteAuthorization
.Description
-Get an ExpressRoute Circuit Authorization by name in a private cloud
+Get a ExpressRouteAuthorization
.Example
Get-AzVMwareAuthorization -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
.Example
@@ -34,60 +34,58 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName ]: Name of the cloud link resource
- [ClusterName ]: Name of the cluster in the private cloud
- [DatastoreName ]: Name of the datastore in the private cloud cluster
- [DhcpId ]: NSX DHCP identifier. Generally the same as the DHCP display name
- [DnsServiceId ]: NSX DNS Service identifier. Generally the same as the DNS Service's display name
- [DnsZoneId ]: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
- [GatewayId ]: NSX Gateway identifier. Generally the same as the Gateway's display name
- [GlobalReachConnectionName ]: Name of the global reach connection in the private cloud
- [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site in the private cloud
+ [AddonName ]: Name of the addon.
+ [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization
+ [CloudLinkName ]: Name of the cloud link.
+ [ClusterName ]: Name of the cluster
+ [DatastoreName ]: Name of the datastore
+ [DhcpId ]: The ID of the DHCP configuration
+ [DnsServiceId ]: ID of the DNS service.
+ [DnsZoneId ]: ID of the DNS zone.
+ [GatewayId ]: The ID of the NSX Gateway
+ [GlobalReachConnectionName ]: Name of the global reach connection
+ [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site
[Id ]: Resource identity path
- [Location ]: Azure region
- [PlacementPolicyName ]: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- [PortMirroringId ]: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name
+ [Location ]: The name of the Azure region.
+ [PlacementPolicyName ]: Name of the placement policy.
+ [PortMirroringId ]: ID of the NSX port mirroring profile.
[PrivateCloudName ]: Name of the private cloud
- [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [PublicIPId ]: ID of the DNS zone.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ScriptCmdletName ]: Name of the script cmdlet resource in the script package in the private cloud
- [ScriptExecutionName ]: Name of the user-invoked script execution resource
- [ScriptPackageName ]: Name of the script package in the private cloud
- [SegmentId ]: NSX Segment identifier. Generally the same as the Segment's display name
- [SubscriptionId ]: The ID of the target subscription.
- [VMGroupId ]: NSX VM Group identifier. Generally the same as the VM Group's display name
- [VirtualMachineId ]: Virtual Machine identifier
- [WorkloadNetworkName ]: Name for the workload network in the private cloud
+ [ScriptCmdletName ]: Name of the script cmdlet.
+ [ScriptExecutionName ]: Name of the script cmdlet.
+ [ScriptPackageName ]: Name of the script package.
+ [SegmentId ]: The ID of the NSX Segment
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VMGroupId ]: ID of the VM group.
+ [VirtualMachineId ]: ID of the virtual machine.
PRIVATECLOUDINPUTOBJECT : Identity Parameter
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName ]: Name of the cloud link resource
- [ClusterName ]: Name of the cluster in the private cloud
- [DatastoreName ]: Name of the datastore in the private cloud cluster
- [DhcpId ]: NSX DHCP identifier. Generally the same as the DHCP display name
- [DnsServiceId ]: NSX DNS Service identifier. Generally the same as the DNS Service's display name
- [DnsZoneId ]: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
- [GatewayId ]: NSX Gateway identifier. Generally the same as the Gateway's display name
- [GlobalReachConnectionName ]: Name of the global reach connection in the private cloud
- [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site in the private cloud
+ [AddonName ]: Name of the addon.
+ [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization
+ [CloudLinkName ]: Name of the cloud link.
+ [ClusterName ]: Name of the cluster
+ [DatastoreName ]: Name of the datastore
+ [DhcpId ]: The ID of the DHCP configuration
+ [DnsServiceId ]: ID of the DNS service.
+ [DnsZoneId ]: ID of the DNS zone.
+ [GatewayId ]: The ID of the NSX Gateway
+ [GlobalReachConnectionName ]: Name of the global reach connection
+ [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site
[Id ]: Resource identity path
- [Location ]: Azure region
- [PlacementPolicyName ]: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- [PortMirroringId ]: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name
+ [Location ]: The name of the Azure region.
+ [PlacementPolicyName ]: Name of the placement policy.
+ [PortMirroringId ]: ID of the NSX port mirroring profile.
[PrivateCloudName ]: Name of the private cloud
- [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [PublicIPId ]: ID of the DNS zone.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ScriptCmdletName ]: Name of the script cmdlet resource in the script package in the private cloud
- [ScriptExecutionName ]: Name of the user-invoked script execution resource
- [ScriptPackageName ]: Name of the script package in the private cloud
- [SegmentId ]: NSX Segment identifier. Generally the same as the Segment's display name
- [SubscriptionId ]: The ID of the target subscription.
- [VMGroupId ]: NSX VM Group identifier. Generally the same as the VM Group's display name
- [VirtualMachineId ]: Virtual Machine identifier
- [WorkloadNetworkName ]: Name for the workload network in the private cloud
+ [ScriptCmdletName ]: Name of the script cmdlet.
+ [ScriptExecutionName ]: Name of the script cmdlet.
+ [ScriptPackageName ]: Name of the script package.
+ [SegmentId ]: The ID of the NSX Segment
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VMGroupId ]: ID of the VM group.
+ [VirtualMachineId ]: ID of the virtual machine.
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareauthorization
#>
@@ -100,7 +98,7 @@ param(
[Alias('AuthorizationName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
- # Name of the ExpressRoute Circuit Authorization in the private cloud
+ # Name of the ExpressRoute Circuit Authorization
${Name},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -124,6 +122,7 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
# The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
index 38d82055f6a7..74d5ff6bc705 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Get an cloud link by name in a private cloud
+Get a CloudLink
.Description
-Get an cloud link by name in a private cloud
+Get a CloudLink
.Example
Get-AzVMwareCloudLink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
.Example
@@ -34,60 +34,58 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName ]: Name of the cloud link resource
- [ClusterName ]: Name of the cluster in the private cloud
- [DatastoreName ]: Name of the datastore in the private cloud cluster
- [DhcpId ]: NSX DHCP identifier. Generally the same as the DHCP display name
- [DnsServiceId ]: NSX DNS Service identifier. Generally the same as the DNS Service's display name
- [DnsZoneId ]: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
- [GatewayId ]: NSX Gateway identifier. Generally the same as the Gateway's display name
- [GlobalReachConnectionName ]: Name of the global reach connection in the private cloud
- [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site in the private cloud
+ [AddonName ]: Name of the addon.
+ [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization
+ [CloudLinkName ]: Name of the cloud link.
+ [ClusterName ]: Name of the cluster
+ [DatastoreName ]: Name of the datastore
+ [DhcpId ]: The ID of the DHCP configuration
+ [DnsServiceId ]: ID of the DNS service.
+ [DnsZoneId ]: ID of the DNS zone.
+ [GatewayId ]: The ID of the NSX Gateway
+ [GlobalReachConnectionName ]: Name of the global reach connection
+ [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site
[Id ]: Resource identity path
- [Location ]: Azure region
- [PlacementPolicyName ]: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- [PortMirroringId ]: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name
+ [Location ]: The name of the Azure region.
+ [PlacementPolicyName ]: Name of the placement policy.
+ [PortMirroringId ]: ID of the NSX port mirroring profile.
[PrivateCloudName ]: Name of the private cloud
- [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [PublicIPId ]: ID of the DNS zone.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ScriptCmdletName ]: Name of the script cmdlet resource in the script package in the private cloud
- [ScriptExecutionName ]: Name of the user-invoked script execution resource
- [ScriptPackageName ]: Name of the script package in the private cloud
- [SegmentId ]: NSX Segment identifier. Generally the same as the Segment's display name
- [SubscriptionId ]: The ID of the target subscription.
- [VMGroupId ]: NSX VM Group identifier. Generally the same as the VM Group's display name
- [VirtualMachineId ]: Virtual Machine identifier
- [WorkloadNetworkName ]: Name for the workload network in the private cloud
+ [ScriptCmdletName ]: Name of the script cmdlet.
+ [ScriptExecutionName ]: Name of the script cmdlet.
+ [ScriptPackageName ]: Name of the script package.
+ [SegmentId ]: The ID of the NSX Segment
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VMGroupId ]: ID of the VM group.
+ [VirtualMachineId ]: ID of the virtual machine.
PRIVATECLOUDINPUTOBJECT : Identity Parameter
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName ]: Name of the cloud link resource
- [ClusterName ]: Name of the cluster in the private cloud
- [DatastoreName ]: Name of the datastore in the private cloud cluster
- [DhcpId ]: NSX DHCP identifier. Generally the same as the DHCP display name
- [DnsServiceId ]: NSX DNS Service identifier. Generally the same as the DNS Service's display name
- [DnsZoneId ]: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
- [GatewayId ]: NSX Gateway identifier. Generally the same as the Gateway's display name
- [GlobalReachConnectionName ]: Name of the global reach connection in the private cloud
- [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site in the private cloud
+ [AddonName ]: Name of the addon.
+ [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization
+ [CloudLinkName ]: Name of the cloud link.
+ [ClusterName ]: Name of the cluster
+ [DatastoreName ]: Name of the datastore
+ [DhcpId ]: The ID of the DHCP configuration
+ [DnsServiceId ]: ID of the DNS service.
+ [DnsZoneId ]: ID of the DNS zone.
+ [GatewayId ]: The ID of the NSX Gateway
+ [GlobalReachConnectionName ]: Name of the global reach connection
+ [HcxEnterpriseSiteName ]: Name of the HCX Enterprise Site
[Id ]: Resource identity path
- [Location ]: Azure region
- [PlacementPolicyName ]: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- [PortMirroringId ]: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name
+ [Location ]: The name of the Azure region.
+ [PlacementPolicyName ]: Name of the placement policy.
+ [PortMirroringId ]: ID of the NSX port mirroring profile.
[PrivateCloudName ]: Name of the private cloud
- [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [PublicIPId ]: ID of the DNS zone.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ScriptCmdletName ]: Name of the script cmdlet resource in the script package in the private cloud
- [ScriptExecutionName ]: Name of the user-invoked script execution resource
- [ScriptPackageName ]: Name of the script package in the private cloud
- [SegmentId ]: NSX Segment identifier. Generally the same as the Segment's display name
- [SubscriptionId ]: The ID of the target subscription.
- [VMGroupId ]: NSX VM Group identifier. Generally the same as the VM Group's display name
- [VirtualMachineId ]: Virtual Machine identifier
- [WorkloadNetworkName ]: Name for the workload network in the private cloud
+ [ScriptCmdletName ]: Name of the script cmdlet.
+ [ScriptExecutionName ]: Name of the script cmdlet.
+ [ScriptPackageName ]: Name of the script package.
+ [SegmentId ]: The ID of the NSX Segment
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+ [VMGroupId ]: ID of the VM group.
+ [VirtualMachineId ]: ID of the virtual machine.
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarecloudlink
#>
@@ -100,7 +98,7 @@ param(
[Alias('CloudLinkName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
- # Name of the cloud link resource
+ # Name of the cloud link.
${Name},
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -124,6 +122,7 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
# The ID of the target subscription.
+ # The value must be an UUID.
${SubscriptionId},
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
index a2c2eccf24e4..2cb490b22d49 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Get a cluster by name in a private cloud
+Get a Cluster
.Description
-Get a cluster by name in a private cloud
+Get a Cluster
.Example
Get-AzVMwareCluster -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
.Example
@@ -34,60 +34,58 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
- [AddonName ]: Name of the addon for the private cloud
- [AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
- [CloudLinkName