Skip to content

Az VMware Powershell Version new 2024-09-01 #27955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/VMware/VMware.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.7.2")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.7.2")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
4 changes: 2 additions & 2 deletions src/VMware/VMware.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest

``` yaml
commit: f1546dc981fa5d164d7ecd13588520457462c22c
commit: a8db86234cec7d3f4f6139db0230f22f234af675
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json
- $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/vmware.json

module-version: 0.4.0
title: VMware
Expand Down
2 changes: 1 addition & 1 deletion src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/authorizations",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/cloudLinks",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/datastores",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"resourceType": "privateClouds/clusters/hosts",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareHost",
"description": "Get a Host",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarehost"
},
"parameterSets": [
{
"parameters": [
"-ClusterName <String>",
"-Id <String>",
"-PrivateCloudName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a Host",
"parameters": [
{
"name": "-ClusterName",
"value": "[Path.clusterName]"
},
{
"name": "-Id",
"value": "[Path.hostId]"
},
{
"name": "-PrivateCloudName",
"value": "[Path.privateCloudName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/placementPolicies",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/clusters/virtualMachines",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/clusters",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds/globalReachConnections",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"resourceType": "privateClouds/provisionedNetworks",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwareProvisionedNetwork",
"description": "Get a ProvisionedNetwork",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareprovisionednetwork"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-PrivateCloudName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a ProvisionedNetwork",
"parameters": [
{
"name": "-Name",
"value": "[Path.provisionedNetworkName]"
},
{
"name": "-PrivateCloudName",
"value": "[Path.privateCloudName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "privateClouds/pureStoragePolicies",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
"commands": [
{
"name": "Get-AzVMwarePureStoragePolicy",
"description": "Get a PureStoragePolicy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarepurestoragepolicy"
},
"parameterSets": [
{
"parameters": [
"-PrivateCloudName <String>",
"-ResourceGroupName <String>",
"-StoragePolicyName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a PureStoragePolicy",
"parameters": [
{
"name": "-PrivateCloudName",
"value": "[Path.privateCloudName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-StoragePolicyName",
"value": "[Path.storagePolicyName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzVMwarePureStoragePolicy",
"description": "Delete a PureStoragePolicy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwarepurestoragepolicy"
},
"parameterSets": [
{
"parameters": [
"-PrivateCloudName <String>",
"-ResourceGroupName <String>",
"-StoragePolicyName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a PureStoragePolicy",
"parameters": [
{
"name": "-PrivateCloudName",
"value": "[Path.privateCloudName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-StoragePolicyName",
"value": "[Path.storagePolicyName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "privateClouds",
"apiVersion": "2023-09-01",
"apiVersion": "2024-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.vmware"
},
Expand Down
Loading