diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..084d4d4345ba --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..3e12376f12bf --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..b2eac10436ac --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..24bb85f99409 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json new file mode 100644 index 000000000000..051ca6fe3857 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Addons_Delete", + "operationId": "Addons_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..caf0e4dcd516 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json new file mode 100644 index 000000000000..413453b30e44 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json new file mode 100644 index 000000000000..983397f80db0 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json new file mode 100644 index 000000000000..e2de4f086874 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_VR", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Addons_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json new file mode 100644 index 000000000000..6d398298adbf --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json @@ -0,0 +1,28 @@ +{ + "title": "Addons_List", + "operationId": "Addons_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..2dccc94bfbd3 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json @@ -0,0 +1,37 @@ +{ + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json new file mode 100644 index 000000000000..f0f59810c569 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json new file mode 100644 index 000000000000..9067ae50b541 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json @@ -0,0 +1,26 @@ +{ + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json new file mode 100644 index 000000000000..f11ad228b57e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json @@ -0,0 +1,29 @@ +{ + "title": "Authorizations_List", + "operationId": "Authorizations_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..56102b16738f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json new file mode 100644 index 000000000000..cd570965f00a --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json new file mode 100644 index 000000000000..584a5390976f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json new file mode 100644 index 000000000000..2cf681c14a3b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json @@ -0,0 +1,27 @@ +{ + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..60055b64bb63 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json @@ -0,0 +1,54 @@ +{ + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json new file mode 100644 index 000000000000..24afeb63194b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json new file mode 100644 index 000000000000..59f425ab5f27 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json @@ -0,0 +1,33 @@ +{ + "title": "Clusters_Get", + "operationId": "Clusters_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json new file mode 100644 index 000000000000..2a2565f1bd23 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_List", + "operationId": "Clusters_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json new file mode 100644 index 000000000000..f85165285c40 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json @@ -0,0 +1,27 @@ +{ + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..8980ac424479 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json new file mode 100644 index 000000000000..d85060459e83 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json @@ -0,0 +1,52 @@ +{ + "title": "Clusters_Update", + "operationId": "Clusters_Update", + "parameters": { + "api-version": "2023-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, + "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/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..32f6d9ff78db --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json @@ -0,0 +1,49 @@ +{ + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json new file mode 100644 index 000000000000..91e0edf72196 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json new file mode 100644 index 000000000000..64b5c01459d6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Datastores_Get", + "operationId": "Datastores_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Datastores_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json new file mode 100644 index 000000000000..2a9a2afb8300 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json @@ -0,0 +1,58 @@ +{ + "title": "Datastores_List", + "operationId": "Datastores_List", + "parameters": { + "api-version": "2023-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" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..283417360337 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..609f6d8abdac --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..8c246a1b666e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json @@ -0,0 +1,28 @@ +{ + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json new file mode 100644 index 000000000000..ac01618ff61d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json @@ -0,0 +1,31 @@ +{ + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..fd7e99f24eb6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..09f97805e0e4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json @@ -0,0 +1,15 @@ +{ + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..06bc6698de19 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json @@ -0,0 +1,24 @@ +{ + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..8f7343ad0dae --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json @@ -0,0 +1,27 @@ +{ + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..cd4412b41f0c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json new file mode 100644 index 000000000000..91def6ffb56e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json new file mode 100644 index 000000000000..29b8f5815b89 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json new file mode 100644 index 000000000000..f0ad6d2fdf6d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..838cdf505abe --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckQuotaAvailability", + "operationId": "Locations_CheckQuotaAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..45f6e9342a96 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "Locations_CheckTrialAvailability", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..84bf656a903f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckTrialAvailabilityWithSku", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json new file mode 100644 index 000000000000..bde9f5a66d8c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json @@ -0,0 +1,324 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..3fb246e5a611 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,84 @@ +{ + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..98dcc9c25223 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json new file mode 100644 index 000000000000..9c6f5755dee5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json @@ -0,0 +1,39 @@ +{ + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json new file mode 100644 index 000000000000..5680a5ca9688 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json @@ -0,0 +1,58 @@ +{ + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json new file mode 100644 index 000000000000..d1b2e94dc9de --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json @@ -0,0 +1,83 @@ +{ + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..c4773f702167 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-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 + } + }, + "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, + "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", + "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", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..f937576f2884 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,151 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-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 + } + }, + "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": "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", + "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", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json new file mode 100644 index 000000000000..ce14c53cac86 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json new file mode 100644 index 000000000000..4aea03fa2ec1 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-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, + "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", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..0b431ee65f92 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json @@ -0,0 +1,79 @@ +{ + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-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, + "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" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json new file mode 100644 index 000000000000..c10716b98619 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json @@ -0,0 +1,75 @@ +{ + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-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, + "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" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..1169f66580bc --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..bf4ff0decc41 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json @@ -0,0 +1,71 @@ +{ + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-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, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..05e60737212a --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,78 @@ +{ + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-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, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..caa617d386a5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json @@ -0,0 +1,82 @@ +{ + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-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", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..ea9728d6e168 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..ae5cc35b5d42 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json new file mode 100644 index 000000000000..eca10b3b953f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json @@ -0,0 +1,160 @@ +{ + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..733abd3984c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..6f58059df70c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json @@ -0,0 +1,49 @@ +{ + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json new file mode 100644 index 000000000000..f51de5f923c6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json @@ -0,0 +1,78 @@ +{ + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..61d455573c9f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..1e4861879ef3 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json new file mode 100644 index 000000000000..07b4bb84e0c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json @@ -0,0 +1,42 @@ +{ + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..7608c0846235 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,44 @@ +{ + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json new file mode 100644 index 000000000000..bb35f9db2db7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json @@ -0,0 +1,45 @@ +{ + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json new file mode 100644 index 000000000000..737b54f9e94d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json @@ -0,0 +1,26 @@ +{ + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json new file mode 100644 index 000000000000..12e520c461c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json @@ -0,0 +1,40 @@ +{ + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json new file mode 100644 index 000000000000..8f25bdc2d552 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json @@ -0,0 +1,27 @@ +{ + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json new file mode 100644 index 000000000000..60df3a2567d5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json @@ -0,0 +1,41 @@ +{ + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..9329fa4b4ee4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..933875fce733 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..a2be1beeb7e7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..7da0394bfc59 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..60000ee7ac88 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..e0caa928d773 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..bed8eccc86b8 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,66 @@ +{ + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..a92532362070 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..a26760e58b70 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..4cf2abe8f384 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..4156fbaaccf2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..2e19600fdde1 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..a30f0bb6fbb9 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..b68ace210b88 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..aad6094bff32 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..f8d5f4e28a34 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json @@ -0,0 +1,19 @@ +{ + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..2fcb1de106b6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..6770c3a9c152 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..e21810a60dea --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..11c0eac3e3ee --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..2505c21ea643 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..101d91f1e822 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..495a0d4872c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..02f1f9e257e1 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..b599fb749b9a --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json new file mode 100644 index 000000000000..290d443e6a59 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json @@ -0,0 +1,23 @@ +{ + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..daf47b737451 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..b99df2a6872b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..7dcf025391fa --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,33 @@ +{ + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..f043446c2a91 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..a5acf85529b7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..21c222ee88c7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..2eee7a6c142b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json @@ -0,0 +1,40 @@ +{ + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..9d0141e6716e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..f63e522bd260 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..ae65393a8ac4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..9e71d03146d7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..e042b707070d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..c4d175bf35fa --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..e6717f00d22e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,54 @@ +{ + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..85744f8b8d5d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2023-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/Microsoft.AVS/main.tsp b/specification/vmware/Microsoft.AVS/main.tsp new file mode 100644 index 000000000000..ef633b4e88ed --- /dev/null +++ b/specification/vmware/Microsoft.AVS/main.tsp @@ -0,0 +1,25 @@ +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./routes.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@armProviderNamespace("Microsoft.AVS") +@service({ + title: "Azure VMware Solution API", +}) +@doc("Azure VMware Solution API") +@versioned(Versions) +namespace Microsoft.AVS; + +@doc("Azure VMware Solution API versions.") +enum Versions { + @doc("Azure VMware Solution API version 2023-03-01.") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2023_09_01: "2023-09-01", +} diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp new file mode 100644 index 000000000000..7255aff0c954 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -0,0 +1,2139 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using TypeSpec.OpenAPI; + +namespace Microsoft.AVS; + +@doc("trial status") +enum TrialStatus { + @doc("is available") + TrialAvailable, + + @doc("is used") + TrialUsed, + + @doc("is disabled") + TrialDisabled, +} + +@doc("quota enabled") +enum QuotaEnabled { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("private cloud provisioning state") +enum PrivateCloudProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is pending") + Pending, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("NSX public IP quota raised") +enum NsxPublicIpQuotaRaisedEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Cluster provisioning state") +enum ClusterProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("Whether internet is enabled or disabled") +enum InternetEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether SSL is enabled or disabled") +enum SslEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether the private clouds is available in a single zone or two zones") +enum AvailabilityStrategy { + @doc("in single zone") + SingleZone, + + @doc("in two zones") + DualZone, +} + +@doc("Whether encryption is enabled or disabled") +enum EncryptionState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether the the encryption key is connected or access denied") +enum EncryptionKeyStatus { + @doc("is connected") + Connected, + + @doc("is access denied") + AccessDenied, +} + +@doc("Whether the encryption version is fixed or auto-detected") +enum EncryptionVersionType { + @doc("is fixed") + Fixed, + + @doc("is auto-detected") + AutoDetected, +} + +@doc("datastore provisioning state") +enum DatastoreProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is pending") + Pending, + + @doc("is creating") + Creating, + + @doc("is updating") + Updating, + + @doc("is deleting") + Deleting, +} + +@doc("mount option") +enum MountOptionEnum { + @doc("is mount") + MOUNT, + + @doc("is attach") + ATTACH, +} + +@doc("datastore status") +enum DatastoreStatus { + @doc("is unknown") + Unknown, + + @doc("is accessible") + Accessible, + + @doc("is inaccessible") + Inaccessible, + + @doc("is attached") + Attached, + + @doc("is detached") + Detached, + + @doc("is lost communication") + LostCommunication, + + @doc("is dead or error") + DeadOrError, +} + +@doc("HCX Enterprise Site status") +enum HcxEnterpriseSiteStatus { + @doc("is available") + Available, + + @doc("is consumed") + Consumed, + + @doc("is deactivated") + Deactivated, + + @doc("is deleted") + Deleted, +} + +@doc("Express Route Circuit Authorization provisioning state") +enum ExpressRouteAuthorizationProvisioningState { + ...ResourceProvisioningState, + + @doc("is updating") + Updating, +} + +@doc("Global Reach Connection provisioning state") +enum GlobalReachConnectionProvisioningState { + ...ResourceProvisioningState, + + @doc("is updating") + Updating, +} + +@doc("Global Reach Connection status") +enum GlobalReachConnectionStatus { + @doc("is connected") + Connected, + + @doc("is connecting") + Connecting, + + @doc("is disconnected") + Disconnected, +} + +@doc("Segment status") +enum SegmentStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network Segment provisioning state") +enum WorkloadNetworkSegmentProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network DHCP provisioning state") +enum WorkloadNetworkDhcpProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Port Mirroring Direction") +enum PortMirroringDirectionEnum { + @doc("is ingress") + INGRESS, + + @doc("is egress") + EGRESS, + + @doc("is bidirectional") + BIDIRECTIONAL, +} + +@doc("Port Mirroring status") +enum PortMirroringStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network Port Mirroring provisioning state") +enum WorkloadNetworkPortMirroringProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("VM group status") +enum VMGroupStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network VM Group provisioning state") +enum WorkloadNetworkVMGroupProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("VM type") +enum VMTypeEnum { + @doc("is regular") + REGULAR, + + @doc("is edge") + EDGE, + + @doc("is service") + SERVICE, +} + +@doc("DNS service log level") +enum DnsServiceLogLevelEnum { + @doc("is debug") + DEBUG, + + @doc("is info") + INFO, + + @doc("is warning") + WARNING, + + @doc("is error") + ERROR, + + @doc("is fatal") + FATAL, +} + +@doc("DNS service status") +enum DnsServiceStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network DNS Service provisioning state") +enum WorkloadNetworkDnsServiceProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network DNS Zone provisioning state") +enum WorkloadNetworkDnsZoneProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network Public IP provisioning state") +enum WorkloadNetworkPublicIPProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Cloud Link status") +enum CloudLinkStatus { + @doc("is active") + Active, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is failed") + Failed, + + @doc("is disconnected") + Disconnected, +} + +@doc("Addon provisioning state") +enum AddonProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("Virtual Machine Restrict Movement state") +enum VirtualMachineRestrictMovementState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Placement Policy state") +enum PlacementPolicyState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Placement Policy provisioning state") +enum PlacementPolicyProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Affinity Strength") +enum AffinityStrength { + @doc("is should") + Should, + + @doc("is must") + Must, +} + +@doc("Azure Hybrid Benefit type") +enum AzureHybridBenefitType { + @doc("is SqlHost") + SqlHost, + + @doc("is None") + None, +} + +@doc("Script Parameter types") +enum ScriptParameterTypes { + @doc("is string") + String, + + @doc("is secure string") + SecureString, + + @doc("is credential") + Credential, + + @doc("is int") + Int, + + @doc("is bool") + Bool, + + @doc("is float") + Float, +} + +@doc("Visibility Parameter") +enum VisibilityParameterEnum { + @doc("is visible") + Visible, + + @doc("is hidden") + Hidden, +} + +@doc("Optional Param") +enum OptionalParamEnum { + @doc("is optional") + Optional, + + @doc("is required") + Required, +} + +@doc("Script Execution provisioning state") +enum ScriptExecutionProvisioningState { + ...ResourceProvisioningState, + + @doc("is pending") + Pending, + + @doc("is running") + Running, + + @doc("is cancelling") + Cancelling, + + @doc("is cancelled") + Cancelled, + + @doc("is deleting") + Deleting, +} + +@doc("Script Output Stream type") +enum ScriptOutputStreamType { + @doc("is information") + Information, + + @doc("is warning") + Warning, + + @doc("is output") + Output, + + @doc("is error") + Error, +} + +@doc("Affinity type") +enum AffinityType { + @doc("is affinity") + Affinity, + + @doc("is anti-affinity") + AntiAffinity, +} + +@doc("Subscription trial availability") +model Trial { + @doc("Trial status") + @visibility("read") + status?: TrialStatus; + + @doc("Number of trial hosts available") + @visibility("read") + availableHosts?: int32; +} + +@doc("Subscription quotas") +model Quota { + @doc("Remaining hosts quota by sku type") + @visibility("read") + hostsRemaining?: Record; + + @doc("Host quota is active for current subscription") + @visibility("read") + quotaEnabled?: QuotaEnabled; +} + +@doc("A location resource") +@subscriptionResource +model Location is ProxyResource { + @doc("A location in a subscription") + @pattern("^[-\\w\\._]+$") + @key("location") + @path + @segment("locations") + @Azure.ResourceManager.Private.armCommonParameter( + "LocationParameter", + Azure.ResourceManager.CommonTypes.Versions.v5 + ) + name: string; +} + +@doc("location provisioning state") +enum LocationProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of a location resource") +model LocationProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: LocationProvisioningState; +} + +@doc("A private cloud resource") +model PrivateCloud is TrackedResource { + ...ArmTagsProperty; + ...ResourceSkuRequired; + ...ManagedSystemAssignedIdentity; + + @doc("Name of the private cloud") + @pattern("^[-\\w\\._]+$") + @key("privateCloudName") + @path + @segment("privateClouds") + name: string; +} + +@doc("Parameter for privatecloudName") +model PrivateCloudNameParameter { + @doc("Name of the private cloud") + @pattern("^[-\\w\\._]+$") + @path + privateCloudName: string; +} + +@doc("An update to a private cloud resource") +model PrivateCloudUpdate { + ...ArmTagsProperty; + ...ResourceSku; + ...ManagedSystemAssignedIdentity; + + @doc("The updatable properties of a private cloud resource") + @extension("x-ms-client-flatten", true) + properties?: PrivateCloudUpdateProperties; +} + +@doc("The properties of a private cloud resource that may be updated") +model PrivateCloudUpdateProperties { + @doc("The default cluster used for management") + managementCluster?: ManagementCluster; + + @doc("Connectivity to internet is enabled or disabled") + internet?: InternetEnum; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("vCenter Single Sign On Identity Sources") + identitySources?: IdentitySource[]; + + @doc("Properties describing how the cloud is distributed across availability zones") + @visibility("create", "read") + availability?: AvailabilityProperties; + + @doc("Customer managed key encryption, can be enabled or disabled") + encryption?: Encryption; + + @doc(""" +Array of additional networks noncontiguous with networkBlock. Networks must be +unique and non-overlapping across VNet in your subscription, on-premise, and +this privateCloud networkBlock attribute. Make sure the CIDR format conforms to +(A.B.C.D/X). +""") + extendedNetworkBlocks?: string[]; + + @doc("The type of DNS zone to use.") + dnsZoneType?: DnsZoneType; +} + +@doc("The properties of a private cloud resource") +model PrivateCloudProperties { + @doc("The default cluster used for management") + managementCluster: ManagementCluster; + + @doc("Connectivity to internet is enabled or disabled") + internet?: InternetEnum = InternetEnum.Disabled; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("vCenter Single Sign On Identity Sources") + identitySources?: IdentitySource[]; + + @doc("Properties describing how the cloud is distributed across availability zones") + @visibility("create", "read") + availability?: AvailabilityProperties; + + @doc("Customer managed key encryption, can be enabled or disabled") + encryption?: Encryption; + + @doc(""" +Array of additional networks noncontiguous with networkBlock. Networks must be +unique and non-overlapping across VNet in your subscription, on-premise, and +this privateCloud networkBlock attribute. Make sure the CIDR format conforms to +(A.B.C.D/X). +""") + extendedNetworkBlocks?: string[]; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: PrivateCloudProvisioningState; + + @doc("An ExpressRoute Circuit") + circuit?: Circuit; + + @doc("The endpoints") + @visibility("read") + endpoints?: Endpoints; + + @doc(""" +The block of addresses should be unique across VNet in your subscription as +well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where +A,B,C,D are between 0 and 255, and X is between 0 and 22 +""") + networkBlock: string; + + @doc("Network used to access vCenter Server and NSX-T Manager") + @visibility("read") + managementNetwork?: string; + + @doc("Used for virtual machine cold migration, cloning, and snapshot migration") + @visibility("read") + provisioningNetwork?: string; + + @doc("Used for live migration of virtual machines") + @visibility("read") + vmotionNetwork?: string; + + @doc("Optionally, set the vCenter admin password when the private cloud is created") + @secret + vcenterPassword?: string; + + @doc("Optionally, set the NSX-T Manager password when the private cloud is created") + @secret + nsxtPassword?: string; + + @doc("Thumbprint of the vCenter Server SSL certificate") + @visibility("read") + vcenterCertificateThumbprint?: string; + + @doc("Thumbprint of the NSX-T Manager SSL certificate") + @visibility("read") + nsxtCertificateThumbprint?: string; + + @doc("Array of cloud link IDs from other clouds that connect to this one") + @visibility("read") + externalCloudLinks?: string[]; + + @doc(""" +A secondary expressRoute circuit from a separate AZ. Only present in a +stretched private cloud +""") + secondaryCircuit?: Circuit; + + @doc(""" +Flag to indicate whether the private cloud has the quota for provisioned NSX +Public IP count raised from 64 to 1024 +""") + @visibility("read") + nsxPublicIpQuotaRaised?: NsxPublicIpQuotaRaisedEnum; + + @doc("Azure resource ID of the virtual network") + @visibility("create", "read") + virtualNetworkId?: ResourceIdentifier<[ + { + type: "\\Microsoft.Network\\vnet"; + } + ]>; + + @doc("The type of DNS zone to use.") + dnsZoneType?: DnsZoneType; +} + +@doc("An ExpressRoute Circuit") +model Circuit { + @doc("CIDR of primary subnet") + @visibility("read") + primarySubnet?: string; + + @doc("CIDR of secondary subnet") + @visibility("read") + secondarySubnet?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("Identifier of the ExpressRoute Circuit (Microsoft Colo only)") + @visibility("read") + expressRouteID?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("ExpressRoute Circuit private peering identifier") + @visibility("read") + expressRoutePrivatePeeringID?: string; +} + +@doc("Endpoint addresses") +model Endpoints { + @doc("Endpoint FQDN for the NSX-T Data Center manager") + @visibility("read") + nsxtManager?: string; + + @doc("Endpoint FQDN for Virtual Center Server Appliance") + @visibility("read") + vcsa?: string; + + @doc("Endpoint FQDN for the HCX Cloud Manager") + @visibility("read") + hcxCloudManager?: string; + + @doc("Endpoint IP for the NSX-T Data Center manager") + @visibility("read") + nsxtManagerIp?: string; + + @doc("Endpoint IP for Virtual Center Server Appliance") + @visibility("read") + vcenterIp?: string; + + @doc("Endpoint IP for the HCX Cloud Manager") + @visibility("read") + hcxCloudManagerIp?: string; +} + +@doc("The properties of a management cluster") +model ManagementCluster { + ...CommonClusterProperties; +} + +@doc("The common properties of a cluster") +model CommonClusterProperties { + @doc("The cluster size") + clusterSize?: int32; + + @doc("The state of the cluster provisioning") + @visibility("read") + provisioningState?: ClusterProvisioningState; + + @doc("The identity") + @visibility("read") + clusterId?: int32; + + @doc("The hosts") + hosts?: string[]; + + @doc("Name of the vsan datastore associated with the cluster") + vsanDatastoreName?: string; +} + +@doc("vCenter Single Sign On Identity Source") +model IdentitySource { + @doc("The name of the identity source") + name?: string; + + @doc("The domain's NetBIOS name") + `alias`?: string; + + @doc("The domain's dns name") + domain?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("The base distinguished name for users") + baseUserDN?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("The base distinguished name for groups") + baseGroupDN?: string; + + @doc("Primary server URL") + primaryServer?: string; + + @doc("Secondary server URL") + secondaryServer?: string; + + @doc("Protect LDAP communication using SSL certificate (LDAPS)") + ssl?: SslEnum; + + @doc(""" +The ID of an Active Directory user with a minimum of read-only access to Base +DN for users and group +""") + username?: string; + + @doc(""" +The password of the Active Directory user with a minimum of read-only access to +Base DN for users and groups. +""") + @secret + password?: string; +} + +@doc("The properties describing private cloud availability zone distribution") +model AvailabilityProperties { + @doc("The availability strategy for the private cloud") + strategy?: AvailabilityStrategy; + + @doc("The primary availability zone for the private cloud") + zone?: int32; + + @doc("The secondary availability zone for the private cloud") + secondaryZone?: int32; +} + +@doc("The properties of customer managed encryption key") +model Encryption { + @doc("Status of customer managed encryption key") + status?: EncryptionState; + + @doc("The key vault where the encryption key is stored") + keyVaultProperties?: EncryptionKeyVaultProperties; +} + +@doc("An Encryption Key") +model EncryptionKeyVaultProperties { + @doc("The name of the key.") + keyName?: string; + + @doc("The version of the key.") + keyVersion?: string; + + @doc("The auto-detected version of the key if versionType is auto-detected.") + @visibility("read") + autoDetectedKeyVersion?: string; + + @doc("The URL of the vault.") + keyVaultUrl?: string; + + @doc("The state of key provided") + @visibility("read") + keyState?: EncryptionKeyStatus; + + @doc("Property of the key if user provided or auto detected") + @visibility("read") + versionType?: EncryptionVersionType; +} + +@doc("A cluster resource") +@parentResource(PrivateCloud) +model Cluster is ProxyResource { + ...ResourceSkuRequired; + + @doc("Name of the cluster") + @pattern("^[-\\w\\._]+$") + @key("clusterName") + @path + @segment("clusters") + name: string; +} + +@doc("The properties of a cluster") +model ClusterProperties { + ...CommonClusterProperties; +} + +@doc("An update of a cluster resource") +model ClusterUpdate { + ...ResourceSku; + + @doc("The properties of a cluster resource that may be updated") + @extension("x-ms-client-flatten", true) + properties?: ClusterUpdateProperties; +} + +@doc("The properties of a cluster that may be updated") +model ClusterUpdateProperties { + @doc("The cluster size") + clusterSize?: int32; + + @doc("The hosts") + hosts?: string[]; +} + +@doc("List of all zones and associated hosts for a cluster") +model ClusterZoneList { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("Zone and associated hosts info") + zones?: ClusterZone[]; +} + +@doc("Zone and associated hosts info") +model ClusterZone { + @doc("List of hosts belonging to the availability zone in a cluster") + @visibility("read") + hosts?: string[]; + + @doc("Availability zone identifier") + @visibility("read") + zone?: string; +} + +@doc("A datastore resource") +@parentResource(Cluster) +model Datastore is ProxyResource { + @doc("Name of the datastore") + @pattern("^[-\\w\\._]+$") + @key("datastoreName") + @path + @segment("datastores") + name: string; +} + +@doc("The properties of a datastore") +model DatastoreProperties { + @doc("The state of the datastore provisioning") + @visibility("read") + provisioningState?: DatastoreProvisioningState; + + @doc("An Azure NetApp Files volume") + netAppVolume?: NetAppVolume; + + @doc("An iSCSI volume") + diskPoolVolume?: DiskPoolVolume; + + @doc("An Elastic SAN volume") + elasticSanVolume?: ElasticSanVolume; + + @doc("The operational status of the datastore") + @visibility("read") + status?: DatastoreStatus; +} + +@doc("An Azure NetApp Files volume from Microsoft.NetApp provider") +model NetAppVolume { + @doc("Azure resource ID of the NetApp volume") + id: string; +} + +@doc("An iSCSI volume from Microsoft.StoragePool provider") +model DiskPoolVolume { + @doc("Azure resource ID of the iSCSI target") + targetId: string; + + @doc("Name of the LUN to be used for datastore") + lunName: string; + + @doc(""" +Mode that describes whether the LUN has to be mounted as a datastore or +attached as a LUN +""") + mountOption?: MountOptionEnum = MountOptionEnum.MOUNT; + + @doc("Device path") + @visibility("read") + path?: string; +} + +scalar ClusterResourceId + extends Azure.ResourceManager.ResourceIdentifier<[ + { + type: "Microsoft.ContainerService/managedClusters", + } + ]>; + +@doc("An Elastic SAN volume from Microsoft.ElasticSan provider") +model ElasticSanVolume { + @doc("Azure resource ID of the Elastic SAN Volume") + targetId: ResourceIdentifier<[ + { + type: "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes"; + } + ]>; +} + +@doc("Administrative credentials for accessing vCenter and NSX-T") +model AdminCredentials { + @doc("NSX-T Manager username") + @visibility("read") + nsxtUsername?: string; + + @doc("NSX-T Manager password") + @visibility("read") + @secret + nsxtPassword?: string; + + @doc("vCenter admin username") + @visibility("read") + vcenterUsername?: string; + + @doc("vCenter admin password") + @visibility("read") + @secret + vcenterPassword?: string; +} + +@doc("An HCX Enterprise Site resource") +@parentResource(PrivateCloud) +model HcxEnterpriseSite is ProxyResource { + @doc("Name of the HCX Enterprise Site") + @pattern("^[-\\w\\._]+$") + @key("hcxEnterpriseSiteName") + @path + @segment("hcxEnterpriseSites") + name: string; +} + +@doc("HCX Enterprise Site provisioning state") +enum HcxEnterpriseSiteProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of an HCX Enterprise Site") +model HcxEnterpriseSiteProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: HcxEnterpriseSiteProvisioningState; + + @doc("The activation key") + @visibility("read") + activationKey?: string; + + @doc("The status of the HCX Enterprise Site") + @visibility("read") + status?: HcxEnterpriseSiteStatus; +} + +@doc("ExpressRoute Circuit Authorization") +@parentResource(PrivateCloud) +model ExpressRouteAuthorization + is ProxyResource { + @doc("Name of the ExpressRoute Circuit Authorization") + @pattern("^[-\\w\\._]+$") + @key("authorizationName") + @path + @segment("authorizations") + name: string; +} + +@doc("The properties of an ExpressRoute Circuit Authorization resource") +model ExpressRouteAuthorizationProperties { + @doc("The state of the ExpressRoute Circuit Authorization provisioning") + @visibility("read") + provisioningState?: ExpressRouteAuthorizationProvisioningState; + + @doc("The ID of the ExpressRoute Circuit Authorization") + @visibility("read") + expressRouteAuthorizationId?: string; + + @doc("The key of the ExpressRoute Circuit Authorization") + @visibility("read") + expressRouteAuthorizationKey?: string; + + @doc("The ID of the ExpressRoute Circuit") + expressRouteId?: string; +} + +@doc("A global reach connection resource") +@parentResource(PrivateCloud) +model GlobalReachConnection is ProxyResource { + @doc("Name of the global reach connection") + @pattern("^[-\\w\\._]+$") + @key("globalReachConnectionName") + @path + @segment("globalReachConnections") + name: string; +} + +@doc("The properties of a global reach connection") +model GlobalReachConnectionProperties { + @doc("The state of the ExpressRoute Circuit Authorization provisioning") + @visibility("read") + provisioningState?: GlobalReachConnectionProvisioningState; + + @doc(""" +The network used for global reach carved out from the original network block +provided for the private cloud +""") + @visibility("read") + addressPrefix?: string; + + @doc(""" +Authorization key from the peer express route used for the global reach +connection +""") + authorizationKey?: string; + + @doc("The connection status of the global reach connection") + @visibility("read") + circuitConnectionStatus?: GlobalReachConnectionStatus; + + @doc(""" +Identifier of the ExpressRoute Circuit to peer with in the global reach +connection +""") + peerExpressRouteCircuit?: string; + + @doc(""" +The ID of the Private Cloud's ExpressRoute Circuit that is participating in the +global reach connection +""") + expressRouteId?: string; +} + +@doc("Workload Network") +@parentResource(PrivateCloud) +@singleton +model WorkloadNetwork is ProxyResource { + @doc("Name of the global reach connection") + @key("workloadNetworkName") + @path + @segment("workloadNetworks") + name: string; +} + +@doc("base Workload Network provisioning state") +enum WorkloadNetworkProvisioningState { + ...ResourceProvisioningState, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("The properties of a workload network") +model WorkloadNetworkProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; +} + +@doc("NSX Segment") +@parentResource(WorkloadNetwork) +model WorkloadNetworkSegment + is ProxyResource { + @doc("The ID of the NSX Segment") + @pattern("^[-\\w\\._]+$") + @key("segmentId") + @path + @segment("segments") + name: string; +} + +@doc("NSX Segment update") +model WorkloadNetworkSegmentUpdate { + @doc("The updatable properties of a Segment update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkSegmentProperties; +} + +@doc("NSX Segment Properties") +model WorkloadNetworkSegmentProperties { + @doc("Display name of the segment.") + displayName?: string; + + @doc("Gateway which to connect segment to.") + connectedGateway?: string; + + @doc("Subnet which to connect segment to.") + subnet?: WorkloadNetworkSegmentSubnet; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("Port Vif which segment is associated with.") + @visibility("read") + portVif?: WorkloadNetworkSegmentPortVif[]; + + @doc("Segment status.") + @visibility("read") + status?: SegmentStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkSegmentProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("Subnet configuration for segment") +model WorkloadNetworkSegmentSubnet { + @doc("DHCP Range assigned for subnet.") + dhcpRanges?: string[]; + + @doc("Gateway address.") + gatewayAddress?: string; +} + +@doc("Ports and any VIF attached to segment.") +model WorkloadNetworkSegmentPortVif { + @doc("Name of port or VIF attached to segment.") + portName?: string; +} + +@doc("NSX DHCP") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDhcp is ProxyResource { + @doc("The ID of the DHCP configuration") + @pattern("^[-\\w\\._]+$") + @key("dhcpId") + @path + @segment("dhcpConfigurations") + name: string; +} + +@doc("Parameter for dhcpId") +model DhcpIdParameter { + @doc("The ID of the DHCP configuration") + @pattern("^[-\\w\\._]+$") + @path + dhcpId: string; +} + +@doc("NSX DHCP update") +model WorkloadNetworkDhcpUpdate { + @doc("The updatable properties of a DHCP update") + @extension("x-ms-client-flatten", false) + properties?: WorkloadNetworkDhcpEntity; +} + +@doc("Type of DHCP: SERVER or RELAY.") +union DhcpTypeEnum { + SERVER: "SERVER", + RELAY: "RELAY", + string, +} +@doc(""" +Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to +inherit from +""") +@discriminator("dhcpType") +model WorkloadNetworkDhcpEntity { + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum; + + @doc("Display name of the DHCP entity.") + displayName?: string; + + @doc("NSX Segments consuming DHCP.") + @visibility("read") + segments?: string[]; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDhcpProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX DHCP Server") +model WorkloadNetworkDhcpServer extends WorkloadNetworkDhcpEntity { + @doc("DHCP Server Address.") + serverAddress?: string; + + @doc("DHCP Server Lease Time.") + leaseTime?: int32; + + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum.SERVER; +} + +@doc("NSX DHCP Relay") +model WorkloadNetworkDhcpRelay extends WorkloadNetworkDhcpEntity { + @doc("DHCP Relay Addresses. Max 3.") + @minItems(1) + @maxItems(3) + serverAddresses?: string[]; + + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum.RELAY; +} + +@doc("NSX Gateway.") +@parentResource(WorkloadNetwork) +model WorkloadNetworkGateway + is ProxyResource { + @doc("The ID of the NSX Gateway") + @pattern("^[-\\w\\._]+$") + @key("gatewayId") + @path + @segment("gateways") + name: string; +} + +@doc("Properties of a NSX Gateway.") +model WorkloadNetworkGatewayProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; + + @doc("Display name of the DHCP entity.") + displayName?: string; + + @doc("NSX Gateway Path.") + @visibility("read") + path?: string; +} + +@doc("NSX Port Mirroring") +@parentResource(WorkloadNetwork) +model WorkloadNetworkPortMirroring + is ProxyResource { + @doc("ID of the NSX port mirroring profile.") + @pattern("^[-\\w\\._]+$") + @key("portMirroringId") + @path + @segment("portMirroringProfiles") + name: string; +} + +@doc("Parameter for portMirroringId") +model PortMirroringProfileParameter { + @doc("ID of the NSX port mirroring profile.") + @pattern("^[-\\w\\._]+$") + @path + portMirroringId: string; +} + +@doc("NSX Port Mirroring update") +model WorkloadNetworkPortMirroringUpdate { + @doc("The updatable properties of a Port Mirroring update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkPortMirroringProperties; +} + +@doc("NSX Port Mirroring Properties") +model WorkloadNetworkPortMirroringProperties { + @doc("Display name of the port mirroring profile.") + displayName?: string; + + @doc("Direction of port mirroring profile.") + direction?: PortMirroringDirectionEnum; + + @doc("Source VM Group.") + source?: string; + + @doc("Destination VM Group.") + destination?: string; + + @doc("Port Mirroring Status.") + @visibility("read") + status?: PortMirroringStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkPortMirroringProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group") +@parentResource(WorkloadNetwork) +model WorkloadNetworkVMGroup + is ProxyResource { + @doc("ID of the VM group.") + @pattern("^[-\\w\\._]+$") + @key("vmGroupId") + @path + @segment("vmGroups") + name: string; +} + +@doc("Parameter for vmGroupId") +model VmGroupIdParameter { + @doc("ID of the VM group.") + @pattern("^[-\\w\\._]+$") + @path + vmGroupId: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group update") +model WorkloadNetworkVMGroupUpdate { + @doc("The updatable properties of a VM Group update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkVMGroupProperties; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group Properties") +model WorkloadNetworkVMGroupProperties { + @doc("Display name of the VM group.") + displayName?: string; + + @doc("Virtual machine members of this group.") + members?: string[]; + + @doc("VM Group status.") + @visibility("read") + status?: VMGroupStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkVMGroupProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX Virtual Machine") +@parentResource(WorkloadNetwork) +model WorkloadNetworkVirtualMachine + is ProxyResource { + @doc("ID of the virtual machine.") + @pattern("^[-\\w\\._]+$") + @key("virtualMachineId") + @path + @segment("virtualMachines") + name: string; +} + +@doc("NSX Virtual Machine Properties") +model WorkloadNetworkVirtualMachineProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; + + @doc("Display name of the VM.") + displayName?: string; + + @doc("Virtual machine type.") + @visibility("read") + vmType?: VMTypeEnum; +} + +@doc("NSX DNS Service") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDnsService + is ProxyResource { + @doc("ID of the DNS service.") + @pattern("^[-\\w\\._]+$") + @key("dnsServiceId") + @path + @segment("dnsServices") + name: string; +} + +@doc("Parameter for dnsServiceId") +model DnsServiceIdParameter { + @doc("ID of the DNS service.") + @pattern("^[-\\w\\._]+$") + @path + dnsServiceId: string; +} + +@doc("NSX DNS Service update") +model WorkloadNetworkDnsServiceUpdate { + @doc("The updatable properties of a DNS Service update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkDnsServiceProperties; +} + +@doc("NSX DNS Service Properties") +model WorkloadNetworkDnsServiceProperties { + @doc("Display name of the DNS Service.") + displayName?: string; + + @doc("DNS service IP of the DNS Service.") + dnsServiceIp?: string; + + @doc("Default DNS zone of the DNS Service.") + defaultDnsZone?: string; + + @doc("FQDN zones of the DNS Service.") + fqdnZones?: string[]; + + @doc("DNS Service log level.") + logLevel?: DnsServiceLogLevelEnum; + + @doc("DNS Service status.") + @visibility("read") + status?: DnsServiceStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDnsServiceProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX DNS Zone") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDnsZone + is ProxyResource { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @key("dnsZoneId") + @path + @segment("dnsZones") + name: string; +} + +@doc("Parameter for dnsZoneId") +model DnsZoneIdParameter { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @path + dnsZoneId: string; +} + +@doc("NSX DNS Zone update") +model WorkloadNetworkDnsZoneUpdate { + @doc("The updatable properties of a DNS Zone update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkDnsZoneProperties; +} + +@doc("NSX DNS Zone Properties") +model WorkloadNetworkDnsZoneProperties { + @doc("Display name of the DNS Zone.") + displayName?: string; + + @doc("Domain names of the DNS Zone.") + domain?: string[]; + + @doc("DNS Server IP array of the DNS Zone.") + dnsServerIps?: string[]; + + @doc("Source IP of the DNS Zone.") + sourceIp?: string; + + @doc("Number of DNS Services using the DNS zone.") + dnsServices?: int32; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDnsZoneProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX Public IP Block") +@parentResource(WorkloadNetwork) +model WorkloadNetworkPublicIP + is ProxyResource { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @key("publicIPId") + @path + @segment("publicIPs") + name: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("Parameter for publicIPId") +model PublicIPIdParameter { + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @path + publicIPId: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX Public IP Block Properties") +model WorkloadNetworkPublicIPProperties { + @doc("Display name of the Public IP Block.") + displayName?: string; + + @doc("Number of Public IPs requested.") + numberOfPublicIPs?: int64; + + @doc("CIDR Block of the Public IP Block.") + @visibility("read") + publicIPBlock?: string; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkPublicIPProvisioningState; +} + +@doc("A cloud link resource") +@parentResource(PrivateCloud) +model CloudLink is ProxyResource { + @doc("Name of the cloud link.") + @pattern("^[-\\w\\._]+$") + @key("cloudLinkName") + @path + @segment("cloudLinks") + name: string; +} + +@doc("cloud link provisioning state") +enum CloudLinkProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of a cloud link.") +model CloudLinkProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: CloudLinkProvisioningState; + + @doc("The state of the cloud link.") + @visibility("read") + status?: CloudLinkStatus; + + @doc("Identifier of the other private cloud participating in the link.") + linkedCloud?: string; +} + +@doc("An addon resource") +@parentResource(PrivateCloud) +model Addon is ProxyResource { + @doc("Name of the addon.") + @pattern("^[-\\w\\._]+$") + @key("addonName") + @path + @segment("addons") + name: string; +} + +@doc("Addon type") +union AddonType { + SRM: "SRM", + VR: "VR", + HCX: "HCX", + Arc: "Arc", + string, +} + +@doc("The properties of an addon") +@discriminator("addonType") +model AddonProperties { + @doc("Addon type") + addonType: AddonType; + + @doc("The state of the addon provisioning") + @visibility("read") + provisioningState?: AddonProvisioningState; +} + +@doc("Virtual Machine") +@parentResource(Cluster) +model VirtualMachine is ProxyResource { + @doc("ID of the virtual machine.") + @pattern("^[-\\w\\._]+$") + @key("virtualMachineId") + @path + @segment("virtualMachines") + name: string; +} + +@doc("Virtual Machine provisioning state") +enum VirtualMachineProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Virtual Machine Properties") +model VirtualMachineProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: VirtualMachineProvisioningState; + + @doc("Display name of the VM.") + @visibility("read") + displayName?: string; + + @doc("Virtual machine managed object reference id") + @visibility("read") + moRefId?: string; + + @doc("Path to virtual machine's folder starting from datacenter virtual machine folder") + @visibility("read") + folderPath?: string; + + @doc("Whether VM DRS-driven movement is restricted (enabled) or not (disabled)") + @visibility("read") + restrictMovement?: VirtualMachineRestrictMovementState; +} + +@doc("Set VM DRS-driven movement to restricted (enabled) or not (disabled)") +model VirtualMachineRestrictMovement { + @doc("Whether VM DRS-driven movement is restricted (enabled) or not (disabled)") + restrictMovement?: VirtualMachineRestrictMovementState; +} + +@doc("A vSphere Distributed Resource Scheduler (DRS) placement policy") +@parentResource(Cluster) +model PlacementPolicy is ProxyResource { + @doc("Name of the placement policy.") + @pattern("^[-\\w\\._]+$") + @key("placementPolicyName") + @path + @segment("placementPolicies") + name: string; +} + +@doc("Placement Policy type") +union PlacementPolicyType { + VmVm: "VmVm", + VmHost: "VmHost", + string, +} + +@doc("Abstract placement policy properties") +@discriminator("type") +model PlacementPolicyProperties { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" + @doc("Placement Policy type") + type: PlacementPolicyType; + + @doc("Whether the placement policy is enabled or disabled") + state?: PlacementPolicyState; + + @doc("Display name of the placement policy") + displayName?: string; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: PlacementPolicyProvisioningState; +} + +@doc("An update of a DRS placement policy resource") +model PlacementPolicyUpdate { + @doc("The properties of a placement policy resource that may be updated") + @extension("x-ms-client-flatten", true) + properties?: PlacementPolicyUpdateProperties; +} + +@doc("The properties of a placement policy resource that may be updated") +model PlacementPolicyUpdateProperties { + @doc("Whether the placement policy is enabled or disabled") + state?: PlacementPolicyState; + + @doc("Virtual machine members list") + vmMembers?: string[]; + + @doc("Host members list") + hostMembers?: string[]; + + @doc("vm-host placement policy affinity strength (should/must)") + affinityStrength?: AffinityStrength; + + @doc("placement policy azure hybrid benefit opt-in type") + azureHybridBenefitType?: AzureHybridBenefitType; +} + +@doc("Script Package resources available for execution") +@parentResource(PrivateCloud) +model ScriptPackage is ProxyResource { + @doc("Name of the script package.") + @pattern("^[-\\w\\._@]+$") + @key("scriptPackageName") + @path + @segment("scriptPackages") + name: string; +} + +@doc("Script Package provisioning state") +enum ScriptPackageProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Properties of a Script Package subresource") +model ScriptPackageProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: ScriptPackageProvisioningState; + + @doc("User friendly description of the package") + @visibility("read") + description?: string; + + @doc("Module version") + @visibility("read") + version?: string; + + @doc("Company that created and supports the package") + @visibility("read") + company?: string; + + @doc("Link to support by the package vendor") + @visibility("read") + uri?: string; +} + +@doc("A cmdlet available for script execution") +@parentResource(ScriptPackage) +model ScriptCmdlet is ProxyResource { + @doc("Name of the script cmdlet.") + @pattern("^[-\\w\\._]+$") + @key("scriptCmdletName") + @path + @segment("scriptCmdlets") + name: string; +} + +@doc("A script cmdlet provisioning state") +enum ScriptCmdletProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Properties of a pre-canned script") +model ScriptCmdletProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: ScriptCmdletProvisioningState; + + @doc("Description of the scripts functionality") + @visibility("read") + description?: string; + + @doc("Recommended time limit for execution") + @visibility("read") + timeout?: string; + + @doc("Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers") + @visibility("read") + audience?: ScriptCmdletAudience; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("Parameters the script will accept") + @visibility("read") + parameters?: ScriptParameter[]; +} + +@doc("Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers") +enum ScriptCmdletAudience { + @doc("is automation") + Automation, + + @doc("is any") + Any, +} + +@doc("An parameter that the script will accept") +model ScriptParameter { + @doc(""" +The type of parameter the script is expecting. psCredential is a +PSCredentialObject +""") + @visibility("read") + type?: ScriptParameterTypes; + + @doc("The parameter name that the script will expect a parameter value for") + name?: string; + + @doc("User friendly description of the parameter") + @visibility("read") + description?: string; + + @doc(""" +Should this parameter be visible to arm and passed in the parameters argument +when executing +""") + @visibility("read") + visibility?: VisibilityParameterEnum; + + @doc("Is this parameter required or optional") + @visibility("read") + optional?: OptionalParamEnum; +} + +@doc("An instance of a script executed by a user - custom or AVS") +@parentResource(PrivateCloud) +model ScriptExecution is ProxyResource { + @doc("Name of the script cmdlet.") + @pattern("^[-\\w\\._]+$") + @key("scriptExecutionName") + @path + @segment("scriptExecutions") + name: string; +} + +@doc("Properties of a user-invoked script") +model ScriptExecutionProperties { + @doc("A reference to the script cmdlet resource if user is running a AVS script") + scriptCmdletId?: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc("Parameters the script will accept") + parameters?: ScriptExecutionParameter[]; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" + @doc(""" +Parameters that will be hidden/not visible to ARM, such as passwords and +credentials +""") + hiddenParameters?: ScriptExecutionParameter[]; + + @doc(""" +Error message if the script was able to run, but if the script itself had +errors or powershell threw an exception +""") + failureReason?: string; + + @doc("Time limit for execution") + timeout: string; + + @doc("Time to live for the resource. If not provided, will be available for 60 days") + retention?: string; + + @doc("Time the script execution was submitted") + @visibility("read") + submittedAt?: utcDateTime; + + @doc("Time the script execution was started") + @visibility("read") + startedAt?: utcDateTime; + + @doc("Time the script execution was finished") + @visibility("read") + finishedAt?: utcDateTime; + + @doc("The state of the script execution resource") + @visibility("read") + provisioningState?: ScriptExecutionProvisioningState; + + @doc("Standard output stream from the powershell execution") + output?: string[]; + + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "It is unknown." + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "It is unknown." + @doc("User-defined dictionary.") + namedOutputs?: Record<{}>; + + @doc("Standard information out stream from the powershell execution") + @visibility("read") + information?: string[]; + + @doc("Standard warning out stream from the powershell execution") + @visibility("read") + warnings?: string[]; + + @doc("Standard error output stream from the powershell execution") + @visibility("read") + errors?: string[]; +} + +@doc("script execution parameter type") +union ScriptExecutionParameterType { + Value: "Value", + SecureValue: "SecureValue", + Credential: "Credential", + string, +} + +@doc("The arguments passed in to the execution") +@discriminator("type") +model ScriptExecutionParameter { + @doc("script execution parameter type") + type: ScriptExecutionParameterType; + + @doc("The parameter name") + name: string; +} + +@doc("The properties of a Site Recovery Manager (SRM) addon") +model AddonSrmProperties extends AddonProperties { + @doc("The Site Recovery Manager (SRM) license") + licenseKey?: string; + + @doc("The type of private cloud addon") + addonType: AddonType.SRM; +} + +@doc("The properties of a vSphere Replication (VR) addon") +model AddonVrProperties extends AddonProperties { + @doc("The vSphere Replication Server (VRS) count") + vrsCount: int32; + + @doc("The type of private cloud addon") + addonType: AddonType.VR; +} + +@doc("The properties of an HCX addon") +model AddonHcxProperties extends AddonProperties { + @doc("The HCX offer, example VMware MaaS Cloud Provider (Enterprise)") + offer: string; + + @doc("The type of private cloud addon") + addonType: AddonType.HCX; +} + +@doc("The properties of an Arc addon") +model AddonArcProperties extends AddonProperties { + @doc("The VMware vCenter resource ID") + vCenter?: string; + + @doc("The type of private cloud addon") + addonType: AddonType.Arc; +} + +@doc("VM-VM placement policy properties") +model VmVmPlacementPolicyProperties extends PlacementPolicyProperties { + @doc("Virtual machine members list") + vmMembers: string[]; + + @doc("placement policy affinity type") + affinityType: AffinityType; + + @doc("placement policy type") + type: PlacementPolicyType.VmVm; +} + +@doc("VM-Host placement policy properties") +model VmHostPlacementPolicyProperties extends PlacementPolicyProperties { + @doc("Virtual machine members list") + vmMembers: string[]; + + @doc("Host members list") + hostMembers: string[]; + + @doc("placement policy affinity type") + affinityType: AffinityType; + + @doc("vm-host placement policy affinity strength (should/must)") + affinityStrength?: AffinityStrength; + + @doc("placement policy azure hybrid benefit opt-in type") + azureHybridBenefitType?: AzureHybridBenefitType; + + @doc("placement policy type") + type: PlacementPolicyType.VmHost; +} + +@doc("a plain text value execution parameter") +model ScriptSecureStringExecutionParameter extends ScriptExecutionParameter { + @doc("A secure value for the passed parameter, not to be stored in logs") + @secret + secureValue?: string; + + @doc("The type of execution parameter") + type: ScriptExecutionParameterType.SecureValue; +} + +@doc("a plain text value execution parameter") +model ScriptStringExecutionParameter extends ScriptExecutionParameter { + @doc("The value for the passed parameter") + value?: string; + + @doc("The type of execution parameter") + type: ScriptExecutionParameterType.Value; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("a powershell credential object") +model PSCredentialExecutionParameter extends ScriptExecutionParameter { + @doc("username for login") + username?: string; + + @doc("password for login") + @secret + password?: string; + + @doc("The type of execution parameter") + type: "Credential"; +} + +@doc("The type of DNS zone.") +enum DnsZoneType { + @doc("Primary DNS zone.") + Public, + + @doc("Private DNS zone.") + Private, +} + +@doc("An iSCSI path resource") +@parentResource(PrivateCloud) +@singleton +model IscsiPath is ProxyResource { + @doc("Name of the iSCSI path resource") + @key("iscsiPathName") + @path + @segment("iscsiPaths") + name: string; +} + +@doc("The properties of an iSCSI path resource") +model IscsiPathProperties { + @doc("The state of the iSCSI path provisioning") + @visibility("read") + provisioningState?: IscsiPathProvisioningState; + + @doc("CIDR Block for iSCSI path.") + @visibility("create", "read") + networkBlock: string; +} + +@doc("private cloud provisioning state") +enum IscsiPathProvisioningState { + ...ResourceProvisioningState, + + @doc("is pending") + Pending, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" +@doc("The SKU (Stock Keeping Unit) assigned to this resource.") +model ResourceSkuRequired { + @doc("The SKU (Stock Keeping Unit) assigned to this resource.") + sku: ResourceSkuType; +} diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp new file mode 100644 index 000000000000..0c39b9f2ab2e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -0,0 +1,964 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using OpenAPI; + +namespace Microsoft.AVS; + +interface Operations extends Azure.ResourceManager.Operations {} + +@armResourceOperations +interface Locations { + @doc("Return trial status for subscription by region") + @armResourceAction(Location) + checkTrialAvailability( + ...ResourceInstanceParameters, + + @doc("Optionally, check for a specific SKU") + @body + sku?: ResourceSkuType, + ): ArmResponse | ErrorResponse; + + @doc("Return quota for subscription by region") + @armResourceAction(Location) + @post + checkQuotaAvailability( + ...ResourceInstanceParameters, + ): ArmResponse | ErrorResponse; +} + +@armResourceOperations +interface PrivateClouds { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("PrivateClouds_List") + list is ArmResourceListByParent; + + listInSubscription is ArmListBySubscription; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. + // update is ArmCustomPatchAsync; + @doc("Update a PrivateCloud") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(PrivateCloud) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The private cloud properties to be updated.") + privateCloudUpdate: PrivateCloudUpdate, + ): ArmResponse | { + // @doc("Resource update request created.") + ...CreatedResponse; + + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updated private cloud.") + placementPolicy: PrivateCloud; + } | ErrorResponse; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; + + @doc("Rotate the vCenter password") + rotateVcenterPassword is ArmResourceActionNoContentAsyncNoRequestBody; + + @doc("Rotate the NSX-T Manager password") + rotateNsxtPassword is ArmResourceActionNoContentAsyncNoRequestBody; + + @doc("List the admin credentials for the private cloud") + listAdminCredentials is ArmResourceActionSyncNoRequestBody< + PrivateCloud, + AdminCredentials + >; +} + +@@projectedName(PrivateClouds.createOrUpdate::parameters.resource, + "json", + "privateCloud" +); +@@OpenAPI.extension(PrivateClouds.createOrUpdate::parameters.resource, + "x-ms-client-name", + "privateCloud" +); + +@armResourceOperations +interface Clusters { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Clusters_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. + // update is ArmCustomPatchAsync; + @doc("Update a Cluster") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(Cluster) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The cluster properties to be updated.") + clusterUpdate: ClusterUpdate, + ): ArmResponse | { + // @doc("Resource update request created.") + ...CreatedResponse; + + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updated cluster.") + cluster: Cluster; + } | ErrorResponse; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; + + @doc("List hosts by zone in a cluster") + listZones is ArmResourceActionSyncNoRequestBody; +} + +@@projectedName(Clusters.createOrUpdate::parameters.resource, + "json", + "cluster" +); +@@OpenAPI.extension(Clusters.createOrUpdate::parameters.resource, + "x-ms-client-name", + "cluster" +); + +@armResourceOperations +interface Datastores { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Datastores_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Datastores.createOrUpdate::parameters.resource, + "json", + "datastore" +); +@@OpenAPI.extension(Datastores.createOrUpdate::parameters.resource, + "x-ms-client-name", + "datastore" +); + +@armResourceOperations +interface HcxEnterpriseSites { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("HcxEnterpriseSites_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrReplaceSync; + + delete is ArmResourceDeleteSync; +} + +@@projectedName(HcxEnterpriseSites.createOrUpdate::parameters.resource, + "json", + "hcxEnterpriseSite" +); +@@OpenAPI.extension(HcxEnterpriseSites.createOrUpdate::parameters.resource, + "x-ms-client-name", + "hcxEnterpriseSite" +); + +@armResourceOperations +interface Authorizations { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Authorizations_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync< + ExpressRouteAuthorization, + BaseParameters + >; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Authorizations.createOrUpdate::parameters.resource, + "json", + "authorization" +); +@@OpenAPI.extension(Authorizations.createOrUpdate::parameters.resource, + "x-ms-client-name", + "authorization" +); + +@armResourceOperations +interface GlobalReachConnections { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("GlobalReachConnections_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(GlobalReachConnections.createOrUpdate::parameters.resource, + "json", + "globalReachConnection" +); +@@OpenAPI.extension(GlobalReachConnections.createOrUpdate::parameters.resource, + "x-ms-client-name", + "globalReachConnection" +); + +@armResourceOperations +interface WorkloadNetworks { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_Get") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_List") + list is ArmResourceListByParent; +} + +@armResourceOperations +interface WorkloadNetworkSegments { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListSegments") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetSegment") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateSegments") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateSegments") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkSegment, + WorkloadNetworkSegmentUpdate + >; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteSegment") + deleteSegment is ArmResourceDeleteAsync; +} + +@@projectedName(WorkloadNetworkSegments.create::parameters.resource, + "json", + "workloadNetworkSegment" +); +@@OpenAPI.extension(WorkloadNetworkSegments.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkSegment" +); + +@@projectedName(WorkloadNetworkSegments.update::parameters.properties, + "json", + "workloadNetworkSegment" +); +@@OpenAPI.extension(WorkloadNetworkSegments.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkSegment" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +// @armResourceOperations +interface WorkloadNetworkDhcpConfigurations { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDhcp") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DhcpIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDhcp") + // get is ArmResourceRead; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") + @doc("Get a {name}", WorkloadNetworkDhcp) + @get + get( + ...BaseParameters, + ...DhcpIdParameter, + ...PrivateCloudNameParameter, + ): ArmResponse | ErrorResponse; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDhcp") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDhcp") + update is ArmCustomPatchAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDhcp") + delete is ArmResourceDeleteAsync; +} + +@@projectedName(WorkloadNetworkDhcpConfigurations.create::parameters.resource, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@@projectedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@@projectedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@armResourceOperations +interface WorkloadNetworkGateways { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListGateways") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetGateway") + get is ArmResourceRead; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network Port Mirroring Profiles") +interface WorkloadNetworkPortMirroringProfiles { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListPortMirroring") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetPortMirroring") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreatePortMirroring") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdatePortMirroring") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkPortMirroring, + WorkloadNetworkPortMirroringUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PortMirroringProfileParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeletePortMirroring") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") + @doc("Delete a {name}", WorkloadNetworkPortMirroring) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...PortMirroringProfileParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, + "json", + "workloadNetworkPortMirroring" +); +@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkPortMirroring" +); + +@@projectedName(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, + "json", + "workloadNetworkPortMirroring" +); +@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkPortMirroring" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network VM Groups") +interface WorkloadNetworkVmGroups { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListVMGroups") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetVMGroup") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateVMGroup") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateVMGroup") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkVMGroup, + WorkloadNetworkVMGroupUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "VmGroupIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteVMGroup") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") + @doc("Delete a {name}", WorkloadNetworkVMGroup) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...VmGroupIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkVmGroups.create::parameters.resource, + "json", + "workloadNetworkVMGroup" +); +@@OpenAPI.extension(WorkloadNetworkVmGroups.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkVMGroup" +); + +@@projectedName(WorkloadNetworkVmGroups.update::parameters.properties, + "json", + "workloadNetworkVMGroup" +); +@@OpenAPI.extension(WorkloadNetworkVmGroups.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkVMGroup" +); + +@armResourceOperations +interface WorkloadNetworkVirtualMachines { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListVirtualMachines") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetVirtualMachine") + get is ArmResourceRead; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network Dns Services") +interface WorkloadNetworkDnsServices { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDnsServices") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDnsService") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDnsService") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDnsService") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkDnsService, + WorkloadNetworkDnsServiceUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsServiceIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDnsService") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") + @doc("Delete a {name}", WorkloadNetworkDnsService) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...DnsServiceIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkDnsServices.create::parameters.resource, + "json", + "workloadNetworkDnsService" +); +@@OpenAPI.extension(WorkloadNetworkDnsServices.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDnsService" +); + +@@projectedName(WorkloadNetworkDnsServices.update::parameters.properties, + "json", + "workloadNetworkDnsService" +); +@@OpenAPI.extension(WorkloadNetworkDnsServices.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDnsService" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network DNS Zones") +interface WorkloadNetworkDnsZones { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDnsZones") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDnsZone") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDnsZone") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDnsZone") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkDnsZone, + WorkloadNetworkDnsZoneUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsZoneIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDnsZone") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") + @doc("Delete a {name}", WorkloadNetworkDnsZone) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...DnsZoneIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkDnsZones.create::parameters.resource, + "json", + "workloadNetworkDnsZone" +); +@@OpenAPI.extension(WorkloadNetworkDnsZones.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDnsZone" +); + +@@projectedName(WorkloadNetworkDnsZones.update::parameters.properties, + "json", + "workloadNetworkDnsZone" +); +@@OpenAPI.extension(WorkloadNetworkDnsZones.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDnsZone" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +interface WorkloadNetworkPublicIps { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListPublicIPs") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetPublicIP") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreatePublicIP") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PublicIPIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeletePublicIP") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") + @doc("Delete a {name}", WorkloadNetworkPublicIP) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...PublicIPIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkPublicIps.create::parameters.resource, + "json", + "workloadNetworkPublicIP" +); +@@OpenAPI.extension(WorkloadNetworkPublicIps.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkPublicIP" +); + +@armResourceOperations +interface CloudLinks { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("CloudLinks_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(CloudLinks.createOrUpdate::parameters.resource, + "json", + "cloudLink" +); +@@OpenAPI.extension(CloudLinks.createOrUpdate::parameters.resource, + "x-ms-client-name", + "cloudLink" +); + +@armResourceOperations +interface Addons { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Addons_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Addons.createOrUpdate::parameters.resource, "json", "addon"); +@@OpenAPI.extension(Addons.createOrUpdate::parameters.resource, + "x-ms-client-name", + "addon" +); + +@armResourceOperations +interface VirtualMachines { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("VirtualMachines_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + // restrictMovement should be a ArmResourceActionNoContentAsync, but does not respond with a 204. + @doc("Enable or disable DRS-driven VM movement restriction") + @armResourceAction(Location) + @post + @extension("x-ms-long-running-operation", true) + restrictMovement( + ...ResourceInstanceParameters, + + @body + @doc("The body type of the operation request.") + restrictMovement: VirtualMachineRestrictMovement, + ): ArmAcceptedLroResponse | ErrorResponse; +} + +@armResourceOperations +interface PlacementPolicies { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("PlacementPolicies_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // 202 response has a body, but it should not to match ArmCustomPatchAsync. + // update is ArmCustomPatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" + @doc("Update a PlacementPolicy") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(PlacementPolicy) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The placement policy properties to be updated.") + placementPolicyUpdate: PlacementPolicyUpdate, + ): ArmResponse | { + ...AcceptedResponse; + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updatd placement policy.") + placementPolicy: PlacementPolicy; + } | ErrorResponse; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +@@projectedName(PlacementPolicies.createOrUpdate::parameters.resource, + "json", + "placementPolicy" +); +@@OpenAPI.extension(PlacementPolicies.createOrUpdate::parameters.resource, + "x-ms-client-name", + "placementPolicy" +); + +@armResourceOperations +interface ScriptPackages { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptPackages_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; +} + +@armResourceOperations +interface ScriptCmdlets { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptCmdlets_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; +} + +@armResourceOperations +interface ScriptExecutions { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptExecutions_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; + + @doc("Return the logs for a script execution resource") + @autoRoute + @armResourceAction(ScriptExecution) + @post + getExecutionLogs( + ...ResourceInstanceParameters, + + #suppress "@azure-tools/typespec-azure-core/request-body-problem" + @body + @doc("Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.") + scriptOutputStreamType?: ScriptOutputStreamType[], + ): ArmResponse | ErrorResponse; +} + +@@projectedName(ScriptExecutions.createOrUpdate::parameters.resource, + "json", + "scriptExecution" +); +@@OpenAPI.extension(ScriptExecutions.createOrUpdate::parameters.resource, + "x-ms-client-name", + "scriptExecution" +); + +@doc("The location envelope.") +model LocationHeader { + @doc("The Location header contains the URL where the status of the long running operation can be checked.") + @header("Location") + location?: string; +} + +@armResourceOperations +interface IscsiPaths { + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" + delete is ArmResourceDeleteAsync; +} + +// use { @body _: void } with the next version of typespec-azure +// https://github.com/Azure/typespec-azure/issues/3759 + +// Just like ArmResourceActionSync, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +@autoRoute +@armResourceAction(TResource) +@post +op ArmResourceActionSyncNoRequestBody< + TResource extends ArmResource, + TResponse extends TypeSpec.Reflection.Model, + TBaseParameters = BaseParameters +>( + ...ResourceInstanceParameters, +): ArmResponse | ErrorResponse; + +// Just like ArmResourceActionAsync, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +op ArmResourceActionNoContentAsyncNoRequestBody< + TResource extends ArmResource, + TBaseParameters extends TypeSpec.Reflection.Model = BaseParameters +> is ArmResourceActionAsyncBaseNoRequestBody< + TResource, + ArmAcceptedLroResponse | ArmNoContentResponse<"Action completed successfully.">, + TBaseParameters +>; + +// Just like ArmResourceActionAsyncBase, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +@autoRoute +@extension("x-ms-long-running-operation", true) +@extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } +) +@armResourceAction(TResource) +@post +op ArmResourceActionAsyncBaseNoRequestBody< + TResource extends ArmResource, + TResponse, + TBaseParameters extends TypeSpec.Reflection.Model +>( + ...ResourceInstanceParameters, +): TResponse | ErrorResponse; diff --git a/specification/vmware/Microsoft.AVS/tspconfig.yaml b/specification/vmware/Microsoft.AVS/tspconfig.yaml new file mode 100644 index 000000000000..957eb1d86523 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/tspconfig.yaml @@ -0,0 +1,17 @@ +parameters: + "service-dir": + default: "sdk/vmware" + "service-directory-name": + default: "vmware" +emit: ["@azure-tools/typespec-autorest"] +linter: + extends: + - "@azure-tools/typespec-azure-resource-manager/all" +options: + "@azure-tools/typespec-autorest": + azure-resource-provider-folder: "resource-manager" + emitter-output-dir: "{project-root}/.." + examples-directory: examples + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/vmware.json" + omit-unreachable-types: true + use-read-only-status-schema: true diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..084d4d4345ba --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..3e12376f12bf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..b2eac10436ac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..24bb85f99409 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json new file mode 100644 index 000000000000..051ca6fe3857 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Addons_Delete", + "operationId": "Addons_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_Get_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..caf0e4dcd516 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_Get_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json new file mode 100644 index 000000000000..413453b30e44 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_Get_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json new file mode 100644 index 000000000000..983397f80db0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_Get_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json new file mode 100644 index 000000000000..e2de4f086874 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_VR", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json new file mode 100644 index 000000000000..6d398298adbf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json @@ -0,0 +1,28 @@ +{ + "title": "Addons_List", + "operationId": "Addons_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..2dccc94bfbd3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json @@ -0,0 +1,37 @@ +{ + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json new file mode 100644 index 000000000000..f0f59810c569 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json new file mode 100644 index 000000000000..9067ae50b541 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -0,0 +1,26 @@ +{ + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json new file mode 100644 index 000000000000..f11ad228b57e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json @@ -0,0 +1,29 @@ +{ + "title": "Authorizations_List", + "operationId": "Authorizations_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..56102b16738f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/CloudLinks_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json new file mode 100644 index 000000000000..cd570965f00a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/CloudLinks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json new file mode 100644 index 000000000000..584a5390976f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/CloudLinks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json new file mode 100644 index 000000000000..2cf681c14a3b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json @@ -0,0 +1,27 @@ +{ + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..60055b64bb63 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json @@ -0,0 +1,54 @@ +{ + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json new file mode 100644 index 000000000000..24afeb63194b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json new file mode 100644 index 000000000000..59f425ab5f27 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -0,0 +1,33 @@ +{ + "title": "Clusters_Get", + "operationId": "Clusters_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json new file mode 100644 index 000000000000..2a2565f1bd23 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_List", + "operationId": "Clusters_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_ListZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json new file mode 100644 index 000000000000..f85165285c40 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json @@ -0,0 +1,27 @@ +{ + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..8980ac424479 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json new file mode 100644 index 000000000000..d85060459e83 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json @@ -0,0 +1,52 @@ +{ + "title": "Clusters_Update", + "operationId": "Clusters_Update", + "parameters": { + "api-version": "2023-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, + "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/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..32f6d9ff78db --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json @@ -0,0 +1,49 @@ +{ + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json new file mode 100644 index 000000000000..91e0edf72196 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json new file mode 100644 index 000000000000..64b5c01459d6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Datastores_Get", + "operationId": "Datastores_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json new file mode 100644 index 000000000000..2a9a2afb8300 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json @@ -0,0 +1,58 @@ +{ + "title": "Datastores_List", + "operationId": "Datastores_List", + "parameters": { + "api-version": "2023-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" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..283417360337 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..609f6d8abdac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..8c246a1b666e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -0,0 +1,28 @@ +{ + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json new file mode 100644 index 000000000000..ac01618ff61d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json @@ -0,0 +1,31 @@ +{ + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..fd7e99f24eb6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..09f97805e0e4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json @@ -0,0 +1,15 @@ +{ + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..06bc6698de19 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -0,0 +1,24 @@ +{ + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..8f7343ad0dae --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json @@ -0,0 +1,27 @@ +{ + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..cd4412b41f0c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/IscsiPaths_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json new file mode 100644 index 000000000000..91def6ffb56e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/IscsiPaths_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json new file mode 100644 index 000000000000..29b8f5815b89 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/IscsiPaths_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json new file mode 100644 index 000000000000..f0ad6d2fdf6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..838cdf505abe --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-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": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..45f6e9342a96 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-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": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..84bf656a903f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-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": "2023-09-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..bde9f5a66d8c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json @@ -0,0 +1,324 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..3fb246e5a611 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,84 @@ +{ + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PlacementPolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..98dcc9c25223 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PlacementPolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json new file mode 100644 index 000000000000..9c6f5755dee5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -0,0 +1,39 @@ +{ + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PlacementPolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json new file mode 100644 index 000000000000..5680a5ca9688 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json @@ -0,0 +1,58 @@ +{ + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PlacementPolicies_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json new file mode 100644 index 000000000000..d1b2e94dc9de --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json @@ -0,0 +1,83 @@ +{ + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..c4773f702167 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-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 + } + }, + "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, + "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", + "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", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..f937576f2884 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,151 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-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 + } + }, + "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": "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", + "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", + "provisioningState": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json new file mode 100644 index 000000000000..ce14c53cac86 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json new file mode 100644 index 000000000000..4aea03fa2ec1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-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, + "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", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..0b431ee65f92 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -0,0 +1,79 @@ +{ + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-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, + "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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json new file mode 100644 index 000000000000..c10716b98619 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json @@ -0,0 +1,75 @@ +{ + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-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, + "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" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..1169f66580bc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..bf4ff0decc41 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json @@ -0,0 +1,71 @@ +{ + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-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, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..05e60737212a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,78 @@ +{ + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-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, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..caa617d386a5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json @@ -0,0 +1,82 @@ +{ + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-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", + "provisioningState": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..ea9728d6e168 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..ae5cc35b5d42 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json new file mode 100644 index 000000000000..eca10b3b953f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json @@ -0,0 +1,160 @@ +{ + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..733abd3984c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json @@ -0,0 +1,139 @@ +{ + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptCmdlets_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..6f58059df70c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -0,0 +1,49 @@ +{ + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptCmdlets_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json new file mode 100644 index 000000000000..f51de5f923c6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json @@ -0,0 +1,78 @@ +{ + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..61d455573c9f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptExecutions_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..1e4861879ef3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptExecutions_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json new file mode 100644 index 000000000000..07b4bb84e0c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -0,0 +1,42 @@ +{ + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..7608c0846235 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,44 @@ +{ + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptExecutions_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json new file mode 100644 index 000000000000..bb35f9db2db7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json @@ -0,0 +1,45 @@ +{ + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptPackages_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json new file mode 100644 index 000000000000..737b54f9e94d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -0,0 +1,26 @@ +{ + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/ScriptPackages_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json new file mode 100644 index 000000000000..12e520c461c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json @@ -0,0 +1,40 @@ +{ + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/VirtualMachines_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json new file mode 100644 index 000000000000..8f25bdc2d552 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -0,0 +1,27 @@ +{ + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/VirtualMachines_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json new file mode 100644 index 000000000000..60df3a2567d5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json @@ -0,0 +1,41 @@ +{ + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..9329fa4b4ee4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..933875fce733 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..a2be1beeb7e7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..7da0394bfc59 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..60000ee7ac88 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..e0caa928d773 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..bed8eccc86b8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,66 @@ +{ + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..a92532362070 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..a26760e58b70 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..4cf2abe8f384 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..4156fbaaccf2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..2e19600fdde1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..a30f0bb6fbb9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..b68ace210b88 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..aad6094bff32 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..f8d5f4e28a34 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json @@ -0,0 +1,19 @@ +{ + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..2fcb1de106b6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..6770c3a9c152 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..e21810a60dea --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..11c0eac3e3ee --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..2505c21ea643 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..101d91f1e822 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..495a0d4872c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..02f1f9e257e1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..b599fb749b9a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json new file mode 100644 index 000000000000..290d443e6a59 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json @@ -0,0 +1,23 @@ +{ + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..daf47b737451 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..b99df2a6872b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..7dcf025391fa --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,33 @@ +{ + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..f043446c2a91 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..a5acf85529b7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..21c222ee88c7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..2eee7a6c142b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json @@ -0,0 +1,40 @@ +{ + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..9d0141e6716e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..f63e522bd260 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..ae65393a8ac4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..9e71d03146d7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..e042b707070d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..c4d175bf35fa --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..e6717f00d22e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,54 @@ +{ + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..85744f8b8d5d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2023-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/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json new file mode 100644 index 000000000000..9e683a527266 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -0,0 +1,11495 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure VMware Solution API", + "version": "2023-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": "Locations" + }, + { + "name": "PrivateClouds" + }, + { + "name": "Clusters" + }, + { + "name": "Datastores" + }, + { + "name": "HcxEnterpriseSites" + }, + { + "name": "Authorizations" + }, + { + "name": "GlobalReachConnections" + }, + { + "name": "WorkloadNetworks" + }, + { + "name": "WorkloadNetworkSegments" + }, + { + "name": "WorkloadNetworkGateways" + }, + { + "name": "WorkloadNetworkVirtualMachines" + }, + { + "name": "CloudLinks" + }, + { + "name": "Addons" + }, + { + "name": "VirtualMachines" + }, + { + "name": "PlacementPolicies" + }, + { + "name": "ScriptPackages" + }, + { + "name": "ScriptCmdlets" + }, + { + "name": "ScriptExecutions" + }, + { + "name": "IscsiPaths" + } + ], + "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/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/PrivateCloudListResult" + } + }, + "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}/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/PrivateCloudListResult" + } + }, + "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" + }, + "x-ms-client-name": "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_Stretched": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_Stretched.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 private cloud properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateCloudUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/AddonListResult" + } + }, + "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_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" + }, + "x-ms-client-name": "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_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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/ExpressRouteAuthorizationListResult" + } + }, + "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" + }, + "x-ms-client-name": "authorization" + } + ], + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/CloudLinkListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/ClusterListResult" + } + }, + "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" + }, + "x-ms-client-name": "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 cluster properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/DatastoreListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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}/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/PlacementPolicyListResult" + } + }, + "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" + }, + "x-ms-client-name": "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 placement policy properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicyUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/VirtualMachineListResult" + } + }, + "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 body type of the operation request.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineRestrictMovement" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": true + } + }, + "/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/GlobalReachConnectionListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/HcxEnterpriseSiteListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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}/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}/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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/ScriptExecutionListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/ScriptPackageListResult" + } + }, + "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/ScriptCmdletListResult" + } + }, + "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/WorkloadNetworkListResult" + } + }, + "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/WorkloadNetworkDhcpListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkDhcpUpdate" + }, + "x-ms-client-name": "workloadNetworkDhcp" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkDnsServiceListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkDnsServiceUpdate" + }, + "x-ms-client-name": "workloadNetworkDnsService" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkDnsZoneListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkDnsZoneUpdate" + }, + "x-ms-client-name": "workloadNetworkDnsZone" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkGatewayListResult" + } + }, + "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/WorkloadNetworkPortMirroringListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkPortMirroringUpdate" + }, + "x-ms-client-name": "workloadNetworkPortMirroring" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkPublicIPListResult" + } + }, + "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" + }, + "x-ms-client-name": "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkSegmentListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkSegmentUpdate" + }, + "x-ms-client-name": "workloadNetworkSegment" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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/WorkloadNetworkVirtualMachineListResult" + } + }, + "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/WorkloadNetworkVMGroupListResult" + } + }, + "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" + }, + "x-ms-client-name": "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/WorkloadNetworkVMGroupUpdate" + }, + "x-ms-client-name": "workloadNetworkVMGroup" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "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." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "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)" + } + }, + "required": [ + "offer" + ], + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "HCX" + }, + "AddonListResult": { + "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", + "readOnly": true + } + }, + "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" + } + ] + } + }, + "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" + } + ] + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CloudLinkListResult": { + "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", + "readOnly": true + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "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" + } + ] + }, + "ClusterListResult": { + "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", + "readOnly": true + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DatastoreListResult": { + "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", + "readOnly": true + } + }, + "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" + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ExpressRouteAuthorizationListResult": { + "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", + "readOnly": true + } + }, + "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 + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "GlobalReachConnectionListResult": { + "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", + "readOnly": true + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HcxEnterpriseSiteListResult": { + "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", + "readOnly": true + } + }, + "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" + } + ] + } + }, + "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 + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "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", + "readOnly": true + } + }, + "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 + }, + "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" + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PlacementPolicyListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "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." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "PrivateCloudListResult": { + "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", + "readOnly": true + } + }, + "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." + } + }, + "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." + } + } + }, + "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" + } + ] + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "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" + } + ] + } + }, + "ScriptCmdletListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ScriptExecutionListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ScriptPackageListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "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" + } + ] + } + }, + "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" + } + ] + } + }, + "VirtualMachine": { + "type": "object", + "description": "Virtual Machine", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VirtualMachineListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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": "Virtual machine managed object reference id", + "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" + } + ] + } + }, + "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" + }, + "WorkloadNetwork": { + "type": "object", + "description": "Workload Network", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "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" + ] + }, + "WorkloadNetworkDhcpEntityUpdate": { + "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." + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + }, + "discriminator": "dhcpType", + "required": [ + "dhcpType" + ] + }, + "WorkloadNetworkDhcpListResult": { + "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", + "readOnly": true + } + }, + "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" + }, + "WorkloadNetworkDhcpRelayUpdate": { + "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/WorkloadNetworkDhcpEntityUpdate" + } + ], + "x-ms-discriminator-value": "RELAY" + }, + "WorkloadNetworkDhcpServer": { + "type": "object", + "description": "NSX DHCP Server", + "properties": { + "serverAddress": { + "type": "string", + "description": "DHCP Server Address." + }, + "leaseTime": { + "type": "integer", + "format": "int32", + "description": "DHCP Server Lease Time." + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "x-ms-discriminator-value": "SERVER" + }, + "WorkloadNetworkDhcpServerUpdate": { + "type": "object", + "description": "NSX DHCP Server", + "properties": { + "serverAddress": { + "type": "string", + "description": "DHCP Server Address." + }, + "leaseTime": { + "type": "integer", + "format": "int32", + "description": "DHCP Server Lease Time." + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntityUpdate" + } + ], + "x-ms-discriminator-value": "SERVER" + }, + "WorkloadNetworkDhcpUpdate": { + "type": "object", + "description": "NSX DHCP update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDhcpEntityUpdate", + "description": "The updatable properties of a DHCP update", + "x-ms-client-flatten": false + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsServiceListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "WorkloadNetworkDnsServiceUpdate": { + "type": "object", + "description": "NSX DNS Service update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "description": "The updatable properties of a DNS Service update", + "x-ms-client-flatten": true + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsZoneListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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": "int32", + "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 + }, + "WorkloadNetworkDnsZoneUpdate": { + "type": "object", + "description": "NSX DNS Zone update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "description": "The updatable properties of a DNS Zone update", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkGateway": { + "type": "object", + "description": "NSX Gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkGatewayProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkGatewayListResult": { + "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", + "readOnly": true + } + }, + "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 + } + } + }, + "WorkloadNetworkListResult": { + "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", + "readOnly": true + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkPortMirroringListResult": { + "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", + "readOnly": true + } + }, + "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 + }, + "WorkloadNetworkPortMirroringUpdate": { + "type": "object", + "description": "NSX Port Mirroring update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "description": "The updatable properties of a Port Mirroring update", + "x-ms-client-flatten": 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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkPublicIPListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "WorkloadNetworkSegment": { + "type": "object", + "description": "NSX Segment", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkSegmentListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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." + } + } + }, + "WorkloadNetworkSegmentUpdate": { + "type": "object", + "description": "NSX Segment update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "description": "The updatable properties of a Segment update", + "x-ms-client-flatten": true + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkVMGroupListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + }, + "WorkloadNetworkVMGroupUpdate": { + "type": "object", + "description": "NSX VM Group update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "description": "The updatable properties of a VM Group update", + "x-ms-client-flatten": true + } + } + }, + "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, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkVirtualMachineListResult": { + "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", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "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 + } + } + } + }, + "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" + } + } +} diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 4341eb7a0891..edc6d37482fc 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -21,7 +21,16 @@ These are the global settings for the VMware Solution API. ``` yaml openapi-type: arm -tag: package-2023-03-01 +tag: package-2023-09-01 +``` + +### Tag: package-2023-09-01 + +These settings apply only when `--tag=package-2023-09-01` is specified on the command line. + +``` yaml $(tag) == 'package-2023-09-01' +input-file: +- Microsoft.AVS/stable/2023-09-01/vmware.json ``` ### Tag: package-2023-03-01 @@ -108,61 +117,16 @@ swagger-to-sdk: ## Suppression -### AutoRest v2 Suppressions ``` yaml directive: - - suppress: pathresourceprovidernamepascalcase - reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution - from: - - vmware.json - - suppress: TrackedResourceListByImmediateParent - reason: list by immediate parent operations are defined - from: vmware.json - - - suppress: TrackedResourceListByResourceGroup - reason: the PrivateClouds_List operation is by resource group - from: vmware.json - - - suppress: EnumInsteadOfBoolean - reason: standard property for Operation - from: vmware.json - where: $.definitions.Operation.properties.isDataAction - - - suppress: EnumInsteadOfBoolean - reason: standard property for MetricSpecification - from: vmware.json - where: $.definitions.MetricSpecification.properties.fillGapWithZero - - - suppress: AvoidNestedProperties - reason: x-ms-client-flatten not needed for Operation - from: vmware.json - where: $.definitions.Operation.properties.properties - - - suppress: RequiredReadOnlySystemData - reason: systemData is not in this API version - from: vmware.json - - - suppress: EnumInsteadOfBoolean - reason: standard property defined by Geneva Metrics - from: vmware.json - where: $.definitions.MetricDimension.properties.toBeExportedForShoebox - - - suppress: ParametersOrder - reason: Breaking change to update the parameters order + - transform: $["x-ms-client-flatten"] = false from: vmware.json where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].get - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete - -``` + - $.definitions.Addon.properties.properties + - $.definitions.PlacementPolicy.properties.properties + - $.definitions.WorkloadNetworkDhcp.properties.properties -### AutoRest v3 Suppressions -``` yaml suppressions: - code: pathresourceprovidernamepascalcase @@ -181,14 +145,10 @@ suppressions: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete - code: ConsistentPatchProperties - reason: The properties are consistent for the discriminator hierarchy. + reason: The PlacementPolicies_Update properties are consistent for the discriminator hierarchy. from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch - # - $.definitions.PlacementPolicyUpdate.properties.vmMembers - # - $.definitions.PlacementPolicyUpdate.properties.hostMembers - # - $.definitions.PlacementPolicyUpdate.properties.affinityStrength - # - $.definitions.PlacementPolicyUpdate.properties.azureHybridBenefitType + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters[6]["schema"] - code: DefinitionsPropertiesNamesCamelCase reason: Breaking change to update existing property names @@ -202,47 +162,140 @@ suppressions: - $.definitions.WorkloadNetworkPublicIPProperties.properties.publicIPBlock - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs - - code: ArmResourcePropertiesBag - reason: Breaking change to update existing property names + - code: PatchResponseCodes + reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. from: vmware.json where: - - $.definitions.PlacementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch - - code: DeleteOperationAsyncResponseValidation - reason: x-ms-long-running-operation-options does not need to be set if you follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options + - code: LroPatch202 + reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.responses + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch.responses - - code: PatchSkuProperty - reason: sku can not be updated - from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch - # - $.definitions.PrivateCloudUpdate - # - $.definitions.ClusterUpdate + - code: PostResponseCodes + reason: PrivateClouds_RotateNsxtPassword & PrivateClouds_RotateVcenterPassword respond with 202 & 204. Changing it is breaking. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword"].post + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword"].post - - code: LroPatch202 - reason: Breaking change to add response + - code: XmsClientName + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7886 from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch - - - code: UnSupportedPatchProperties - reason: Breaking change to remove name or type properties + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5] # workloadNetworkVmGroup + + - code: XmsClientNameParameter + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7887 + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4]["x-ms-client-name"] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5]["x-ms-client-name"] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5]["x-ms-client-name"] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5]["x-ms-client-name"] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5]["x-ms-client-name"] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6]["x-ms-client-name"] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6]["x-ms-client-name"] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5]["x-ms-client-name"] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5]["x-ms-client-name"] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5]["x-ms-client-name"] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + + - code: docLinkLocale + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7888 from: vmware.json - # where: - # - $ $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4]["x-ms-client-name"] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5]["x-ms-client-name"] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5]["x-ms-client-name"] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5]["x-ms-client-name"] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5]["x-ms-client-name"] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6]["x-ms-client-name"] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6]["x-ms-client-name"] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5]["x-ms-client-name"] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5]["x-ms-client-name"] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5]["x-ms-client-name"] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + + - code: XmsPageableForListCalls + reasons: This are gets on a TypeSpec @singleton. These are false positives. + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default"].get + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default"].get - - code: XmsLongRunningOperationOptions - reason: This option is designed for cases where the server does NOT follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options + - code: PatchBodyParametersSchema + reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7802 from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.parameters[4].schema.properties.identity + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.parameters[4].schema.properties.sku + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch.parameters[5].schema.properties.sku + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5].schema.properties.properties - # just warnings - # - code: IgnoredPropertyNextToRef - # - code: LroLocationHeader - # from: vmware.json + - code: EvenSegmentedPathForPutOperation + reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7801 + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"] ``` ## TypeScript