Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Publish Microsoft.AzureStackHCI 2021-07-01-preview #18152

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5f186bf
Adds base for updating Microsoft.AzureStackHCI from version preview/2…
JocelynBerrendonner Mar 5, 2022
abaf2ad
Updates readme
JocelynBerrendonner Mar 5, 2022
b3de21e
Updates API version in new specs and examples
JocelynBerrendonner Mar 5, 2022
5e1d29e
Publishing the 2021-07-01-preview API for self-service VM on HCI
JocelynBerrendonner Mar 5, 2022
2c4e6a0
Fix some linter errors
Arkanayan Mar 8, 2022
f673e49
Update readme to include 2021-07
Arkanayan Mar 9, 2022
93cbfa2
Fix errors and run prettier
Arkanayan Mar 9, 2022
e338559
Fix readme.go.md
Arkanayan Mar 9, 2022
d8b4c68
Fix SSH description
Arkanayan Mar 9, 2022
e8fa92d
Set provisioningState as enum
Arkanayan Mar 14, 2022
9285996
Use common-types TrackedResource
Arkanayan Mar 14, 2022
38fa4f3
Change vmSize type to enum
Arkanayan Mar 14, 2022
32a7b86
Set adminPassword mutability to [create]
Arkanayan Mar 14, 2022
e90e6e2
Set osType as Enum
Arkanayan Mar 14, 2022
46081ed
Set networkType as enum
Arkanayan Mar 14, 2022
509a265
Some changes based on feedback
Arkanayan Mar 14, 2022
3c0f17f
Remove storagecontainers
Arkanayan Mar 16, 2022
0a0903a
Add MocVirtualMachineStatus object
Arkanayan Mar 17, 2022
9e94e76
Fix provisioningState enum
Arkanayan Mar 17, 2022
3dfa27f
Fix networkinterface id description
Arkanayan Mar 17, 2022
5ec0595
Fix provisioningState in all the resources
Arkanayan Mar 17, 2022
681be29
Update description of ipConfigurationReferences.ID
Arkanayan Mar 17, 2022
46f14fa
Add typed status object
Arkanayan Mar 18, 2022
35cb52c
Use common-types v3/types.json objects
Arkanayan Mar 18, 2022
48cf271
Remove 201 response from update apis
Arkanayan Mar 18, 2022
09c4f8a
Add enum PrivateIPAllocationMethod
Arkanayan Mar 18, 2022
9c3d49f
Add additional provisioningState enum variants
Arkanayan Apr 29, 2022
ab16dd5
Fix typo
Arkanayan Apr 29, 2022
7e50b02
Remove MOC reference from object definitions
Arkanayan Apr 29, 2022
46461d6
Set provisioningState as read only
Arkanayan Apr 29, 2022
dcb894e
Mark Statuses as readOnly
Arkanayan Jun 2, 2022
10fd814
Change description of routeTable ID
Arkanayan Jun 3, 2022
97de8ca
Put extended location definition in a common file
Arkanayan Jun 13, 2022
1182f84
Change description of route.ID
Arkanayan Jun 13, 2022
d8ae2f5
Fix customLocation enum types
Arkanayan Aug 8, 2022
b0ae71e
Remove storageContainers examples
Arkanayan Aug 22, 2022
7edeec6
Fix swagger lintdiff
Arkanayan Aug 22, 2022
5f6876f
Remove 201 response from update examples
Arkanayan Aug 22, 2022
16dfff4
Fix PrettierCheck on common.json
Arkanayan Aug 22, 2022
960224a
Set long running operation options final state to location
Arkanayan Aug 30, 2022
3fd1aed
Add operations examples
Arkanayan Aug 30, 2022
4df3867
Merge remote-tracking branch 'upstream/main' into user/jocelynb/dev-a…
Arkanayan Nov 2, 2022
0dfe31f
Fix model validation errors
Arkanayan Nov 2, 2022
875640c
Fix git merge
Arkanayan Nov 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A128CBCPAD
A128CBCPAD
A192CBCPAD
A256CBCPAD
AADDS
Expand Down Expand Up @@ -2799,6 +2799,11 @@ logalertv1metricmeasurement
resourcehealth
activitylog
budget
galleryimage
networkinterfaces
storagecontainers
virtualharddisks
vippool
routeset
routesets
wayfind
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"swagger": "2.0",
"info": {
"title": "AzureStackHCI",
"description": "The Microsoft.AzureStackHCI Rest API spec",
"version": "2021-07-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"ExtendedLocationType": {
"type": "string",
"description": "The type of extendedLocation.",
"enum": [
"CustomLocation"
],
"x-ms-enum": {
"name": "ExtendedLocationTypes",
"modelAsString": true
}
},
"ExtendedLocation": {
"description": "The complex type of the extended location.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"$ref": "#/definitions/ExtendedLocationType",
"description": "The type of the extended location."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"galleryimagesName": "test-gallery-image",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"networkinterfacesName": "test-nic",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualharddisksName": "test-vhd",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualmachinesName": "test-vm",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualnetworksName": "test-vnet",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"galleryimagesName": "test-gallery-image",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
"name": "test-gallery-image",
"type": "Microsoft.AzureStackHCI/galleryimages",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"imagePath": "C:\\test.vhdx",
"containerName": "Default_Container"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"networkinterfacesName": "test-nic",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
"name": "test-vnet",
"type": "Microsoft.AzureStackHCI/networkinterfaces",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"ipConfigurations": [
{
"name": "ipconfig-sample",
"properties": {
"subnet": {
"id": "external"
}
}
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualharddisksName": "test-vhd",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
"name": "test-vhd",
"type": "Microsoft.AzureStackHCI/virtualharddisks",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"diskSizeBytes": 32,
"provisioningState": "Accepted"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualmachinesName": "test-vm",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"name": "test-vm",
"type": "Microsoft.AzureStackHCI/virtualmachines",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"storageProfile": {
"imageReference": {
"name": "test-gallery-image"
}
},
"hardwareProfile": {
"vmSize": "Default"
},
"osProfile": {
"computerName": "luamaster",
"adminUsername": "localadmin"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "test-nic"
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualnetworksName": "test-vnet",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-vnet",
"name": "test-vnet",
"type": "Microsoft.AzureStackHCI/virtualnetworks",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"networkType": "Transparent"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
"name": "test-gallery-image",
"type": "Microsoft.AzureStackHCI/galleryimages",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"imagePath": "C:\\test.vhdx",
"containerName": "Default_Container"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
"name": "test-gallery-image",
"type": "Microsoft.AzureStackHCI/galleryimages",
"location": "West US2",
"extendedLocation": {
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Accepted",
"imagePath": "C:\\test.vhdx",
"containerName": "Default_Container"
}
}
]
}
}
}
}
Loading