-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft.BareMetalInfrastructure: add stable API version 2021-08-09 (#…
…15680) * Microsoft.BareMetalInfrastructure: add stable API version 2021-08-09 * Remove preview from output-folder in readme.go.md Co-authored-by: Arcturus <ufo54153@gmail.com> * Correct spelling of operation ID failing Swagger SpellCheck * Change json indents from 4 to 2 spaces * Ran 'npm prettier' tool Co-authored-by: Arcturus <ufo54153@gmail.com>
- Loading branch information
1 parent
fa142b5
commit 1e42e81
Showing
10 changed files
with
1,103 additions
and
3 deletions.
There are no files selected for viewing
654 changes: 654 additions & 0 deletions
654
...-manager/Microsoft.BareMetalInfrastructure/stable/2021-08-09/baremetalinfrastructure.json
Large diffs are not rendered by default.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
...osoft.BareMetalInfrastructure/stable/2021-08-09/examples/AzureBareMetalInstances_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-09", | ||
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", | ||
"resourceGroupName": "myResourceGroup", | ||
"azureBareMetalInstanceName": "myAzureBareMetalInstance" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myAzureBareMetalInstance", | ||
"location": "westus2", | ||
"name": "myAzureBareMetalInstance", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"type": "Microsoft.BareMetalInfrastructure/bareMetalInstances", | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-12-20T23:10:22.6828621Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z" | ||
}, | ||
"properties": { | ||
"azureBareMetalInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", | ||
"powerState": "restarting", | ||
"hwRevision": "Rev 4.2", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "123.123.123.123" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "123.123.119.123" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName", | ||
"osType": "SLES 12 SP2", | ||
"version": "12 SP2" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
106 changes: 106 additions & 0 deletions
106
...nfrastructure/stable/2021-08-09/examples/AzureBareMetalInstances_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-09", | ||
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/azureBareMetalInstances/myAzureBareMetalInstance1", | ||
"name": "myAzureBareMetalInstance1", | ||
"type": "Microsoft.BareMetalInfrastructure/azureBareMetalInstances", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-12-20T23:10:22.6828621Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z" | ||
}, | ||
"properties": { | ||
"azureBareMetalInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", | ||
"powerState": "started", | ||
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", | ||
"hwRevision": "Rev 3", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "100.100.100.100" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "200.200.200.200" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName1", | ||
"osType": "SUSE", | ||
"version": "12 SP1", | ||
"sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/azureBareMetalInstances/myABMInstance2", | ||
"name": "myABMInstance2", | ||
"type": "Microsoft.BareMetalInfrastructure/azureBareMetalInstances", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-07-21T08:01:22.0000000Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z" | ||
}, | ||
"properties": { | ||
"azureBareMetalInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9", | ||
"powerState": "started", | ||
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", | ||
"hwRevision": "Rev 3", | ||
"hardwareProfile": { | ||
"hardwareType": "HPE", | ||
"azureBareMetalInstanceSize": "S384" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "100.100.100.101" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "200.200.200.201" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName2", | ||
"osType": "SUSE", | ||
"version": "12 SP1", | ||
"sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L" | ||
}, | ||
"partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/azureBareMetalInstances/myAzureBareMetalInstance1", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
100 changes: 100 additions & 0 deletions
100
...Infrastructure/stable/2021-08-09/examples/AzureBareMetalInstances_ListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-09", | ||
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myAzureBareMetalInstance1", | ||
"location": "westus2", | ||
"name": "myAzureBareMetalInstance1", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-07-21T08:01:22.0000000Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z" | ||
}, | ||
"type": "Microsoft.BareMetalInfrastructure/bareMetalInstances", | ||
"properties": { | ||
"azureBareMetalInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", | ||
"powerState": "restarting", | ||
"hwRevision": "Rev 4.2", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "123.123.123.123" | ||
} | ||
], | ||
"circuitId": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "123.123.119.123" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName", | ||
"osType": "SLES 12 SP2", | ||
"version": "12 SP2" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myAzureBareMetalInstance2", | ||
"location": "westus2", | ||
"name": "myAzureBareMetalInstance2", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-07-21T08:01:22.0000000Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z" | ||
}, | ||
"type": "Microsoft.BareMetalInfrastructure/bareMetalInstances", | ||
"properties": { | ||
"azureBareMetalInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9", | ||
"powerState": "restarting", | ||
"hwRevision": "Rev 4.2", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "123.123.123.123" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "123.123.119.123" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName2", | ||
"osType": "SLES 12 SP2", | ||
"version": "12 SP2" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...BareMetalInfrastructure/stable/2021-08-09/examples/AzureBareMetalInstances_PatchTags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-09", | ||
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", | ||
"resourceGroupName": "myResourceGroup", | ||
"azureBareMetalInstanceName": "myABMInstance", | ||
"tagsParameter": { | ||
"tags": { | ||
"testkey": "testvalue" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myABMInstance", | ||
"name": "myABMInstance", | ||
"type": "Microsoft.BareMetalInfrastructure/bareMetalInstances", | ||
"location": "westus", | ||
"tags": { | ||
"testkey": "testvalue" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-12-20T23:10:22.6828621Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z" | ||
}, | ||
"properties": { | ||
"azureBareMetalInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", | ||
"powerState": "started", | ||
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", | ||
"hwRevision": "Rev 3", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "100.100.100.100" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "200.200.200.200" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName", | ||
"osType": "SUSE", | ||
"version": "12 SP1", | ||
"sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L" | ||
}, | ||
"partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myABMInstance2", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...alInfrastructure/stable/2021-08-09/examples/AzureBareMetalInstances_PatchTags_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-09", | ||
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", | ||
"resourceGroupName": "myResourceGroup", | ||
"azureBareMetalInstanceName": "myABMInstance", | ||
"tagsParameter": { | ||
"tags": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myABMInstance", | ||
"name": "myABMInstance", | ||
"type": "Microsoft.BareMetalInfrastructure/bareMetalInstances", | ||
"location": "westus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-12-20T23:10:22.6828621Z", | ||
"lastModifiedBy": "user@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z" | ||
}, | ||
"properties": { | ||
"azureBareMetalInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", | ||
"powerState": "started", | ||
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", | ||
"hwRevision": "Rev 3", | ||
"hardwareProfile": { | ||
"hardwareType": "Cisco_UCS", | ||
"azureBareMetalInstanceSize": "S72" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"ipAddress": "100.100.100.100" | ||
} | ||
], | ||
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" | ||
}, | ||
"storageProfile": { | ||
"nfsIpAddress": "200.200.200.200" | ||
}, | ||
"osProfile": { | ||
"computerName": "myComputerName", | ||
"osType": "SUSE", | ||
"version": "12 SP1", | ||
"sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L" | ||
}, | ||
"partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/myABMInstance2", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.