diff --git a/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml b/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
index c7dea5df7066..2587402beb61 100644
--- a/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
+++ b/src/VMware/VMware.Autorest/Az.VMware.format.ps1xml
@@ -2,187 +2,61 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMwareIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Addon
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMwareIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Addon#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AddonName
-
-
- AuthorizationName
-
-
- CloudLinkName
-
-
- ClusterName
-
-
- DatastoreName
-
-
- DhcpId
-
-
- DnsServiceId
-
-
- DnsZoneId
-
-
- GatewayId
-
-
- GlobalReachConnectionName
-
-
- HcxEnterpriseSiteName
-
-
- Location
-
-
- PlacementPolicyName
-
-
- PortMirroringId
-
-
- PrivateCloudName
-
-
- PublicIPId
+ Name
ResourceGroupName
-
- ScriptCmdletName
-
-
- ScriptExecutionName
-
-
- ScriptPackageName
-
-
- SegmentId
-
-
- SubscriptionId
-
-
- VMGroupId
-
-
- VirtualMachineId
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Addon
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonArcProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Addon
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonArcProperties#Multiple
-
+
-
+
+
+
+
- Name
+ AddonType
- ResourceGroupName
+ ProvisioningState
+
+
+ VCenter
@@ -190,9 +64,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonHcxProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonHcxProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonHcxProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonHcxProperties#Multiple
@@ -224,9 +98,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonList#Multiple
@@ -246,9 +120,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonProperties#Multiple
@@ -274,9 +148,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties#Multiple
@@ -308,9 +182,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties#Multiple
@@ -342,9 +216,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AdminCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AdminCredentials
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AdminCredentials
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AdminCredentials#Multiple
@@ -370,9 +244,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AvailabilityProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AvailabilityProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AvailabilityProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AvailabilityProperties#Multiple
@@ -404,9 +278,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Circuit
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Circuit
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Circuit
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Circuit#Multiple
@@ -444,9 +318,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLink
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLink
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLink
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLink#Multiple
@@ -472,9 +346,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLinkList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLinkList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkList#Multiple
@@ -494,9 +368,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLinkProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CloudLinkProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CloudLinkProperties#Multiple
@@ -522,9 +396,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Cluster
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Cluster
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Cluster
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Cluster#Multiple
@@ -550,9 +424,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterList#Multiple
@@ -572,9 +446,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterProperties#Multiple
@@ -584,9 +458,6 @@
-
-
-
@@ -600,9 +471,6 @@
ClusterSize
-
- Host
-
ProvisioningState
@@ -612,18 +480,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterUpdateProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ClusterUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterUpdateProperties#Multiple
-
-
-
@@ -631,8 +496,27 @@
ClusterSize
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterZone
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ClusterZone#Multiple
+
+
+
+
+
+
+
+
+
+
- Host
+ Zone
@@ -640,9 +524,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CommonClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CommonClusterProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.CommonClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.CommonClusterProperties#Multiple
@@ -652,9 +536,6 @@
-
-
-
@@ -668,9 +549,6 @@
ClusterSize
-
- Host
-
ProvisioningState
@@ -680,9 +558,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Datastore
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Datastore
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Datastore
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Datastore#Multiple
@@ -720,9 +598,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DatastoreList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DatastoreList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreList#Multiple
@@ -742,9 +620,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DatastoreProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DatastoreProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DatastoreProperties#Multiple
@@ -770,9 +648,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DiskPoolVolume
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DiskPoolVolume
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.DiskPoolVolume
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.DiskPoolVolume#Multiple
@@ -810,9 +688,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Encryption
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Encryption
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Encryption
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Encryption#Multiple
@@ -832,12 +710,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.EncryptionKeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.EncryptionKeyVaultProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.EncryptionKeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.EncryptionKeyVaultProperties#Multiple
+
+
+
@@ -857,6 +738,9 @@
+
+ AutoDetectedKeyVersion
+
KeyName
@@ -878,9 +762,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Endpoints
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Endpoints
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Endpoints
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Endpoints#Multiple
@@ -912,9 +796,43 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorization
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ErrorDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ErrorDetail#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorization
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorization
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorization#Multiple
@@ -940,9 +858,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorizationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorizationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationList#Multiple
@@ -962,9 +880,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorizationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ExpressRouteAuthorizationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ExpressRouteAuthorizationProperties#Multiple
@@ -1002,9 +920,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnection
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnection
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnection
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnection#Multiple
@@ -1030,9 +948,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnectionList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnectionList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionList#Multiple
@@ -1052,9 +970,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.GlobalReachConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.GlobalReachConnectionProperties#Multiple
@@ -1104,9 +1022,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSite
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSite
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSite
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSite#Multiple
@@ -1132,9 +1050,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSiteList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSiteList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteList#Multiple
@@ -1154,9 +1072,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSiteProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.HcxEnterpriseSiteProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HcxEnterpriseSiteProperties#Multiple
@@ -1182,9 +1100,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IdentitySource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IdentitySource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource#Multiple
@@ -1258,9 +1176,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.LogSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.LogSpecification
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.LogSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.LogSpecification#Multiple
@@ -1292,9 +1210,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ManagementCluster
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ManagementCluster
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ManagementCluster#Multiple
@@ -1304,9 +1222,6 @@
-
-
-
@@ -1320,9 +1235,6 @@
ClusterSize
-
- Host
-
ProvisioningState
@@ -1332,9 +1244,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.MetricDimension
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricDimension
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.MetricDimension
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricDimension#Multiple
@@ -1372,9 +1284,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.MetricSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricSpecification
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.MetricSpecification
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.MetricSpecification#Multiple
@@ -1405,12 +1317,6 @@
-
-
-
-
-
-
@@ -1445,12 +1351,6 @@
SourceMdmNamespace
-
- SupportedAggregationType
-
-
- SupportedTimeGrainType
-
Unit
@@ -1460,9 +1360,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Operation
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Operation#Multiple
@@ -1494,9 +1394,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationDisplay
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationDisplay#Multiple
@@ -1534,9 +1434,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.OperationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.OperationList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.OperationList#Multiple
@@ -1556,9 +1456,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPoliciesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPoliciesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPoliciesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPoliciesList#Multiple
@@ -1578,9 +1478,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicy#Multiple
@@ -1606,9 +1506,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyProperties#Multiple
@@ -1640,33 +1540,33 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicyUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyUpdateProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PlacementPolicyUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyUpdateProperties#Multiple
-
+
-
+
-
+
- HostMember
+ AffinityStrength
- State
+ AzureHybridBenefitType
- VMMember
+ State
@@ -1674,9 +1574,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloud
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloud
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloud
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloud#Multiple
@@ -1708,9 +1608,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudIdentity
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudIdentity#Multiple
@@ -1736,9 +1636,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudList#Multiple
@@ -1758,9 +1658,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudProperties#Multiple
@@ -1779,6 +1679,9 @@
+
+
+
@@ -1794,9 +1697,6 @@
-
-
-
@@ -1806,15 +1706,15 @@
-
-
-
+
+
+
@@ -1855,6 +1755,9 @@
Internet
+
+ KeyVaultPropertyAutoDetectedKeyVersion
+
KeyVaultPropertyKeyName
@@ -1870,9 +1773,6 @@
KeyVaultPropertyVersionType
-
- ManagementClusterHost
-
ManagementClusterId
@@ -1882,15 +1782,15 @@
ManagementClusterSize
-
- ExternalCloudLink
-
ManagementNetwork
NetworkBlock
+
+ NsxPublicIPQuotaRaised
+
NsxtCertificateThumbprint
@@ -1918,9 +1818,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudUpdateProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PrivateCloudUpdateProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PrivateCloudUpdateProperties#Multiple
@@ -1940,9 +1840,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ProxyResource#Multiple
@@ -1962,9 +1862,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PsCredentialExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PsCredentialExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter#Multiple
@@ -1996,9 +1896,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Quota
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Quota
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Quota#Multiple
@@ -2018,9 +1918,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.QuotaHostsRemaining
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.QuotaHostsRemaining
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.QuotaHostsRemaining#Multiple
@@ -2040,9 +1940,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Resource#Multiple
@@ -2062,9 +1962,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ResourceTags
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ResourceTags
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ResourceTags#Multiple
@@ -2084,9 +1984,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdlet
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdlet
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdlet
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdlet#Multiple
@@ -2112,9 +2012,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdletProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdletProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletProperties#Multiple
@@ -2140,9 +2040,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdletsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletsList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptCmdletsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptCmdletsList#Multiple
@@ -2162,9 +2062,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecution
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecution
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecution
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecution#Multiple
@@ -2190,9 +2090,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionParameter#Multiple
@@ -2212,27 +2112,18 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionProperties#Multiple
-
-
-
-
-
-
-
-
-
@@ -2251,16 +2142,10 @@
-
-
-
-
- Error
-
FailureReason
@@ -2268,13 +2153,7 @@
FinishedAt
- Information
-
-
- Output
-
-
- ProvisioningState
+ ProvisioningState
Retention
@@ -2291,18 +2170,15 @@
Timeout
-
- Warning
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionsList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionsList#Multiple
@@ -2322,9 +2198,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackage
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackage
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackage#Multiple
@@ -2350,15 +2226,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackageProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackageProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackageProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackageProperties#Multiple
+
+
+
+
+
+
@@ -2366,9 +2248,15 @@
+
+ Company
+
Description
+
+ Uri
+
Version
@@ -2378,9 +2266,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackagesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackagesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptPackagesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptPackagesList#Multiple
@@ -2400,9 +2288,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptParameter#Multiple
@@ -2440,9 +2328,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter#Multiple
@@ -2468,9 +2356,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter#Multiple
@@ -2496,9 +2384,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Sku
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Sku
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Sku
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Sku#Multiple
@@ -2518,9 +2406,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.TrackedResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.TrackedResource
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.TrackedResource#Multiple
@@ -2546,9 +2434,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Trial
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.Trial
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Trial#Multiple
@@ -2574,9 +2462,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachine
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachine
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachine#Multiple
@@ -2602,9 +2490,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachineProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachineProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineProperties#Multiple
@@ -2642,9 +2530,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachineRestrictMovement
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachineRestrictMovement
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovement#Multiple
@@ -2664,9 +2552,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachinesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachinesList#Multiple
@@ -2686,9 +2574,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMHostPlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMHostPlacementPolicyProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMHostPlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMHostPlacementPolicyProperties#Multiple
@@ -2702,13 +2590,13 @@
-
+
-
+
-
+
@@ -2724,13 +2612,13 @@
State
- AffinityType
+ AffinityStrength
- HostMember
+ AffinityType
- VMMember
+ AzureHybridBenefitType
@@ -2738,9 +2626,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties#Multiple
@@ -2756,9 +2644,6 @@
-
-
-
@@ -2775,8 +2660,171 @@
AffinityType
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMwareIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMwareIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AddonName
+
+
+ AuthorizationName
+
+
+ CloudLinkName
+
+
+ ClusterName
+
+
+ DatastoreName
+
+
+ DhcpId
+
+
+ DnsServiceId
+
+
+ DnsZoneId
+
+
+ GatewayId
+
+
+ GlobalReachConnectionName
+
+
+ HcxEnterpriseSiteName
+
+
+ Location
+
+
+ PlacementPolicyName
+
+
+ PortMirroringId
+
+
+ PrivateCloudName
+
+
+ PublicIPId
+
+
+ ResourceGroupName
+
+
+ ScriptCmdletName
+
+
+ ScriptExecutionName
+
+
+ ScriptPackageName
+
+
+ SegmentId
+
+
+ SubscriptionId
+
- VMMember
+ VMGroupId
+
+
+ VirtualMachineId
+
+
+ WorkloadNetworkName
@@ -2784,9 +2832,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcp
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetwork
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcp
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetwork#Multiple
@@ -2812,9 +2860,37 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpEntity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcp
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpEntity
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcp#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntity
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntity#Multiple
@@ -2830,9 +2906,6 @@
-
-
-
@@ -2849,18 +2922,15 @@
Revision
-
- Segment
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpList#Multiple
@@ -2880,9 +2950,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpRelay
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpRelay
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelay#Multiple
@@ -2898,12 +2968,6 @@
-
-
-
-
-
-
@@ -2920,21 +2984,15 @@
Revision
-
- Segment
-
-
- ServerAddress
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpServer
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpServer
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDhcpServer
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpServer#Multiple
@@ -2950,9 +3008,6 @@
-
-
-
@@ -2975,9 +3030,6 @@
Revision
-
- Segment
-
LeaseTime
@@ -2990,9 +3042,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsService
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsService
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsService
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsService#Multiple
@@ -3018,9 +3070,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsServiceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServiceProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsServiceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServiceProperties#Multiple
@@ -3033,9 +3085,6 @@
-
-
-
@@ -3061,9 +3110,6 @@
DnsServiceIP
-
- FqdnZone
-
LogLevel
@@ -3082,9 +3128,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsServicesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServicesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsServicesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsServicesList#Multiple
@@ -3104,9 +3150,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZone
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZone
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZone#Multiple
@@ -3132,24 +3178,18 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZoneProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZoneProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZoneProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZoneProperties#Multiple
-
-
-
-
-
-
@@ -3166,15 +3206,9 @@
DisplayName
-
- DnsServerIP
-
DnsService
-
- Domain
-
ProvisioningState
@@ -3190,9 +3224,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZonesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZonesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkDnsZonesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDnsZonesList#Multiple
@@ -3212,9 +3246,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGateway
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGateway
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGateway
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGateway#Multiple
@@ -3240,9 +3274,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGatewayList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGatewayList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayList#Multiple
@@ -3262,9 +3296,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGatewayProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkGatewayProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkGatewayProperties#Multiple
@@ -3290,9 +3324,31 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroring
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkList
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkList#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroring
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroring
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroring#Multiple
@@ -3318,9 +3374,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroringList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroringList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringList#Multiple
@@ -3340,9 +3396,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroringProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPortMirroringProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPortMirroringProperties#Multiple
@@ -3398,9 +3454,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIP
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIP
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIP
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIP#Multiple
@@ -3426,9 +3482,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIPProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIPProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPProperties#Multiple
@@ -3466,9 +3522,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIPsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPsList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkPublicIPsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkPublicIPsList#Multiple
@@ -3488,9 +3544,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegment
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegment
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegment#Multiple
@@ -3516,9 +3572,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentPortVif
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentPortVif
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentPortVif
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentPortVif#Multiple
@@ -3538,9 +3594,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentProperties#Multiple
@@ -3584,9 +3640,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentsList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentsList#Multiple
@@ -3606,15 +3662,12 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentSubnet
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkSegmentSubnet
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkSegmentSubnet#Multiple
-
-
-
@@ -3622,9 +3675,6 @@
-
- DhcpRange
-
GatewayAddress
@@ -3634,9 +3684,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachine
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachine
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachine#Multiple
@@ -3662,9 +3712,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachineProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachineProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachineProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachineProperties#Multiple
@@ -3690,9 +3740,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachinesList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVirtualMachinesList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVirtualMachinesList#Multiple
@@ -3712,9 +3762,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroup
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroup
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroup#Multiple
@@ -3740,18 +3790,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroupProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupProperties
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroupProperties
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupProperties#Multiple
-
-
-
@@ -3768,9 +3815,6 @@
DisplayName
-
- Member
-
ProvisioningState
@@ -3786,9 +3830,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroupsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupsList
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.WorkloadNetworkVMGroupsList
+ Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkVMGroupsList#Multiple
@@ -3807,39 +3851,5 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api10.ErrorResponse
-
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api10.ErrorResponse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
- Message
-
-
- Target
-
-
-
-
-
-
\ 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 b55cc385393c..424c2ddd1dc2 100644
--- a/src/VMware/VMware.Autorest/Az.VMware.psd1
+++ b/src/VMware/VMware.Autorest/Az.VMware.psd1
@@ -1,159 +1,23 @@
-#
-# Module manifest for module 'Az.VMware'
-#
-# Generated by: Microsoft Corporation
-#
-# Generated on: 10/10/2022
-#
-
@{
-
-# Script module or binary module file associated with this manifest.
-RootModule = './Az.VMware.psm1'
-
-# Version number of this module.
-ModuleVersion = '0.5.0'
-
-# Supported PSEditions
-CompatiblePSEditions = 'Core', 'Desktop'
-
-# ID used to uniquely identify this module
-GUID = '78d2fac8-ec90-47ad-b8aa-a27106b158f5'
-
-# Author of this module
-Author = 'Microsoft Corporation'
-
-# Company or vendor of this module
-CompanyName = 'Microsoft Corporation'
-
-# Copyright statement for this module
-Copyright = 'Microsoft Corporation. All rights reserved.'
-
-# Description of the functionality provided by this module
-Description = 'Microsoft Azure PowerShell: VMware cmdlets'
-
-# Minimum version of the PowerShell engine required by this module
-PowerShellVersion = '5.1'
-
-# Name of the PowerShell host required by this module
-# PowerShellHostName = ''
-
-# Minimum version of the PowerShell host required by this module
-# PowerShellHostVersion = ''
-
-# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-DotNetFrameworkVersion = '4.7.2'
-
-# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-# ClrVersion = ''
-
-# Processor architecture (None, X86, Amd64) required by this module
-# ProcessorArchitecture = ''
-
-# Modules that must be imported into the global environment prior to importing this module
-RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.2'; })
-
-# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = './bin/Az.VMware.private.dll'
-
-# Script files (.ps1) that are run in the caller's environment prior to importing this module.
-# ScriptsToProcess = @()
-
-# Type files (.ps1xml) to be loaded when importing this module
-# TypesToProcess = @()
-
-# Format files (.ps1xml) to be loaded when importing this module
-FormatsToProcess = './Az.VMware.format.ps1xml'
-
-# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
-# NestedModules = @()
-
-# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
-FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization',
- 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster',
- '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-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-AzVMwareCluster',
- 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud'
-
-# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = @()
-
-# Variables to export from this module
-# VariablesToExport = @()
-
-# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
-AliasesToExport = '*'
-
-# DSC resources to export from this module
-# DscResourcesToExport = @()
-
-# List of all modules packaged with this module
-# ModuleList = @()
-
-# List of all files packaged with this module
-# FileList = @()
-
-# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
-PrivateData = @{
-
+ GUID = '6ced3ed2-fb86-4a72-aca7-369161b12fea'
+ RootModule = './Az.VMware.psm1'
+ ModuleVersion = '0.4.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: VMware cmdlets'
+ PowerShellVersion = '5.1'
+ 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'
+ PrivateData = @{
PSData = @{
-
- # Tags applied to this module. These help with module discovery in online galleries.
- Tags = 'Azure','ResourceManager','ARM','PSModule','VMware'
-
- # A URL to the license for this module.
- LicenseUri = 'https://aka.ms/azps-license'
-
- # A URL to the main website for this project.
- ProjectUri = 'https://github.com/Azure/azure-powershell'
-
- # A URL to an icon representing this module.
- # IconUri = ''
-
- # ReleaseNotes of this module
- ReleaseNotes = '* Added cmdlet:
- - ''Get-AzVMwareDatastore''
- - ''New-AzVMwareDatastore''
- - ''Remove-AzVMwareDatastore'''
-
- # Prerelease string of this module
- # Prerelease = ''
-
- # Flag to indicate whether the module requires explicit user acceptance for install/update/save
- # RequireLicenseAcceptance = $false
-
- # External dependent modules of this module
- # ExternalModuleDependencies = @()
-
- } # End of PSData hashtable
-
- } # End of PrivateData hashtable
-
-# HelpInfo URI of this module
-# HelpInfoURI = ''
-
-# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
-# DefaultCommandPrefix = ''
-
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'VMware'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
}
-
diff --git a/src/VMware/VMware.Autorest/README.md b/src/VMware/VMware.Autorest/README.md
index 914b3b7ab86b..0e36aed7acab 100644
--- a/src/VMware/VMware.Autorest/README.md
+++ b/src/VMware/VMware.Autorest/README.md
@@ -47,19 +47,17 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest
``` yaml
-branch: 2e665b044670074d91e8a9e6d04f23fbe3c8a06e
+commit: 0baf811c3c76c87b3c127d098519bd97141222dd
require:
- - $(this-folder)/../readme.azure.noprofile.md
+ - $(this-folder)/../../readme.azure.noprofile.md
input-file:
- - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2021-12-01/vmware.json
+ - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json
module-version: 0.4.0
title: VMware
subject-prefix: $(service-name)
-identity-correction-for-post: true
-resourcegroup-append: true
-nested-object-to-string: true
+support-json-input: false
directive:
- from: swagger-document
@@ -83,7 +81,7 @@ directive:
"format": "password"
}
- where:
- variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
+ variant: ^(Create|Update)(?!.*?Expanded)
remove: true
- where:
variant: ^Restrict$|^RestrictViaIdentity$
@@ -121,12 +119,47 @@ directive:
remove: true
- where:
verb: Test
- subject: ^LocationTrialAvailability$|^LocationQuotaAvailability$
+ subject: ^LocationQuotaAvailability$
variant: ^CheckViaIdentity$
remove: true
+ # Remove v4 variant
+ - where:
+ verb: Test
+ subject: ^LocationTrialAvailability$
+ variant: ^Check$|CheckViaIdentity
+ remove: true
+ - where:
+ verb: New
+ subject: PrivateCloud
+ variant: CreateViaIdentityExpanded
+ remove: true
+ # custom set SKU Name optional
+ # - where:
+ # verb: Test
+ # subject: ^LocationTrialAvailability$
+ # hide: true
+ # Remove the list variant as the workloadNetwork only have one enum value
+ - where:
+ verb: Get
+ subject: WorkloadNetwork
+ # variant: List
+ hide: true
+ # Hide parent object variant to fix 'multiple types define RestrictMovement [string, IVirtualMachineRestrictMovement]'
+ - where:
+ verb: Lock
+ subject: VirtualMachineMovement
+ variant: ^RestrictViaIdentityCluster$|^RestrictViaIdentityPrivateCloud$
+ remove: true
+ # Hide HcxEnterpriseSite, ScriptExecution, Addon update
+ - where:
+ verb: Update
+ subject: HcxEnterpriseSite|ScriptExecution|Addon
+ remove: true
- no-inline:
- AddonProperties
- PlacementPolicyProperties
+ - model-cmdlet:
+ - model-name: IdentitySource
# Re-name and custom it
# - model-cmdlet:
# - VMPlacementPolicyProperties
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json
index d414ab3499d8..41e2799f344c 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": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
@@ -37,39 +37,6 @@
]
}
]
- },
- {
- "name": "Test-AzVMwareLocationTrialAvailability",
- "description": "Return trial status for subscription by region",
- "path": "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability",
- "help": {
- "learnMore": {
- "url": "https://learn.microsoft.com/powershell/module/az.vmware/test-azvmwarelocationtrialavailability"
- },
- "parameterSets": [
- {
- "parameters": [
- "-Location ",
- "[-SubscriptionId ]"
- ]
- }
- ]
- },
- "examples": [
- {
- "description": "Return trial status for subscription by region",
- "parameters": [
- {
- "name": "-Location",
- "value": "[Path.location]"
- },
- {
- "name": "-SubscriptionId",
- "value": "[Path.subscriptionId]"
- }
- ]
- }
- ]
}
]
}
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 1a061f015fbc..94d8600cc81d 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/authorizations",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 35c1e37ff514..673a13f4486b 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/cloudLinks",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 91019ac378be..686be6375cd3 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,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/datastores",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 332352b8b3da..69cb075e68e5 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,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/placementPolicies",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 b6e0a808dcbc..93858c0449a0 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,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/virtualMachines",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 a6b0f6811d8b..aae124e85202 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/clusters",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
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 f1cf0d4d4a16..0e3859c18c26 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/globalReachConnections",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
index f3ad98a44504..90a4844a598a 100644
--- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
+++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds",
- "apiVersion": "2021-12-01",
+ "apiVersion": "2023-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
diff --git a/src/VMware/VMware.Autorest/build-module.ps1 b/src/VMware/VMware.Autorest/build-module.ps1
index d2fcb2391802..bb2f2aed8745 100644
--- a/src/VMware/VMware.Autorest/build-module.ps1
+++ b/src/VMware/VMware.Autorest/build-module.ps1
@@ -12,17 +12,17 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
Write-Error 'This script requires PowerShell Core to execute. [Note] Generated cmdlets will work in both PowerShell Core or Windows PowerShell.'
}
-if(-not $Isolated -and -not $Debugger) {
+if(-not $NotIsolated -and -not $Debugger) {
Write-Host -ForegroundColor Green 'Creating isolated process...'
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
- & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
if($LastExitCode -ne 0) {
# Build failed. Don't attempt to run the module.
@@ -45,6 +45,14 @@ if(-not $Isolated -and -not $Debugger) {
}
}
+ if($UX) {
+ . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
+ if($LastExitCode -ne 0) {
+ # UX generation failed. Don't attempt to run the module.
+ return
+ }
+ }
+
if($Pack) {
. (Join-Path $PSScriptRoot 'pack-module.ps1')
if($LastExitCode -ne 0) {
@@ -122,7 +130,11 @@ $examplesFolder = Join-Path $PSScriptRoot 'examples'
$null = New-Item -ItemType Directory -Force -Path $examplesFolder
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
-$modelCmdlets = @()
+$modelCmdlets = @(@{modelName="IdentitySource"; cmdletName=""})
+$modelCmdletFolder = Join-Path (Join-Path $PSScriptRoot './custom') 'autogen-model-cmdlets'
+if (Test-Path $modelCmdletFolder) {
+ $null = Remove-Item -Force -Recurse -Path $modelCmdletFolder
+}
if ($modelCmdlets.Count -gt 0) {
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
CreateModelCmdlet($modelCmdlets)
@@ -139,7 +151,8 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
- Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+ $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}
Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
@@ -158,4 +171,10 @@ Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFol
Write-Host -ForegroundColor Green 'Creating example stubs...'
Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
+{
+ Write-Host -ForegroundColor Green 'Creating ux metadata...'
+ . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
+}
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/VMware/VMware.Autorest/check-dependencies.ps1 b/src/VMware/VMware.Autorest/check-dependencies.ps1
index c29591c7bfe1..90ca9867ae40 100644
--- a/src/VMware/VMware.Autorest/check-dependencies.ps1
+++ b/src/VMware/VMware.Autorest/check-dependencies.ps1
@@ -12,13 +12,13 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+param([switch]$NotIsolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
$ErrorActionPreference = 'Stop'
-if(-not $Isolated) {
+if(-not $NotIsolated) {
Write-Host -ForegroundColor Green 'Creating isolated process...'
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
- & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
return
}
diff --git a/src/VMware/VMware.Autorest/create-model-cmdlets.ps1 b/src/VMware/VMware.Autorest/create-model-cmdlets.ps1
index a029cb0ba43a..c80bb35ae5dd 100644
--- a/src/VMware/VMware.Autorest/create-model-cmdlets.ps1
+++ b/src/VMware/VMware.Autorest/create-model-cmdlets.ps1
@@ -15,7 +15,7 @@
function CreateModelCmdlet {
- param([string[]]$Models)
+ param([Hashtable[]]$Models)
if ($Models.Count -eq 0)
{
@@ -23,10 +23,13 @@ function CreateModelCmdlet {
}
$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
- $ModuleName = 'VMware'
$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
$null = New-Item -ItemType Directory -Force -Path $OutputDir
-
+ if (''.length -gt 0) {
+ $ModuleName = ''
+ } else {
+ $ModuleName = 'Az.VMware'
+ }
$CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
$Content = ''
$null = $CsFiles | ForEach-Object -Process { if ($_.Name.Split('.').count -eq 2 )
@@ -35,15 +38,34 @@ function CreateModelCmdlet {
$Tree = [Microsoft.CodeAnalysis.CSharp.SyntaxFactory]::ParseCompilationUnit($Content)
$Nodes = $Tree.ChildNodes().ChildNodes()
+ $classConstantMember = @{}
foreach ($Model in $Models)
{
- $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$Model") }
+ $ModelName = $Model.modelName
+ $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$ModelName") }
+ $ClassNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'class') -and ($_.Identifier.value -eq "$ModelName") }
+ $classConstantMember = @()
+ foreach ($class in $ClassNode) {
+ foreach ($member in $class.Members) {
+ $isConstant = $false
+ foreach ($attr in $member.AttributeLists) {
+ $memberName = $attr.Attributes.Name.ToString()
+ if ($memberName.EndsWith('.Constant')) {
+ $isConstant = $true
+ break
+ }
+ }
+ if (($member.Modifiers.ToString() -eq 'public') -and $isConstant) {
+ $classConstantMember += $member.Identifier.Value
+ }
+ }
+ }
if ($InterfaceNode.count -eq 0) {
continue
}
# through a queue, we iterate all the parent models.
$Queue = @($InterfaceNode)
- $visited = @("I$Model")
+ $visited = @("I$ModelName")
$AllInterfaceNodes = @()
while ($Queue.count -ne 0)
{
@@ -61,13 +83,13 @@ function CreateModelCmdlet {
}
$Namespace = $InterfaceNode.Parent.Name
- $ObjectType = $Model
+ $ObjectType = $ModelName
$ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
# remove duplicated module name
- if ($ObjectType.StartsWith($ModuleName)) {
+ if ($ObjectType.StartsWith('VMware')) {
$ModulePrefix = ''
} else {
- $ModulePrefix = $ModuleName
+ $ModulePrefix = 'VMware'
}
$OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
@@ -77,10 +99,15 @@ function CreateModelCmdlet {
{
foreach ($Member in $Node.Members)
{
+ if ($classConstantMember.Contains($Member.Identifier.Value)) {
+ # skip constant member
+ continue
+ }
$Arguments = $Member.AttributeLists.Attributes.ArgumentList.Arguments
$Required = $false
$Description = ""
$Readonly = $False
+ $mutability = @{Read = $true; Create = $true; Update = $true}
foreach ($Argument in $Arguments)
{
if ($Argument.NameEquals.Name.Identifier.Value -eq "Required")
@@ -95,6 +122,18 @@ function CreateModelCmdlet {
{
$Readonly = $Argument.Expression.Token.Value
}
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Read")
+ {
+ $mutability.Read = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Create")
+ {
+ $mutability.Create = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Update")
+ {
+ $mutability.Update = $Argument.Expression.Token.Value
+ }
}
if ($Readonly)
{
@@ -102,8 +141,18 @@ function CreateModelCmdlet {
}
$Identifier = $Member.Identifier.Value
$Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ $Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ if ($Type.StartsWith("System.Collections.Generic.List"))
+ {
+ # if the type is a list, we need to convert it to array
+ $matched = $Type -match '\<(?.+)\>$'
+ if ($matched)
+ {
+ $Type = $matches.Name + '[]';
+ }
+ }
$ParameterDefinePropertyList = New-Object System.Collections.Generic.List[string]
- if ($Required)
+ if ($Required -and $mutability.Create -and $mutability.Update)
{
$ParameterDefinePropertyList.Add("Mandatory")
}
@@ -113,11 +162,9 @@ function CreateModelCmdlet {
}
$ParameterDefineProperty = [System.String]::Join(", ", $ParameterDefinePropertyList)
# check whether completer is needed
- $completer = '';
- if($Type.Split('.').Split('.')[-2] -eq 'Support') {
- # If Type is an array, need to strip []
- $strippedType = $Type.Replace('[]', '')
- $completer += "`n [ArgumentCompleter([${strippedType}])]"
+ $completer = '';
+ if(IsEnumType($Member)){
+ $completer += GetCompleter($Member)
}
$ParameterDefineScript = "
[Parameter($ParameterDefineProperty)]${completer}
@@ -133,6 +180,12 @@ function CreateModelCmdlet {
$ParameterDefineScript = $ParameterDefineScriptList | Join-String -Separator ","
$ParameterAssignScript = $ParameterAssignScriptList | Join-String -Separator ""
+ $cmdletName = "New-Az${ModulePrefix}${ObjectType}Object"
+ if ('' -ne $Model.cmdletName) {
+ $cmdletName = $Model.cmdletName
+ }
+ $OutputPath = Join-Path -ChildPath "${cmdletName}.ps1" -Path $OutputDir
+ $cmdletNameInLowerCase = $cmdletName.ToLower()
$Script = "
# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -158,9 +211,9 @@ Create an in-memory object for ${ObjectType}.
.Outputs
${ObjectTypeWithNamespace}
.Link
-https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+https://learn.microsoft.com/powershell/module/${ModuleName}/${cmdletNameInLowerCase}
#>
-function New-Az${ModulePrefix}${ObjectType}Object {
+function ${cmdletName} {
[OutputType('${ObjectTypeWithNamespace}')]
[CmdletBinding(PositionalBinding=`$false)]
Param(
@@ -177,3 +230,33 @@ ${ParameterAssignScript}
Set-Content -Path $OutputPath -Value $Script
}
}
+
+function IsEnumType {
+ param (
+ [Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax]$property
+ )
+ $isEnum = $false
+ foreach ($attr in $property.AttributeLists) {
+ $attributeName = $attr.Attributes.Name.ToString()
+ if ($attributeName.Contains('ArgumentCompleter')) {
+ $isEnum = $true
+ break
+ }
+ }
+ return $isEnum;
+}
+
+function GetCompleter {
+ param (
+ [Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax]$property
+ )
+ foreach ($attr in $property.AttributeLists) {
+ $attributeName = $attr.Attributes.Name.ToString()
+ if ($attributeName.Contains('ArgumentCompleter')) {
+ $attributeName = $attributeName.Split("::")[-1]
+ $possibleValues = [System.String]::Join(", ", $attr.Attributes.ArgumentList.Arguments)
+ $completer += "`n [${attributeName}(${possibleValues})]"
+ return $completer
+ }
+ }
+}
diff --git a/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1
index aa399faab1cb..c1ca79809123 100644
--- a/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1
+++ b/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1
@@ -36,7 +36,7 @@ vr Microsoft.AVS/privateClouds/addons azps_test_group
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -72,7 +72,7 @@ INPUTOBJECT : Identity Parameter
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareaddon
#>
function Get-AzVMwareAddon {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
index 0280f00734b0..99e7da339f8c 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1
@@ -28,7 +28,7 @@ Name Type ResourceGroupName
vr Microsoft.AVS/privateClouds/addons azps_test_group
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -40,7 +40,7 @@ PROPERTY : The properties of an addon resource
https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareaddon
#>
function New-AzVMwareAddon {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -65,7 +65,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddonProperties]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddonProperties]
# The properties of an addon resource
# To construct, see NOTES section for PROPERTY properties and create a hash table.
${Property},
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1
index 920e7d991e7c..eb4894260f8f 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1
@@ -1,4 +1,3 @@
-
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
@@ -20,12 +19,12 @@
Create a in-memory object for AddonSrmProperties
.Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties
+ 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.Api20211201.AddonSrmProperties')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -35,7 +34,7 @@
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties]::New()
$Object.LicenseKey = $LicenseKey
$Object.AddonType = "SRM"
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1
index 0a49c4469ebd..c2e93fd59606 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1
@@ -1,4 +1,3 @@
-
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
@@ -20,12 +19,12 @@
Create a in-memory object for AddonVrProperties
.Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties
+ 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.Api20211201.AddonVrProperties')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -35,7 +34,7 @@
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties]::New()
$Object.VrsCount = $VrsCount
$Object.AddonType = "VR"
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
index 8d130e6c572b..985a99d1a5d3 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1
@@ -20,12 +20,12 @@
Create a in-memory object for PSCredentialExecutionParameter
.Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PSCredentialExecutionParameter
+ 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.Api20211201.PSCredentialExecutionParameter')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PSCredentialExecutionParameter]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter]::New()
$Object.Password = $Password
$Object.Username = $Username
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
index 56423223234b..e21edc216e4a 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1
@@ -16,18 +16,20 @@
<#
.Synopsis
-Create or update a private cloud
+Create a private cloud
.Description
-Create or update a private cloud
+Create a private cloud
.Example
-PS C:\> New-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -NetworkBlock 192.168.48.0/22 -Sku av36 -ManagementClusterSize 3 -Location australiaeast
+New-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -NetworkBlock 192.168.48.0/22 -Sku av36 -ManagementClusterSize 3 -Location australiaeast
Location Name Type ResourceGroupName
-------- ---- ---- -----------------
australiaeast azps_test_cloud Microsoft.AVS/privateClouds azps_test_group
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -42,13 +44,13 @@ IDENTITYSOURCE : vCenter Single Sign On Identity Sources
[Password ]: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.
[PrimaryServer ]: Primary server URL
[SecondaryServer ]: Secondary server URL
- [Ssl ]: Protect LDAP communication using SSL certificate (LDAPS)
+ [Ssl ]: Protect LDAP communication using SSL certificate (LDAPS)
[Username ]: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group
.Link
https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareprivatecloud
#>
function New-AzVMwarePrivateCloud {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -86,24 +88,101 @@ function New-AzVMwarePrivateCloud {
${Sku},
[Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum])]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum]
+ [System.Int32]
+ # The secondary availability zone for the private cloud
+ ${AvailabilitySecondaryZone},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SingleZone", "DualZone")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # The availability strategy for the private cloud
+ ${AvailabilityStrategy},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.Int32]
+ # The primary availability zone for the private cloud
+ ${AvailabilityZone},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # Status of customer managed encryption key
+ ${EncryptionStatus},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String[]]
+ # Array of additional networks noncontiguous with networkBlock.
+ # Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute.
+ # Make sure the CIDR format conforms to (A.B.C.D/X).
+ ${ExtendedNetworkBlock},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IIdentitySource[]]
+ # vCenter Single Sign On Identity Sources
+ # To construct, see NOTES section for IDENTITYSOURCE properties and create a hash table.
+ ${IdentitySource},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SystemAssigned", "None")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # The type of identity used for the private cloud.
+ # The type 'SystemAssigned' refers to an implicitly created identity.
+ # The type 'None' will remove any identities from the Private Cloud.
+ ${IdentityType},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
# Connectivity to internet is enabled or disabled
${Internet},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # The name of the key.
+ ${KeyVaultPropertyKeyName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # The URL of the vault.
+ ${KeyVaultPropertyKeyVaultUrl},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String]
+ # The version of the key.
+ ${KeyVaultPropertyKeyVersion},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
[System.String]
# Resource location
${Location},
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
+ [System.String[]]
+ # The hosts
+ ${ManagementClusterHost},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
[System.Int32]
# The cluster size
${ManagementClusterSize},
-
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')]
[System.String]
@@ -112,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.Api20211201.IResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IResourceTags]))]
[System.Collections.Hashtable]
# Resource tags
${Tag},
@@ -133,7 +212,8 @@ function New-AzVMwarePrivateCloud {
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
index a217619009cc..bbbf3119f132 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1
@@ -20,12 +20,12 @@
Create a in-memory object for ScriptSecureStringExecutionParameter
.Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter
+ 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.Api20211201.ScriptSecureStringExecutionParameter')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter]::New()
$Object.SecureValue = $SecureValue
$Object.Name = $Name
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
index 767fb674bf93..e927d67f46dc 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1
@@ -20,12 +20,12 @@
Create a in-memory object for ScriptStringExecutionParameter
.Outputs
- Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter
+ 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.Api20211201.ScriptStringExecutionParameter')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter]::New()
$Object.Value = $Value
$Object.Name = $Name
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1
index f180489e9e7a..c911281b689c 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1
@@ -21,18 +21,18 @@ Create an in-memory object for VMPlacementPolicyProperties.
Create an in-memory object for VMPlacementPolicyProperties.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties
.Link
https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVMPlacementPolicyPropertiesObject
#>
function New-AzVMwareVMPlacementPolicyPropertiesObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
- [Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType]
+ [Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")]
+ [string]
$AffinityType,
[Parameter(Mandatory, HelpMessage="Virtual machine members list.")]
[string[]]
@@ -41,17 +41,17 @@ function New-AzVMwareVMPlacementPolicyPropertiesObject {
[string]
$DisplayName,
[Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [string]
$State,
[Parameter(Mandatory, HelpMessage="placement policy type.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")]
+ [string]
$Type
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties]::New()
if ($PSBoundParameters.ContainsKey('AffinityType')) {
$Object.AffinityType = $AffinityType
diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1
index a30c350a7866..160e62c5562e 100644
--- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1
+++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1
@@ -21,18 +21,18 @@ Create an in-memory object for VmHostPlacementPolicyProperties.
Create an in-memory object for VmHostPlacementPolicyProperties.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20230301.VmHostPlacementPolicyProperties
.Link
https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVmHostPlacementPolicyPropertiesObject
#>
function New-AzVMwareVmHostPlacementPolicyPropertiesObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(Mandatory, HelpMessage="placement policy affinity type.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")]
+ [string]
$AffinityType,
[Parameter(Mandatory, HelpMessage="Host members list.")]
[string[]]
@@ -44,17 +44,17 @@ function New-AzVMwareVmHostPlacementPolicyPropertiesObject {
[string]
$DisplayName,
[Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [string]
$State,
[Parameter(Mandatory, HelpMessage="placement policy type.")]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType])]
- [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")]
+ [string]
$Type
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties]::New()
if ($PSBoundParameters.ContainsKey('AffinityType')) {
$Object.AffinityType = $AffinityType
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
new file mode 100644
index 000000000000..cb2806a18f66
--- /dev/null
+++ b/src/VMware/VMware.Autorest/custom/autogen-model-cmdlets/New-AzVMwareIdentitySourceObject.ps1
@@ -0,0 +1,102 @@
+
+# ----------------------------------------------------------------------------------
+# 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/examples/Get-AzVMwareClusterZone.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareClusterZone.md
new file mode 100644
index 000000000000..26326bd8d9f9
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareClusterZone.md
@@ -0,0 +1,11 @@
+### Example 1: List hosts by zone in a cluster
+```powershell
+Get-AzVMwareClusterZone -PrivateCloudName SDDC2 -ResourceGroupName TestSddc-rg -ClusterName Cluster-1
+```
+```output
+Host Zone
+---- ----
+{esx09-r09.p01.canadacentral.avs.azure.com, esx02-r06.p01.canadacentral.avs.azure.com, esx20-r08.p01.canadacentral.avs.azure.com} 3
+```
+
+List hosts by zone in a cluster
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md
index 08eaeafe1cba..1b7b51851942 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md
@@ -3,9 +3,9 @@
New-AzVMwareAddonSrmPropertiesObject -LicenseKey "YourLicenseKeyValue"
```
```output
-AddonType ProvisioningState LicenseKey
---------- ----------------- ----------
-SRM YourLicenseKeyValue
+AddonType LicenseKey ProvisioningState
+--------- ---------- -----------------
+SRM YourLicenseKeyValue
```
Create a local SRM object for the Addon Property parameter
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md
index ad2fa1006f83..8873bbb02979 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md
@@ -5,7 +5,7 @@ New-AzVMwareAddonVrPropertiesObject -VrsCount 2
```output
AddonType ProvisioningState VrsCount
--------- ----------------- --------
-VR 2
+VR 2
```
Create a local VR object for the Addon Property parameter
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md
new file mode 100644
index 000000000000..70068547f284
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md
@@ -0,0 +1,18 @@
+### 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-AzVMwarePSCredentialExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
index b12c0637b0c2..7414ca16f031 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md
@@ -3,9 +3,9 @@
New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password "passwordValue" -Username "usernameValue"
```
```output
-Name Type Password Username
----- ---- -------- --------
-azps_test_credentialvalue Credential passwordValue usernameValue
+Name Password Type Username
+---- -------- ---- --------
+azps_test_credentialvalue passwordValue Credential usernameValue
```
Create a local PS Credential Execution object
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
index fe4f7ae995eb..92c3ce00ad68 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md
@@ -3,9 +3,9 @@
New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue "passwordValue"
```
```output
-Name Type SecureValue
----- ---- -----------
-azps_test_securevalue SecureValue passwordValue
+Name SecureValue Type
+---- ----------- ----
+azps_test_securevalue passwordValue 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 74a9c450d404..2a4af6b0f6d6 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md
@@ -1,11 +1,11 @@
### Example 1: Create a local Script String Execution object
```powershell
-New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_stringvalue -Value "stringValue"
+New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_value -Value "passwordValue"
```
```output
-Name Type Value
----- ---- -----
-azps_test_stringvalue Value stringValue
+Name Value
+---- -----------
+azps_test_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-AzVMwareVMPlacementPolicyPropertiesObject.md
index 5171ebeb2db7..bc8b5c2e2d77 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md
@@ -1,11 +1,14 @@
### Example 1: Create an in-memory object for VMPlacementPolicyProperties.
```powershell
-New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"abc"="123"}
+ New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"}
```
```output
-DisplayName ProvisioningState State AffinityType VMMember
------------ ----------------- ----- ------------ --------
- Affinity {System.Collections.Hashtable}
+AffinityType : Affinity
+DisplayName :
+ProvisioningState :
+State :
+Type : VmVm
+VMMember : {System.Collections.Hashtable}
```
Create an in-memory object for VMPlacementPolicyProperties.
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md
index f5e1376a02e5..db24ec7cc767 100644
--- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md
+++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md
@@ -1,11 +1,17 @@
### Example 1: Create an in-memory object for VmHostPlacementPolicyProperties.
```powershell
-New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"abc"="123"} -Type 'VmHost' -VMMember @{"abc"="123"}
+New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"}
```
```output
-DisplayName ProvisioningState State AffinityType HostMember VMMember
------------ ----------------- ----- ------------ ---------- --------
- AntiAffinity {System.Collections.Hashtable} {System.Collections.Hashtable}
+AffinityStrength :
+AffinityType : AntiAffinity
+AzureHybridBenefitType :
+DisplayName :
+HostMember : {System.Collections.Hashtable}
+ProvisioningState :
+State :
+Type : VmHost
+VMMember : {System.Collections.Hashtable}
```
Create an in-memory object for VmHostPlacementPolicyProperties.
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md b/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md
index 4c47df926afe..fc2411cad79c 100644
--- a/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md
+++ b/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md
@@ -1,6 +1,6 @@
### Example 1: Check trial availability
```powershell
-Test-AzVMwareLocationTrialAvailability -Location westcentralus
+Test-AzVMwareLocationTrialAvailability -Location westcentralus -Name av36
```
```output
AvailableHost Status
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md
new file mode 100644
index 000000000000..e0eef44672a0
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md
@@ -0,0 +1,16 @@
+### Example 1: Update an ExpressRoute Circuit Authorization in a private cloud
+```powershell
+Update-AzVMwareAuthorization -Name azps_test_authorization -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+```output
+ExpressRouteAuthorizationId : ExpressRouteURI
+ExpressRouteId : ExpressRouteId
+Id : Id
+Key : GUID
+Name : azps_test_authorization
+ProvisioningState : Succeeded
+ResourceGroupName : azps_test_group
+Type : Microsoft.AVS/privateClouds/authorizations
+```
+
+Update an ExpressRoute Circuit Authorization 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
new file mode 100644
index 000000000000..29f96552644f
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md
@@ -0,0 +1,11 @@
+### 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/"
+```
+```output
+Name Type ResourceGroupName
+---- ---- -----------------
+azps_test_cloudlink Microsoft.AVS/privateClouds/cloudLinks azps_test_group
+```
+
+Update a cloud link in a private cloud
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md
new file mode 100644
index 000000000000..25b291d27c7e
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md
@@ -0,0 +1,11 @@
+### 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"
+```
+```output
+Name Status ProvisioningState ResourceGroupName
+---- ------ ----------------- -----------------
+azps_test_datastore Accessible Succeeded azps_test_group
+```
+
+Update a datastore in a private cloud cluster.
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md
new file mode 100644
index 000000000000..f73c0a0ebfeb
--- /dev/null
+++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md
@@ -0,0 +1,11 @@
+### Example 1: Update a global reach connection in a private cloud
+```powershell
+Update-AzVMwareGlobalReachConnection -Name azps_test_grc -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
+```
+```output
+Name Type ResourceGroupName
+---- ---- -----------------
+azps_test_grc Microsoft.AVS/privateClouds/globalReachConnections azps_test_group
+```
+
+Update a global reach connection in a private cloud
\ No newline at end of file
diff --git a/src/VMware/VMware.Autorest/export-surface.ps1 b/src/VMware/VMware.Autorest/export-surface.ps1
index cd80ef70b1eb..41366811085b 100644
--- a/src/VMware/VMware.Autorest/export-surface.ps1
+++ b/src/VMware/VMware.Autorest/export-surface.ps1
@@ -12,13 +12,13 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$Isolated, [switch]$IncludeGeneralParameters, [switch]$UseExpandedFormat)
+param([switch]$NotIsolated, [switch]$IncludeGeneralParameters, [switch]$UseExpandedFormat)
$ErrorActionPreference = 'Stop'
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
-if(-not $Isolated) {
+if(-not $NotIsolated) {
Write-Host -ForegroundColor Green 'Creating isolated process...'
- & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
return
}
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
index 7bb1c827f3cd..b0085385f76c 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAddon.ps1
@@ -27,7 +27,7 @@ Get-AzVMwareAddon -AddonType vr -PrivateCloudName azps_test_cloud -ResourceGroup
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -59,11 +59,12 @@ INPUTOBJECT : Identity Parameter
[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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareaddon
#>
function Get-AzVMwareAddon {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='List', Mandatory)]
@@ -160,7 +161,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -181,11 +182,15 @@ begin {
Get = 'Az.VMware.custom\Get-AzVMwareAddon';
GetViaIdentity = 'Az.VMware.custom\Get-AzVMwareAddon';
}
- if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
index c7c01cfdde63..cdba5ce0dc4b 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareAuthorization.ps1
@@ -27,7 +27,7 @@ Get-AzVMwareAuthorization -PrivateCloudName azps_test_cloud -ResourceGroupName a
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IExpressRouteAuthorization
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IExpressRouteAuthorization
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -59,14 +59,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareauthorization
#>
function Get-AzVMwareAuthorization {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IExpressRouteAuthorization])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IExpressRouteAuthorization])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Alias('AuthorizationName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -103,12 +133,20 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table.
+ ${PrivateCloudInputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -160,7 +198,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -179,13 +217,18 @@ begin {
$mapping = @{
Get = 'Az.VMware.private\Get-AzVMwareAuthorization_Get';
GetViaIdentity = 'Az.VMware.private\Get-AzVMwareAuthorization_GetViaIdentity';
+ GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareAuthorization_GetViaIdentityPrivateCloud';
List = 'Az.VMware.private\Get-AzVMwareAuthorization_List';
}
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
index 32640ac05eae..f1acb86900fd 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCloudLink.ps1
@@ -27,7 +27,7 @@ Get-AzVMwareCloudLink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICloudLink
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICloudLink
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -59,14 +59,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarecloudlink
#>
function Get-AzVMwareCloudLink {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICloudLink])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICloudLink])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Alias('CloudLinkName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -103,12 +133,20 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table.
+ ${PrivateCloudInputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -160,7 +198,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -179,13 +217,18 @@ begin {
$mapping = @{
Get = 'Az.VMware.private\Get-AzVMwareCloudLink_Get';
GetViaIdentity = 'Az.VMware.private\Get-AzVMwareCloudLink_GetViaIdentity';
+ GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareCloudLink_GetViaIdentityPrivateCloud';
List = 'Az.VMware.private\Get-AzVMwareCloudLink_List';
}
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
index 38e9cc425dfd..7b61d4de9f77 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareCluster.ps1
@@ -27,7 +27,7 @@ Get-AzVMwareCluster -Name azps_test_cluster -PrivateCloudName azps_test_cloud -R
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICluster
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICluster
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -59,14 +59,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarecluster
#>
function Get-AzVMwareCluster {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICluster])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICluster])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Alias('ClusterName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -103,12 +133,20 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table.
+ ${PrivateCloudInputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -160,7 +198,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -179,13 +217,18 @@ begin {
$mapping = @{
Get = 'Az.VMware.private\Get-AzVMwareCluster_Get';
GetViaIdentity = 'Az.VMware.private\Get-AzVMwareCluster_GetViaIdentity';
+ GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareCluster_GetViaIdentityPrivateCloud';
List = 'Az.VMware.private\Get-AzVMwareCluster_List';
}
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareClusterZone.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareClusterZone.ps1
new file mode 100644
index 000000000000..82cc7230792b
--- /dev/null
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareClusterZone.ps1
@@ -0,0 +1,188 @@
+
+# ----------------------------------------------------------------------------------
+# 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
+List hosts by zone in a cluster
+.Description
+List hosts by zone in a cluster
+.Example
+Get-AzVMwareClusterZone -PrivateCloudName SDDC2 -ResourceGroupName TestSddc-rg -ClusterName Cluster-1
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IClusterZoneList
+.Link
+https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareclusterzone
+#>
+function Get-AzVMwareClusterZone {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IClusterZoneList])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [System.String]
+ # Name of the cluster in the private cloud
+ ${ClusterName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [System.String]
+ # Name of the private cloud
+ ${PrivateCloudName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ List = 'Az.VMware.private\Get-AzVMwareClusterZone_List';
+ }
+ if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareDatastore.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareDatastore.ps1
index c25ed7f3bda1..5b133d9c8a32 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareDatastore.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareDatastore.ps1
@@ -27,12 +27,40 @@ Get-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IDatastore
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IDatastore
.Notes
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.
+CLUSTERINPUTOBJECT : 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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
+
INPUTOBJECT : Identity Parameter
[AddonName ]: Name of the addon for the private cloud
[AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
@@ -59,14 +87,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwaredatastore
#>
function Get-AzVMwareDatastore {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IDatastore])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IDatastore])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -74,6 +132,8 @@ param(
${ClusterName},
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityCluster', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Alias('DatastoreName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -110,12 +170,27 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter(ParameterSetName='GetViaIdentityCluster', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table.
+ ${ClusterInputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table.
+ ${PrivateCloudInputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -167,7 +242,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -186,13 +261,19 @@ begin {
$mapping = @{
Get = 'Az.VMware.private\Get-AzVMwareDatastore_Get';
GetViaIdentity = 'Az.VMware.private\Get-AzVMwareDatastore_GetViaIdentity';
+ GetViaIdentityCluster = 'Az.VMware.private\Get-AzVMwareDatastore_GetViaIdentityCluster';
+ GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareDatastore_GetViaIdentityPrivateCloud';
List = 'Az.VMware.private\Get-AzVMwareDatastore_List';
}
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwareGlobalReachConnection.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwareGlobalReachConnection.ps1
index 58fc91bc1844..dd7772f764ef 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwareGlobalReachConnection.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwareGlobalReachConnection.ps1
@@ -27,7 +27,7 @@ Get-AzVMwareGlobalReachConnection -Name azps_test_grc -PrivateCloudName azps_tes
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IGlobalReachConnection
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IGlobalReachConnection
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -59,14 +59,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
.Link
https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareglobalreachconnection
#>
function Get-AzVMwareGlobalReachConnection {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IGlobalReachConnection])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IGlobalReachConnection])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)]
[Alias('GlobalReachConnectionName')]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
[System.String]
@@ -103,12 +133,20 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table.
+ ${PrivateCloudInputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -160,7 +198,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -179,13 +217,18 @@ begin {
$mapping = @{
Get = 'Az.VMware.private\Get-AzVMwareGlobalReachConnection_Get';
GetViaIdentity = 'Az.VMware.private\Get-AzVMwareGlobalReachConnection_GetViaIdentity';
+ GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareGlobalReachConnection_GetViaIdentityPrivateCloud';
List = 'Az.VMware.private\Get-AzVMwareGlobalReachConnection_List';
}
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/VMware/VMware.Autorest/exports/Get-AzVMwarePlacementPolicy.ps1 b/src/VMware/VMware.Autorest/exports/Get-AzVMwarePlacementPolicy.ps1
index 93ce83bd42c3..9611948b65e2 100644
--- a/src/VMware/VMware.Autorest/exports/Get-AzVMwarePlacementPolicy.ps1
+++ b/src/VMware/VMware.Autorest/exports/Get-AzVMwarePlacementPolicy.ps1
@@ -27,12 +27,40 @@ Get-AzVMwarePlacementPolicy -ClusterName cluster1 -Name policy1 -PrivateCloudNam
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPlacementPolicy
+Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicy
.Notes
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.
+CLUSTERINPUTOBJECT : 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
+ [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
+ [PrivateCloudName ]: Name of the private cloud
+ [PublicIPId ]: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
+ [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
+
INPUTOBJECT : Identity Parameter
[AddonName ]: Name of the addon for the private cloud
[AuthorizationName ]: Name of the ExpressRoute Circuit Authorization in the private cloud
@@ -59,14 +87,44 @@ INPUTOBJECT : Identity Parameter
[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
+
+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
+ [Id