Skip to content

Commit ce7a0ec

Browse files
BethanyZhouazure-powershell-botlijinpei2008VeryEarly
authored
Move VMware to release-2022-03-01 (#17262)
* Move VMware to release-2022-03-01 * Update Changelog.md * update tools file SignatureIssues.csv * Update Changelog.md Co-authored-by: azure-powershell-bot <[email protected]> Co-authored-by: lijinpei2008 <[email protected]> Co-authored-by: Yabo Hu <[email protected]>
1 parent 193cdee commit ce7a0ec

File tree

908 files changed

+46331
-19085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

908 files changed

+46331
-19085
lines changed

src/VMware/Az.VMware.format.ps1xml

Lines changed: 728 additions & 376 deletions
Large diffs are not rendered by default.

src/VMware/Az.VMware.psd1

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 10/4/2021
6+
# Generated on: 2/24/2022
77
#
88

99
@{
@@ -71,24 +71,28 @@ FormatsToProcess = './Az.VMware.format.ps1xml'
7171
# 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.
7272
FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization',
7373
'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster',
74-
'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwarePrivateCloud',
75-
'Get-AzVMwarePrivateCloudAdminCredential', 'New-AzVMwareAddon',
74+
'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwarePlacementPolicy',
75+
'Get-AzVMwarePrivateCloud',
76+
'Get-AzVMwarePrivateCloudAdminCredential',
77+
'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon',
7678
'New-AzVMwareAddonSrmPropertiesObject',
7779
'New-AzVMwareAddonVrPropertiesObject', 'New-AzVMwareAuthorization',
7880
'New-AzVMwareCloudLink', 'New-AzVMwareCluster',
79-
'New-AzVMwareGlobalReachConnection', 'New-AzVMwarePrivateCloud',
80-
'New-AzVMwarePrivateCloudNsxtPassword',
81+
'New-AzVMwareGlobalReachConnection', 'New-AzVMwarePlacementPolicy',
82+
'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword',
8183
'New-AzVMwarePrivateCloudVcenterPassword',
8284
'New-AzVMwarePSCredentialExecutionParameterObject',
8385
'New-AzVMwareScriptSecureStringExecutionParameterObject',
8486
'New-AzVMwareScriptStringExecutionParameterObject',
87+
'New-AzVMwareVmHostPlacementPolicyPropertiesObject',
88+
'New-AzVMwareVMPlacementPolicyPropertiesObject',
8589
'Remove-AzVMwareAddon', 'Remove-AzVMwareAuthorization',
8690
'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster',
8791
'Remove-AzVMwareGlobalReachConnection',
88-
'Remove-AzVMwarePrivateCloud',
92+
'Remove-AzVMwarePlacementPolicy', 'Remove-AzVMwarePrivateCloud',
8993
'Test-AzVMwareLocationQuotaAvailability',
9094
'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareCluster',
91-
'Update-AzVMwarePrivateCloud'
95+
'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud'
9296

9397
# 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.
9498
CmdletsToExport = @()
@@ -126,18 +130,7 @@ PrivateData = @{
126130
# IconUri = ''
127131

128132
# ReleaseNotes of this module
129-
ReleaseNotes = '* Updated api version to ''2021-06-01''.
130-
* Created some new cmdlets:
131-
* ''New-AzVMwareAddon'', ''Get-AzVMwareAddon'', ''Remove-AzVMwareAddon''
132-
* ''New-AzVMwareAddonSrmPropertiesObject''
133-
* ''New-AzVMwareAddonVrPropertiesObject''
134-
* ''New-AzVMwareCloudLink'', ''Get-AzVMwareCloudLink'', ''Remove-AzVMwareCloudLink''
135-
* ''New-AzVMwareGlobalReachConnection'', ''Get-AzVMwareGlobalReachConnection'', ''Remove-AzVMwareGlobalReachConnection''
136-
* ''New-AzVMwarePrivateCloudAdminCredential''
137-
* ''New-AzVMwarePrivateCloudNsxtPassword''
138-
* ''New-AzVMwarePrivateCloudVcenterPassword''
139-
* ''New-AzVMwarePSCredentialExecutionParameterObject''
140-
* ''New-AzVMwareScriptSecureStringExecutionParameterObject'''
133+
# ReleaseNotes = ''
141134

142135
# Prerelease string of this module
143136
# Prerelease = ''

src/VMware/Az.VMware.psm1

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# region Generated
22
# ----------------------------------------------------------------------------------
3-
#
4-
# Copyright Microsoft Corporation
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
1415
# ----------------------------------------------------------------------------------
1516
# Load required Az.Accounts module
1617
$accountsName = 'Az.Accounts'

src/VMware/Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgrade API version to 2021-12-01
22+
* Added cmdlet:
23+
- `Get-AzVMwareVirtualMachine`
24+
- `New-AzVMwarePlacementPolicy`
25+
- `Update-AzVMwarePlacementPolicy`
26+
- `Remove-AzVMwarePlacementPolicy`
2127

2228
## Version 0.3.0
2329
* Updated api version to `2021-06-01`.

src/VMware/README.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,19 @@ In this directory, run AutoRest:
4747
> see https://aka.ms/autorest
4848
4949
``` yaml
50-
branch: 87fe548940e52c5f46fd86ac587de9c1f4bdde83
50+
branch: 69e98508ef71f09851b2a79971d2d8e12560adc5
5151
require:
5252
- $(this-folder)/../readme.azure.noprofile.md
5353
input-file:
54-
- $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/vmware.json
54+
- $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2021-12-01/vmware.json
5555

56-
module-version: 0.3.0
56+
module-version: 0.4.0
5757
title: VMware
5858
subject-prefix: $(service-name)
59-
resourcegroup-append: true
6059

6160
identity-correction-for-post: true
61+
resourcegroup-append: true
62+
nested-object-to-string: true
6263

6364
directive:
6465
- from: swagger-document
@@ -84,6 +85,9 @@ directive:
8485
- where:
8586
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
8687
remove: true
88+
- where:
89+
variant: ^Restrict$|^RestrictViaIdentity$
90+
remove: true
8791
- where:
8892
verb: Set
8993
remove: true
@@ -103,6 +107,10 @@ directive:
103107
verb: Get|New|Remove
104108
subject: ScriptExecution|WorkloadNetworkPublicIP|Datastore
105109
hide: true
110+
- where:
111+
verb: Lock
112+
subject: VirtualMachineMovement
113+
hide: true
106114
- where:
107115
verb: Get|New|Update|Remove
108116
subject: WorkloadNetworkDhcp|WorkloadNetworkDnsService|WorkloadNetworkDnsZone|WorkloadNetworkPortMirroring|WorkloadNetworkSegment|WorkloadNetworkVMGroup
@@ -111,19 +119,23 @@ directive:
111119
verb: New|Get|Remove
112120
subject: HcxEnterpriseSite
113121
remove: true
114-
- no-inline:
115-
- AddonProperties
116-
- model-cmdlet:
117-
- ScriptSecureStringExecutionParameter
118-
- ScriptStringExecutionParameter
119-
- PSCredentialExecutionParameter
120-
- AddonSrmProperties
121-
- AddonVrProperties
122122
- where:
123123
verb: Test
124124
subject: ^LocationTrialAvailability$|^LocationQuotaAvailability$
125125
variant: ^CheckViaIdentity$
126126
remove: true
127+
- no-inline:
128+
- AddonProperties
129+
- PlacementPolicyProperties
130+
# Re-name and custom it
131+
# - model-cmdlet:
132+
# - VMPlacementPolicyProperties
133+
# - VmHostPlacementPolicyProperties
134+
# - ScriptSecureStringExecutionParameter
135+
# - ScriptStringExecutionParameter
136+
# - PSCredentialExecutionParameter
137+
# - AddonSrmProperties
138+
# - AddonVrProperties
127139
- where:
128140
verb: Get
129141
subject: ^PrivateCloudAdminCredentials$
@@ -158,6 +170,11 @@ directive:
158170
parameter-name: DnsServiceId
159171
set:
160172
parameter-name: DnsServiceName
173+
- where:
174+
subject: ^Cluster$
175+
parameter-name: PropertiesHosts
176+
set:
177+
parameter-name: PropertiesHost
161178
- where:
162179
verb: New|Get|Update|Remove
163180
subject: ^WorkloadNetworkDnsZone$

0 commit comments

Comments
 (0)