diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/addons.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/addons.tsp index 4e440fd826e2..b5711ec59c62 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/addons.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/addons.tsp @@ -3,7 +3,6 @@ namespace Microsoft.AVS; using Azure.ClientGenerator.Core; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; using TypeSpec.Rest; using TypeSpec.Versioning; diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp index 84ef409cd023..7b29a29a047c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp @@ -450,3 +450,8 @@ using Microsoft.AVS; Record, "java,go" ); + +// We do not wish for ServiceComponents operations to be in the SDKs. +@@scope(ServiceComponents.checkAvailability, + "!(python,javascript,go,java,csharp)" +); diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/csharp-client.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/csharp-client.tsp index b68a5997a733..82b21c71451b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/csharp-client.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/csharp-client.tsp @@ -13,7 +13,7 @@ using TypeSpec.Versioning; }, "csharp" ) -@useDependency(Microsoft.AVS.Versions.v2024_09_01) +@useDependency(Microsoft.AVS.Versions.v2025_09_01) namespace Customization; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup" @@ -180,3 +180,11 @@ interface Skus extends Microsoft.AVS.Skus {} #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup" @operationGroup("csharp") interface PureStoragePolicies extends Microsoft.AVS.PureStoragePolicies {} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup" +@operationGroup("csharp") +interface Maintenances extends Microsoft.AVS.Maintenances {} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup" +@operationGroup("csharp") +interface Licenses extends Microsoft.AVS.Licenses {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..5f378391bf3d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc", + "addon": { + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..d9fa4efcb72a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX_With_Networks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX_With_Networks.json new file mode 100644 index 000000000000..afc6e34f6856 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_HCX_With_Networks.json @@ -0,0 +1,49 @@ +{ + "title": "Addons_CreateOrUpdate_HCX_With_Networks", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..f56b05fa8b1c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..8c2b57b700bd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr", + "addon": { + "properties": { + "addonType": "VR", + "vrsCount": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Delete.json new file mode 100644 index 000000000000..41803b2c9421 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Addons_Delete", + "operationId": "Addons_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..98760e2ddded --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_ArcReg.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX.json new file mode 100644 index 000000000000..ab1b2b64fad9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX_With_Networks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX_With_Networks.json new file mode 100644 index 000000000000..c16e8d9f1f21 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_HCX_With_Networks.json @@ -0,0 +1,27 @@ +{ + "title": "Addons_Get_HCX_With_Networks", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_SRM.json new file mode 100644 index 000000000000..d79c5cd20235 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_SRM.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_VR.json new file mode 100644 index 000000000000..f67f2aaa4a46 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_Get_VR.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_VR", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_List.json new file mode 100644 index 000000000000..cb6ea2959206 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Addons_List.json @@ -0,0 +1,28 @@ +{ + "title": "Addons_List", + "operationId": "Addons_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..a8c585d68ea7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_CreateOrUpdate.json @@ -0,0 +1,37 @@ +{ + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1", + "authorization": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Delete.json new file mode 100644 index 000000000000..956f64a6aac2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Get.json new file mode 100644 index 000000000000..853b5fc02702 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_Get.json @@ -0,0 +1,26 @@ +{ + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_List.json new file mode 100644 index 000000000000..ebb66fde838a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Authorizations_List.json @@ -0,0 +1,29 @@ +{ + "title": "Authorizations_List", + "operationId": "Authorizations_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..182bc9cbb5c3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1", + "cloudLink": { + "properties": { + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Building", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Delete.json new file mode 100644 index 000000000000..14aba09350c7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Get.json new file mode 100644 index 000000000000..eb8f5202efb0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_List.json new file mode 100644 index 000000000000..bf1cc4cdd563 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/CloudLinks_List.json @@ -0,0 +1,27 @@ +{ + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..10c208ae15a9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_CreateOrUpdate.json @@ -0,0 +1,54 @@ +{ + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "cluster": { + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Delete.json new file mode 100644 index 000000000000..c8c25598e565 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Get.json new file mode 100644 index 000000000000..4c29ddeb1761 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Get.json @@ -0,0 +1,33 @@ +{ + "title": "Clusters_Get", + "operationId": "Clusters_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center", + "fakehost25.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_List.json new file mode 100644 index 000000000000..21ddf962df81 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_List.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_List", + "operationId": "Clusters_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones.json new file mode 100644 index 000000000000..0814cebf0675 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones.json @@ -0,0 +1,27 @@ +{ + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..a660bcc7dca4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_ListZones_Stretched.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + }, + { + "hosts": [ + "fakehost74.nyc2.kubernetes.center", + "fakehost75.nyc2.kubernetes.center", + "fakehost76.nyc2.kubernetes.center" + ], + "zone": "1" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Update.json new file mode 100644 index 000000000000..90b8e4df0f6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Clusters_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Clusters_Update", + "operationId": "Clusters_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "clusterUpdate": { + "properties": { + "clusterSize": 4 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center", + "fakehost25.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..192fd86a81b1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_CreateOrUpdate.json @@ -0,0 +1,49 @@ +{ + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1", + "datastore": { + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Creating", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Delete.json new file mode 100644 index 000000000000..493a41e8c018 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Get.json new file mode 100644 index 000000000000..44c06d42be58 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Datastores_Get", + "operationId": "Datastores_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_List.json new file mode 100644 index 000000000000..20ac1e6bf0c5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Datastores_List.json @@ -0,0 +1,71 @@ +{ + "title": "Datastores_List", + "operationId": "Datastores_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "diskPoolVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1", + "lunName": "lun0", + "mountOption": "MOUNT", + "path": "/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "elasticSanVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore3", + "name": "datastore3", + "properties": { + "pureStorageVolume": { + "storagePoolId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1", + "sizeGb": 64 + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..a9f65d294ae0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1", + "globalReachConnection": { + "properties": { + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "authorizationKey": "01010101-0101-0101-0101-010101010101" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..b3be25c319be --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..cb924b142e40 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_Get.json @@ -0,0 +1,28 @@ +{ + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_List.json new file mode 100644 index 000000000000..0a680686a575 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/GlobalReachConnections_List.json @@ -0,0 +1,31 @@ +{ + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..c3746ec0d426 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1", + "hcxEnterpriseSite": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..58c7357a0c6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Delete.json @@ -0,0 +1,15 @@ +{ + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..eba7a7cbfd80 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_Get.json @@ -0,0 +1,24 @@ +{ + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..558f0401f38e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/HcxEnterpriseSites_List.json @@ -0,0 +1,27 @@ +{ + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_Get.json new file mode 100644 index 000000000000..7cab9913ba02 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Hosts_Get", + "operationId": "Hosts_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "hostId": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/Hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-209", + "fqdn": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "faultDomain": "1" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_List.json new file mode 100644 index 000000000000..c48fe0aa0cbd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Hosts_List.json @@ -0,0 +1,65 @@ +{ + "title": "Hosts_List", + "operationId": "Hosts_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-209", + "fqdn": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "faultDomain": "1" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-128", + "maintenance": "Replacement" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r65.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r65.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "properties": { + "kind": "Specialized" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..48e8c1aaf463 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "iscsiPathName": "default", + "resource": { + "properties": { + "networkBlock": "192.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Pending" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Delete.json new file mode 100644 index 000000000000..f5d55b82b1e1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Get.json new file mode 100644 index 000000000000..fb96cdddc68e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_List.json new file mode 100644 index 000000000000..285ac709719a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_CreateOrUpdate.json new file mode 100644 index 000000000000..a11f8042db1c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_CreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "title": "Licenses_CreateOrUpdate", + "operationId": "Licenses_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall", + "resource": {}, + "license": { + "kind": "VmwareFirewall", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Delete.json new file mode 100644 index 000000000000..cd17320d51d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Licenses_Delete", + "operationId": "Licenses_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2025-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Get.json new file mode 100644 index 000000000000..e2ba56fc3b9e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Licenses_Get", + "operationId": "Licenses_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "provisioningState": "Succeeded", + "endDate": "2025-06-01T00:00:00Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_GetProperties.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_GetProperties.json new file mode 100644 index 000000000000..72af14f57e2a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_GetProperties.json @@ -0,0 +1,24 @@ +{ + "title": "Licenses_GetProperties", + "operationId": "Licenses_GetProperties", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "200": { + "body": { + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "kind": "VmwareFirewall", + "provisioningState": "Succeeded" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_List.json new file mode 100644 index 000000000000..00028d2c1aad --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Licenses_List.json @@ -0,0 +1,31 @@ +{ + "title": "Licenses_List", + "operationId": "Licenses_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/vcf-license-001", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "provisioningState": "Succeeded", + "endDate": "2025-01-01T00:00:00Z", + "cores": 64, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..848035793a8c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckQuotaAvailability.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckQuotaAvailability", + "operationId": "Locations_CheckQuotaAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..1c779f1d6d4e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "Locations_CheckTrialAvailability", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..0831c0353fd9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Locations_CheckTrialAvailabilityWithSku.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckTrialAvailabilityWithSku", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Get.json new file mode 100644 index 000000000000..917171f49bb0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Get.json @@ -0,0 +1,139 @@ +{ + "title": "Maintenances_Get", + "operationId": "Maintenances_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_InitiateChecks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_InitiateChecks.json new file mode 100644 index 000000000000..1eb1b4463f33 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_InitiateChecks.json @@ -0,0 +1,139 @@ +{ + "title": "Maintenances_InitiateChecks", + "operationId": "Maintenances_InitiateChecks", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2025-11-12T11:00:11.830Z", + "endedAt": "2025-11-12T16:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_List.json new file mode 100644 index 000000000000..bca408e90b0f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_List.json @@ -0,0 +1,268 @@ +{ + "title": "Maintenances_List", + "operationId": "Maintenances_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": true, + "disabledReason": "Refresh in Progress", + "status": "InProgress", + "refreshedByMicrosoft": true, + "message": "Please try again later" + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", + "name": "maintenance2", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-19T06:21:31.961Z" + } + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Reschedule.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Reschedule.json new file mode 100644 index 000000000000..56861bcd1e8f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Reschedule.json @@ -0,0 +1,143 @@ +{ + "title": "Maintenances_Reschedule", + "operationId": "Maintenances_Reschedule", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "rescheduleTime": "2023-01-12T16:17:55.237Z", + "message": "Rescheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Schedule.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Schedule.json new file mode 100644 index 000000000000..e5db10d712c5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Maintenances_Schedule.json @@ -0,0 +1,120 @@ +{ + "title": "Maintenances_Schedule", + "operationId": "Maintenances_Schedule", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "scheduleTime": "2025-09-12T16:17:55.237Z", + "message": "scheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "Please schedule maintenance in scheduling window", + "startedAt": "2025-09-12T16:17:55.237Z", + "endedAt": "2025-09-12T19:00:11.830Z", + "name": "NotScheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Operations_List.json new file mode 100644 index 000000000000..565727f7106d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Operations_List.json @@ -0,0 +1,324 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "display": { + "description": "Lists operations available on Microsoft.AVS resource provider.", + "operation": "List available Microsoft.AVS operations", + "provider": "Microsoft.AVS", + "resource": "operations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/operations/read", + "origin": "user,system" + }, + { + "display": { + "description": "Register Subscription for Microsoft.AVS resource provider.", + "operation": "Register Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/register/action", + "origin": "user,system" + }, + { + "display": { + "description": "Unregister Subscription for Microsoft.AVS resource provider.", + "operation": "Unregister Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/unregister/action", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/checkNameAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkNameAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if quota is available for the subscription", + "operation": "Check Quota Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkQuotaAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkQuotaAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if trial is available for the subscription", + "operation": "Check Trial Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkTrialAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkTrialAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Registers the Microsoft Microsoft.AVS resource provider and enables creation of Private Clouds.", + "operation": "Register Microsoft.AVS resource provider.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/register/action", + "origin": "user,system" + }, + { + "display": { + "description": "Creates or updates a PrivateCloud resource.", + "operation": "Create or update a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/write", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the settings for the specified PrivateCloud.", + "operation": "Read PrivateCloud settings", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/read", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud.", + "operation": "Delete a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds operationstatuses.", + "operation": "Read privateClouds operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationstatuses/read", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the cluster settings for a PrivateCloud cluster.", + "operation": "Read Cluster settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a PrivateCloud cluster resource.", + "operation": "Create or update a PrivateCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud cluster.", + "operation": "Delete a PriveCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds/clusters operationstatuses.", + "operation": "Read privateClouds/clusters operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/operationstatuses/read", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds/clusters operationresults.", + "operation": "Read privateClouds/clusters operationresults", + "provider": "Microsoft.AVS", + "resource": "privateclouds/clusters/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateclouds/clusters/operationresults/read", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds operationresults.", + "operation": "Read privateClouds operationresults", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationresults/read", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the authorization settings for a PrivateCloud cluster.", + "operation": "Read Authorization settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a PrivateCloud authorization resource.", + "operation": "Create or update a PrivateCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud authorization.", + "operation": "Delete a PriveCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Lists the AdminCredentials for privateClouds.", + "operation": "List privateClouds AdminCredentials", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": true, + "name": "Microsoft.AVS/privateClouds/listAdminCredentials/action", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the hcxEnterpriseSites for a PrivateCloud.", + "operation": "Read hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a hcxEnterpriseSites.", + "operation": "Create or update a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific hcxEnterpriseSites.", + "operation": "Delete a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the hostInstances for a PrivateCloud.", + "operation": "Read hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a hostInstances.", + "operation": "Create or update a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific hostInstances.", + "operation": "Delete a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/delete", + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..69b3e7fb9ee1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,84 @@ +{ + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicy": { + "properties": { + "type": "VmHost", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..636e5d8273eb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Get.json new file mode 100644 index 000000000000..c21a2271e4fb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Get.json @@ -0,0 +1,39 @@ +{ + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_List.json new file mode 100644 index 000000000000..4ca7d8bd0f7a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_List.json @@ -0,0 +1,58 @@ +{ + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2", + "name": "policy2", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy2", + "type": "VmVm", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "affinityType": "Affinity", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Update.json new file mode 100644 index 000000000000..f22091afa325 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PlacementPolicies_Update.json @@ -0,0 +1,83 @@ +{ + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicyUpdate": { + "properties": { + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..51aa3ece50e8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,165 @@ +{ + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "vsanDatastoreName": "vsanDatastore1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_FleetNative.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_FleetNative.json new file mode 100644 index 000000000000..642ab7ffca55 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_FleetNative.json @@ -0,0 +1,151 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_FleetNative", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV64" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/virtualNetworks/vnet", + "dnsZoneType": "Private", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "properties": { + "availability": { + "strategy": "SingleZone" + }, + "dnsZoneType": "Private", + "encryption": { + "status": "Disabled" + }, + "endpoints": { + "hcxCloudManager": "https://hcx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "hcxCloudManagerIp": "10.31.0.37", + "nsxtManager": "https://nsx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "nsxtManagerIp": "10.31.0.4", + "vcenterIp": "10.31.0.36", + "vcsa": "https://vc.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/" + }, + "externalCloudLinks": [], + "identitySources": [], + "internet": "Disabled", + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ], + "provisioningState": "Building", + "vsanDatastoreName": "vsanDatastore" + }, + "managementNetwork": "10.31.0.0/26", + "networkBlock": "10.31.0.0/22", + "nsxPublicIpQuotaRaised": "Disabled", + "provisioningState": "Building", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/virtualNetworks/mock-vnet", + "vmotionNetwork": "10.31.2.0/24", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + }, + "sku": { + "name": "av64" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "properties": { + "availability": { + "strategy": "SingleZone" + }, + "dnsZoneType": "Private", + "encryption": { + "status": "Disabled" + }, + "endpoints": { + "hcxCloudManager": "https://hcx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "hcxCloudManagerIp": "10.31.0.37", + "nsxtManager": "https://nsx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "nsxtManagerIp": "10.31.0.4", + "vcenterIp": "10.31.0.36", + "vcsa": "https://vc.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/" + }, + "externalCloudLinks": [], + "identitySources": [], + "internet": "Disabled", + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ], + "provisioningState": "Building", + "vsanDatastoreName": "vsanDatastore" + }, + "managementNetwork": "10.31.0.0/26", + "networkBlock": "10.31.0.0/22", + "nsxPublicIpQuotaRaised": "Disabled", + "provisioningState": "Building", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/virtualNetworks/mock-vnet", + "vmotionNetwork": "10.31.2.0/24", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + }, + "sku": { + "name": "av64" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..3a67f601bb86 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,178 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json new file mode 100644 index 000000000000..039b24a49062 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -0,0 +1,177 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_StretchedZones", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Delete.json new file mode 100644 index 000000000000..b449a2197ee4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get.json new file mode 100644 index 000000000000..42b95c711687 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get.json @@ -0,0 +1,96 @@ +{ + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "identity": { + "principalId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "tenantId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "type": "SystemAssigned" + }, + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "keyState": "Connected", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_GetVcfLicense.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_GetVcfLicense.json new file mode 100644 index 000000000000..be2d9cd891b6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_GetVcfLicense.json @@ -0,0 +1,23 @@ +{ + "title": "PrivateClouds_GetVcfLicense", + "operationId": "PrivateClouds_GetVcfLicense", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..157bea859f54 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Get_Stretched.json @@ -0,0 +1,88 @@ +{ + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List.json new file mode 100644 index 000000000000..6beb0b57e5f9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List.json @@ -0,0 +1,84 @@ +{ + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..91a68e00827d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "nsxtPassword": "$(1X4Dkk", + "nsxtUsername": "admin", + "vcenterPassword": "", + "vcenterUsername": "cloudadmin@vsphere.local" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..7c0cb1287c74 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription.json @@ -0,0 +1,80 @@ +{ + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..b36853c618f4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..456fbb7e90c3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_List_Stretched.json @@ -0,0 +1,90 @@ +{ + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..f9999528cdf5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..4929c0abe8d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update.json new file mode 100644 index 000000000000..bc619772057e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update.json @@ -0,0 +1,160 @@ +{ + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "identity": { + "type": "None" + }, + "properties": { + "managementCluster": { + "clusterSize": 4 + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Disabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..1bd34134c923 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PrivateClouds_Update_Stretched.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "properties": { + "managementCluster": { + "clusterSize": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_Get.json new file mode 100644 index 000000000000..e990114ad6b9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "ProvisionedNetworks_Get", + "operationId": "ProvisionedNetworks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "provisionedNetworkName": "vsan" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_List.json new file mode 100644 index 000000000000..3119c664d575 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ProvisionedNetworks_List.json @@ -0,0 +1,45 @@ +{ + "title": "ProvisionedNetworks_List", + "operationId": "ProvisionedNetworks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", + "name": "esxvmot", + "properties": { + "addressPrefix": "10.0.1.128/25", + "networkType": "esxvmot" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", + "name": "mgmtvnet", + "properties": { + "addressPrefix": "10.0.3.128/26", + "networkType": "mgmtvnet" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..2d744d9ba180 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_CreateOrUpdate.json @@ -0,0 +1,43 @@ +{ + "title": "PureStoragePolicies_CreateOrUpdate", + "operationId": "PureStoragePolicies_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1", + "resource": { + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Delete.json new file mode 100644 index 000000000000..2e8be1e79999 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PureStoragePolicies_Delete", + "operationId": "PureStoragePolicies_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Get.json new file mode 100644 index 000000000000..19312188f284 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_Get.json @@ -0,0 +1,25 @@ +{ + "title": "PureStoragePolicies_Get", + "operationId": "PureStoragePolicies_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_List.json new file mode 100644 index 000000000000..b0da9105c57c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/PureStoragePolicies_List.json @@ -0,0 +1,28 @@ +{ + "title": "PureStoragePolicies_List", + "operationId": "PureStoragePolicies_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..501a49fff3f6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_Get.json @@ -0,0 +1,49 @@ +{ + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2", + "scriptCmdletName": "New-ExternalSsoDomain" + }, + "responses": { + "200": { + "body": { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_List.json new file mode 100644 index 000000000000..5aa4e762de4f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptCmdlets_List.json @@ -0,0 +1,78 @@ +{ + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Set-AvsStoragePolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/Set-AvsStoragePolicy", + "properties": { + "description": "Allow user to set the storage policy of the specified VM", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "VM", + "description": "VM to set the storage policy on", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "StoragePolicyName", + "description": "Name of the storage policy to set", + "type": "String", + "visibility": "Visible", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + }, + { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..632f73b946c6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptExecution": { + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "hiddenParameters": [ + { + "name": "Password", + "type": "SecureValue", + "secureValue": "PlaceholderPassword" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "output": [ + "IdentitySource: placeholder.dc", + "BaseDN='dc=placeholder, dc=local" + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Running", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..79b6be18edd5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Get.json new file mode 100644 index 000000000000..4d661ecc8208 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_Get.json @@ -0,0 +1,42 @@ +{ + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..7f3703b47ec8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,44 @@ +{ + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptOutputStreamType": [ + "Information", + "Warnings", + "Errors", + "Output" + ] + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "timeout": "P0Y0M0D0H060M0S", + "output": [ + "Most recent output", + "Second most recent output" + ], + "errors": [ + "Most recent error output", + "Second most error recent output" + ], + "warnings": [ + "Most recent warning output", + "Second most recent warning output" + ], + "information": [ + "Most recent information output", + "Second most recent information output" + ] + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_List.json new file mode 100644 index 000000000000..fe3d638930ac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptExecutions_List.json @@ -0,0 +1,45 @@ +{ + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Failed", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_Get.json new file mode 100644 index 000000000000..2a9f7fc88bf6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_Get.json @@ -0,0 +1,26 @@ +{ + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "Microsoft.AVS.Management@3.0.48" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_List.json new file mode 100644 index 000000000000..b842018b5339 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ScriptPackages_List.json @@ -0,0 +1,40 @@ +{ + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + }, + { + "name": "JSDR.Configuration@1.0.0", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0.0", + "properties": { + "description": "Various cmdlets by Jetstream for Private Cloud administration", + "version": "1.0.0", + "company": "Jetstream Software", + "uri": "https://www.jetstreamsoft.com/about/support/" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ServiceComponents_CheckAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ServiceComponents_CheckAvailability.json new file mode 100644 index 000000000000..e8da4c64918b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/ServiceComponents_CheckAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "ServiceComponents_CheckAvailability_SpecificComponent", + "operationId": "ServiceComponents_CheckAvailability", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus2", + "serviceComponentName": "all" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/westus2/serviceComponents/all/operationstatuses/12345678-1234-1234-1234-123456789012?api-version=2025-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Skus_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Skus_List.json new file mode 100644 index 000000000000..93480f518492 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/Skus_List.json @@ -0,0 +1,134 @@ +{ + "title": "Skus_List", + "operationId": "Skus_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "576" + }, + { + "name": "StorageCacheTB", + "value": "3.2" + }, + { + "name": "StorageTB", + "value": "15.2" + }, + { + "name": "HostType", + "value": "he" + } + ], + "locationInfo": [ + { + "location": "australiaeast", + "zoneDetails": [], + "zones": [ + "1" + ] + } + ], + "locations": [ + "australiaeast" + ], + "name": "av36", + "resourceType": "privateClouds", + "restrictions": [] + }, + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "768" + }, + { + "name": "StorageCacheTB", + "value": "1.5" + }, + { + "name": "StorageTB", + "value": "19.2" + }, + { + "name": "HostType", + "value": "he2" + } + ], + "locationInfo": [ + { + "location": "centralindia", + "zoneDetails": [], + "zones": [ + "3" + ] + } + ], + "locations": [ + "centralindia" + ], + "name": "av36p", + "resourceType": "privateClouds", + "restrictions": [] + }, + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "768" + }, + { + "name": "StorageCacheTB", + "value": "1.5" + }, + { + "name": "StorageTB", + "value": "19.2" + }, + { + "name": "HostType", + "value": "he2" + } + ], + "locationInfo": [ + { + "location": "westeurope", + "zoneDetails": [], + "zones": [ + "2", + "3" + ] + } + ], + "locations": [ + "westeurope" + ], + "name": "av36pt", + "resourceType": "privateClouds", + "restrictions": [] + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_Get.json new file mode 100644 index 000000000000..31d756b64be2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_Get.json @@ -0,0 +1,27 @@ +{ + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_List.json new file mode 100644 index 000000000000..7c512004a237 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_List.json @@ -0,0 +1,41 @@ +{ + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm1", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "name": "vm-128", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm2", + "moRefId": "vm-128", + "folderPath": "vm", + "restrictMovement": "Enabled" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_RestrictMovement.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..9443da80481a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/VirtualMachines_RestrictMovement.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209", + "restrictMovement": { + "restrictMovement": "Enabled" + } + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..d0a9f992c6d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..0a6565e46388 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..bca7f0300441 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..e54ec5c101da --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..41c73ae5b602 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1", + "workloadNetworkPublicIP": { + "properties": { + "displayName": "publicIP1", + "numberOfPublicIPs": 32 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..e1a29cd73d2f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,66 @@ +{ + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..99753ab421bc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..138e481d9faf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..5ba1b72d9bd1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..5c4bbde2c5b8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..09aa5db5473f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..d51f8452216a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..5a846bc3d229 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..2f23ffa3e642 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..ca7214ca6642 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_Get.json @@ -0,0 +1,19 @@ +{ + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..29389c439aba --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..7d227281ef20 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..ca5eef771611 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..849ee1600e6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetGateway.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "gatewayId": "gateway1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/gateways" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..4011e2c7a7fb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..527967a78e2b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..9ac4c6026d7c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..1f25e8f712d5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..30e0bda6910c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "virtualMachineId": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_List.json new file mode 100644 index 000000000000..0f804fa16974 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_List.json @@ -0,0 +1,23 @@ +{ + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..34bb30e3ee81 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..2b8e0b2aff0b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..73b6df5e5d25 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,33 @@ +{ + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..5c004b99e572 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListGateways.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..1fb468bb193b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "cloud1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..2bf023a5c1b3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..19fd00b6e99c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListSegments.json @@ -0,0 +1,40 @@ +{ + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..4745207d1a2b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..bb4ae7bec27f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..1d689f9a936d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..bb70a164e723 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..0b56331482f7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..d4a0a7da6fd3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..fe7dad1cd939 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,54 @@ +{ + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..ae3a3c2bf56c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/examples/2025-09-01/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/licenses.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/licenses.tsp new file mode 100644 index 000000000000..ad53ecf959fa --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/licenses.tsp @@ -0,0 +1,147 @@ +namespace Microsoft.AVS; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; + +@armResourceOperations +@added(Versions.v2025_09_01) +interface Licenses { + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteWithoutOkAsync; + + getProperties is ArmResourceActionSyncNoRequestBody< + License, + LicenseProperties + >; +} + +@doc("A license resource") +@parentResource(PrivateCloud) +model License is ProxyResource { + @doc("Name of the license.") + @pattern("^[-\\w\\._]+$") + @key("licenseName") + @path + @segment("licenses") + name: LicenseName; +} + +@doc("The name of the license.") +union LicenseName { + string, + + @doc("VMware Firewall license") + VmwareFirewall: "VmwareFirewall", +} + +@doc("The kind of license.") +union LicenseKind { + string, + VmwareFirewall: "VmwareFirewall", +} + +@doc("The properties of a license") +@discriminator("kind") +model LicenseProperties { + @doc("License kind") + kind: LicenseKind; + + @doc("The state of the license provisioning") + @visibility(Lifecycle.Read) + provisioningState?: LicenseProvisioningState; +} + +@doc("provisioning state of the license") +union LicenseProvisioningState { + string, + ResourceProvisioningState, +} + +@doc("The properties of a VMware Firewall license") +model VmwareFirewallLicenseProperties extends LicenseProperties { + @doc("License kind") + kind: LicenseKind.VmwareFirewall; + + @doc("License key") + @secret + licenseKey?: string; + + @doc("Number of cores included in the license, measured per hour") + cores: int32; + + @doc("UTC datetime when the license expires") + endDate: utcDateTime; + + @doc("The Broadcom site ID associated with the license.") + broadcomSiteId?: string; + + @doc("The Broadcom contract number associated with the license.") + broadcomContractNumber?: string; + + @doc("Additional labels passed through for license reporting.") + @identifiers(#["key"]) + labels?: Label[]; +} + +@doc("A key-value pair representing a label.") +model Label { + @doc("The key of the label.") + @minLength(1) + key: string; + + @doc("The value of the label.") + @minLength(1) + value: string; +} + +@doc("The kind of license.") +union VcfLicenseKind { + string, + + @doc("A VMware Cloud Foundation (VCF) 5.0 license") + Vcf5: "vcf5", +} + +@doc("A VMware Cloud Foundation license") +@discriminator("kind") +model VcfLicense { + @doc("License kind") + kind: VcfLicenseKind; + + @doc("The state of the license provisioning") + @visibility(Lifecycle.Read) + provisioningState?: LicenseProvisioningState; +} + +@doc("A VMware Cloud Foundation (VCF) 5.0 license") +model Vcf5License extends VcfLicense { + @doc("License kind") + kind: VcfLicenseKind.Vcf5; + + @doc("License key") + @secret + licenseKey?: string; + + @doc("Number of cores included in the license") + cores: int32; + + @doc("UTC datetime when the license expires") + endDate: utcDateTime; + + @doc("The Broadcom site ID associated with the license.") + broadcomSiteId?: string; + + @doc("The Broadcom contract number associated with the license.") + broadcomContractNumber?: string; + + @doc("Additional labels passed through for license reporting.") + @identifiers(#["key"]) + labels?: Label[]; +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/main.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/main.tsp index b6eec73dece4..88c6077f8f21 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/main.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/main.tsp @@ -16,7 +16,9 @@ import "./globalReachConnections.tsp"; import "./hcxEnterpriseSites.tsp"; import "./hosts.tsp"; import "./iscsiPaths.tsp"; +import "./licenses.tsp"; import "./locations.tsp"; +import "./maintenances.tsp"; import "./placementPolicies.tsp"; import "./privateClouds.tsp"; import "./provisionedNetworks.tsp"; @@ -24,6 +26,7 @@ import "./pureStoragePolicies.tsp"; import "./scriptCmdlets.tsp"; import "./scriptExecutions.tsp"; import "./scriptPackages.tsp"; +import "./serviceComponents.tsp"; import "./skus.tsp"; import "./virtualMachines.tsp"; import "./workloadNetworks-dhcpConfigurations.tsp"; @@ -39,7 +42,6 @@ import "./workloadNetworks.tsp"; import "./back-compatible.tsp"; using Azure.ResourceManager; -using TypeSpec.Http; using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." @@ -58,6 +60,10 @@ enum Versions { @doc("Azure VMware Solution API version 2024-09-01.") @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2024_09_01: "2024-09-01", + + @doc("Azure VMware Solution API version 2025-09-01.") + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2025_09_01: "2025-09-01", } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/maintenances.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/maintenances.tsp new file mode 100644 index 000000000000..bc55684696a7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/maintenances.tsp @@ -0,0 +1,557 @@ +namespace Microsoft.AVS; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; + +@armResourceOperations +@added(Versions.v2025_09_01) +interface Maintenances { + @doc("List {name} resources by subscription ID", Maintenance) + list is ArmResourceListByParent< + Maintenance, + Parameters = { + @query + @doc("Filter maintenances based on state") + stateName?: MaintenanceStateName; + + @query + @doc("Filter active or inactive maintenances") + status?: MaintenanceStatusFilter; + + @query + @doc("date from which result should be returned. ie. scheduledStartTime >= from") + from?: utcDateTime; + + @query + @doc("date till which result should be returned. i.e. scheduledStartTime <= to") + to?: utcDateTime; + }, + Response = ArmResponse> + >; + @added(Versions.v2025_09_01) + get is ArmResourceRead; + + @doc("Reschedule a maintenance") + reschedule is ArmResourceActionSync< + Maintenance, + MaintenanceReschedule, + Maintenance + >; + + @doc("Schedule a maintenance") + schedule is ArmResourceActionSync< + Maintenance, + MaintenanceSchedule, + Maintenance + >; + + @doc("Initiate maintenance readiness checks") + initiateChecks is ArmResourceActionSyncNoRequestBody< + Maintenance, + Maintenance + >; +} + +@doc("reschedule a maintenance") +model MaintenanceReschedule { + @doc("reschedule time") + rescheduleTime?: utcDateTime; + + @doc("rescheduling reason") + message?: string; +} + +@doc("schedule a maintenance") +model MaintenanceSchedule { + @doc("schedule time") + scheduleTime?: utcDateTime; + + @doc("scheduling message") + message?: string; +} + +@doc("A cluster resource") +@parentResource(PrivateCloud) +model Maintenance is ProxyResource { + @doc("Name of the maintenance") + @pattern("^[-\\w\\._]+$") + @key("maintenanceName") + @path + @segment("maintenances") + name: string; +} + +@doc("status filter for the maintenance") +union MaintenanceStatusFilter { + string, + + @doc("is active") + Active: "Active", + + @doc("is inactive") + Inactive: "Inactive", +} + +@doc("provisioning state of the maintenance") +union MaintenanceProvisioningState { + string, + ResourceProvisioningState, + + @doc("is updating") + Updating: "Updating", +} + +@doc("type of the maintenance") +union MaintenanceType { + string, + + @doc("maintenance for vCenter Server Appliance") + VCSA: "VCSA", + + @doc("maintenance for ESXi") + ESXI: "ESXI", + + @doc("maintenance for NSX-T") + NSXT: "NSXT", +} + +@doc("state of the maintenance") +model MaintenanceState { + @doc("Customer presentable maintenance state") + name?: MaintenanceStateName; + + @doc("Failure/Success info") + message?: string; + + @doc("Time when current state started") + startedAt?: utcDateTime; + + @doc("Time when current state ended") + endedAt?: utcDateTime; +} + +@doc("Customer presentable maintenance state") +union MaintenanceStateName { + string, + + @doc("Maintenance Not Scheduled") + NotScheduled: "NotScheduled", + + @doc("Maintenance Scheduled") + Scheduled: "Scheduled", + + @doc("Maintenance In Progress") + InProgress: "InProgress", + + @doc("Maintenance Succeeded") + Success: "Success", + + @doc("Maintenance Failed") + Failed: "Failed", + + @doc("Maintenance Cancelled") + Canceled: "Canceled", +} + +@doc("properties of a maintenance") +model MaintenanceProperties { + @doc("type of maintenance") + @visibility(Lifecycle.Read) + component?: MaintenanceType; + + @doc("Display name for maintenance") + @visibility(Lifecycle.Read) + displayName?: string; + + @doc("Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level") + @visibility(Lifecycle.Read) + clusterId?: int32; + + @doc("Link to maintenance info") + @visibility(Lifecycle.Read) + infoLink?: string; + + @doc("Impact on the resource during maintenance period") + @visibility(Lifecycle.Read) + impact?: string; + + @doc("If maintenance is scheduled by Microsoft") + @visibility(Lifecycle.Read) + scheduledByMicrosoft?: boolean; + + @doc("The state of the maintenance") + @visibility(Lifecycle.Read) + state?: MaintenanceState; + + @doc("Scheduled maintenance start time") + @visibility(Lifecycle.Read) + scheduledStartTime?: utcDateTime; + + @doc("Estimated time maintenance will take in minutes") + @visibility(Lifecycle.Read) + estimatedDurationInMinutes?: int64; + + @doc("The provisioning state") + @visibility(Lifecycle.Read) + provisioningState?: MaintenanceProvisioningState; + + @doc("Operations on maintenance") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + operations?: MaintenanceManagementOperation[]; + + @doc("Indicates whether the maintenance is ready to proceed") + @visibility(Lifecycle.Read) + maintenanceReadiness?: MaintenanceReadiness; +} + +@doc("Reason for blocking operation on maintenance") +union BlockedDatesConstraintCategory { + string, + + @doc("Hi-Priority Event") + HiPriorityEvent: "HiPriorityEvent", + + @doc("Quota Exhausted") + QuotaExhausted: "QuotaExhausted", + + @doc("Holidays") + Holiday: "Holiday", +} + +@doc("Blocked Time range Constraints for maintenance") +model BlockedDatesConstraintTimeRange { + @doc("Start date time") + @visibility(Lifecycle.Read) + startsAt: utcDateTime; + + @doc("End date Time") + @visibility(Lifecycle.Read) + endsAt: utcDateTime; + + @doc("Reason category for blocking maintenance reschedule") + @visibility(Lifecycle.Read) + reason?: string; +} + +@doc("Defines the type of maintenance readiness check") +union MaintenanceCheckType { + string, + + @doc("Pre-check maintenance readiness") + Precheck: "Precheck", + + @doc("Pre-flight maintenance readiness") + Preflight: "Preflight", +} + +@doc("Defines the readiness status of maintenance") +union MaintenanceReadinessStatus { + string, + + @doc("The system is ready for maintenance") + Ready: "Ready", + + @doc("The system is not ready for maintenance") + NotReady: "NotReady", + + @doc("Data is not available to determine readiness") + DataNotAvailable: "DataNotAvailable", + + @doc("Readiness check is not applicable") + NotApplicable: "NotApplicable", +} + +@doc("Maintenance readiness details") +model MaintenanceReadiness { + @doc("The type of maintenance readiness check") + @visibility(Lifecycle.Read) + type: MaintenanceCheckType; + + @doc("The current readiness status of maintenance") + @visibility(Lifecycle.Read) + status: MaintenanceReadinessStatus; + + @doc("A summary message of the readiness check result") + @visibility(Lifecycle.Read) + message?: string; + + @doc("A list of failed checks, if any") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + failedChecks?: MaintenanceFailedCheck[]; + + @doc("The timestamp of the last readiness update") + @visibility(Lifecycle.Read) + lastUpdated?: utcDateTime; +} + +@doc("Details about a failed maintenance check") +model MaintenanceFailedCheck { + @doc("The name of the failed check") + @visibility(Lifecycle.Read) + name?: string; + + @doc("A list of resources impacted by the failed check") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + impactedResources?: ImpactedMaintenanceResource[]; +} + +@doc("Details about a resource impacted by a failed check") +model ImpactedMaintenanceResource { + @doc("The ID of the impacted resource") + @visibility(Lifecycle.Read) + id?: string; + + @doc("A list of errors associated with the impacted resource") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + errors?: ImpactedMaintenanceResourceError[]; +} + +@doc("Details about an error affecting a resource") +model ImpactedMaintenanceResourceError { + @doc("The error code") + @visibility(Lifecycle.Read) + errorCode?: string; + + @doc("The name of the error") + @visibility(Lifecycle.Read) + name?: string; + + @doc("Additional details about the error") + @visibility(Lifecycle.Read) + details?: string; + + @doc("Steps to resolve the error") + @visibility(Lifecycle.Read) + resolutionSteps?: string[]; + + @doc("Indicates whether action is required by the customer") + @visibility(Lifecycle.Read) + actionRequired?: boolean; +} + +//Define constraints common across maintenance operations in section below + +@doc("Time window in which Customer can schedule maintenance") +model AvailableWindowForMaintenance { + @doc("Start date time") + @visibility(Lifecycle.Read) + startsAt: utcDateTime; + + @doc("End date Time") + @visibility(Lifecycle.Read) + endsAt: utcDateTime; +} + +@doc("Time ranges blocked for operation on maintenance") +model BlockedMaintenanceWindow { + @doc("Category of blocked date") + @visibility(Lifecycle.Read) + category: BlockedDatesConstraintCategory; + + @doc("Date ranges blocked for schedule") + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["startsAt", "endsAt"]) + timeRanges?: BlockedDatesConstraintTimeRange[]; +} + +// Define operations on maintenance in section below + +@doc("Defines the type of operation") +union MaintenanceManagementOperationKind { + string, + + @doc("Represents a scheduling operation") + Schedule: "Schedule", + + @doc("Represents a rescheduling operation") + Reschedule: "Reschedule", + + @doc("Represents a maintenance readiness refresh operation") + MaintenanceReadinessRefresh: "MaintenanceReadinessRefresh", +} + +@doc("Defines operations that can be performed on maintenance") +@discriminator("kind") +model MaintenanceManagementOperation { + @doc("The kind of operation") + @visibility(Lifecycle.Read) + kind: MaintenanceManagementOperationKind; +} + +@doc("Scheduling window constraint") +model ScheduleOperation extends MaintenanceManagementOperation { + @doc("The kind of operation") + kind: MaintenanceManagementOperationKind.Schedule; + + @doc("If scheduling is disabled") + @visibility(Lifecycle.Read) + isDisabled?: boolean; + + @doc("Reason for schedule disabled") + @visibility(Lifecycle.Read) + disabledReason?: string; + + @doc("Constraints for scheduling maintenance") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + constraints?: ScheduleOperationConstraint[]; +} + +@doc("Constraints for scheduling of maintenance") +union ScheduleOperationConstraintKind { + string, + + @doc("Time window in which Customer has option to schedule maintenance") + SchedulingWindow: "SchedulingWindow", + + @doc("Time window in which maintenance can be scheduled") + AvailableWindowForMaintenanceWhileScheduleOperation: "AvailableWindowForMaintenance", + + @doc("Blocked time range constraint") + BlockedWhileScheduleOperation: "Blocked", +} + +@doc("Defines constraints for schedule operation on maintenance") +@discriminator("kind") +model ScheduleOperationConstraint { + @doc("The kind of operation") + @visibility(Lifecycle.Read) + kind: ScheduleOperationConstraintKind; +} + +@doc("Time window in which Customer has option to schedule maintenance") +model SchedulingWindow extends ScheduleOperationConstraint { + @doc("The kind of constraint") + kind: ScheduleOperationConstraintKind.SchedulingWindow; + + @doc("Start date time") + @visibility(Lifecycle.Read) + startsAt: utcDateTime; + + @doc("End date Time") + @visibility(Lifecycle.Read) + endsAt: utcDateTime; +} + +@doc("Time window in which Customer can to schedule maintenance") +model AvailableWindowForMaintenanceWhileScheduleOperation + extends ScheduleOperationConstraint { + @doc("The kind of constraint") + kind: ScheduleOperationConstraintKind.AvailableWindowForMaintenanceWhileScheduleOperation; + + ...AvailableWindowForMaintenance; +} + +@doc("Time ranges blocked for scheduling maintenance") +model BlockedWhileScheduleOperation extends ScheduleOperationConstraint { + @doc("The kind of constraint") + kind: ScheduleOperationConstraintKind.BlockedWhileScheduleOperation; + + ...BlockedMaintenanceWindow; +} + +@doc("Constraints for rescheduling maintenance") +model RescheduleOperation extends MaintenanceManagementOperation { + @doc("The kind of operation") + kind: MaintenanceManagementOperationKind.Reschedule; + + @doc("If rescheduling is disabled") + @visibility(Lifecycle.Read) + isDisabled?: boolean; + + @doc("Reason for reschedule disabled") + @visibility(Lifecycle.Read) + disabledReason?: string; + + @doc("Constraints for rescheduling maintenance") + @visibility(Lifecycle.Read) + @extension("x-ms-identifiers", #[]) + constraints?: RescheduleOperationConstraint[]; +} + +@doc("Constraints for rescheduling of maintenance") +union RescheduleOperationConstraintKind { + string, + + @doc("Time window in which maintenance can be rescheduled") + AvailableWindowForMaintenanceWhileRescheduleOperation: "AvailableWindowForMaintenance", + + @doc("Blocked time range constraint") + BlockedWhileRescheduleOperation: "Blocked", +} + +@doc("Defines constraints for reschedule operation on maintenance") +@discriminator("kind") +model RescheduleOperationConstraint { + @doc("The kind of operation") + @visibility(Lifecycle.Read) + kind: RescheduleOperationConstraintKind; +} + +@doc("Time window in which Customer can reschedule maintenance") +model AvailableWindowForMaintenanceWhileRescheduleOperation + extends RescheduleOperationConstraint { + @doc("The kind of constraint") + kind: RescheduleOperationConstraintKind.AvailableWindowForMaintenanceWhileRescheduleOperation; + + ...AvailableWindowForMaintenance; +} + +@doc("Time ranges blocked for rescheduling maintenance") +model BlockedWhileRescheduleOperation extends RescheduleOperationConstraint { + @doc("The kind of constraint") + kind: RescheduleOperationConstraintKind.BlockedWhileRescheduleOperation; + + ...BlockedMaintenanceWindow; +} + +@doc("Refresh MaintenanceReadiness status") +model MaintenanceReadinessRefreshOperation + extends MaintenanceManagementOperation { + @doc("The kind of operation") + kind: MaintenanceManagementOperationKind.MaintenanceReadinessRefresh; + + @doc("If maintenanceReadiness refresh is disabled") + @visibility(Lifecycle.Read) + isDisabled?: boolean; + + @doc("Reason disabling refresh for maintenanceReadiness") + @visibility(Lifecycle.Read) + disabledReason?: string; + + @doc("Status of the operation") + @visibility(Lifecycle.Read) + status?: MaintenanceReadinessRefreshOperationStatus; + + @doc("Indicates if the operation was refreshed by Microsoft") + @visibility(Lifecycle.Read) + refreshedByMicrosoft?: boolean; + + @doc("Additional message about the operation") + @visibility(Lifecycle.Read) + message?: string; +} + +@doc("The status of an MaintenanceReadinessRefresh operation") +union MaintenanceReadinessRefreshOperationStatus { + string, + + @doc("Operation is in progress") + InProgress: "InProgress", + + @doc("Operation has not started") + NotStarted: "NotStarted", + + @doc("Operation has failed") + Failed: "Failed", + + @doc("Operation is not applicable") + NotApplicable: "NotApplicable", +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/privateClouds.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/privateClouds.tsp index ee66b7b75414..19a74cc9885f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/privateClouds.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/privateClouds.tsp @@ -3,8 +3,8 @@ namespace Microsoft.AVS; using Azure.ClientGenerator.Core; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; using TypeSpec.Rest; +using TypeSpec.Versioning; alias PrivateCloudList = ResourceList; @armResourceOperations @@ -56,6 +56,10 @@ interface PrivateClouds { PrivateCloud, AdminCredentials >; + + @doc("Get the license for the private cloud") + @added(Versions.v2025_09_01) + getVcfLicense is ArmResourceActionSyncNoRequestBody; } @@clientName(PrivateClouds.createOrUpdate::parameters.resource, "privateCloud"); @@ -328,6 +332,10 @@ model PrivateCloudProperties { @doc("The type of DNS zone to use.") dnsZoneType?: DnsZoneType; + + @doc("The private cloud license") + @added(Versions.v2025_09_01) + vcfLicense?: VcfLicense; } @doc("An ExpressRoute Circuit") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/readme.md b/specification/vmware/resource-manager/Microsoft.AVS/AVS/readme.md index 658663a16ded..7d5067066805 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/readme.md +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/readme.md @@ -21,7 +21,16 @@ These are the global settings for the VMware Solution API. ``` yaml openapi-type: arm -tag: package-2024-09-01 +tag: package-2025-09-01 +``` + +### Tag: package-2025-09-01 + +These settings apply only when `--tag=package-2025-09-01` is specified on the command line. + +``` yaml $(tag) == 'package-2025-09-01' +input-file: +- stable/2025-09-01/vmware.json ``` ### Tag: package-2024-09-01 @@ -134,6 +143,7 @@ directive: - $.definitions.Addon.properties.properties - $.definitions.PlacementPolicy.properties.properties - $.definitions.WorkloadNetworkDhcp.properties.properties + - $.definitions.License.properties.properties suppressions: diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/serviceComponents.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/serviceComponents.tsp new file mode 100644 index 000000000000..be7156445a29 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/serviceComponents.tsp @@ -0,0 +1,44 @@ +namespace Microsoft.AVS; + +using Azure.ClientGenerator.Core; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; + +@armResourceOperations +interface ServiceComponents { + @doc("Return service component availability") + @added(Versions.v2025_09_01) + @access(Access.internal) + checkAvailability is ArmResourceActionAsyncBase< + ServiceComponent, + void, + ArmAcceptedLroResponse, + Foundations.BaseParameters + >; +} + +@doc("A service component resource") +@parentResource(Location) +model ServiceComponent is ProxyResource { + @doc("A service component") + @pattern("^[-\\w\\._]+$") + @key("serviceComponentName") + @path + @segment("serviceComponents") + name: string; +} + +@doc("service component provisioning state") +union ServiceComponentProvisioningState { + string, + ResourceProvisioningState, +} + +@doc("The properties of a service component resource") +model ServiceComponentProperties { + @doc("The provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ServiceComponentProvisioningState; +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..5f378391bf3d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc", + "addon": { + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..d9fa4efcb72a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX_With_Networks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX_With_Networks.json new file mode 100644 index 000000000000..afc6e34f6856 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_HCX_With_Networks.json @@ -0,0 +1,49 @@ +{ + "title": "Addons_CreateOrUpdate_HCX_With_Networks", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..f56b05fa8b1c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..8c2b57b700bd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr", + "addon": { + "properties": { + "addonType": "VR", + "vrsCount": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Delete.json new file mode 100644 index 000000000000..41803b2c9421 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Addons_Delete", + "operationId": "Addons_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..98760e2ddded --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_ArcReg.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX.json new file mode 100644 index 000000000000..ab1b2b64fad9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX_With_Networks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX_With_Networks.json new file mode 100644 index 000000000000..c16e8d9f1f21 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_HCX_With_Networks.json @@ -0,0 +1,27 @@ +{ + "title": "Addons_Get_HCX_With_Networks", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded", + "managementNetwork": "10.3.1.0/24", + "uplinkNetwork": "10.3.2.0/24" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_SRM.json new file mode 100644 index 000000000000..d79c5cd20235 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_SRM.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_VR.json new file mode 100644 index 000000000000..f67f2aaa4a46 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_Get_VR.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_VR", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_List.json new file mode 100644 index 000000000000..cb6ea2959206 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Addons_List.json @@ -0,0 +1,28 @@ +{ + "title": "Addons_List", + "operationId": "Addons_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..a8c585d68ea7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_CreateOrUpdate.json @@ -0,0 +1,37 @@ +{ + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1", + "authorization": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Delete.json new file mode 100644 index 000000000000..956f64a6aac2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Get.json new file mode 100644 index 000000000000..853b5fc02702 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_Get.json @@ -0,0 +1,26 @@ +{ + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_List.json new file mode 100644 index 000000000000..ebb66fde838a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Authorizations_List.json @@ -0,0 +1,29 @@ +{ + "title": "Authorizations_List", + "operationId": "Authorizations_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", + "expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..182bc9cbb5c3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1", + "cloudLink": { + "properties": { + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Building", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Delete.json new file mode 100644 index 000000000000..14aba09350c7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Get.json new file mode 100644 index 000000000000..eb8f5202efb0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_List.json new file mode 100644 index 000000000000..bf1cc4cdd563 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/CloudLinks_List.json @@ -0,0 +1,27 @@ +{ + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..10c208ae15a9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_CreateOrUpdate.json @@ -0,0 +1,54 @@ +{ + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "cluster": { + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Delete.json new file mode 100644 index 000000000000..c8c25598e565 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Get.json new file mode 100644 index 000000000000..4c29ddeb1761 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Get.json @@ -0,0 +1,33 @@ +{ + "title": "Clusters_Get", + "operationId": "Clusters_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center", + "fakehost25.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_List.json new file mode 100644 index 000000000000..21ddf962df81 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_List.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_List", + "operationId": "Clusters_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3, + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones.json new file mode 100644 index 000000000000..0814cebf0675 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones.json @@ -0,0 +1,27 @@ +{ + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..a660bcc7dca4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_ListZones_Stretched.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + }, + { + "hosts": [ + "fakehost74.nyc2.kubernetes.center", + "fakehost75.nyc2.kubernetes.center", + "fakehost76.nyc2.kubernetes.center" + ], + "zone": "1" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Update.json new file mode 100644 index 000000000000..90b8e4df0f6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Clusters_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Clusters_Update", + "operationId": "Clusters_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "clusterUpdate": { + "properties": { + "clusterSize": 4 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center", + "fakehost25.nyc1.kubernetes.center" + ], + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 4, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..192fd86a81b1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_CreateOrUpdate.json @@ -0,0 +1,49 @@ +{ + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1", + "datastore": { + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Creating", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Delete.json new file mode 100644 index 000000000000..493a41e8c018 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Get.json new file mode 100644 index 000000000000..44c06d42be58 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Datastores_Get", + "operationId": "Datastores_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_List.json new file mode 100644 index 000000000000..20ac1e6bf0c5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Datastores_List.json @@ -0,0 +1,71 @@ +{ + "title": "Datastores_List", + "operationId": "Datastores_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "diskPoolVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1", + "lunName": "lun0", + "mountOption": "MOUNT", + "path": "/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "elasticSanVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore3", + "name": "datastore3", + "properties": { + "pureStorageVolume": { + "storagePoolId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1", + "sizeGb": 64 + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..a9f65d294ae0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1", + "globalReachConnection": { + "properties": { + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "authorizationKey": "01010101-0101-0101-0101-010101010101" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..b3be25c319be --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..cb924b142e40 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_Get.json @@ -0,0 +1,28 @@ +{ + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_List.json new file mode 100644 index 000000000000..0a680686a575 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/GlobalReachConnections_List.json @@ -0,0 +1,31 @@ +{ + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", + "name": "connection1", + "properties": { + "addressPrefix": "10.2.3.16/29", + "authorizationKey": "01010101-0101-0101-0101-010101010101", + "circuitConnectionStatus": "Connected", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/globalReachConnections" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..c3746ec0d426 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1", + "hcxEnterpriseSite": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..58c7357a0c6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Delete.json @@ -0,0 +1,15 @@ +{ + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..eba7a7cbfd80 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_Get.json @@ -0,0 +1,24 @@ +{ + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..558f0401f38e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/HcxEnterpriseSites_List.json @@ -0,0 +1,27 @@ +{ + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_Get.json new file mode 100644 index 000000000000..7cab9913ba02 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Hosts_Get", + "operationId": "Hosts_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "hostId": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/Hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-209", + "fqdn": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "faultDomain": "1" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_List.json new file mode 100644 index 000000000000..c48fe0aa0cbd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Hosts_List.json @@ -0,0 +1,65 @@ +{ + "title": "Hosts_List", + "operationId": "Hosts_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-209", + "fqdn": "esx03-r52.1111111111111111111.westcentralus.prod.azure.com", + "faultDomain": "1" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "sku": { + "name": "av64" + }, + "properties": { + "kind": "General", + "displayName": "esx03-r60.1111111111111111111.westcentralus.prod.azure.com", + "moRefId": "host-128", + "maintenance": "Replacement" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r65.1111111111111111111.westcentralus.prod.azure.com", + "name": "esx03-r65.1111111111111111111.westcentralus.prod.azure.com", + "type": "Microsoft.AVS/privateClouds/clusters/hosts", + "zones": [ + "1" + ], + "properties": { + "kind": "Specialized" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..48e8c1aaf463 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "iscsiPathName": "default", + "resource": { + "properties": { + "networkBlock": "192.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Pending" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Delete.json new file mode 100644 index 000000000000..f5d55b82b1e1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Get.json new file mode 100644 index 000000000000..fb96cdddc68e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_List.json new file mode 100644 index 000000000000..285ac709719a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_CreateOrUpdate.json new file mode 100644 index 000000000000..a11f8042db1c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_CreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "title": "Licenses_CreateOrUpdate", + "operationId": "Licenses_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall", + "resource": {}, + "license": { + "kind": "VmwareFirewall", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Delete.json new file mode 100644 index 000000000000..cd17320d51d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Licenses_Delete", + "operationId": "Licenses_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2025-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Get.json new file mode 100644 index 000000000000..e2ba56fc3b9e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Licenses_Get", + "operationId": "Licenses_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/VmwareFirewall", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "provisioningState": "Succeeded", + "endDate": "2025-06-01T00:00:00Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_GetProperties.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_GetProperties.json new file mode 100644 index 000000000000..72af14f57e2a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_GetProperties.json @@ -0,0 +1,24 @@ +{ + "title": "Licenses_GetProperties", + "operationId": "Licenses_GetProperties", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "licenseName": "VmwareFirewall" + }, + "responses": { + "200": { + "body": { + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "kind": "VmwareFirewall", + "provisioningState": "Succeeded" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_List.json new file mode 100644 index 000000000000..00028d2c1aad --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Licenses_List.json @@ -0,0 +1,31 @@ +{ + "title": "Licenses_List", + "operationId": "Licenses_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/licenses/vcf-license-001", + "name": "VmwareFirewall", + "type": "Microsoft.AVS/privateClouds/licenses", + "properties": { + "kind": "VmwareFirewall", + "provisioningState": "Succeeded", + "endDate": "2025-01-01T00:00:00Z", + "cores": 64, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..848035793a8c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckQuotaAvailability.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckQuotaAvailability", + "operationId": "Locations_CheckQuotaAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..1c779f1d6d4e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "Locations_CheckTrialAvailability", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..0831c0353fd9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckTrialAvailabilityWithSku", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Get.json new file mode 100644 index 000000000000..917171f49bb0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Get.json @@ -0,0 +1,139 @@ +{ + "title": "Maintenances_Get", + "operationId": "Maintenances_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_InitiateChecks.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_InitiateChecks.json new file mode 100644 index 000000000000..1eb1b4463f33 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_InitiateChecks.json @@ -0,0 +1,139 @@ +{ + "title": "Maintenances_InitiateChecks", + "operationId": "Maintenances_InitiateChecks", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2025-11-12T11:00:11.830Z", + "endedAt": "2025-11-12T16:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_List.json new file mode 100644 index 000000000000..bca408e90b0f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_List.json @@ -0,0 +1,268 @@ +{ + "title": "Maintenances_List", + "operationId": "Maintenances_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": true, + "disabledReason": "Refresh in Progress", + "status": "InProgress", + "refreshedByMicrosoft": true, + "message": "Please try again later" + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", + "name": "maintenance2", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-19T06:21:31.961Z" + } + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Reschedule.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Reschedule.json new file mode 100644 index 000000000000..56861bcd1e8f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Reschedule.json @@ -0,0 +1,143 @@ +{ + "title": "Maintenances_Reschedule", + "operationId": "Maintenances_Reschedule", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "rescheduleTime": "2023-01-12T16:17:55.237Z", + "message": "Rescheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z", + "name": "Scheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "Reschedule", + "isDisabled": true, + "disabledReason": "Critical Update", + "constraints": [ + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-08-10T06:21:31.961Z", + "endsAt": "2025-08-19T06:21:31.961Z", + "reason": "US General Election 2024" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Schedule.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Schedule.json new file mode 100644 index 000000000000..e5db10d712c5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Maintenances_Schedule.json @@ -0,0 +1,120 @@ +{ + "title": "Maintenances_Schedule", + "operationId": "Maintenances_Schedule", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "scheduleTime": "2025-09-12T16:17:55.237Z", + "message": "scheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "message": "Please schedule maintenance in scheduling window", + "startedAt": "2025-09-12T16:17:55.237Z", + "endedAt": "2025-09-12T19:00:11.830Z", + "name": "NotScheduled" + }, + "provisioningState": "Succeeded", + "scheduledByMicrosoft": true, + "operations": [ + { + "kind": "Schedule", + "isDisabled": true, + "disabledReason": "Critical upgrade", + "constraints": [ + { + "kind": "SchedulingWindow", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "AvailableWindowForMaintenance", + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z" + }, + { + "kind": "Blocked", + "category": "HiPriorityEvent", + "timeRanges": [ + { + "startsAt": "2025-01-16T06:21:31.961Z", + "endsAt": "2025-01-16T06:21:31.961Z", + "reason": "2024 Summer Opening Ceremony" + } + ] + }, + { + "kind": "Blocked", + "category": "QuotaExhausted", + "timeRanges": [ + { + "startsAt": "2024-04-14T17:03:28.609Z", + "endsAt": "2024-04-15T17:03:28.609Z", + "reason": "No slots available" + }, + { + "startsAt": "2024-09-13T17:03:28.609Z", + "endsAt": "2024-09-26T17:03:28.609Z", + "reason": "No slots available" + } + ] + } + ] + }, + { + "kind": "MaintenanceReadinessRefresh", + "isDisabled": false, + "status": "InProgress", + "refreshedByMicrosoft": true + } + ], + "maintenanceReadiness": { + "type": "Precheck", + "status": "NotReady", + "message": "Some checks failed", + "failedChecks": [ + { + "name": "HostMaintPrecheck", + "impactedResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster2", + "errors": [ + { + "errorCode": "EVCINTERNALEPR_CDUNMOUNT", + "name": "CD-ROM Mounted", + "details": "Failed to unmount CD ROM mounted on vm", + "resolutionSteps": [ + "Please remove CDROM /usr/lib/vmware/isoimages/windows.iso mounted in VD000535 VM present in esx10-r06.p01.dummy.com Host" + ], + "actionRequired": true + } + ] + } + ] + } + ], + "lastUpdated": "2025-01-16T06:21:31.961Z" + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..565727f7106d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Operations_List.json @@ -0,0 +1,324 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "display": { + "description": "Lists operations available on Microsoft.AVS resource provider.", + "operation": "List available Microsoft.AVS operations", + "provider": "Microsoft.AVS", + "resource": "operations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/operations/read", + "origin": "user,system" + }, + { + "display": { + "description": "Register Subscription for Microsoft.AVS resource provider.", + "operation": "Register Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/register/action", + "origin": "user,system" + }, + { + "display": { + "description": "Unregister Subscription for Microsoft.AVS resource provider.", + "operation": "Unregister Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/unregister/action", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/checkNameAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkNameAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if quota is available for the subscription", + "operation": "Check Quota Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkQuotaAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkQuotaAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Checks if trial is available for the subscription", + "operation": "Check Trial Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkTrialAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkTrialAvailability/read", + "origin": "user,system" + }, + { + "display": { + "description": "Registers the Microsoft Microsoft.AVS resource provider and enables creation of Private Clouds.", + "operation": "Register Microsoft.AVS resource provider.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/register/action", + "origin": "user,system" + }, + { + "display": { + "description": "Creates or updates a PrivateCloud resource.", + "operation": "Create or update a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/write", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the settings for the specified PrivateCloud.", + "operation": "Read PrivateCloud settings", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/read", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud.", + "operation": "Delete a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds operationstatuses.", + "operation": "Read privateClouds operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationstatuses/read", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the cluster settings for a PrivateCloud cluster.", + "operation": "Read Cluster settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a PrivateCloud cluster resource.", + "operation": "Create or update a PrivateCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud cluster.", + "operation": "Delete a PriveCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds/clusters operationstatuses.", + "operation": "Read privateClouds/clusters operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/operationstatuses/read", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds/clusters operationresults.", + "operation": "Read privateClouds/clusters operationresults", + "provider": "Microsoft.AVS", + "resource": "privateclouds/clusters/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateclouds/clusters/operationresults/read", + "origin": "user,system" + }, + { + "display": { + "description": "Reads privateClouds operationresults.", + "operation": "Read privateClouds operationresults", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationresults/read", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the authorization settings for a PrivateCloud cluster.", + "operation": "Read Authorization settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a PrivateCloud authorization resource.", + "operation": "Create or update a PrivateCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific PrivateCloud authorization.", + "operation": "Delete a PriveCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Lists the AdminCredentials for privateClouds.", + "operation": "List privateClouds AdminCredentials", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": true, + "name": "Microsoft.AVS/privateClouds/listAdminCredentials/action", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the hcxEnterpriseSites for a PrivateCloud.", + "operation": "Read hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a hcxEnterpriseSites.", + "operation": "Create or update a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific hcxEnterpriseSites.", + "operation": "Delete a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/delete", + "origin": "user,system" + }, + { + "display": { + "description": "Gets the hostInstances for a PrivateCloud.", + "operation": "Read hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/read", + "origin": "user,system" + }, + { + "display": { + "description": "Create or update a hostInstances.", + "operation": "Create or update a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/write", + "origin": "user,system" + }, + { + "display": { + "description": "Delete a specific hostInstances.", + "operation": "Delete a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/delete", + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..69b3e7fb9ee1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,84 @@ +{ + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicy": { + "properties": { + "type": "VmHost", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..636e5d8273eb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Get.json new file mode 100644 index 000000000000..c21a2271e4fb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Get.json @@ -0,0 +1,39 @@ +{ + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_List.json new file mode 100644 index 000000000000..4ca7d8bd0f7a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_List.json @@ -0,0 +1,58 @@ +{ + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2", + "name": "policy2", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy2", + "type": "VmVm", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "affinityType": "Affinity", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Update.json new file mode 100644 index 000000000000..f22091afa325 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PlacementPolicies_Update.json @@ -0,0 +1,83 @@ +{ + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicyUpdate": { + "properties": { + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..51aa3ece50e8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,165 @@ +{ + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "vsanDatastoreName": "vsanDatastore1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_FleetNative.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_FleetNative.json new file mode 100644 index 000000000000..50dffe654407 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_FleetNative.json @@ -0,0 +1,151 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_FleetNative", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV64" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/virtualNetworks/vnet", + "dnsZoneType": "Private", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "properties": { + "availability": { + "strategy": "SingleZone" + }, + "dnsZoneType": "Private", + "encryption": { + "status": "Disabled" + }, + "endpoints": { + "hcxCloudManager": "https://hcx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "hcxCloudManagerIp": "10.31.0.37", + "nsxtManager": "https://nsx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "nsxtManagerIp": "10.31.0.4", + "vcenterIp": "10.31.0.36", + "vcsa": "https://vc.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/" + }, + "externalCloudLinks": [], + "identitySources": [], + "internet": "Disabled", + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ], + "provisioningState": "Building", + "vsanDatastoreName": "vsanDatastore" + }, + "managementNetwork": "10.31.0.0/26", + "networkBlock": "10.31.0.0/22", + "nsxPublicIpQuotaRaised": "Disabled", + "provisioningState": "Building", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/virtualNetworks/mock-vnet", + "vmotionNetwork": "10.31.2.0/24", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + }, + "sku": { + "name": "av64" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "properties": { + "availability": { + "strategy": "SingleZone" + }, + "dnsZoneType": "Private", + "encryption": { + "status": "Disabled" + }, + "endpoints": { + "hcxCloudManager": "https://hcx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "hcxCloudManagerIp": "10.31.0.37", + "nsxtManager": "https://nsx.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/", + "nsxtManagerIp": "10.31.0.4", + "vcenterIp": "10.31.0.36", + "vcsa": "https://vc.c2e20fa95ec249939dc7e3.mockenvavs.azure.com/" + }, + "externalCloudLinks": [], + "identitySources": [], + "internet": "Disabled", + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ], + "provisioningState": "Building", + "vsanDatastoreName": "vsanDatastore" + }, + "managementNetwork": "10.31.0.0/26", + "networkBlock": "10.31.0.0/22", + "nsxPublicIpQuotaRaised": "Disabled", + "provisioningState": "Building", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/virtualNetworks/mock-vnet", + "vmotionNetwork": "10.31.2.0/24", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + }, + "sku": { + "name": "av64" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..3a67f601bb86 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,178 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json new file mode 100644 index 000000000000..039b24a49062 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -0,0 +1,177 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_StretchedZones", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + }, + "vcfLicense": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Delete.json new file mode 100644 index 000000000000..b449a2197ee4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get.json new file mode 100644 index 000000000000..42b95c711687 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get.json @@ -0,0 +1,96 @@ +{ + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "identity": { + "principalId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "tenantId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "type": "SystemAssigned" + }, + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "keyState": "Connected", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_GetVcfLicense.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_GetVcfLicense.json new file mode 100644 index 000000000000..be2d9cd891b6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_GetVcfLicense.json @@ -0,0 +1,23 @@ +{ + "title": "PrivateClouds_GetVcfLicense", + "operationId": "PrivateClouds_GetVcfLicense", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "kind": "vcf5", + "licenseKey": "12345-12345-12345-12345-12345", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..157bea859f54 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Get_Stretched.json @@ -0,0 +1,88 @@ +{ + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List.json new file mode 100644 index 000000000000..6beb0b57e5f9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List.json @@ -0,0 +1,84 @@ +{ + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..91a68e00827d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "nsxtPassword": "$(1X4Dkk", + "nsxtUsername": "admin", + "vcenterPassword": "", + "vcenterUsername": "cloudadmin@vsphere.local" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..7c0cb1287c74 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription.json @@ -0,0 +1,80 @@ +{ + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..b36853c618f4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..456fbb7e90c3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_List_Stretched.json @@ -0,0 +1,90 @@ +{ + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "vcfLicense": { + "kind": "vcf5", + "endDate": "2025-12-31T23:59:59Z", + "cores": 16, + "broadcomSiteId": "123456", + "broadcomContractNumber": "123456", + "provisioningState": "Succeeded" + }, + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..f9999528cdf5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..4929c0abe8d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update.json new file mode 100644 index 000000000000..bc619772057e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update.json @@ -0,0 +1,160 @@ +{ + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "identity": { + "type": "None" + }, + "properties": { + "managementCluster": { + "clusterSize": 4 + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Disabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..1bd34134c923 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PrivateClouds_Update_Stretched.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "properties": { + "managementCluster": { + "clusterSize": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "identitySources": [ + { + "alias": "groupAlias", + "baseGroupDN": "ou=baseGroup", + "baseUserDN": "ou=baseUser", + "domain": "domain1", + "name": "group1", + "primaryServer": "ldaps://1.1.1.1:636/", + "secondaryServer": "ldaps://1.1.1.2:636/", + "ssl": "Enabled" + } + ], + "internet": "Disabled", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_Get.json new file mode 100644 index 000000000000..e990114ad6b9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "ProvisionedNetworks_Get", + "operationId": "ProvisionedNetworks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "provisionedNetworkName": "vsan" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_List.json new file mode 100644 index 000000000000..3119c664d575 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ProvisionedNetworks_List.json @@ -0,0 +1,45 @@ +{ + "title": "ProvisionedNetworks_List", + "operationId": "ProvisionedNetworks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", + "name": "esxvmot", + "properties": { + "addressPrefix": "10.0.1.128/25", + "networkType": "esxvmot" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", + "name": "mgmtvnet", + "properties": { + "addressPrefix": "10.0.3.128/26", + "networkType": "mgmtvnet" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..2d744d9ba180 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_CreateOrUpdate.json @@ -0,0 +1,43 @@ +{ + "title": "PureStoragePolicies_CreateOrUpdate", + "operationId": "PureStoragePolicies_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1", + "resource": { + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Delete.json new file mode 100644 index 000000000000..2e8be1e79999 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PureStoragePolicies_Delete", + "operationId": "PureStoragePolicies_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Get.json new file mode 100644 index 000000000000..19312188f284 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_Get.json @@ -0,0 +1,25 @@ +{ + "title": "PureStoragePolicies_Get", + "operationId": "PureStoragePolicies_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "storagePolicyName": "storagePolicy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_List.json new file mode 100644 index 000000000000..b0da9105c57c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/PureStoragePolicies_List.json @@ -0,0 +1,28 @@ +{ + "title": "PureStoragePolicies_List", + "operationId": "PureStoragePolicies_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1", + "name": "storagePolicy1", + "properties": { + "storagePolicyDefinition": "storagePolicyDefinition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/pureStoragePolicies" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..501a49fff3f6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_Get.json @@ -0,0 +1,49 @@ +{ + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2", + "scriptCmdletName": "New-ExternalSsoDomain" + }, + "responses": { + "200": { + "body": { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_List.json new file mode 100644 index 000000000000..5aa4e762de4f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptCmdlets_List.json @@ -0,0 +1,78 @@ +{ + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Set-AvsStoragePolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/Set-AvsStoragePolicy", + "properties": { + "description": "Allow user to set the storage policy of the specified VM", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "VM", + "description": "VM to set the storage policy on", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "StoragePolicyName", + "description": "Name of the storage policy to set", + "type": "String", + "visibility": "Visible", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + }, + { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..632f73b946c6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptExecution": { + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "hiddenParameters": [ + { + "name": "Password", + "type": "SecureValue", + "secureValue": "PlaceholderPassword" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "output": [ + "IdentitySource: placeholder.dc", + "BaseDN='dc=placeholder, dc=local" + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Running", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..79b6be18edd5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Get.json new file mode 100644 index 000000000000..4d661ecc8208 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_Get.json @@ -0,0 +1,42 @@ +{ + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..7f3703b47ec8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,44 @@ +{ + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptOutputStreamType": [ + "Information", + "Warnings", + "Errors", + "Output" + ] + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "timeout": "P0Y0M0D0H060M0S", + "output": [ + "Most recent output", + "Second most recent output" + ], + "errors": [ + "Most recent error output", + "Second most error recent output" + ], + "warnings": [ + "Most recent warning output", + "Second most recent warning output" + ], + "information": [ + "Most recent information output", + "Second most recent information output" + ] + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_List.json new file mode 100644 index 000000000000..fe3d638930ac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptExecutions_List.json @@ -0,0 +1,45 @@ +{ + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Failed", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_Get.json new file mode 100644 index 000000000000..2a9f7fc88bf6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_Get.json @@ -0,0 +1,26 @@ +{ + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "Microsoft.AVS.Management@3.0.48" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_List.json new file mode 100644 index 000000000000..b842018b5339 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ScriptPackages_List.json @@ -0,0 +1,40 @@ +{ + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + }, + { + "name": "JSDR.Configuration@1.0.0", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0.0", + "properties": { + "description": "Various cmdlets by Jetstream for Private Cloud administration", + "version": "1.0.0", + "company": "Jetstream Software", + "uri": "https://www.jetstreamsoft.com/about/support/" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ServiceComponents_CheckAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ServiceComponents_CheckAvailability.json new file mode 100644 index 000000000000..e8da4c64918b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/ServiceComponents_CheckAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "ServiceComponents_CheckAvailability_SpecificComponent", + "operationId": "ServiceComponents_CheckAvailability", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus2", + "serviceComponentName": "all" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/westus2/serviceComponents/all/operationstatuses/12345678-1234-1234-1234-123456789012?api-version=2025-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Skus_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Skus_List.json new file mode 100644 index 000000000000..93480f518492 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/Skus_List.json @@ -0,0 +1,134 @@ +{ + "title": "Skus_List", + "operationId": "Skus_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "576" + }, + { + "name": "StorageCacheTB", + "value": "3.2" + }, + { + "name": "StorageTB", + "value": "15.2" + }, + { + "name": "HostType", + "value": "he" + } + ], + "locationInfo": [ + { + "location": "australiaeast", + "zoneDetails": [], + "zones": [ + "1" + ] + } + ], + "locations": [ + "australiaeast" + ], + "name": "av36", + "resourceType": "privateClouds", + "restrictions": [] + }, + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "768" + }, + { + "name": "StorageCacheTB", + "value": "1.5" + }, + { + "name": "StorageTB", + "value": "19.2" + }, + { + "name": "HostType", + "value": "he2" + } + ], + "locationInfo": [ + { + "location": "centralindia", + "zoneDetails": [], + "zones": [ + "3" + ] + } + ], + "locations": [ + "centralindia" + ], + "name": "av36p", + "resourceType": "privateClouds", + "restrictions": [] + }, + { + "capabilities": [ + { + "name": "CpuCoreCount", + "value": "36" + }, + { + "name": "RamGB", + "value": "768" + }, + { + "name": "StorageCacheTB", + "value": "1.5" + }, + { + "name": "StorageTB", + "value": "19.2" + }, + { + "name": "HostType", + "value": "he2" + } + ], + "locationInfo": [ + { + "location": "westeurope", + "zoneDetails": [], + "zones": [ + "2", + "3" + ] + } + ], + "locations": [ + "westeurope" + ], + "name": "av36pt", + "resourceType": "privateClouds", + "restrictions": [] + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_Get.json new file mode 100644 index 000000000000..31d756b64be2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_Get.json @@ -0,0 +1,27 @@ +{ + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_List.json new file mode 100644 index 000000000000..7c512004a237 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_List.json @@ -0,0 +1,41 @@ +{ + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm1", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "name": "vm-128", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm2", + "moRefId": "vm-128", + "folderPath": "vm", + "restrictMovement": "Enabled" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_RestrictMovement.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..9443da80481a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/VirtualMachines_RestrictMovement.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209", + "restrictMovement": { + "restrictMovement": "Enabled" + } + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..d0a9f992c6d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..0a6565e46388 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..bca7f0300441 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..e54ec5c101da --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..41c73ae5b602 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1", + "workloadNetworkPublicIP": { + "properties": { + "displayName": "publicIP1", + "numberOfPublicIPs": 32 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..e1a29cd73d2f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,66 @@ +{ + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..99753ab421bc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..138e481d9faf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..5ba1b72d9bd1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..5c4bbde2c5b8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..09aa5db5473f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..d51f8452216a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..5a846bc3d229 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..2f23ffa3e642 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..ca7214ca6642 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_Get.json @@ -0,0 +1,19 @@ +{ + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..29389c439aba --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..7d227281ef20 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..ca5eef771611 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..849ee1600e6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetGateway.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "gatewayId": "gateway1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/gateways" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..4011e2c7a7fb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..527967a78e2b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..9ac4c6026d7c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..1f25e8f712d5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..30e0bda6910c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "virtualMachineId": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_List.json new file mode 100644 index 000000000000..0f804fa16974 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_List.json @@ -0,0 +1,23 @@ +{ + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..34bb30e3ee81 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..2b8e0b2aff0b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..73b6df5e5d25 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,33 @@ +{ + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..5c004b99e572 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListGateways.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..1fb468bb193b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "cloud1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..2bf023a5c1b3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..19fd00b6e99c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListSegments.json @@ -0,0 +1,40 @@ +{ + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..4745207d1a2b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..bb4ae7bec27f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..1d689f9a936d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..bb70a164e723 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..0b56331482f7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..d4a0a7da6fd3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..fe7dad1cd939 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,54 @@ +{ + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..ae3a3c2bf56c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/examples/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2025-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json new file mode 100644 index 000000000000..8077d8d854b0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json @@ -0,0 +1,14571 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure VMware Solution API", + "version": "2025-09-01", + "description": "Azure VMware Solution API", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Addons" + }, + { + "name": "Authorizations" + }, + { + "name": "CloudLinks" + }, + { + "name": "Clusters" + }, + { + "name": "Datastores" + }, + { + "name": "GlobalReachConnections" + }, + { + "name": "HcxEnterpriseSites" + }, + { + "name": "Hosts" + }, + { + "name": "IscsiPaths" + }, + { + "name": "Licenses" + }, + { + "name": "Locations" + }, + { + "name": "Maintenances" + }, + { + "name": "PlacementPolicies" + }, + { + "name": "PrivateClouds" + }, + { + "name": "ProvisionedNetworks" + }, + { + "name": "PureStoragePolicies" + }, + { + "name": "ScriptCmdlets" + }, + { + "name": "ScriptExecutions" + }, + { + "name": "ScriptPackages" + }, + { + "name": "ServiceComponents" + }, + { + "name": "VirtualMachines" + }, + { + "name": "WorkloadNetworks" + }, + { + "name": "WorkloadNetworkGateways" + }, + { + "name": "WorkloadNetworkSegments" + }, + { + "name": "WorkloadNetworkVirtualMachines" + } + ], + "paths": { + "/providers/Microsoft.AVS/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability": { + "post": { + "operationId": "Locations_CheckQuotaAvailability", + "tags": [ + "Locations" + ], + "description": "Return quota for subscription by region", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Quota" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Locations_CheckQuotaAvailability": { + "$ref": "./examples/Locations_CheckQuotaAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability": { + "post": { + "operationId": "Locations_CheckTrialAvailability", + "tags": [ + "Locations" + ], + "description": "Return trial status for subscription by region", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "sku", + "in": "body", + "description": "Optionally, check for a specific SKU", + "required": false, + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Trial" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Locations_CheckTrialAvailability": { + "$ref": "./examples/Locations_CheckTrialAvailability.json" + }, + "Locations_CheckTrialAvailabilityWithSku": { + "$ref": "./examples/Locations_CheckTrialAvailabilityWithSku.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/serviceComponents/{serviceComponentName}/checkAvailability": { + "post": { + "operationId": "ServiceComponents_CheckAvailability", + "tags": [ + "ServiceComponents" + ], + "description": "Return service component availability", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "serviceComponentName", + "in": "path", + "description": "A service component", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ServiceComponents_CheckAvailability_SpecificComponent": { + "$ref": "./examples/ServiceComponents_CheckAvailability.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds": { + "get": { + "operationId": "PrivateClouds_ListInSubscription", + "tags": [ + "PrivateClouds" + ], + "description": "List PrivateCloud resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_ListInSubscription": { + "$ref": "./examples/PrivateClouds_ListInSubscription.json" + }, + "PrivateClouds_ListInSubscription_Stretched": { + "$ref": "./examples/PrivateClouds_ListInSubscription_Stretched.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/skus": { + "get": { + "operationId": "Skus_List", + "description": "A list of SKUs.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PagedResourceSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Skus_List": { + "$ref": "./examples/Skus_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds": { + "get": { + "operationId": "PrivateClouds_List", + "tags": [ + "PrivateClouds" + ], + "description": "List PrivateCloud resources by resource group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_List": { + "$ref": "./examples/PrivateClouds_List.json" + }, + "PrivateClouds_List_Stretched": { + "$ref": "./examples/PrivateClouds_List_Stretched.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}": { + "get": { + "operationId": "PrivateClouds_Get", + "tags": [ + "PrivateClouds" + ], + "description": "Get a PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Get": { + "$ref": "./examples/PrivateClouds_Get.json" + }, + "PrivateClouds_Get_Stretched": { + "$ref": "./examples/PrivateClouds_Get_Stretched.json" + } + } + }, + "put": { + "operationId": "PrivateClouds_CreateOrUpdate", + "tags": [ + "PrivateClouds" + ], + "description": "Create a PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "privateCloud", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateCloud' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "201": { + "description": "Resource 'PrivateCloud' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateCloud" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_CreateOrUpdate": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate.json" + }, + "PrivateClouds_CreateOrUpdate_FleetNative": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_FleetNative.json" + }, + "PrivateClouds_CreateOrUpdate_Stretched": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_Stretched.json" + }, + "PrivateClouds_CreateOrUpdate_StretchedZones": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_StretchedZones.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "PrivateClouds_Update", + "tags": [ + "PrivateClouds" + ], + "description": "Update a PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "privateCloudUpdate", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateCloudUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "201": { + "description": "Resource 'PrivateCloud' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateCloud" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Update": { + "$ref": "./examples/PrivateClouds_Update.json" + }, + "PrivateClouds_Update_Stretched": { + "$ref": "./examples/PrivateClouds_Update_Stretched.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateClouds_Delete", + "tags": [ + "PrivateClouds" + ], + "description": "Delete a PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Delete": { + "$ref": "./examples/PrivateClouds_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons": { + "get": { + "operationId": "Addons_List", + "tags": [ + "Addons" + ], + "description": "List Addon resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AddonList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_List": { + "$ref": "./examples/Addons_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}": { + "get": { + "operationId": "Addons_Get", + "tags": [ + "Addons" + ], + "description": "Get a Addon", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_Get_ArcReg": { + "$ref": "./examples/Addons_Get_ArcReg.json" + }, + "Addons_Get_HCX": { + "$ref": "./examples/Addons_Get_HCX.json" + }, + "Addons_Get_HCX_With_Networks": { + "$ref": "./examples/Addons_Get_HCX_With_Networks.json" + }, + "Addons_Get_SRM": { + "$ref": "./examples/Addons_Get_SRM.json" + }, + "Addons_Get_VR": { + "$ref": "./examples/Addons_Get_VR.json" + } + } + }, + "put": { + "operationId": "Addons_CreateOrUpdate", + "tags": [ + "Addons" + ], + "description": "Create a Addon", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "addon", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Addon" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Addon' update operation succeeded", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "201": { + "description": "Resource 'Addon' create operation succeeded", + "schema": { + "$ref": "#/definitions/Addon" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_CreateOrUpdate_ArcReg": { + "$ref": "./examples/Addons_CreateOrUpdate_ArcReg.json" + }, + "Addons_CreateOrUpdate_HCX": { + "$ref": "./examples/Addons_CreateOrUpdate_HCX.json" + }, + "Addons_CreateOrUpdate_HCX_With_Networks": { + "$ref": "./examples/Addons_CreateOrUpdate_HCX_With_Networks.json" + }, + "Addons_CreateOrUpdate_SRM": { + "$ref": "./examples/Addons_CreateOrUpdate_SRM.json" + }, + "Addons_CreateOrUpdate_VR": { + "$ref": "./examples/Addons_CreateOrUpdate_VR.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Addons_Delete", + "tags": [ + "Addons" + ], + "description": "Delete a Addon", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_Delete": { + "$ref": "./examples/Addons_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations": { + "get": { + "operationId": "Authorizations_List", + "tags": [ + "Authorizations" + ], + "description": "List ExpressRouteAuthorization resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorizationList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Authorizations_List": { + "$ref": "./examples/Authorizations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}": { + "get": { + "operationId": "Authorizations_Get", + "tags": [ + "Authorizations" + ], + "description": "Get a ExpressRouteAuthorization", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Authorizations_Get": { + "$ref": "./examples/Authorizations_Get.json" + } + } + }, + "put": { + "operationId": "Authorizations_CreateOrUpdate", + "tags": [ + "Authorizations" + ], + "description": "Create a ExpressRouteAuthorization", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "authorization", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteAuthorization' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "201": { + "description": "Resource 'ExpressRouteAuthorization' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Authorizations_CreateOrUpdate": { + "$ref": "./examples/Authorizations_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Authorizations_Delete", + "tags": [ + "Authorizations" + ], + "description": "Delete a ExpressRouteAuthorization", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Authorizations_Delete": { + "$ref": "./examples/Authorizations_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks": { + "get": { + "operationId": "CloudLinks_List", + "tags": [ + "CloudLinks" + ], + "description": "List CloudLink resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CloudLinkList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_List": { + "$ref": "./examples/CloudLinks_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}": { + "get": { + "operationId": "CloudLinks_Get", + "tags": [ + "CloudLinks" + ], + "description": "Get a CloudLink", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_Get": { + "$ref": "./examples/CloudLinks_Get.json" + } + } + }, + "put": { + "operationId": "CloudLinks_CreateOrUpdate", + "tags": [ + "CloudLinks" + ], + "description": "Create a CloudLink", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "cloudLink", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CloudLink" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CloudLink' update operation succeeded", + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + "201": { + "description": "Resource 'CloudLink' create operation succeeded", + "schema": { + "$ref": "#/definitions/CloudLink" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_CreateOrUpdate": { + "$ref": "./examples/CloudLinks_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CloudLinks_Delete", + "tags": [ + "CloudLinks" + ], + "description": "Delete a CloudLink", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_Delete": { + "$ref": "./examples/CloudLinks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters": { + "get": { + "operationId": "Clusters_List", + "tags": [ + "Clusters" + ], + "description": "List Cluster resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_List": { + "$ref": "./examples/Clusters_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}": { + "get": { + "operationId": "Clusters_Get", + "tags": [ + "Clusters" + ], + "description": "Get a Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_Get": { + "$ref": "./examples/Clusters_Get.json" + } + } + }, + "put": { + "operationId": "Clusters_CreateOrUpdate", + "tags": [ + "Clusters" + ], + "description": "Create a Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "cluster", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Cluster' update operation succeeded", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "Resource 'Cluster' create operation succeeded", + "schema": { + "$ref": "#/definitions/Cluster" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_CreateOrUpdate": { + "$ref": "./examples/Clusters_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Clusters_Update", + "tags": [ + "Clusters" + ], + "description": "Update a Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterUpdate", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "Resource 'Cluster' create operation succeeded", + "schema": { + "$ref": "#/definitions/Cluster" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_Update": { + "$ref": "./examples/Clusters_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Clusters_Delete", + "tags": [ + "Clusters" + ], + "description": "Delete a Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_Delete": { + "$ref": "./examples/Clusters_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores": { + "get": { + "operationId": "Datastores_List", + "tags": [ + "Datastores" + ], + "description": "List Datastore resources by Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatastoreList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_List": { + "$ref": "./examples/Datastores_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}": { + "get": { + "operationId": "Datastores_Get", + "tags": [ + "Datastores" + ], + "description": "Get a Datastore", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_Get": { + "$ref": "./examples/Datastores_Get.json" + } + } + }, + "put": { + "operationId": "Datastores_CreateOrUpdate", + "tags": [ + "Datastores" + ], + "description": "Create a Datastore", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "datastore", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Datastore" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Datastore' update operation succeeded", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "201": { + "description": "Resource 'Datastore' create operation succeeded", + "schema": { + "$ref": "#/definitions/Datastore" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_CreateOrUpdate": { + "$ref": "./examples/Datastores_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Datastores_Delete", + "tags": [ + "Datastores" + ], + "description": "Delete a Datastore", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_Delete": { + "$ref": "./examples/Datastores_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts": { + "get": { + "operationId": "Hosts_List", + "tags": [ + "Hosts" + ], + "description": "List Host resources by Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Hosts_List": { + "$ref": "./examples/Hosts_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}": { + "get": { + "operationId": "Hosts_Get", + "tags": [ + "Hosts" + ], + "description": "Get a Host", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "hostId", + "in": "path", + "description": "The host identifier.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Host" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Hosts_Get": { + "$ref": "./examples/Hosts_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones": { + "post": { + "operationId": "Clusters_ListZones", + "tags": [ + "Clusters" + ], + "description": "List hosts by zone in a cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterZoneList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_ListZones": { + "$ref": "./examples/Clusters_ListZones.json" + }, + "Clusters_ListZones_Stretched": { + "$ref": "./examples/Clusters_ListZones_Stretched.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies": { + "get": { + "operationId": "PlacementPolicies_List", + "tags": [ + "PlacementPolicies" + ], + "description": "List PlacementPolicy resources by Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlacementPoliciesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_List": { + "$ref": "./examples/PlacementPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}": { + "get": { + "operationId": "PlacementPolicies_Get", + "tags": [ + "PlacementPolicies" + ], + "description": "Get a PlacementPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Get": { + "$ref": "./examples/PlacementPolicies_Get.json" + } + } + }, + "put": { + "operationId": "PlacementPolicies_CreateOrUpdate", + "tags": [ + "PlacementPolicies" + ], + "description": "Create a PlacementPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicy", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PlacementPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "201": { + "description": "Resource 'PlacementPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_CreateOrUpdate": { + "$ref": "./examples/PlacementPolicies_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "PlacementPolicies_Update", + "tags": [ + "PlacementPolicies" + ], + "description": "Update a PlacementPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyUpdate", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicyUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "202": { + "description": "Resource operation accepted.", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Update": { + "$ref": "./examples/PlacementPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PlacementPolicies_Delete", + "tags": [ + "PlacementPolicies" + ], + "description": "Delete a PlacementPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Delete": { + "$ref": "./examples/PlacementPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines": { + "get": { + "operationId": "VirtualMachines_List", + "tags": [ + "VirtualMachines" + ], + "description": "List VirtualMachine resources by Cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualMachinesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachines_List": { + "$ref": "./examples/VirtualMachines_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}": { + "get": { + "operationId": "VirtualMachines_Get", + "tags": [ + "VirtualMachines" + ], + "description": "Get a VirtualMachine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachines_Get": { + "$ref": "./examples/VirtualMachines_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement": { + "post": { + "operationId": "VirtualMachines_RestrictMovement", + "tags": [ + "VirtualMachines" + ], + "description": "Enable or disable DRS-driven VM movement restriction", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "restrictMovement", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineRestrictMovement" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachines_RestrictMovement": { + "$ref": "./examples/VirtualMachines_RestrictMovement.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense": { + "post": { + "operationId": "PrivateClouds_GetVcfLicense", + "tags": [ + "PrivateClouds" + ], + "description": "Get the license for the private cloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VcfLicense" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_GetVcfLicense": { + "$ref": "./examples/PrivateClouds_GetVcfLicense.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections": { + "get": { + "operationId": "GlobalReachConnections_List", + "tags": [ + "GlobalReachConnections" + ], + "description": "List GlobalReachConnection resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GlobalReachConnectionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_List": { + "$ref": "./examples/GlobalReachConnections_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}": { + "get": { + "operationId": "GlobalReachConnections_Get", + "tags": [ + "GlobalReachConnections" + ], + "description": "Get a GlobalReachConnection", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_Get": { + "$ref": "./examples/GlobalReachConnections_Get.json" + } + } + }, + "put": { + "operationId": "GlobalReachConnections_CreateOrUpdate", + "tags": [ + "GlobalReachConnections" + ], + "description": "Create a GlobalReachConnection", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "globalReachConnection", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'GlobalReachConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "201": { + "description": "Resource 'GlobalReachConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_CreateOrUpdate": { + "$ref": "./examples/GlobalReachConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "GlobalReachConnections_Delete", + "tags": [ + "GlobalReachConnections" + ], + "description": "Delete a GlobalReachConnection", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_Delete": { + "$ref": "./examples/GlobalReachConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites": { + "get": { + "operationId": "HcxEnterpriseSites_List", + "tags": [ + "HcxEnterpriseSites" + ], + "description": "List HcxEnterpriseSite resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSiteList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_List": { + "$ref": "./examples/HcxEnterpriseSites_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}": { + "get": { + "operationId": "HcxEnterpriseSites_Get", + "tags": [ + "HcxEnterpriseSites" + ], + "description": "Get a HcxEnterpriseSite", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_Get": { + "$ref": "./examples/HcxEnterpriseSites_Get.json" + } + } + }, + "put": { + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "tags": [ + "HcxEnterpriseSites" + ], + "description": "Create a HcxEnterpriseSite", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "hcxEnterpriseSite", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HcxEnterpriseSite' update operation succeeded", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "201": { + "description": "Resource 'HcxEnterpriseSite' create operation succeeded", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_CreateOrUpdate": { + "$ref": "./examples/HcxEnterpriseSites_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "HcxEnterpriseSites_Delete", + "tags": [ + "HcxEnterpriseSites" + ], + "description": "Delete a HcxEnterpriseSite", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_Delete": { + "$ref": "./examples/HcxEnterpriseSites_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths": { + "get": { + "operationId": "IscsiPaths_ListByPrivateCloud", + "tags": [ + "IscsiPaths" + ], + "description": "List IscsiPath resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IscsiPathListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IscsiPaths_ListByPrivateCloud": { + "$ref": "./examples/IscsiPaths_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default": { + "get": { + "operationId": "IscsiPaths_Get", + "tags": [ + "IscsiPaths" + ], + "description": "Get a IscsiPath", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IscsiPath" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IscsiPaths_Get": { + "$ref": "./examples/IscsiPaths_Get.json" + } + } + }, + "put": { + "operationId": "IscsiPaths_CreateOrUpdate", + "tags": [ + "IscsiPaths" + ], + "description": "Create a IscsiPath", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/IscsiPath" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IscsiPath' update operation succeeded", + "schema": { + "$ref": "#/definitions/IscsiPath" + } + }, + "201": { + "description": "Resource 'IscsiPath' create operation succeeded", + "schema": { + "$ref": "#/definitions/IscsiPath" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IscsiPaths_CreateOrUpdate": { + "$ref": "./examples/IscsiPaths_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IscsiPaths_Delete", + "tags": [ + "IscsiPaths" + ], + "description": "Delete a IscsiPath", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IscsiPaths_Delete": { + "$ref": "./examples/IscsiPaths_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/licenses": { + "get": { + "operationId": "Licenses_List", + "tags": [ + "Licenses" + ], + "description": "List License resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LicenseListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Licenses_List": { + "$ref": "./examples/Licenses_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/licenses/{licenseName}": { + "get": { + "operationId": "Licenses_Get", + "tags": [ + "Licenses" + ], + "description": "Get a License", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "licenseName", + "in": "path", + "description": "Name of the license.", + "required": true, + "type": "string", + "enum": [ + "VmwareFirewall" + ], + "x-ms-enum": { + "name": "LicenseName", + "modelAsString": true, + "values": [ + { + "name": "VmwareFirewall", + "value": "VmwareFirewall", + "description": "VMware Firewall license" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Licenses_Get": { + "$ref": "./examples/Licenses_Get.json" + } + } + }, + "put": { + "operationId": "Licenses_CreateOrUpdate", + "tags": [ + "Licenses" + ], + "description": "Create a License", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "licenseName", + "in": "path", + "description": "Name of the license.", + "required": true, + "type": "string", + "enum": [ + "VmwareFirewall" + ], + "x-ms-enum": { + "name": "LicenseName", + "modelAsString": true, + "values": [ + { + "name": "VmwareFirewall", + "value": "VmwareFirewall", + "description": "VMware Firewall license" + } + ] + } + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/License" + } + } + ], + "responses": { + "200": { + "description": "Resource 'License' update operation succeeded", + "schema": { + "$ref": "#/definitions/License" + } + }, + "201": { + "description": "Resource 'License' create operation succeeded", + "schema": { + "$ref": "#/definitions/License" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Licenses_CreateOrUpdate": { + "$ref": "./examples/Licenses_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Licenses_Delete", + "tags": [ + "Licenses" + ], + "description": "Delete a License", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "licenseName", + "in": "path", + "description": "Name of the license.", + "required": true, + "type": "string", + "enum": [ + "VmwareFirewall" + ], + "x-ms-enum": { + "name": "LicenseName", + "modelAsString": true, + "values": [ + { + "name": "VmwareFirewall", + "value": "VmwareFirewall", + "description": "VMware Firewall license" + } + ] + } + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Licenses_Delete": { + "$ref": "./examples/Licenses_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/licenses/{licenseName}/getProperties": { + "post": { + "operationId": "Licenses_GetProperties", + "tags": [ + "Licenses" + ], + "description": "Just like ArmResourceActionSync, but with no request body.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "licenseName", + "in": "path", + "description": "Name of the license.", + "required": true, + "type": "string", + "enum": [ + "VmwareFirewall" + ], + "x-ms-enum": { + "name": "LicenseName", + "modelAsString": true, + "values": [ + { + "name": "VmwareFirewall", + "value": "VmwareFirewall", + "description": "VMware Firewall license" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LicenseProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Licenses_GetProperties": { + "$ref": "./examples/Licenses_GetProperties.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials": { + "post": { + "operationId": "PrivateClouds_ListAdminCredentials", + "tags": [ + "PrivateClouds" + ], + "description": "List the admin credentials for the private cloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AdminCredentials" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_ListAdminCredentials": { + "$ref": "./examples/PrivateClouds_ListAdminCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances": { + "get": { + "operationId": "Maintenances_List", + "tags": [ + "Maintenances" + ], + "description": "List Maintenance resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "stateName", + "in": "query", + "description": "Filter maintenances based on state", + "required": false, + "type": "string", + "enum": [ + "NotScheduled", + "Scheduled", + "InProgress", + "Success", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "MaintenanceStateName", + "modelAsString": true, + "values": [ + { + "name": "NotScheduled", + "value": "NotScheduled", + "description": "Maintenance Not Scheduled" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Maintenance Scheduled" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Maintenance In Progress" + }, + { + "name": "Success", + "value": "Success", + "description": "Maintenance Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Maintenance Failed" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Maintenance Cancelled" + } + ] + } + }, + { + "name": "status", + "in": "query", + "description": "Filter active or inactive maintenances", + "required": false, + "type": "string", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "MaintenanceStatusFilter", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "is inactive" + } + ] + } + }, + { + "name": "from", + "in": "query", + "description": "date from which result should be returned. ie. scheduledStartTime >= from", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "to", + "in": "query", + "description": "date till which result should be returned. i.e. scheduledStartTime <= to", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MaintenanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Maintenances_List": { + "$ref": "./examples/Maintenances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}": { + "get": { + "operationId": "Maintenances_Get", + "tags": [ + "Maintenances" + ], + "description": "Get a Maintenance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Maintenance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Maintenances_Get": { + "$ref": "./examples/Maintenances_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}/initiateChecks": { + "post": { + "operationId": "Maintenances_InitiateChecks", + "tags": [ + "Maintenances" + ], + "description": "Initiate maintenance readiness checks", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Maintenance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Maintenances_InitiateChecks": { + "$ref": "./examples/Maintenances_InitiateChecks.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}/reschedule": { + "post": { + "operationId": "Maintenances_Reschedule", + "tags": [ + "Maintenances" + ], + "description": "Reschedule a maintenance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/MaintenanceReschedule" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Maintenance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Maintenances_Reschedule": { + "$ref": "./examples/Maintenances_Reschedule.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}/schedule": { + "post": { + "operationId": "Maintenances_Schedule", + "tags": [ + "Maintenances" + ], + "description": "Schedule a maintenance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/MaintenanceSchedule" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Maintenance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Maintenances_Schedule": { + "$ref": "./examples/Maintenances_Schedule.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks": { + "get": { + "operationId": "ProvisionedNetworks_List", + "tags": [ + "ProvisionedNetworks" + ], + "description": "List ProvisionedNetwork resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProvisionedNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProvisionedNetworks_List": { + "$ref": "./examples/ProvisionedNetworks_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}": { + "get": { + "operationId": "ProvisionedNetworks_Get", + "tags": [ + "ProvisionedNetworks" + ], + "description": "Get a ProvisionedNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "provisionedNetworkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProvisionedNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ProvisionedNetworks_Get": { + "$ref": "./examples/ProvisionedNetworks_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies": { + "get": { + "operationId": "PureStoragePolicies_List", + "tags": [ + "PureStoragePolicies" + ], + "description": "List PureStoragePolicy resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PureStoragePolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PureStoragePolicies_List": { + "$ref": "./examples/PureStoragePolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}": { + "get": { + "operationId": "PureStoragePolicies_Get", + "tags": [ + "PureStoragePolicies" + ], + "description": "Get a PureStoragePolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "storagePolicyName", + "in": "path", + "description": "Name of the storage policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PureStoragePolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PureStoragePolicies_Get": { + "$ref": "./examples/PureStoragePolicies_Get.json" + } + } + }, + "put": { + "operationId": "PureStoragePolicies_CreateOrUpdate", + "tags": [ + "PureStoragePolicies" + ], + "description": "Create a PureStoragePolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "storagePolicyName", + "in": "path", + "description": "Name of the storage policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PureStoragePolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PureStoragePolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/PureStoragePolicy" + } + }, + "201": { + "description": "Resource 'PureStoragePolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/PureStoragePolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PureStoragePolicies_CreateOrUpdate": { + "$ref": "./examples/PureStoragePolicies_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PureStoragePolicies_Delete", + "tags": [ + "PureStoragePolicies" + ], + "description": "Delete a PureStoragePolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "storagePolicyName", + "in": "path", + "description": "Name of the storage policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PureStoragePolicies_Delete": { + "$ref": "./examples/PureStoragePolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword": { + "post": { + "operationId": "PrivateClouds_RotateNsxtPassword", + "tags": [ + "PrivateClouds" + ], + "description": "Rotate the NSX-T Manager password", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Action completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_RotateNsxtPassword": { + "$ref": "./examples/PrivateClouds_RotateNsxtPassword.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword": { + "post": { + "operationId": "PrivateClouds_RotateVcenterPassword", + "tags": [ + "PrivateClouds" + ], + "description": "Rotate the vCenter password", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Action completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_RotateVcenterPassword": { + "$ref": "./examples/PrivateClouds_RotateVcenterPassword.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions": { + "get": { + "operationId": "ScriptExecutions_List", + "tags": [ + "ScriptExecutions" + ], + "description": "List ScriptExecution resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptExecutionsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_List": { + "$ref": "./examples/ScriptExecutions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}": { + "get": { + "operationId": "ScriptExecutions_Get", + "tags": [ + "ScriptExecutions" + ], + "description": "Get a ScriptExecution", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_Get": { + "$ref": "./examples/ScriptExecutions_Get.json" + } + } + }, + "put": { + "operationId": "ScriptExecutions_CreateOrUpdate", + "tags": [ + "ScriptExecutions" + ], + "description": "Create a ScriptExecution", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptExecution", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ScriptExecution' update operation succeeded", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "201": { + "description": "Resource 'ScriptExecution' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScriptExecution" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_CreateOrUpdate": { + "$ref": "./examples/ScriptExecutions_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScriptExecutions_Delete", + "tags": [ + "ScriptExecutions" + ], + "description": "Delete a ScriptExecution", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_Delete": { + "$ref": "./examples/ScriptExecutions_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs": { + "post": { + "operationId": "ScriptExecutions_GetExecutionLogs", + "tags": [ + "ScriptExecutions" + ], + "description": "Return the logs for a script execution resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptOutputStreamType", + "in": "body", + "description": "Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.", + "required": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ScriptOutputStreamType" + } + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_GetExecutionLogs": { + "$ref": "./examples/ScriptExecutions_GetExecutionLogs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages": { + "get": { + "operationId": "ScriptPackages_List", + "tags": [ + "ScriptPackages" + ], + "description": "List ScriptPackage resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptPackagesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptPackages_List": { + "$ref": "./examples/ScriptPackages_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}": { + "get": { + "operationId": "ScriptPackages_Get", + "tags": [ + "ScriptPackages" + ], + "description": "Get a ScriptPackage", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptPackage" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptPackages_Get": { + "$ref": "./examples/ScriptPackages_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets": { + "get": { + "operationId": "ScriptCmdlets_List", + "tags": [ + "ScriptCmdlets" + ], + "description": "List ScriptCmdlet resources by ScriptPackage", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptCmdletsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptCmdlets_List": { + "$ref": "./examples/ScriptCmdlets_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}": { + "get": { + "operationId": "ScriptCmdlets_Get", + "tags": [ + "ScriptCmdlets" + ], + "description": "Get a ScriptCmdlet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" + }, + { + "name": "scriptCmdletName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptCmdlet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptCmdlets_Get": { + "$ref": "./examples/ScriptCmdlets_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks": { + "get": { + "operationId": "WorkloadNetworks_List", + "tags": [ + "WorkloadNetworks" + ], + "description": "List WorkloadNetwork resources by PrivateCloud", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_List": { + "$ref": "./examples/WorkloadNetworks_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default": { + "get": { + "operationId": "WorkloadNetworks_Get", + "tags": [ + "WorkloadNetworks" + ], + "description": "Get a WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_Get": { + "$ref": "./examples/WorkloadNetworks_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations": { + "get": { + "operationId": "WorkloadNetworks_ListDhcp", + "description": "List WorkloadNetworkDhcp resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcpList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDhcp": { + "$ref": "./examples/WorkloadNetworks_ListDhcp.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}": { + "get": { + "operationId": "WorkloadNetworks_GetDhcp", + "description": "Get a WorkloadNetworkDhcp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DhcpIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDhcp": { + "$ref": "./examples/WorkloadNetworks_GetDhcp.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDhcp", + "description": "Create a WorkloadNetworkDhcp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDhcp", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkDhcp' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkDhcp' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDhcp": { + "$ref": "./examples/WorkloadNetworks_CreateDhcp.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDhcp", + "description": "Update a WorkloadNetworkDhcp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDhcp", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDhcp": { + "$ref": "./examples/WorkloadNetworks_UpdateDhcp.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDhcp", + "description": "Delete a WorkloadNetworkDhcp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDhcp": { + "$ref": "./examples/WorkloadNetworks_DeleteDhcp.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices": { + "get": { + "operationId": "WorkloadNetworks_ListDnsServices", + "description": "List WorkloadNetworkDnsService resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsServicesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDnsServices": { + "$ref": "./examples/WorkloadNetworks_ListDnsServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}": { + "get": { + "operationId": "WorkloadNetworks_GetDnsService", + "description": "Get a WorkloadNetworkDnsService", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDnsService": { + "$ref": "./examples/WorkloadNetworks_GetDnsService.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDnsService", + "description": "Create a WorkloadNetworkDnsService", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDnsService", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkDnsService' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkDnsService' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDnsService": { + "$ref": "./examples/WorkloadNetworks_CreateDnsService.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsService", + "description": "Update a WorkloadNetworkDnsService", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDnsService", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDnsService": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsService.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDnsService", + "description": "Delete a WorkloadNetworkDnsService", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsServiceIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDnsService": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsService.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones": { + "get": { + "operationId": "WorkloadNetworks_ListDnsZones", + "description": "List WorkloadNetworkDnsZone resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZonesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDnsZones": { + "$ref": "./examples/WorkloadNetworks_ListDnsZones.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}": { + "get": { + "operationId": "WorkloadNetworks_GetDnsZone", + "description": "Get a WorkloadNetworkDnsZone", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDnsZone": { + "$ref": "./examples/WorkloadNetworks_GetDnsZone.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDnsZone", + "description": "Create a WorkloadNetworkDnsZone", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDnsZone", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkDnsZone' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkDnsZone' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDnsZone": { + "$ref": "./examples/WorkloadNetworks_CreateDnsZone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsZone", + "description": "Update a WorkloadNetworkDnsZone", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDnsZone", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDnsZone": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsZone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDnsZone", + "description": "Delete a WorkloadNetworkDnsZone", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsZoneIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDnsZone": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsZone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways": { + "get": { + "operationId": "WorkloadNetworks_ListGateways", + "tags": [ + "WorkloadNetworkGateways" + ], + "description": "List WorkloadNetworkGateway resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkGatewayList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListGateways": { + "$ref": "./examples/WorkloadNetworks_ListGateways.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}": { + "get": { + "operationId": "WorkloadNetworks_GetGateway", + "tags": [ + "WorkloadNetworkGateways" + ], + "description": "Get a WorkloadNetworkGateway", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "gatewayId", + "in": "path", + "description": "The ID of the NSX Gateway", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetGateway": { + "$ref": "./examples/WorkloadNetworks_GetGateway.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles": { + "get": { + "operationId": "WorkloadNetworks_ListPortMirroring", + "description": "List WorkloadNetworkPortMirroring resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListPortMirroring": { + "$ref": "./examples/WorkloadNetworks_ListPortMirroring.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}": { + "get": { + "operationId": "WorkloadNetworks_GetPortMirroring", + "description": "Get a WorkloadNetworkPortMirroring", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetPortMirroring": { + "$ref": "./examples/WorkloadNetworks_GetPortMirroring.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreatePortMirroring", + "description": "Create a WorkloadNetworkPortMirroring", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkPortMirroring", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkPortMirroring' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkPortMirroring' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_CreatePortMirroring.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "description": "Update a WorkloadNetworkPortMirroring", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkPortMirroring", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_UpdatePortMirroring.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeletePortMirroring", + "description": "Delete a WorkloadNetworkPortMirroring", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PortMirroringProfileParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeletePortMirroring": { + "$ref": "./examples/WorkloadNetworks_DeletePortMirroring.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs": { + "get": { + "operationId": "WorkloadNetworks_ListPublicIPs", + "description": "List WorkloadNetworkPublicIP resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIPsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListPublicIPs": { + "$ref": "./examples/WorkloadNetworks_ListPublicIPs.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}": { + "get": { + "operationId": "WorkloadNetworks_GetPublicIP", + "description": "Get a WorkloadNetworkPublicIP", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetPublicIP": { + "$ref": "./examples/WorkloadNetworks_GetPublicIP.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreatePublicIP", + "description": "Create a WorkloadNetworkPublicIP", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkPublicIP", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkPublicIP' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkPublicIP' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreatePublicIP": { + "$ref": "./examples/WorkloadNetworks_CreatePublicIP.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeletePublicIP", + "description": "Delete a WorkloadNetworkPublicIP", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PublicIPIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeletePublicIP": { + "$ref": "./examples/WorkloadNetworks_DeletePublicIP.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments": { + "get": { + "operationId": "WorkloadNetworks_ListSegments", + "tags": [ + "WorkloadNetworkSegments" + ], + "description": "List WorkloadNetworkSegment resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegmentsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListSegments": { + "$ref": "./examples/WorkloadNetworks_ListSegments.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}": { + "get": { + "operationId": "WorkloadNetworks_GetSegment", + "tags": [ + "WorkloadNetworkSegments" + ], + "description": "Get a WorkloadNetworkSegment", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetSegment": { + "$ref": "./examples/WorkloadNetworks_GetSegment.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateSegments", + "tags": [ + "WorkloadNetworkSegments" + ], + "description": "Create a WorkloadNetworkSegment", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkSegment", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkSegment' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkSegment' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateSegments": { + "$ref": "./examples/WorkloadNetworks_CreateSegments.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateSegments", + "tags": [ + "WorkloadNetworkSegments" + ], + "description": "Update a WorkloadNetworkSegment", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkSegment", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateSegments": { + "$ref": "./examples/WorkloadNetworks_UpdateSegments.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteSegment", + "tags": [ + "WorkloadNetworkSegments" + ], + "description": "Delete a WorkloadNetworkSegment", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteSegment": { + "$ref": "./examples/WorkloadNetworks_DeleteSegment.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines": { + "get": { + "operationId": "WorkloadNetworks_ListVirtualMachines", + "tags": [ + "WorkloadNetworkVirtualMachines" + ], + "description": "List WorkloadNetworkVirtualMachine resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachinesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVirtualMachines": { + "$ref": "./examples/WorkloadNetworks_ListVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}": { + "get": { + "operationId": "WorkloadNetworks_GetVirtualMachine", + "tags": [ + "WorkloadNetworkVirtualMachines" + ], + "description": "Get a WorkloadNetworkVirtualMachine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVirtualMachine": { + "$ref": "./examples/WorkloadNetworks_GetVirtualMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups": { + "get": { + "operationId": "WorkloadNetworks_ListVMGroups", + "description": "List WorkloadNetworkVMGroup resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroupsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVMGroups": { + "$ref": "./examples/WorkloadNetworks_ListVMGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}": { + "get": { + "operationId": "WorkloadNetworks_GetVMGroup", + "description": "Get a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVMGroup": { + "$ref": "./examples/WorkloadNetworks_GetVMGroup.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateVMGroup", + "description": "Create a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkVMGroup", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkVMGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkVMGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateVMGroup": { + "$ref": "./examples/WorkloadNetworks_CreateVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateVMGroup", + "description": "Update a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkVMGroup", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateVMGroup": { + "$ref": "./examples/WorkloadNetworks_UpdateVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteVMGroup", + "description": "Delete a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VmGroupIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteVMGroup": { + "$ref": "./examples/WorkloadNetworks_DeleteVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Addon": { + "type": "object", + "description": "An addon resource", + "properties": { + "properties": { + "$ref": "#/definitions/AddonProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AddonArcProperties": { + "type": "object", + "description": "The properties of an Arc addon", + "properties": { + "vCenter": { + "type": "string", + "description": "The VMware vCenter resource ID" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "Arc" + }, + "AddonHcxProperties": { + "type": "object", + "description": "The properties of an HCX addon", + "properties": { + "offer": { + "type": "string", + "description": "The HCX offer, example VMware MaaS Cloud Provider (Enterprise)" + }, + "managementNetwork": { + "type": "string", + "description": "HCX management network." + }, + "uplinkNetwork": { + "type": "string", + "description": "HCX uplink network" + } + }, + "required": [ + "offer" + ], + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "HCX" + }, + "AddonList": { + "type": "object", + "description": "The response of a Addon list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Addon items on this page", + "items": { + "$ref": "#/definitions/Addon" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AddonProperties": { + "type": "object", + "description": "The properties of an addon", + "properties": { + "addonType": { + "$ref": "#/definitions/AddonType", + "description": "Addon type" + }, + "provisioningState": { + "$ref": "#/definitions/AddonProvisioningState", + "description": "The state of the addon provisioning", + "readOnly": true + } + }, + "discriminator": "addonType", + "required": [ + "addonType" + ] + }, + "AddonProvisioningState": { + "type": "string", + "description": "Addon provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "AddonProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "AddonSrmProperties": { + "type": "object", + "description": "The properties of a Site Recovery Manager (SRM) addon", + "properties": { + "licenseKey": { + "type": "string", + "description": "The Site Recovery Manager (SRM) license" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "SRM" + }, + "AddonType": { + "type": "string", + "description": "Addon type", + "enum": [ + "SRM", + "VR", + "HCX", + "Arc" + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true, + "values": [ + { + "name": "SRM", + "value": "SRM" + }, + { + "name": "VR", + "value": "VR" + }, + { + "name": "HCX", + "value": "HCX" + }, + { + "name": "Arc", + "value": "Arc" + } + ] + } + }, + "AddonVrProperties": { + "type": "object", + "description": "The properties of a vSphere Replication (VR) addon", + "properties": { + "vrsCount": { + "type": "integer", + "format": "int32", + "description": "The vSphere Replication Server (VRS) count" + } + }, + "required": [ + "vrsCount" + ], + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "VR" + }, + "AdminCredentials": { + "type": "object", + "description": "Administrative credentials for accessing vCenter and NSX-T", + "properties": { + "nsxtUsername": { + "type": "string", + "description": "NSX-T Manager username", + "readOnly": true + }, + "nsxtPassword": { + "type": "string", + "format": "password", + "description": "NSX-T Manager password", + "readOnly": true, + "x-ms-secret": true + }, + "vcenterUsername": { + "type": "string", + "description": "vCenter admin username", + "readOnly": true + }, + "vcenterPassword": { + "type": "string", + "format": "password", + "description": "vCenter admin password", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "AffinityStrength": { + "type": "string", + "description": "Affinity Strength", + "enum": [ + "Should", + "Must" + ], + "x-ms-enum": { + "name": "AffinityStrength", + "modelAsString": true, + "values": [ + { + "name": "Should", + "value": "Should", + "description": "is should" + }, + { + "name": "Must", + "value": "Must", + "description": "is must" + } + ] + } + }, + "AffinityType": { + "type": "string", + "description": "Affinity type", + "enum": [ + "Affinity", + "AntiAffinity" + ], + "x-ms-enum": { + "name": "AffinityType", + "modelAsString": true, + "values": [ + { + "name": "Affinity", + "value": "Affinity", + "description": "is affinity" + }, + { + "name": "AntiAffinity", + "value": "AntiAffinity", + "description": "is anti-affinity" + } + ] + } + }, + "AvailabilityProperties": { + "type": "object", + "description": "The properties describing private cloud availability zone distribution", + "properties": { + "strategy": { + "$ref": "#/definitions/AvailabilityStrategy", + "description": "The availability strategy for the private cloud" + }, + "zone": { + "type": "integer", + "format": "int32", + "description": "The primary availability zone for the private cloud" + }, + "secondaryZone": { + "type": "integer", + "format": "int32", + "description": "The secondary availability zone for the private cloud" + } + } + }, + "AvailabilityStrategy": { + "type": "string", + "description": "Whether the private clouds is available in a single zone or two zones", + "enum": [ + "SingleZone", + "DualZone" + ], + "x-ms-enum": { + "name": "AvailabilityStrategy", + "modelAsString": true, + "values": [ + { + "name": "SingleZone", + "value": "SingleZone", + "description": "in single zone" + }, + { + "name": "DualZone", + "value": "DualZone", + "description": "in two zones" + } + ] + } + }, + "AvailableWindowForMaintenanceWhileRescheduleOperation": { + "type": "object", + "description": "Time window in which Customer can reschedule maintenance", + "properties": { + "startsAt": { + "type": "string", + "format": "date-time", + "description": "Start date time", + "readOnly": true + }, + "endsAt": { + "type": "string", + "format": "date-time", + "description": "End date Time", + "readOnly": true + } + }, + "required": [ + "startsAt", + "endsAt" + ], + "allOf": [ + { + "$ref": "#/definitions/RescheduleOperationConstraint" + } + ], + "x-ms-discriminator-value": "AvailableWindowForMaintenance" + }, + "AvailableWindowForMaintenanceWhileScheduleOperation": { + "type": "object", + "description": "Time window in which Customer can to schedule maintenance", + "properties": { + "startsAt": { + "type": "string", + "format": "date-time", + "description": "Start date time", + "readOnly": true + }, + "endsAt": { + "type": "string", + "format": "date-time", + "description": "End date Time", + "readOnly": true + } + }, + "required": [ + "startsAt", + "endsAt" + ], + "allOf": [ + { + "$ref": "#/definitions/ScheduleOperationConstraint" + } + ], + "x-ms-discriminator-value": "AvailableWindowForMaintenance" + }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, + "AzureHybridBenefitType": { + "type": "string", + "description": "Azure Hybrid Benefit type", + "enum": [ + "SqlHost", + "None" + ], + "x-ms-enum": { + "name": "AzureHybridBenefitType", + "modelAsString": true, + "values": [ + { + "name": "SqlHost", + "value": "SqlHost", + "description": "is SqlHost" + }, + { + "name": "None", + "value": "None", + "description": "is None" + } + ] + } + }, + "BlockedDatesConstraintCategory": { + "type": "string", + "description": "Reason for blocking operation on maintenance", + "enum": [ + "HiPriorityEvent", + "QuotaExhausted", + "Holiday" + ], + "x-ms-enum": { + "name": "BlockedDatesConstraintCategory", + "modelAsString": true, + "values": [ + { + "name": "HiPriorityEvent", + "value": "HiPriorityEvent", + "description": "Hi-Priority Event" + }, + { + "name": "QuotaExhausted", + "value": "QuotaExhausted", + "description": "Quota Exhausted" + }, + { + "name": "Holiday", + "value": "Holiday", + "description": "Holidays" + } + ] + } + }, + "BlockedDatesConstraintTimeRange": { + "type": "object", + "description": "Blocked Time range Constraints for maintenance", + "properties": { + "startsAt": { + "type": "string", + "format": "date-time", + "description": "Start date time", + "readOnly": true + }, + "endsAt": { + "type": "string", + "format": "date-time", + "description": "End date Time", + "readOnly": true + }, + "reason": { + "type": "string", + "description": "Reason category for blocking maintenance reschedule", + "readOnly": true + } + }, + "required": [ + "startsAt", + "endsAt" + ] + }, + "BlockedWhileRescheduleOperation": { + "type": "object", + "description": "Time ranges blocked for rescheduling maintenance", + "properties": { + "category": { + "$ref": "#/definitions/BlockedDatesConstraintCategory", + "description": "Category of blocked date", + "readOnly": true + }, + "timeRanges": { + "type": "array", + "description": "Date ranges blocked for schedule", + "items": { + "$ref": "#/definitions/BlockedDatesConstraintTimeRange" + }, + "readOnly": true, + "x-ms-identifiers": [ + "startsAt", + "endsAt" + ] + } + }, + "required": [ + "category" + ], + "allOf": [ + { + "$ref": "#/definitions/RescheduleOperationConstraint" + } + ], + "x-ms-discriminator-value": "Blocked" + }, + "BlockedWhileScheduleOperation": { + "type": "object", + "description": "Time ranges blocked for scheduling maintenance", + "properties": { + "category": { + "$ref": "#/definitions/BlockedDatesConstraintCategory", + "description": "Category of blocked date", + "readOnly": true + }, + "timeRanges": { + "type": "array", + "description": "Date ranges blocked for schedule", + "items": { + "$ref": "#/definitions/BlockedDatesConstraintTimeRange" + }, + "readOnly": true, + "x-ms-identifiers": [ + "startsAt", + "endsAt" + ] + } + }, + "required": [ + "category" + ], + "allOf": [ + { + "$ref": "#/definitions/ScheduleOperationConstraint" + } + ], + "x-ms-discriminator-value": "Blocked" + }, + "Circuit": { + "type": "object", + "description": "An ExpressRoute Circuit", + "properties": { + "primarySubnet": { + "type": "string", + "description": "CIDR of primary subnet", + "readOnly": true + }, + "secondarySubnet": { + "type": "string", + "description": "CIDR of secondary subnet", + "readOnly": true + }, + "expressRouteID": { + "type": "string", + "description": "Identifier of the ExpressRoute Circuit (Microsoft Colo only)", + "readOnly": true + }, + "expressRoutePrivatePeeringID": { + "type": "string", + "description": "ExpressRoute Circuit private peering identifier", + "readOnly": true + } + } + }, + "CloudLink": { + "type": "object", + "description": "A cloud link resource", + "properties": { + "properties": { + "$ref": "#/definitions/CloudLinkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CloudLinkList": { + "type": "object", + "description": "The response of a CloudLink list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CloudLink items on this page", + "items": { + "$ref": "#/definitions/CloudLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CloudLinkProperties": { + "type": "object", + "description": "The properties of a cloud link.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/CloudLinkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/CloudLinkStatus", + "description": "The state of the cloud link.", + "readOnly": true + }, + "linkedCloud": { + "type": "string", + "description": "Identifier of the other private cloud participating in the link." + } + } + }, + "CloudLinkProvisioningState": { + "type": "string", + "description": "cloud link provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "CloudLinkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "CloudLinkStatus": { + "type": "string", + "description": "Cloud Link status", + "enum": [ + "Active", + "Building", + "Deleting", + "Failed", + "Disconnected" + ], + "x-ms-enum": { + "name": "CloudLinkStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "is active" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Failed", + "value": "Failed", + "description": "is failed" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "is disconnected" + } + ] + } + }, + "Cluster": { + "type": "object", + "description": "A cluster resource", + "properties": { + "properties": { + "$ref": "#/definitions/ClusterProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ClusterList": { + "type": "object", + "description": "The response of a Cluster list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Cluster items on this page", + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ClusterProperties": { + "type": "object", + "description": "The properties of a cluster", + "properties": { + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" + }, + "provisioningState": { + "$ref": "#/definitions/ClusterProvisioningState", + "description": "The state of the cluster provisioning", + "readOnly": true + }, + "clusterId": { + "type": "integer", + "format": "int32", + "description": "The identity", + "readOnly": true + }, + "hosts": { + "type": "array", + "description": "The hosts", + "items": { + "type": "string" + } + }, + "vsanDatastoreName": { + "type": "string", + "description": "Name of the vsan datastore associated with the cluster" + } + } + }, + "ClusterProvisioningState": { + "type": "string", + "description": "Cluster provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "ClusterProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "ClusterUpdate": { + "type": "object", + "description": "An update of a cluster resource", + "properties": { + "sku": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + }, + "properties": { + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of a cluster resource that may be updated", + "x-ms-client-flatten": true + } + } + }, + "ClusterUpdateProperties": { + "type": "object", + "description": "The properties of a cluster that may be updated", + "properties": { + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" + }, + "hosts": { + "type": "array", + "description": "The hosts", + "items": { + "type": "string" + } + } + } + }, + "ClusterZone": { + "type": "object", + "description": "Zone and associated hosts info", + "properties": { + "hosts": { + "type": "array", + "description": "List of hosts belonging to the availability zone in a cluster", + "items": { + "type": "string" + }, + "readOnly": true + }, + "zone": { + "type": "string", + "description": "Availability zone identifier", + "readOnly": true + } + } + }, + "ClusterZoneList": { + "type": "object", + "description": "List of all zones and associated hosts for a cluster", + "properties": { + "zones": { + "type": "array", + "description": "Zone and associated hosts info", + "items": { + "$ref": "#/definitions/ClusterZone" + }, + "x-ms-identifiers": [] + } + } + }, + "Datastore": { + "type": "object", + "description": "A datastore resource", + "properties": { + "properties": { + "$ref": "#/definitions/DatastoreProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DatastoreList": { + "type": "object", + "description": "The response of a Datastore list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Datastore items on this page", + "items": { + "$ref": "#/definitions/Datastore" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DatastoreProperties": { + "type": "object", + "description": "The properties of a datastore", + "properties": { + "provisioningState": { + "$ref": "#/definitions/DatastoreProvisioningState", + "description": "The state of the datastore provisioning", + "readOnly": true + }, + "netAppVolume": { + "$ref": "#/definitions/NetAppVolume", + "description": "An Azure NetApp Files volume" + }, + "diskPoolVolume": { + "$ref": "#/definitions/DiskPoolVolume", + "description": "An iSCSI volume" + }, + "elasticSanVolume": { + "$ref": "#/definitions/ElasticSanVolume", + "description": "An Elastic SAN volume" + }, + "pureStorageVolume": { + "$ref": "#/definitions/PureStorageVolume", + "description": "A Pure Storage volume" + }, + "status": { + "$ref": "#/definitions/DatastoreStatus", + "description": "The operational status of the datastore", + "readOnly": true + } + } + }, + "DatastoreProvisioningState": { + "type": "string", + "description": "datastore provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Pending", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "DatastoreProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Creating", + "value": "Creating", + "description": "is creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + } + ] + }, + "readOnly": true + }, + "DatastoreStatus": { + "type": "string", + "description": "datastore status", + "enum": [ + "Unknown", + "Accessible", + "Inaccessible", + "Attached", + "Detached", + "LostCommunication", + "DeadOrError" + ], + "x-ms-enum": { + "name": "DatastoreStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "is unknown" + }, + { + "name": "Accessible", + "value": "Accessible", + "description": "is accessible" + }, + { + "name": "Inaccessible", + "value": "Inaccessible", + "description": "is inaccessible" + }, + { + "name": "Attached", + "value": "Attached", + "description": "is attached" + }, + { + "name": "Detached", + "value": "Detached", + "description": "is detached" + }, + { + "name": "LostCommunication", + "value": "LostCommunication", + "description": "is lost communication" + }, + { + "name": "DeadOrError", + "value": "DeadOrError", + "description": "is dead or error" + } + ] + } + }, + "DhcpTypeEnum": { + "type": "string", + "description": "Type of DHCP: SERVER or RELAY.", + "enum": [ + "SERVER", + "RELAY" + ], + "x-ms-enum": { + "name": "DhcpTypeEnum", + "modelAsString": true, + "values": [ + { + "name": "SERVER", + "value": "SERVER" + }, + { + "name": "RELAY", + "value": "RELAY" + } + ] + } + }, + "DiskPoolVolume": { + "type": "object", + "description": "An iSCSI volume from Microsoft.StoragePool provider", + "properties": { + "targetId": { + "type": "string", + "description": "Azure resource ID of the iSCSI target" + }, + "lunName": { + "type": "string", + "description": "Name of the LUN to be used for datastore" + }, + "mountOption": { + "type": "string", + "description": "Mode that describes whether the LUN has to be mounted as a datastore or\nattached as a LUN", + "default": "MOUNT", + "enum": [ + "MOUNT", + "ATTACH" + ], + "x-ms-enum": { + "name": "MountOptionEnum", + "modelAsString": true, + "values": [ + { + "name": "MOUNT", + "value": "MOUNT", + "description": "is mount" + }, + { + "name": "ATTACH", + "value": "ATTACH", + "description": "is attach" + } + ] + } + }, + "path": { + "type": "string", + "description": "Device path", + "readOnly": true + } + }, + "required": [ + "targetId", + "lunName" + ] + }, + "DnsServiceLogLevelEnum": { + "type": "string", + "description": "DNS service log level", + "enum": [ + "DEBUG", + "INFO", + "WARNING", + "ERROR", + "FATAL" + ], + "x-ms-enum": { + "name": "DnsServiceLogLevelEnum", + "modelAsString": true, + "values": [ + { + "name": "DEBUG", + "value": "DEBUG", + "description": "is debug" + }, + { + "name": "INFO", + "value": "INFO", + "description": "is info" + }, + { + "name": "WARNING", + "value": "WARNING", + "description": "is warning" + }, + { + "name": "ERROR", + "value": "ERROR", + "description": "is error" + }, + { + "name": "FATAL", + "value": "FATAL", + "description": "is fatal" + } + ] + } + }, + "DnsServiceStatusEnum": { + "type": "string", + "description": "DNS service status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "DnsServiceStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "DnsZoneType": { + "type": "string", + "description": "The type of DNS zone.", + "enum": [ + "Public", + "Private" + ], + "x-ms-enum": { + "name": "DnsZoneType", + "modelAsString": true, + "values": [ + { + "name": "Public", + "value": "Public", + "description": "Primary DNS zone." + }, + { + "name": "Private", + "value": "Private", + "description": "Private DNS zone." + } + ] + } + }, + "ElasticSanVolume": { + "type": "object", + "description": "An Elastic SAN volume from Microsoft.ElasticSan provider", + "properties": { + "targetId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the Elastic SAN Volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes" + } + ] + } + } + }, + "required": [ + "targetId" + ] + }, + "Encryption": { + "type": "object", + "description": "The properties of customer managed encryption key", + "properties": { + "status": { + "$ref": "#/definitions/EncryptionState", + "description": "Status of customer managed encryption key" + }, + "keyVaultProperties": { + "$ref": "#/definitions/EncryptionKeyVaultProperties", + "description": "The key vault where the encryption key is stored" + } + } + }, + "EncryptionKeyStatus": { + "type": "string", + "description": "Whether the the encryption key is connected or access denied", + "enum": [ + "Connected", + "AccessDenied" + ], + "x-ms-enum": { + "name": "EncryptionKeyStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "is connected" + }, + { + "name": "AccessDenied", + "value": "AccessDenied", + "description": "is access denied" + } + ] + } + }, + "EncryptionKeyVaultProperties": { + "type": "object", + "description": "An Encryption Key", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the key." + }, + "keyVersion": { + "type": "string", + "description": "The version of the key." + }, + "autoDetectedKeyVersion": { + "type": "string", + "description": "The auto-detected version of the key if versionType is auto-detected.", + "readOnly": true + }, + "keyVaultUrl": { + "type": "string", + "description": "The URL of the vault." + }, + "keyState": { + "$ref": "#/definitions/EncryptionKeyStatus", + "description": "The state of key provided", + "readOnly": true + }, + "versionType": { + "$ref": "#/definitions/EncryptionVersionType", + "description": "Property of the key if user provided or auto detected", + "readOnly": true + } + } + }, + "EncryptionState": { + "type": "string", + "description": "Whether encryption is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "EncryptionVersionType": { + "type": "string", + "description": "Whether the encryption version is fixed or auto-detected", + "enum": [ + "Fixed", + "AutoDetected" + ], + "x-ms-enum": { + "name": "EncryptionVersionType", + "modelAsString": true, + "values": [ + { + "name": "Fixed", + "value": "Fixed", + "description": "is fixed" + }, + { + "name": "AutoDetected", + "value": "AutoDetected", + "description": "is auto-detected" + } + ] + } + }, + "Endpoints": { + "type": "object", + "description": "Endpoint addresses", + "properties": { + "nsxtManager": { + "type": "string", + "description": "Endpoint FQDN for the NSX-T Data Center manager", + "readOnly": true + }, + "vcsa": { + "type": "string", + "description": "Endpoint FQDN for Virtual Center Server Appliance", + "readOnly": true + }, + "hcxCloudManager": { + "type": "string", + "description": "Endpoint FQDN for the HCX Cloud Manager", + "readOnly": true + }, + "nsxtManagerIp": { + "type": "string", + "description": "Endpoint IP for the NSX-T Data Center manager", + "readOnly": true + }, + "vcenterIp": { + "type": "string", + "description": "Endpoint IP for Virtual Center Server Appliance", + "readOnly": true + }, + "hcxCloudManagerIp": { + "type": "string", + "description": "Endpoint IP for the HCX Cloud Manager", + "readOnly": true + } + } + }, + "ExpressRouteAuthorization": { + "type": "object", + "description": "ExpressRoute Circuit Authorization", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteAuthorizationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ExpressRouteAuthorizationList": { + "type": "object", + "description": "The response of a ExpressRouteAuthorization list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteAuthorization items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteAuthorizationProperties": { + "type": "object", + "description": "The properties of an ExpressRoute Circuit Authorization resource", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ExpressRouteAuthorizationProvisioningState", + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "readOnly": true + }, + "expressRouteAuthorizationId": { + "type": "string", + "description": "The ID of the ExpressRoute Circuit Authorization", + "readOnly": true + }, + "expressRouteAuthorizationKey": { + "type": "string", + "description": "The key of the ExpressRoute Circuit Authorization", + "readOnly": true + }, + "expressRouteId": { + "type": "string", + "description": "The ID of the ExpressRoute Circuit" + } + } + }, + "ExpressRouteAuthorizationProvisioningState": { + "type": "string", + "description": "Express Route Circuit Authorization provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "ExpressRouteAuthorizationProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "GeneralHostProperties": { + "type": "object", + "description": "The properties of a general host.", + "allOf": [ + { + "$ref": "#/definitions/HostProperties" + } + ], + "x-ms-discriminator-value": "General" + }, + "GlobalReachConnection": { + "type": "object", + "description": "A global reach connection resource", + "properties": { + "properties": { + "$ref": "#/definitions/GlobalReachConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "GlobalReachConnectionList": { + "type": "object", + "description": "The response of a GlobalReachConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The GlobalReachConnection items on this page", + "items": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GlobalReachConnectionProperties": { + "type": "object", + "description": "The properties of a global reach connection", + "properties": { + "provisioningState": { + "$ref": "#/definitions/GlobalReachConnectionProvisioningState", + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "readOnly": true + }, + "addressPrefix": { + "type": "string", + "description": "The network used for global reach carved out from the original network block\nprovided for the private cloud", + "readOnly": true + }, + "authorizationKey": { + "type": "string", + "description": "Authorization key from the peer express route used for the global reach\nconnection" + }, + "circuitConnectionStatus": { + "$ref": "#/definitions/GlobalReachConnectionStatus", + "description": "The connection status of the global reach connection", + "readOnly": true + }, + "peerExpressRouteCircuit": { + "type": "string", + "description": "Identifier of the ExpressRoute Circuit to peer with in the global reach\nconnection" + }, + "expressRouteId": { + "type": "string", + "description": "The ID of the Private Cloud's ExpressRoute Circuit that is participating in the\nglobal reach connection" + } + } + }, + "GlobalReachConnectionProvisioningState": { + "type": "string", + "description": "Global Reach Connection provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "GlobalReachConnectionStatus": { + "type": "string", + "description": "Global Reach Connection status", + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "is connected" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "is connecting" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "is disconnected" + } + ] + } + }, + "HcxEnterpriseSite": { + "type": "object", + "description": "An HCX Enterprise Site resource", + "properties": { + "properties": { + "$ref": "#/definitions/HcxEnterpriseSiteProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HcxEnterpriseSiteList": { + "type": "object", + "description": "The response of a HcxEnterpriseSite list operation.", + "properties": { + "value": { + "type": "array", + "description": "The HcxEnterpriseSite items on this page", + "items": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "HcxEnterpriseSiteProperties": { + "type": "object", + "description": "The properties of an HCX Enterprise Site", + "properties": { + "provisioningState": { + "$ref": "#/definitions/HcxEnterpriseSiteProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "activationKey": { + "type": "string", + "description": "The activation key", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/HcxEnterpriseSiteStatus", + "description": "The status of the HCX Enterprise Site", + "readOnly": true + } + } + }, + "HcxEnterpriseSiteProvisioningState": { + "type": "string", + "description": "HCX Enterprise Site provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "HcxEnterpriseSiteProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "HcxEnterpriseSiteStatus": { + "type": "string", + "description": "HCX Enterprise Site status", + "enum": [ + "Available", + "Consumed", + "Deactivated", + "Deleted" + ], + "x-ms-enum": { + "name": "HcxEnterpriseSiteStatus", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available", + "description": "is available" + }, + { + "name": "Consumed", + "value": "Consumed", + "description": "is consumed" + }, + { + "name": "Deactivated", + "value": "Deactivated", + "description": "is deactivated" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "is deleted" + } + ] + } + }, + "Host": { + "type": "object", + "description": "A host resource", + "properties": { + "properties": { + "$ref": "#/definitions/HostProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + } + }, + "sku": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HostKind": { + "type": "string", + "description": "The kind of host.", + "enum": [ + "General", + "Specialized" + ], + "x-ms-enum": { + "name": "HostKind", + "modelAsString": true, + "values": [ + { + "name": "General", + "value": "General" + }, + { + "name": "Specialized", + "value": "Specialized" + } + ] + } + }, + "HostListResult": { + "type": "object", + "description": "The response of a Host list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Host items on this page", + "items": { + "$ref": "#/definitions/Host" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "HostMaintenance": { + "type": "string", + "description": "The reason for host maintenance.", + "enum": [ + "Replacement", + "Upgrade" + ], + "x-ms-enum": { + "name": "HostMaintenance", + "modelAsString": true, + "values": [ + { + "name": "Replacement", + "value": "Replacement", + "description": "The host is a replacement host." + }, + { + "name": "Upgrade", + "value": "Upgrade", + "description": "The host is for an upgrade, such as an upgrade to ESXi, NSX-T, or other component." + } + ] + } + }, + "HostProperties": { + "type": "object", + "description": "The properties of a host.", + "properties": { + "kind": { + "$ref": "#/definitions/HostKind", + "description": "The kind of host", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/HostProvisioningState", + "description": "The state of the host provisioning.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name of the host in VMware vCenter." + }, + "moRefId": { + "type": "string", + "description": "vCenter managed object reference ID of the host.", + "readOnly": true + }, + "fqdn": { + "type": "string", + "description": "Fully qualified domain name of the host.", + "minLength": 1, + "maxLength": 255, + "readOnly": true + }, + "maintenance": { + "$ref": "#/definitions/HostMaintenance", + "description": "If provided, the host is in maintenance. The value is the reason for maintenance." + }, + "faultDomain": { + "type": "string", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "HostProvisioningState": { + "type": "string", + "description": "provisioning state of the host", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "HostProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "IdentitySource": { + "type": "object", + "description": "vCenter Single Sign On Identity Source", + "properties": { + "name": { + "type": "string", + "description": "The name of the identity source" + }, + "alias": { + "type": "string", + "description": "The domain's NetBIOS name" + }, + "domain": { + "type": "string", + "description": "The domain's DNS name" + }, + "baseUserDN": { + "type": "string", + "description": "The base distinguished name for users" + }, + "baseGroupDN": { + "type": "string", + "description": "The base distinguished name for groups" + }, + "primaryServer": { + "type": "string", + "description": "Primary server URL" + }, + "secondaryServer": { + "type": "string", + "description": "Secondary server URL" + }, + "ssl": { + "$ref": "#/definitions/SslEnum", + "description": "Protect LDAP communication using SSL certificate (LDAPS)" + }, + "username": { + "type": "string", + "description": "The ID of an Active Directory user with a minimum of read-only access to Base\nDN for users and group" + }, + "password": { + "type": "string", + "format": "password", + "description": "The password of the Active Directory user with a minimum of read-only access to\nBase DN for users and groups.", + "x-ms-secret": true + } + } + }, + "ImpactedMaintenanceResource": { + "type": "object", + "description": "Details about a resource impacted by a failed check", + "properties": { + "id": { + "type": "string", + "description": "The ID of the impacted resource", + "readOnly": true + }, + "errors": { + "type": "array", + "description": "A list of errors associated with the impacted resource", + "items": { + "$ref": "#/definitions/ImpactedMaintenanceResourceError" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ImpactedMaintenanceResourceError": { + "type": "object", + "description": "Details about an error affecting a resource", + "properties": { + "errorCode": { + "type": "string", + "description": "The error code", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the error", + "readOnly": true + }, + "details": { + "type": "string", + "description": "Additional details about the error", + "readOnly": true + }, + "resolutionSteps": { + "type": "array", + "description": "Steps to resolve the error", + "items": { + "type": "string" + }, + "readOnly": true + }, + "actionRequired": { + "type": "boolean", + "description": "Indicates whether action is required by the customer", + "readOnly": true + } + } + }, + "InternetEnum": { + "type": "string", + "description": "Whether internet is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "InternetEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "IscsiPath": { + "type": "object", + "description": "An iSCSI path resource", + "properties": { + "properties": { + "$ref": "#/definitions/IscsiPathProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "IscsiPathListResult": { + "type": "object", + "description": "The response of a IscsiPath list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IscsiPath items on this page", + "items": { + "$ref": "#/definitions/IscsiPath" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IscsiPathProperties": { + "type": "object", + "description": "The properties of an iSCSI path resource", + "properties": { + "provisioningState": { + "$ref": "#/definitions/IscsiPathProvisioningState", + "description": "The state of the iSCSI path provisioning", + "readOnly": true + }, + "networkBlock": { + "type": "string", + "description": "CIDR Block for iSCSI path.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "networkBlock" + ] + }, + "IscsiPathProvisioningState": { + "type": "string", + "description": "private cloud provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "IscsiPathProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "Label": { + "type": "object", + "description": "A key-value pair representing a label.", + "properties": { + "key": { + "type": "string", + "description": "The key of the label.", + "minLength": 1 + }, + "value": { + "type": "string", + "description": "The value of the label.", + "minLength": 1 + } + }, + "required": [ + "key", + "value" + ] + }, + "License": { + "type": "object", + "description": "A license resource", + "properties": { + "properties": { + "$ref": "#/definitions/LicenseProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "LicenseKind": { + "type": "string", + "description": "The kind of license.", + "enum": [ + "VmwareFirewall" + ], + "x-ms-enum": { + "name": "LicenseKind", + "modelAsString": true, + "values": [ + { + "name": "VmwareFirewall", + "value": "VmwareFirewall" + } + ] + } + }, + "LicenseListResult": { + "type": "object", + "description": "The response of a License list operation.", + "properties": { + "value": { + "type": "array", + "description": "The License items on this page", + "items": { + "$ref": "#/definitions/License" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LicenseProperties": { + "type": "object", + "description": "The properties of a license", + "properties": { + "kind": { + "$ref": "#/definitions/LicenseKind", + "description": "License kind" + }, + "provisioningState": { + "$ref": "#/definitions/LicenseProvisioningState", + "description": "The state of the license provisioning", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "LicenseProvisioningState": { + "type": "string", + "description": "provisioning state of the license", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "LicenseProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "Maintenance": { + "type": "object", + "description": "A cluster resource", + "properties": { + "properties": { + "$ref": "#/definitions/MaintenanceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "MaintenanceCheckType": { + "type": "string", + "description": "Defines the type of maintenance readiness check", + "enum": [ + "Precheck", + "Preflight" + ], + "x-ms-enum": { + "name": "MaintenanceCheckType", + "modelAsString": true, + "values": [ + { + "name": "Precheck", + "value": "Precheck", + "description": "Pre-check maintenance readiness" + }, + { + "name": "Preflight", + "value": "Preflight", + "description": "Pre-flight maintenance readiness" + } + ] + } + }, + "MaintenanceFailedCheck": { + "type": "object", + "description": "Details about a failed maintenance check", + "properties": { + "name": { + "type": "string", + "description": "The name of the failed check", + "readOnly": true + }, + "impactedResources": { + "type": "array", + "description": "A list of resources impacted by the failed check", + "items": { + "$ref": "#/definitions/ImpactedMaintenanceResource" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "MaintenanceListResult": { + "type": "object", + "description": "The response of a Maintenance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Maintenance items on this page", + "items": { + "$ref": "#/definitions/Maintenance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "MaintenanceManagementOperation": { + "type": "object", + "description": "Defines operations that can be performed on maintenance", + "properties": { + "kind": { + "$ref": "#/definitions/MaintenanceManagementOperationKind", + "description": "The kind of operation", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "MaintenanceManagementOperationKind": { + "type": "string", + "description": "Defines the type of operation", + "enum": [ + "Schedule", + "Reschedule", + "MaintenanceReadinessRefresh" + ], + "x-ms-enum": { + "name": "MaintenanceManagementOperationKind", + "modelAsString": true, + "values": [ + { + "name": "Schedule", + "value": "Schedule", + "description": "Represents a scheduling operation" + }, + { + "name": "Reschedule", + "value": "Reschedule", + "description": "Represents a rescheduling operation" + }, + { + "name": "MaintenanceReadinessRefresh", + "value": "MaintenanceReadinessRefresh", + "description": "Represents a maintenance readiness refresh operation" + } + ] + } + }, + "MaintenanceProperties": { + "type": "object", + "description": "properties of a maintenance", + "properties": { + "component": { + "$ref": "#/definitions/MaintenanceType", + "description": "type of maintenance", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name for maintenance", + "readOnly": true + }, + "clusterId": { + "type": "integer", + "format": "int32", + "description": "Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level", + "readOnly": true + }, + "infoLink": { + "type": "string", + "description": "Link to maintenance info", + "readOnly": true + }, + "impact": { + "type": "string", + "description": "Impact on the resource during maintenance period", + "readOnly": true + }, + "scheduledByMicrosoft": { + "type": "boolean", + "description": "If maintenance is scheduled by Microsoft", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/MaintenanceState", + "description": "The state of the maintenance", + "readOnly": true + }, + "scheduledStartTime": { + "type": "string", + "format": "date-time", + "description": "Scheduled maintenance start time", + "readOnly": true + }, + "estimatedDurationInMinutes": { + "type": "integer", + "format": "int64", + "description": "Estimated time maintenance will take in minutes", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/MaintenanceProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "operations": { + "type": "array", + "description": "Operations on maintenance", + "items": { + "$ref": "#/definitions/MaintenanceManagementOperation" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "maintenanceReadiness": { + "$ref": "#/definitions/MaintenanceReadiness", + "description": "Indicates whether the maintenance is ready to proceed", + "readOnly": true + } + } + }, + "MaintenanceProvisioningState": { + "type": "string", + "description": "provisioning state of the maintenance", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "MaintenanceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "MaintenanceReadiness": { + "type": "object", + "description": "Maintenance readiness details", + "properties": { + "type": { + "$ref": "#/definitions/MaintenanceCheckType", + "description": "The type of maintenance readiness check", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/MaintenanceReadinessStatus", + "description": "The current readiness status of maintenance", + "readOnly": true + }, + "message": { + "type": "string", + "description": "A summary message of the readiness check result", + "readOnly": true + }, + "failedChecks": { + "type": "array", + "description": "A list of failed checks, if any", + "items": { + "$ref": "#/definitions/MaintenanceFailedCheck" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the last readiness update", + "readOnly": true + } + }, + "required": [ + "type", + "status" + ] + }, + "MaintenanceReadinessRefreshOperation": { + "type": "object", + "description": "Refresh MaintenanceReadiness status", + "properties": { + "isDisabled": { + "type": "boolean", + "description": "If maintenanceReadiness refresh is disabled", + "readOnly": true + }, + "disabledReason": { + "type": "string", + "description": "Reason disabling refresh for maintenanceReadiness", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/MaintenanceReadinessRefreshOperationStatus", + "description": "Status of the operation", + "readOnly": true + }, + "refreshedByMicrosoft": { + "type": "boolean", + "description": "Indicates if the operation was refreshed by Microsoft", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Additional message about the operation", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MaintenanceManagementOperation" + } + ], + "x-ms-discriminator-value": "MaintenanceReadinessRefresh" + }, + "MaintenanceReadinessRefreshOperationStatus": { + "type": "string", + "description": "The status of an MaintenanceReadinessRefresh operation", + "enum": [ + "InProgress", + "NotStarted", + "Failed", + "NotApplicable" + ], + "x-ms-enum": { + "name": "MaintenanceReadinessRefreshOperationStatus", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "Operation is in progress" + }, + { + "name": "NotStarted", + "value": "NotStarted", + "description": "Operation has not started" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Operation has failed" + }, + { + "name": "NotApplicable", + "value": "NotApplicable", + "description": "Operation is not applicable" + } + ] + } + }, + "MaintenanceReadinessStatus": { + "type": "string", + "description": "Defines the readiness status of maintenance", + "enum": [ + "Ready", + "NotReady", + "DataNotAvailable", + "NotApplicable" + ], + "x-ms-enum": { + "name": "MaintenanceReadinessStatus", + "modelAsString": true, + "values": [ + { + "name": "Ready", + "value": "Ready", + "description": "The system is ready for maintenance" + }, + { + "name": "NotReady", + "value": "NotReady", + "description": "The system is not ready for maintenance" + }, + { + "name": "DataNotAvailable", + "value": "DataNotAvailable", + "description": "Data is not available to determine readiness" + }, + { + "name": "NotApplicable", + "value": "NotApplicable", + "description": "Readiness check is not applicable" + } + ] + } + }, + "MaintenanceReschedule": { + "type": "object", + "description": "reschedule a maintenance", + "properties": { + "rescheduleTime": { + "type": "string", + "format": "date-time", + "description": "reschedule time" + }, + "message": { + "type": "string", + "description": "rescheduling reason" + } + } + }, + "MaintenanceSchedule": { + "type": "object", + "description": "schedule a maintenance", + "properties": { + "scheduleTime": { + "type": "string", + "format": "date-time", + "description": "schedule time" + }, + "message": { + "type": "string", + "description": "scheduling message" + } + } + }, + "MaintenanceState": { + "type": "object", + "description": "state of the maintenance", + "properties": { + "name": { + "$ref": "#/definitions/MaintenanceStateName", + "description": "Customer presentable maintenance state" + }, + "message": { + "type": "string", + "description": "Failure/Success info" + }, + "startedAt": { + "type": "string", + "format": "date-time", + "description": "Time when current state started" + }, + "endedAt": { + "type": "string", + "format": "date-time", + "description": "Time when current state ended" + } + } + }, + "MaintenanceStateName": { + "type": "string", + "description": "Customer presentable maintenance state", + "enum": [ + "NotScheduled", + "Scheduled", + "InProgress", + "Success", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "MaintenanceStateName", + "modelAsString": true, + "values": [ + { + "name": "NotScheduled", + "value": "NotScheduled", + "description": "Maintenance Not Scheduled" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Maintenance Scheduled" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Maintenance In Progress" + }, + { + "name": "Success", + "value": "Success", + "description": "Maintenance Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Maintenance Failed" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Maintenance Cancelled" + } + ] + } + }, + "MaintenanceType": { + "type": "string", + "description": "type of the maintenance", + "enum": [ + "VCSA", + "ESXI", + "NSXT" + ], + "x-ms-enum": { + "name": "MaintenanceType", + "modelAsString": true, + "values": [ + { + "name": "VCSA", + "value": "VCSA", + "description": "maintenance for vCenter Server Appliance" + }, + { + "name": "ESXI", + "value": "ESXI", + "description": "maintenance for ESXi" + }, + { + "name": "NSXT", + "value": "NSXT", + "description": "maintenance for NSX-T" + } + ] + } + }, + "ManagementCluster": { + "type": "object", + "description": "The properties of a management cluster", + "properties": { + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" + }, + "provisioningState": { + "$ref": "#/definitions/ClusterProvisioningState", + "description": "The state of the cluster provisioning", + "readOnly": true + }, + "clusterId": { + "type": "integer", + "format": "int32", + "description": "The identity", + "readOnly": true + }, + "hosts": { + "type": "array", + "description": "The hosts", + "items": { + "type": "string" + } + }, + "vsanDatastoreName": { + "type": "string", + "description": "Name of the vsan datastore associated with the cluster" + } + } + }, + "NetAppVolume": { + "type": "object", + "description": "An Azure NetApp Files volume from Microsoft.NetApp provider", + "properties": { + "id": { + "type": "string", + "description": "Azure resource ID of the NetApp volume" + } + }, + "required": [ + "id" + ] + }, + "NsxPublicIpQuotaRaisedEnum": { + "type": "string", + "description": "NSX public IP quota raised", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "NsxPublicIpQuotaRaisedEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "OptionalParamEnum": { + "type": "string", + "description": "Optional Param", + "enum": [ + "Optional", + "Required" + ], + "x-ms-enum": { + "name": "OptionalParamEnum", + "modelAsString": true, + "values": [ + { + "name": "Optional", + "value": "Optional", + "description": "is optional" + }, + { + "name": "Required", + "value": "Required", + "description": "is required" + } + ] + } + }, + "PSCredentialExecutionParameter": { + "type": "object", + "description": "a powershell credential object", + "properties": { + "username": { + "type": "string", + "description": "username for login" + }, + "password": { + "type": "string", + "format": "password", + "description": "password for login", + "x-ms-secret": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "x-ms-discriminator-value": "Credential" + }, + "PagedResourceSku": { + "type": "object", + "description": "Paged collection of ResourceSku items", + "properties": { + "value": { + "type": "array", + "description": "The ResourceSku items on this page", + "items": { + "$ref": "#/definitions/ResourceSku" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PlacementPoliciesList": { + "type": "object", + "description": "The response of a PlacementPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PlacementPolicy items on this page", + "items": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PlacementPolicy": { + "type": "object", + "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", + "properties": { + "properties": { + "$ref": "#/definitions/PlacementPolicyProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PlacementPolicyProperties": { + "type": "object", + "description": "Abstract placement policy properties", + "properties": { + "type": { + "$ref": "#/definitions/PlacementPolicyType", + "description": "Placement Policy type" + }, + "state": { + "$ref": "#/definitions/PlacementPolicyState", + "description": "Whether the placement policy is enabled or disabled" + }, + "displayName": { + "type": "string", + "description": "Display name of the placement policy" + }, + "provisioningState": { + "$ref": "#/definitions/PlacementPolicyProvisioningState", + "description": "The provisioning state", + "readOnly": true + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "PlacementPolicyProvisioningState": { + "type": "string", + "description": "Placement Policy provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "PlacementPolicyProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "PlacementPolicyState": { + "type": "string", + "description": "Placement Policy state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PlacementPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "PlacementPolicyType": { + "type": "string", + "description": "Placement Policy type", + "enum": [ + "VmVm", + "VmHost" + ], + "x-ms-enum": { + "name": "PlacementPolicyType", + "modelAsString": true, + "values": [ + { + "name": "VmVm", + "value": "VmVm" + }, + { + "name": "VmHost", + "value": "VmHost" + } + ] + } + }, + "PlacementPolicyUpdate": { + "type": "object", + "description": "An update of a DRS placement policy resource", + "properties": { + "properties": { + "$ref": "#/definitions/PlacementPolicyUpdateProperties", + "description": "The properties of a placement policy resource that may be updated", + "x-ms-client-flatten": true + } + } + }, + "PlacementPolicyUpdateProperties": { + "type": "object", + "description": "The properties of a placement policy resource that may be updated", + "properties": { + "state": { + "$ref": "#/definitions/PlacementPolicyState", + "description": "Whether the placement policy is enabled or disabled" + }, + "vmMembers": { + "type": "array", + "description": "Virtual machine members list", + "items": { + "type": "string" + } + }, + "hostMembers": { + "type": "array", + "description": "Host members list", + "items": { + "type": "string" + } + }, + "affinityStrength": { + "$ref": "#/definitions/AffinityStrength", + "description": "vm-host placement policy affinity strength (should/must)" + }, + "azureHybridBenefitType": { + "$ref": "#/definitions/AzureHybridBenefitType", + "description": "placement policy azure hybrid benefit opt-in type" + } + } + }, + "PortMirroringDirectionEnum": { + "type": "string", + "description": "Port Mirroring Direction", + "enum": [ + "INGRESS", + "EGRESS", + "BIDIRECTIONAL" + ], + "x-ms-enum": { + "name": "PortMirroringDirectionEnum", + "modelAsString": true, + "values": [ + { + "name": "INGRESS", + "value": "INGRESS", + "description": "is ingress" + }, + { + "name": "EGRESS", + "value": "EGRESS", + "description": "is egress" + }, + { + "name": "BIDIRECTIONAL", + "value": "BIDIRECTIONAL", + "description": "is bidirectional" + } + ] + } + }, + "PortMirroringStatusEnum": { + "type": "string", + "description": "Port Mirroring status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "PortMirroringStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "PrivateCloud": { + "type": "object", + "description": "A private cloud resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateCloudProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + } + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "PrivateCloudList": { + "type": "object", + "description": "The response of a PrivateCloud list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateCloud items on this page", + "items": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateCloudProperties": { + "type": "object", + "description": "The properties of a private cloud resource", + "properties": { + "managementCluster": { + "$ref": "#/definitions/ManagementCluster", + "description": "The default cluster used for management" + }, + "internet": { + "type": "string", + "description": "Connectivity to internet is enabled or disabled", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "InternetEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "identitySources": { + "type": "array", + "description": "vCenter Single Sign On Identity Sources", + "items": { + "$ref": "#/definitions/IdentitySource" + }, + "x-ms-identifiers": [] + }, + "availability": { + "$ref": "#/definitions/AvailabilityProperties", + "description": "Properties describing how the cloud is distributed across availability zones", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Customer managed key encryption, can be enabled or disabled" + }, + "extendedNetworkBlocks": { + "type": "array", + "description": "Array of additional networks noncontiguous with networkBlock. Networks must be\nunique and non-overlapping across VNet in your subscription, on-premise, and\nthis privateCloud networkBlock attribute. Make sure the CIDR format conforms to\n(A.B.C.D/X).", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/PrivateCloudProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "circuit": { + "$ref": "#/definitions/Circuit", + "description": "An ExpressRoute Circuit" + }, + "endpoints": { + "$ref": "#/definitions/Endpoints", + "description": "The endpoints", + "readOnly": true + }, + "networkBlock": { + "type": "string", + "description": "The block of addresses should be unique across VNet in your subscription as\nwell as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where\nA,B,C,D are between 0 and 255, and X is between 0 and 22" + }, + "managementNetwork": { + "type": "string", + "description": "Network used to access vCenter Server and NSX-T Manager", + "readOnly": true + }, + "provisioningNetwork": { + "type": "string", + "description": "Used for virtual machine cold migration, cloning, and snapshot migration", + "readOnly": true + }, + "vmotionNetwork": { + "type": "string", + "description": "Used for live migration of virtual machines", + "readOnly": true + }, + "vcenterPassword": { + "type": "string", + "format": "password", + "description": "Optionally, set the vCenter admin password when the private cloud is created", + "x-ms-secret": true + }, + "nsxtPassword": { + "type": "string", + "format": "password", + "description": "Optionally, set the NSX-T Manager password when the private cloud is created", + "x-ms-secret": true + }, + "vcenterCertificateThumbprint": { + "type": "string", + "description": "Thumbprint of the vCenter Server SSL certificate", + "readOnly": true + }, + "nsxtCertificateThumbprint": { + "type": "string", + "description": "Thumbprint of the NSX-T Manager SSL certificate", + "readOnly": true + }, + "externalCloudLinks": { + "type": "array", + "description": "Array of cloud link IDs from other clouds that connect to this one", + "items": { + "type": "string" + }, + "readOnly": true + }, + "secondaryCircuit": { + "$ref": "#/definitions/Circuit", + "description": "A secondary expressRoute circuit from a separate AZ. Only present in a\nstretched private cloud" + }, + "nsxPublicIpQuotaRaised": { + "$ref": "#/definitions/NsxPublicIpQuotaRaisedEnum", + "description": "Flag to indicate whether the private cloud has the quota for provisioned NSX\nPublic IP count raised from 64 to 1024", + "readOnly": true + }, + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the virtual network", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "\\Microsoft.Network\\vnet" + } + ] + } + }, + "dnsZoneType": { + "$ref": "#/definitions/DnsZoneType", + "description": "The type of DNS zone to use." + }, + "vcfLicense": { + "$ref": "#/definitions/VcfLicense", + "description": "The private cloud license" + } + }, + "required": [ + "managementCluster", + "networkBlock" + ] + }, + "PrivateCloudProvisioningState": { + "type": "string", + "description": "private cloud provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Pending", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "PrivateCloudProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "PrivateCloudUpdate": { + "type": "object", + "description": "An update to a private cloud resource", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "properties": { + "$ref": "#/definitions/PrivateCloudUpdateProperties", + "description": "The updatable properties of a private cloud resource", + "x-ms-client-flatten": true + } + } + }, + "PrivateCloudUpdateProperties": { + "type": "object", + "description": "The properties of a private cloud resource that may be updated", + "properties": { + "managementCluster": { + "$ref": "#/definitions/ManagementCluster", + "description": "The default cluster used for management" + }, + "internet": { + "$ref": "#/definitions/InternetEnum", + "description": "Connectivity to internet is enabled or disabled" + }, + "identitySources": { + "type": "array", + "description": "vCenter Single Sign On Identity Sources", + "items": { + "$ref": "#/definitions/IdentitySource" + }, + "x-ms-identifiers": [] + }, + "availability": { + "$ref": "#/definitions/AvailabilityProperties", + "description": "Properties describing how the cloud is distributed across availability zones", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Customer managed key encryption, can be enabled or disabled" + }, + "extendedNetworkBlocks": { + "type": "array", + "description": "Array of additional networks noncontiguous with networkBlock. Networks must be\nunique and non-overlapping across VNet in your subscription, on-premise, and\nthis privateCloud networkBlock attribute. Make sure the CIDR format conforms to\n(A.B.C.D/X).", + "items": { + "type": "string" + } + }, + "dnsZoneType": { + "$ref": "#/definitions/DnsZoneType", + "description": "The type of DNS zone to use." + } + } + }, + "ProvisionedNetwork": { + "type": "object", + "description": "A provisioned network resource", + "properties": { + "properties": { + "$ref": "#/definitions/ProvisionedNetworkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ProvisionedNetworkListResult": { + "type": "object", + "description": "The response of a ProvisionedNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ProvisionedNetwork items on this page", + "items": { + "$ref": "#/definitions/ProvisionedNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProvisionedNetworkProperties": { + "type": "object", + "description": "The properties of a provisioned network.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisionedNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "addressPrefix": { + "type": "string", + "description": "The address prefixes of the provisioned network in CIDR notation.", + "readOnly": true + }, + "networkType": { + "$ref": "#/definitions/ProvisionedNetworkTypes", + "description": "The type of network provisioned.", + "readOnly": true + } + } + }, + "ProvisionedNetworkProvisioningState": { + "type": "string", + "description": "provisioned network provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisionedNetworkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "ProvisionedNetworkTypes": { + "type": "string", + "description": "The type of network provisioned.", + "enum": [ + "esxManagement", + "esxReplication", + "hcxManagement", + "hcxUplink", + "vcenterManagement", + "vmotion", + "vsan" + ], + "x-ms-enum": { + "name": "ProvisionedNetworkTypes", + "modelAsString": true, + "values": [ + { + "name": "esxManagement", + "value": "esxManagement", + "description": "network for ESX management" + }, + { + "name": "esxReplication", + "value": "esxReplication", + "description": "network for ESX replication" + }, + { + "name": "hcxManagement", + "value": "hcxManagement", + "description": "network for HCX management" + }, + { + "name": "hcxUplink", + "value": "hcxUplink", + "description": "network for HCX uplink" + }, + { + "name": "vcenterManagement", + "value": "vcenterManagement", + "description": "network for vCenter management" + }, + { + "name": "vmotion", + "value": "vmotion", + "description": "network for vmotion" + }, + { + "name": "vsan", + "value": "vsan", + "description": "network for vsan" + } + ] + } + }, + "PureStoragePolicy": { + "type": "object", + "description": "An instance describing a Pure Storage Policy Based Management policy", + "properties": { + "properties": { + "$ref": "#/definitions/PureStoragePolicyProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PureStoragePolicyListResult": { + "type": "object", + "description": "The response of a PureStoragePolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PureStoragePolicy items on this page", + "items": { + "$ref": "#/definitions/PureStoragePolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PureStoragePolicyProperties": { + "type": "object", + "description": "Properties of a Pure Storage Policy Based Management policy", + "properties": { + "storagePolicyDefinition": { + "type": "string", + "description": "Definition of a Pure Storage Policy Based Management policy" + }, + "storagePoolId": { + "type": "string", + "description": "Azure resource ID of the Pure Storage Pool associated with the storage policy" + }, + "provisioningState": { + "$ref": "#/definitions/PureStoragePolicyProvisioningState", + "description": "The state of the Pure Storage Policy Based Management policy provisioning", + "readOnly": true + } + }, + "required": [ + "storagePolicyDefinition", + "storagePoolId" + ] + }, + "PureStoragePolicyProvisioningState": { + "type": "string", + "description": "Pure Storage Policy Based Management policy provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "PureStoragePolicyProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "PureStorageVolume": { + "type": "object", + "description": "A Pure Storage volume from PureStorage.Block provider", + "properties": { + "storagePoolId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the Pure Storage Pool", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "PureStorage.Block/storagePools" + } + ] + } + }, + "sizeGb": { + "type": "integer", + "format": "int32", + "description": "Volume size to be used to create a Virtual Volumes (vVols) datastore" + } + }, + "required": [ + "storagePoolId", + "sizeGb" + ] + }, + "Quota": { + "type": "object", + "description": "Subscription quotas", + "properties": { + "hostsRemaining": { + "type": "object", + "description": "Remaining hosts quota by sku type", + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "readOnly": true + }, + "quotaEnabled": { + "$ref": "#/definitions/QuotaEnabled", + "description": "Host quota is active for current subscription", + "readOnly": true + } + } + }, + "QuotaEnabled": { + "type": "string", + "description": "quota enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "QuotaEnabled", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "RescheduleOperation": { + "type": "object", + "description": "Constraints for rescheduling maintenance", + "properties": { + "isDisabled": { + "type": "boolean", + "description": "If rescheduling is disabled", + "readOnly": true + }, + "disabledReason": { + "type": "string", + "description": "Reason for reschedule disabled", + "readOnly": true + }, + "constraints": { + "type": "array", + "description": "Constraints for rescheduling maintenance", + "items": { + "$ref": "#/definitions/RescheduleOperationConstraint" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/MaintenanceManagementOperation" + } + ], + "x-ms-discriminator-value": "Reschedule" + }, + "RescheduleOperationConstraint": { + "type": "object", + "description": "Defines constraints for reschedule operation on maintenance", + "properties": { + "kind": { + "$ref": "#/definitions/RescheduleOperationConstraintKind", + "description": "The kind of operation", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "RescheduleOperationConstraintKind": { + "type": "string", + "description": "Constraints for rescheduling of maintenance", + "enum": [ + "AvailableWindowForMaintenance", + "Blocked" + ], + "x-ms-enum": { + "name": "RescheduleOperationConstraintKind", + "modelAsString": true, + "values": [ + { + "name": "AvailableWindowForMaintenanceWhileRescheduleOperation", + "value": "AvailableWindowForMaintenance", + "description": "Time window in which maintenance can be rescheduled" + }, + { + "name": "BlockedWhileRescheduleOperation", + "value": "Blocked", + "description": "Blocked time range constraint" + } + ] + } + }, + "ResourceSku": { + "type": "object", + "description": "A SKU for a resource.", + "properties": { + "resourceType": { + "$ref": "#/definitions/ResourceSkuResourceType", + "description": "The type of resource the SKU applies to." + }, + "name": { + "type": "string", + "description": "The name of the SKU." + }, + "tier": { + "type": "string", + "description": "The tier of virtual machines in a scale set" + }, + "size": { + "type": "string", + "description": "The size of the SKU." + }, + "family": { + "type": "string", + "description": "The family of the SKU." + }, + "locations": { + "type": "array", + "description": "The set of locations that the SKU is available.", + "items": { + "$ref": "#/definitions/Azure.Core.azureLocation" + } + }, + "locationInfo": { + "type": "array", + "description": "A list of locations and availability zones in those locations where the SKU is available", + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "x-ms-identifiers": [] + }, + "capabilities": { + "type": "array", + "description": "Name value pairs to describe the capability.", + "items": { + "$ref": "#/definitions/ResourceSkuCapabilities" + }, + "x-ms-identifiers": [] + }, + "restrictions": { + "type": "array", + "description": "The restrictions of the SKU.", + "items": { + "$ref": "#/definitions/ResourceSkuRestrictions" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "resourceType", + "name", + "locations", + "locationInfo", + "restrictions" + ] + }, + "ResourceSkuCapabilities": { + "type": "object", + "description": "Describes The SKU capabilities object.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU capability." + }, + "value": { + "type": "string", + "description": "The value of the SKU capability." + } + }, + "required": [ + "name", + "value" + ] + }, + "ResourceSkuLocationInfo": { + "type": "object", + "description": "Describes an available Compute SKU Location Information.", + "properties": { + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "Location of the SKU" + }, + "zones": { + "type": "array", + "description": "List of availability zones where the SKU is supported.", + "items": { + "type": "string" + } + }, + "zoneDetails": { + "type": "array", + "description": "Gets details of capabilities available to a SKU in specific zones.", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "location", + "zones", + "zoneDetails" + ] + }, + "ResourceSkuResourceType": { + "type": "string", + "description": "Describes the type of resource the SKU applies to.", + "enum": [ + "privateClouds", + "privateClouds/clusters" + ], + "x-ms-enum": { + "name": "ResourceSkuResourceType", + "modelAsString": true, + "values": [ + { + "name": "privateClouds", + "value": "privateClouds", + "description": "The SKU is for a private cloud." + }, + { + "name": "privateClouds/clusters", + "value": "privateClouds/clusters", + "description": "The SKU is for a private cloud cluster." + } + ] + } + }, + "ResourceSkuRestrictionInfo": { + "type": "object", + "description": "Describes an available Compute SKU Restriction Information.", + "properties": { + "locations": { + "type": "array", + "description": "Locations where the SKU is restricted", + "items": { + "$ref": "#/definitions/Azure.Core.azureLocation" + } + }, + "zones": { + "type": "array", + "description": "List of availability zones where the SKU is restricted.", + "items": { + "type": "string" + } + } + } + }, + "ResourceSkuRestrictions": { + "type": "object", + "description": "The restrictions of the SKU.", + "properties": { + "type": { + "$ref": "#/definitions/ResourceSkuRestrictionsType", + "description": "the type of restrictions." + }, + "values": { + "type": "array", + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.", + "items": { + "type": "string" + } + }, + "restrictionInfo": { + "$ref": "#/definitions/ResourceSkuRestrictionInfo", + "description": "The information about the restriction where the SKU cannot be used." + }, + "reasonCode": { + "$ref": "#/definitions/ResourceSkuRestrictionsReasonCode", + "description": "the reason for restriction." + } + }, + "required": [ + "values", + "restrictionInfo" + ] + }, + "ResourceSkuRestrictionsReasonCode": { + "type": "string", + "description": "Describes the reason for SKU restriction.", + "enum": [ + "QuotaId", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ResourceSkuRestrictionsReasonCode", + "modelAsString": true, + "values": [ + { + "name": "QuotaId", + "value": "QuotaId", + "description": "The restriction is due to exceeding a quota limitation." + }, + { + "name": "NotAvailableForSubscription", + "value": "NotAvailableForSubscription", + "description": "The restriction is not available for this subscription." + } + ] + } + }, + "ResourceSkuRestrictionsType": { + "type": "string", + "description": "Describes the kind of SKU restrictions that can exist", + "enum": [ + "Location", + "Zone" + ], + "x-ms-enum": { + "name": "ResourceSkuRestrictionsType", + "modelAsString": true, + "values": [ + { + "name": "Location", + "value": "Location", + "description": "SKU restricted by location." + }, + { + "name": "Zone", + "value": "Zone", + "description": "SKU restricted by availability zone." + } + ] + } + }, + "ResourceSkuZoneDetails": { + "type": "object", + "description": "Describes The zonal capabilities of a SKU.", + "properties": { + "name": { + "type": "array", + "description": "Gets the set of zones that the SKU is available in with the specified capabilities.", + "items": { + "type": "string" + } + }, + "capabilities": { + "type": "array", + "description": "A list of capabilities that are available for the SKU in the specified list of zones.", + "items": { + "$ref": "#/definitions/ResourceSkuCapabilities" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name", + "capabilities" + ] + }, + "ScheduleOperation": { + "type": "object", + "description": "Scheduling window constraint", + "properties": { + "isDisabled": { + "type": "boolean", + "description": "If scheduling is disabled", + "readOnly": true + }, + "disabledReason": { + "type": "string", + "description": "Reason for schedule disabled", + "readOnly": true + }, + "constraints": { + "type": "array", + "description": "Constraints for scheduling maintenance", + "items": { + "$ref": "#/definitions/ScheduleOperationConstraint" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/MaintenanceManagementOperation" + } + ], + "x-ms-discriminator-value": "Schedule" + }, + "ScheduleOperationConstraint": { + "type": "object", + "description": "Defines constraints for schedule operation on maintenance", + "properties": { + "kind": { + "$ref": "#/definitions/ScheduleOperationConstraintKind", + "description": "The kind of operation", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "ScheduleOperationConstraintKind": { + "type": "string", + "description": "Constraints for scheduling of maintenance", + "enum": [ + "SchedulingWindow", + "AvailableWindowForMaintenance", + "Blocked" + ], + "x-ms-enum": { + "name": "ScheduleOperationConstraintKind", + "modelAsString": true, + "values": [ + { + "name": "SchedulingWindow", + "value": "SchedulingWindow", + "description": "Time window in which Customer has option to schedule maintenance" + }, + { + "name": "AvailableWindowForMaintenanceWhileScheduleOperation", + "value": "AvailableWindowForMaintenance", + "description": "Time window in which maintenance can be scheduled" + }, + { + "name": "BlockedWhileScheduleOperation", + "value": "Blocked", + "description": "Blocked time range constraint" + } + ] + } + }, + "SchedulingWindow": { + "type": "object", + "description": "Time window in which Customer has option to schedule maintenance", + "properties": { + "startsAt": { + "type": "string", + "format": "date-time", + "description": "Start date time", + "readOnly": true + }, + "endsAt": { + "type": "string", + "format": "date-time", + "description": "End date Time", + "readOnly": true + } + }, + "required": [ + "startsAt", + "endsAt" + ], + "allOf": [ + { + "$ref": "#/definitions/ScheduleOperationConstraint" + } + ], + "x-ms-discriminator-value": "SchedulingWindow" + }, + "ScriptCmdlet": { + "type": "object", + "description": "A cmdlet available for script execution", + "properties": { + "properties": { + "$ref": "#/definitions/ScriptCmdletProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ScriptCmdletAudience": { + "type": "string", + "description": "Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers", + "enum": [ + "Automation", + "Any" + ], + "x-ms-enum": { + "name": "ScriptCmdletAudience", + "modelAsString": true, + "values": [ + { + "name": "Automation", + "value": "Automation", + "description": "is automation" + }, + { + "name": "Any", + "value": "Any", + "description": "is any" + } + ] + } + }, + "ScriptCmdletProperties": { + "type": "object", + "description": "Properties of a pre-canned script", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ScriptCmdletProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the scripts functionality", + "readOnly": true + }, + "timeout": { + "type": "string", + "description": "Recommended time limit for execution", + "readOnly": true + }, + "audience": { + "$ref": "#/definitions/ScriptCmdletAudience", + "description": "Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers", + "readOnly": true + }, + "parameters": { + "type": "array", + "description": "Parameters the script will accept", + "items": { + "$ref": "#/definitions/ScriptParameter" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ScriptCmdletProvisioningState": { + "type": "string", + "description": "A script cmdlet provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ScriptCmdletProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "ScriptCmdletsList": { + "type": "object", + "description": "The response of a ScriptCmdlet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptCmdlet items on this page", + "items": { + "$ref": "#/definitions/ScriptCmdlet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScriptExecution": { + "type": "object", + "description": "An instance of a script executed by a user - custom or AVS", + "properties": { + "properties": { + "$ref": "#/definitions/ScriptExecutionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ScriptExecutionParameter": { + "type": "object", + "description": "The arguments passed in to the execution", + "properties": { + "type": { + "$ref": "#/definitions/ScriptExecutionParameterType", + "description": "script execution parameter type" + }, + "name": { + "type": "string", + "description": "The parameter name" + } + }, + "discriminator": "type", + "required": [ + "type", + "name" + ] + }, + "ScriptExecutionParameterType": { + "type": "string", + "description": "script execution parameter type", + "enum": [ + "Value", + "SecureValue", + "Credential" + ], + "x-ms-enum": { + "name": "ScriptExecutionParameterType", + "modelAsString": true, + "values": [ + { + "name": "Value", + "value": "Value" + }, + { + "name": "SecureValue", + "value": "SecureValue" + }, + { + "name": "Credential", + "value": "Credential" + } + ] + } + }, + "ScriptExecutionProperties": { + "type": "object", + "description": "Properties of a user-invoked script", + "properties": { + "scriptCmdletId": { + "type": "string", + "description": "A reference to the script cmdlet resource if user is running a AVS script" + }, + "parameters": { + "type": "array", + "description": "Parameters the script will accept", + "items": { + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [] + }, + "hiddenParameters": { + "type": "array", + "description": "Parameters that will be hidden/not visible to ARM, such as passwords and\ncredentials", + "items": { + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [] + }, + "failureReason": { + "type": "string", + "description": "Error message if the script was able to run, but if the script itself had\nerrors or powershell threw an exception" + }, + "timeout": { + "type": "string", + "description": "Time limit for execution" + }, + "retention": { + "type": "string", + "description": "Time to live for the resource. If not provided, will be available for 60 days" + }, + "submittedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was submitted", + "readOnly": true + }, + "startedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was started", + "readOnly": true + }, + "finishedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was finished", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ScriptExecutionProvisioningState", + "description": "The state of the script execution resource", + "readOnly": true + }, + "output": { + "type": "array", + "description": "Standard output stream from the powershell execution", + "items": { + "type": "string" + } + }, + "namedOutputs": { + "type": "object", + "description": "User-defined dictionary.", + "additionalProperties": { + "type": "object" + } + }, + "information": { + "type": "array", + "description": "Standard information out stream from the powershell execution", + "items": { + "type": "string" + }, + "readOnly": true + }, + "warnings": { + "type": "array", + "description": "Standard warning out stream from the powershell execution", + "items": { + "type": "string" + }, + "readOnly": true + }, + "errors": { + "type": "array", + "description": "Standard error output stream from the powershell execution", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "timeout" + ] + }, + "ScriptExecutionProvisioningState": { + "type": "string", + "description": "Script Execution provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Running", + "Cancelling", + "Cancelled", + "Deleting" + ], + "x-ms-enum": { + "name": "ScriptExecutionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Running", + "value": "Running", + "description": "is running" + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "is cancelling" + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + } + ] + }, + "readOnly": true + }, + "ScriptExecutionsList": { + "type": "object", + "description": "The response of a ScriptExecution list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptExecution items on this page", + "items": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScriptOutputStreamType": { + "type": "string", + "description": "Script Output Stream type", + "enum": [ + "Information", + "Warning", + "Output", + "Error" + ], + "x-ms-enum": { + "name": "ScriptOutputStreamType", + "modelAsString": true, + "values": [ + { + "name": "Information", + "value": "Information", + "description": "is information" + }, + { + "name": "Warning", + "value": "Warning", + "description": "is warning" + }, + { + "name": "Output", + "value": "Output", + "description": "is output" + }, + { + "name": "Error", + "value": "Error", + "description": "is error" + } + ] + } + }, + "ScriptPackage": { + "type": "object", + "description": "Script Package resources available for execution", + "properties": { + "properties": { + "$ref": "#/definitions/ScriptPackageProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ScriptPackageProperties": { + "type": "object", + "description": "Properties of a Script Package subresource", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ScriptPackageProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "User friendly description of the package", + "readOnly": true + }, + "version": { + "type": "string", + "description": "Module version", + "readOnly": true + }, + "company": { + "type": "string", + "description": "Company that created and supports the package", + "readOnly": true + }, + "uri": { + "type": "string", + "description": "Link to support by the package vendor", + "readOnly": true + } + } + }, + "ScriptPackageProvisioningState": { + "type": "string", + "description": "Script Package provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ScriptPackageProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "ScriptPackagesList": { + "type": "object", + "description": "The response of a ScriptPackage list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptPackage items on this page", + "items": { + "$ref": "#/definitions/ScriptPackage" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScriptParameter": { + "type": "object", + "description": "An parameter that the script will accept", + "properties": { + "type": { + "$ref": "#/definitions/ScriptParameterTypes", + "description": "The type of parameter the script is expecting. psCredential is a\nPSCredentialObject", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The parameter name that the script will expect a parameter value for" + }, + "description": { + "type": "string", + "description": "User friendly description of the parameter", + "readOnly": true + }, + "visibility": { + "$ref": "#/definitions/VisibilityParameterEnum", + "description": "Should this parameter be visible to arm and passed in the parameters argument\nwhen executing", + "readOnly": true + }, + "optional": { + "$ref": "#/definitions/OptionalParamEnum", + "description": "Is this parameter required or optional", + "readOnly": true + } + } + }, + "ScriptParameterTypes": { + "type": "string", + "description": "Script Parameter types", + "enum": [ + "String", + "SecureString", + "Credential", + "Int", + "Bool", + "Float" + ], + "x-ms-enum": { + "name": "ScriptParameterTypes", + "modelAsString": true, + "values": [ + { + "name": "String", + "value": "String", + "description": "is string" + }, + { + "name": "SecureString", + "value": "SecureString", + "description": "is secure string" + }, + { + "name": "Credential", + "value": "Credential", + "description": "is credential" + }, + { + "name": "Int", + "value": "Int", + "description": "is int" + }, + { + "name": "Bool", + "value": "Bool", + "description": "is bool" + }, + { + "name": "Float", + "value": "Float", + "description": "is float" + } + ] + } + }, + "ScriptSecureStringExecutionParameter": { + "type": "object", + "description": "a plain text value execution parameter", + "properties": { + "secureValue": { + "type": "string", + "format": "password", + "description": "A secure value for the passed parameter, not to be stored in logs", + "x-ms-secret": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "x-ms-discriminator-value": "SecureValue" + }, + "ScriptStringExecutionParameter": { + "type": "object", + "description": "a plain text value execution parameter", + "properties": { + "value": { + "type": "string", + "description": "The value for the passed parameter" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "x-ms-discriminator-value": "Value" + }, + "SegmentStatusEnum": { + "type": "string", + "description": "Segment status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "SegmentStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "SpecializedHostProperties": { + "type": "object", + "description": "The properties of a specialized host.", + "allOf": [ + { + "$ref": "#/definitions/HostProperties" + } + ], + "x-ms-discriminator-value": "Specialized" + }, + "SslEnum": { + "type": "string", + "description": "Whether SSL is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SslEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "Trial": { + "type": "object", + "description": "Subscription trial availability", + "properties": { + "status": { + "$ref": "#/definitions/TrialStatus", + "description": "Trial status", + "readOnly": true + }, + "availableHosts": { + "type": "integer", + "format": "int32", + "description": "Number of trial hosts available", + "readOnly": true + } + } + }, + "TrialStatus": { + "type": "string", + "description": "trial status", + "enum": [ + "TrialAvailable", + "TrialUsed", + "TrialDisabled" + ], + "x-ms-enum": { + "name": "TrialStatus", + "modelAsString": true, + "values": [ + { + "name": "TrialAvailable", + "value": "TrialAvailable", + "description": "is available" + }, + { + "name": "TrialUsed", + "value": "TrialUsed", + "description": "is used" + }, + { + "name": "TrialDisabled", + "value": "TrialDisabled", + "description": "is disabled" + } + ] + } + }, + "VMGroupStatusEnum": { + "type": "string", + "description": "VM group status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "VMGroupStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "VMTypeEnum": { + "type": "string", + "description": "VM type", + "enum": [ + "REGULAR", + "EDGE", + "SERVICE" + ], + "x-ms-enum": { + "name": "VMTypeEnum", + "modelAsString": true, + "values": [ + { + "name": "REGULAR", + "value": "REGULAR", + "description": "is regular" + }, + { + "name": "EDGE", + "value": "EDGE", + "description": "is edge" + }, + { + "name": "SERVICE", + "value": "SERVICE", + "description": "is service" + } + ] + } + }, + "Vcf5License": { + "type": "object", + "description": "A VMware Cloud Foundation (VCF) 5.0 license", + "properties": { + "licenseKey": { + "type": "string", + "format": "password", + "description": "License key", + "x-ms-secret": true + }, + "cores": { + "type": "integer", + "format": "int32", + "description": "Number of cores included in the license" + }, + "endDate": { + "type": "string", + "format": "date-time", + "description": "UTC datetime when the license expires" + }, + "broadcomSiteId": { + "type": "string", + "description": "The Broadcom site ID associated with the license." + }, + "broadcomContractNumber": { + "type": "string", + "description": "The Broadcom contract number associated with the license." + }, + "labels": { + "type": "array", + "description": "Additional labels passed through for license reporting.", + "items": { + "$ref": "#/definitions/Label" + }, + "x-ms-identifiers": [ + "key" + ] + } + }, + "required": [ + "cores", + "endDate" + ], + "allOf": [ + { + "$ref": "#/definitions/VcfLicense" + } + ], + "x-ms-discriminator-value": "vcf5" + }, + "VcfLicense": { + "type": "object", + "description": "A VMware Cloud Foundation license", + "properties": { + "kind": { + "$ref": "#/definitions/VcfLicenseKind", + "description": "License kind" + }, + "provisioningState": { + "$ref": "#/definitions/LicenseProvisioningState", + "description": "The state of the license provisioning", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "VcfLicenseKind": { + "type": "string", + "description": "The kind of license.", + "enum": [ + "vcf5" + ], + "x-ms-enum": { + "name": "VcfLicenseKind", + "modelAsString": true, + "values": [ + { + "name": "Vcf5", + "value": "vcf5", + "description": "A VMware Cloud Foundation (VCF) 5.0 license" + } + ] + } + }, + "VirtualMachine": { + "type": "object", + "description": "Virtual Machine", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VirtualMachineProperties": { + "type": "object", + "description": "Virtual Machine Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/VirtualMachineProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name of the VM.", + "readOnly": true + }, + "moRefId": { + "type": "string", + "description": "vCenter managed object reference ID of the virtual machine", + "readOnly": true + }, + "folderPath": { + "type": "string", + "description": "Path to virtual machine's folder starting from datacenter virtual machine folder", + "readOnly": true + }, + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)", + "readOnly": true + } + } + }, + "VirtualMachineProvisioningState": { + "type": "string", + "description": "Virtual Machine provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "VirtualMachineProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "VirtualMachineRestrictMovement": { + "type": "object", + "description": "Set VM DRS-driven movement to restricted (enabled) or not (disabled)", + "properties": { + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)" + } + } + }, + "VirtualMachineRestrictMovementState": { + "type": "string", + "description": "Virtual Machine Restrict Movement state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "VirtualMachineRestrictMovementState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "VirtualMachinesList": { + "type": "object", + "description": "The response of a VirtualMachine list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualMachine items on this page", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VisibilityParameterEnum": { + "type": "string", + "description": "Visibility Parameter", + "enum": [ + "Visible", + "Hidden" + ], + "x-ms-enum": { + "name": "VisibilityParameterEnum", + "modelAsString": true, + "values": [ + { + "name": "Visible", + "value": "Visible", + "description": "is visible" + }, + { + "name": "Hidden", + "value": "Hidden", + "description": "is hidden" + } + ] + } + }, + "VmHostPlacementPolicyProperties": { + "type": "object", + "description": "VM-Host placement policy properties", + "properties": { + "vmMembers": { + "type": "array", + "description": "Virtual machine members list", + "items": { + "type": "string" + } + }, + "hostMembers": { + "type": "array", + "description": "Host members list", + "items": { + "type": "string" + } + }, + "affinityType": { + "$ref": "#/definitions/AffinityType", + "description": "placement policy affinity type" + }, + "affinityStrength": { + "$ref": "#/definitions/AffinityStrength", + "description": "vm-host placement policy affinity strength (should/must)" + }, + "azureHybridBenefitType": { + "$ref": "#/definitions/AzureHybridBenefitType", + "description": "placement policy azure hybrid benefit opt-in type" + } + }, + "required": [ + "vmMembers", + "hostMembers", + "affinityType" + ], + "allOf": [ + { + "$ref": "#/definitions/PlacementPolicyProperties" + } + ], + "x-ms-discriminator-value": "VmHost" + }, + "VmVmPlacementPolicyProperties": { + "type": "object", + "description": "VM-VM placement policy properties", + "properties": { + "vmMembers": { + "type": "array", + "description": "Virtual machine members list", + "items": { + "type": "string" + } + }, + "affinityType": { + "$ref": "#/definitions/AffinityType", + "description": "placement policy affinity type" + } + }, + "required": [ + "vmMembers", + "affinityType" + ], + "allOf": [ + { + "$ref": "#/definitions/PlacementPolicyProperties" + } + ], + "x-ms-discriminator-value": "VmVm" + }, + "VmwareFirewallLicenseProperties": { + "type": "object", + "description": "The properties of a VMware Firewall license", + "properties": { + "licenseKey": { + "type": "string", + "format": "password", + "description": "License key", + "x-ms-secret": true + }, + "cores": { + "type": "integer", + "format": "int32", + "description": "Number of cores included in the license, measured per hour" + }, + "endDate": { + "type": "string", + "format": "date-time", + "description": "UTC datetime when the license expires" + }, + "broadcomSiteId": { + "type": "string", + "description": "The Broadcom site ID associated with the license." + }, + "broadcomContractNumber": { + "type": "string", + "description": "The Broadcom contract number associated with the license." + }, + "labels": { + "type": "array", + "description": "Additional labels passed through for license reporting.", + "items": { + "$ref": "#/definitions/Label" + }, + "x-ms-identifiers": [ + "key" + ] + } + }, + "required": [ + "cores", + "endDate" + ], + "allOf": [ + { + "$ref": "#/definitions/LicenseProperties" + } + ], + "x-ms-discriminator-value": "VmwareFirewall" + }, + "WorkloadNetwork": { + "type": "object", + "description": "Workload Network", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDhcp": { + "type": "object", + "description": "NSX DHCP", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDhcpEntity": { + "type": "object", + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to\ninherit from", + "properties": { + "dhcpType": { + "$ref": "#/definitions/DhcpTypeEnum", + "description": "Type of DHCP: SERVER or RELAY." + }, + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." + }, + "segments": { + "type": "array", + "description": "NSX Segments consuming DHCP.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkDhcpProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + }, + "discriminator": "dhcpType", + "required": [ + "dhcpType" + ] + }, + "WorkloadNetworkDhcpList": { + "type": "object", + "description": "The response of a WorkloadNetworkDhcp list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkDhcp items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkDhcpProvisioningState": { + "type": "string", + "description": "Workload Network DHCP provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDhcpProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkDhcpRelay": { + "type": "object", + "description": "NSX DHCP Relay", + "properties": { + "serverAddresses": { + "type": "array", + "description": "DHCP Relay Addresses. Max 3.", + "minItems": 1, + "maxItems": 3, + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "x-ms-discriminator-value": "RELAY" + }, + "WorkloadNetworkDhcpServer": { + "type": "object", + "description": "NSX DHCP Server", + "properties": { + "serverAddress": { + "type": "string", + "description": "DHCP Server Address." + }, + "leaseTime": { + "type": "integer", + "format": "int64", + "description": "DHCP Server Lease Time." + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "x-ms-discriminator-value": "SERVER" + }, + "WorkloadNetworkDnsService": { + "type": "object", + "description": "NSX DNS Service", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsServiceProperties": { + "type": "object", + "description": "NSX DNS Service Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the DNS Service." + }, + "dnsServiceIp": { + "type": "string", + "description": "DNS service IP of the DNS Service." + }, + "defaultDnsZone": { + "type": "string", + "description": "Default DNS zone of the DNS Service." + }, + "fqdnZones": { + "type": "array", + "description": "FQDN zones of the DNS Service.", + "items": { + "type": "string" + } + }, + "logLevel": { + "$ref": "#/definitions/DnsServiceLogLevelEnum", + "description": "DNS Service log level." + }, + "status": { + "$ref": "#/definitions/DnsServiceStatusEnum", + "description": "DNS Service status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkDnsServiceProvisioningState": { + "type": "string", + "description": "Workload Network DNS Service provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsServiceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkDnsServicesList": { + "type": "object", + "description": "The response of a WorkloadNetworkDnsService list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkDnsService items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkDnsZone": { + "type": "object", + "description": "NSX DNS Zone", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsZoneProperties": { + "type": "object", + "description": "NSX DNS Zone Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the DNS Zone." + }, + "domain": { + "type": "array", + "description": "Domain names of the DNS Zone.", + "items": { + "type": "string" + } + }, + "dnsServerIps": { + "type": "array", + "description": "DNS Server IP array of the DNS Zone.", + "items": { + "type": "string" + } + }, + "sourceIp": { + "type": "string", + "description": "Source IP of the DNS Zone." + }, + "dnsServices": { + "type": "integer", + "format": "int64", + "description": "Number of DNS Services using the DNS zone." + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkDnsZoneProvisioningState": { + "type": "string", + "description": "Workload Network DNS Zone provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsZoneProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkDnsZonesList": { + "type": "object", + "description": "The response of a WorkloadNetworkDnsZone list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkDnsZone items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkGateway": { + "type": "object", + "description": "NSX Gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkGatewayProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkGatewayList": { + "type": "object", + "description": "The response of a WorkloadNetworkGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkGateway items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkGatewayProperties": { + "type": "object", + "description": "Properties of a NSX Gateway.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." + }, + "path": { + "type": "string", + "description": "NSX Gateway Path.", + "readOnly": true + } + } + }, + "WorkloadNetworkList": { + "type": "object", + "description": "The response of a WorkloadNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetwork items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkPortMirroring": { + "type": "object", + "description": "NSX Port Mirroring", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkPortMirroringList": { + "type": "object", + "description": "The response of a WorkloadNetworkPortMirroring list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkPortMirroring items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkPortMirroringProperties": { + "type": "object", + "description": "NSX Port Mirroring Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the port mirroring profile." + }, + "direction": { + "$ref": "#/definitions/PortMirroringDirectionEnum", + "description": "Direction of port mirroring profile." + }, + "source": { + "type": "string", + "description": "Source VM Group." + }, + "destination": { + "type": "string", + "description": "Destination VM Group." + }, + "status": { + "$ref": "#/definitions/PortMirroringStatusEnum", + "description": "Port Mirroring Status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkPortMirroringProvisioningState": { + "type": "string", + "description": "Workload Network Port Mirroring provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkPortMirroringProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkProperties": { + "type": "object", + "description": "The properties of a workload network", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "WorkloadNetworkProvisioningState": { + "type": "string", + "description": "base Workload Network provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkPublicIP": { + "type": "object", + "description": "NSX Public IP Block", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkPublicIPProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkPublicIPProperties": { + "type": "object", + "description": "NSX Public IP Block Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the Public IP Block." + }, + "numberOfPublicIPs": { + "type": "integer", + "format": "int64", + "description": "Number of Public IPs requested." + }, + "publicIPBlock": { + "type": "string", + "description": "CIDR Block of the Public IP Block.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkPublicIPProvisioningState", + "description": "The provisioning state", + "readOnly": true + } + } + }, + "WorkloadNetworkPublicIPProvisioningState": { + "type": "string", + "description": "Workload Network Public IP provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkPublicIPProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkPublicIPsList": { + "type": "object", + "description": "The response of a WorkloadNetworkPublicIP list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkPublicIP items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkSegment": { + "type": "object", + "description": "NSX Segment", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkSegmentPortVif": { + "type": "object", + "description": "Ports and any VIF attached to segment.", + "properties": { + "portName": { + "type": "string", + "description": "Name of port or VIF attached to segment." + } + } + }, + "WorkloadNetworkSegmentProperties": { + "type": "object", + "description": "NSX Segment Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the segment." + }, + "connectedGateway": { + "type": "string", + "description": "Gateway which to connect segment to." + }, + "subnet": { + "$ref": "#/definitions/WorkloadNetworkSegmentSubnet", + "description": "Subnet which to connect segment to." + }, + "portVif": { + "type": "array", + "description": "Port Vif which segment is associated with.", + "items": { + "$ref": "#/definitions/WorkloadNetworkSegmentPortVif" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/SegmentStatusEnum", + "description": "Segment status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkSegmentProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkSegmentProvisioningState": { + "type": "string", + "description": "Workload Network Segment provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkSegmentProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkSegmentSubnet": { + "type": "object", + "description": "Subnet configuration for segment", + "properties": { + "dhcpRanges": { + "type": "array", + "description": "DHCP Range assigned for subnet.", + "items": { + "type": "string" + } + }, + "gatewayAddress": { + "type": "string", + "description": "Gateway address." + } + } + }, + "WorkloadNetworkSegmentsList": { + "type": "object", + "description": "The response of a WorkloadNetworkSegment list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkSegment items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkVMGroup": { + "type": "object", + "description": "NSX VM Group", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkVMGroupProperties": { + "type": "object", + "description": "NSX VM Group Properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the VM group." + }, + "members": { + "type": "array", + "description": "Virtual machine members of this group.", + "items": { + "type": "string" + } + }, + "status": { + "$ref": "#/definitions/VMGroupStatusEnum", + "description": "VM Group status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkVMGroupProvisioningState": { + "type": "string", + "description": "Workload Network VM Group provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkVMGroupProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkVMGroupsList": { + "type": "object", + "description": "The response of a WorkloadNetworkVMGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkVMGroup items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadNetworkVirtualMachine": { + "type": "object", + "description": "NSX Virtual Machine", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkVirtualMachineProperties": { + "type": "object", + "description": "NSX Virtual Machine Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name of the VM." + }, + "vmType": { + "$ref": "#/definitions/VMTypeEnum", + "description": "Virtual machine type.", + "readOnly": true + } + } + }, + "WorkloadNetworkVirtualMachinesList": { + "type": "object", + "description": "The response of a WorkloadNetworkVirtualMachine list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkVirtualMachine items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + } + }, + "parameters": { + "DhcpIdParameter": { + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "DnsServiceIdParameter": { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "DnsZoneIdParameter": { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PortMirroringProfileParameter": { + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PrivateCloudNameParameter": { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PublicIPIdParameter": { + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "VmGroupIdParameter": { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + } + } +}