forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging new API version from private repo https://github.com/Azure/az…
…ure-rest-api-specs-pr/blob/RPSaaSMaster/specification/scvmm/resource-manager/Microsoft.ScVmm/preview/2022-05-21-preview (Azure#23277) * Adding new api version as it is from azure-rest-api-specs-pr (RPSaaSMaster) * Update AutoRest files * resolve spell-check and sdk failures * resolve spell-check * resolve sdk failures * Remove extra spaces * Remove extra spaces * Remove lenient-model-Deduplication * Update v1 to v3 in scvmm.json * Add systemData in scvmm.json * Remove SystemData * Removing readme.ruby.md as ruby no longer supported * Remove ruby reference
- Loading branch information
1 parent
6fabf18
commit 11bf954
Showing
70 changed files
with
8,029 additions
and
31 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2791,6 +2791,7 @@ Wasserstein | |
typespec | ||
DSPM | ||
Dspm | ||
Metadatas | ||
Gtid | ||
GTID | ||
gtid |
55 changes: 55 additions & 0 deletions
55
...ce-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateAvailabilitySet.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": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"availabilitySetName": "HRAvailabilitySet", | ||
"body": { | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", | ||
"availabilitySetName": "hr-avset" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", | ||
"name": "HRAvailabilitySet", | ||
"type": "Microsoft.ScVmm/AvailabilitySets", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", | ||
"availabilitySetName": "hr-avset", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", | ||
"name": "HRAvailabilitySet", | ||
"type": "Microsoft.ScVmm/AvailabilitySets", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", | ||
"availabilitySetName": "hr-avset", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...r/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateCheckpointVirtualMachine.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"virtualMachineName": "DemoVM", | ||
"body": { | ||
"name": "Demo Checkpoint name", | ||
"description": "Demo Checkpoint description" | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...vmm/resource-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateCloud.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": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"cloudName": "HRCloud", | ||
"body": { | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", | ||
"name": "HRCloud", | ||
"type": "Microsoft.SCVMM/Clouds", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", | ||
"name": "HRCloud", | ||
"type": "Microsoft.SCVMM/Clouds", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...esource-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateGuestAgent.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,47 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"virtualMachineName": "ContosoVm", | ||
"guestAgentName": "default", | ||
"body": { | ||
"properties": { | ||
"provisioningAction": "install", | ||
"credentials": { | ||
"username": "tempuser", | ||
"password": "<password>" | ||
}, | ||
"httpProxyConfig": { | ||
"httpsProxy": "http://192.1.2.3:8080" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VitualMachines/ContosoVm/guestAgents/default", | ||
"name": "default", | ||
"type": "Microsoft.ScVmm/VitualMachines/guestAgents", | ||
"properties": { | ||
"provisioningAction": "install", | ||
"status": "connected", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VitualMachines/ContosoVm/guestAgents/default", | ||
"name": "default", | ||
"type": "Microsoft.ScVmm/VitualMachines/guestAgents", | ||
"properties": { | ||
"provisioningAction": "install", | ||
"status": "connected", | ||
"provisioningState": "Created" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ger/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateHybridIdentityMetadata.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"virtualMachineName": "ContosoVm", | ||
"metadataName": "default", | ||
"body": { | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VitualMachines/ContosoVm/hybridIdentityMetadatas/default", | ||
"name": "default", | ||
"type": "Microsoft.ScVmm/VitualMachines/hybridIdentityMetadatas", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", | ||
"identity": { | ||
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", | ||
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...urce-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateInventoryItem.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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"vmmServerName": "ContosoVMMServer", | ||
"inventoryItemName": "12345678-1234-1234-1234-123456789abc", | ||
"body": { | ||
"properties": { | ||
"inventoryType": "Cloud" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", | ||
"name": "12345678-1234-1234-1234-123456789abc", | ||
"type": "Microsoft.SCVMM/VMMServers/InventoryItems", | ||
"properties": { | ||
"inventoryType": "Cloud", | ||
"managedResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/contoso-cloud", | ||
"inventoryItemName": "contoso-cloud", | ||
"uuid": "12345678-1234-1234-1234-123456789abc", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...resource-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateVMMServer.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,65 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"vmmServerName": "ContosoVMMServer", | ||
"body": { | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"fqdn": "VMM.contoso.com", | ||
"port": 1234, | ||
"credentials": { | ||
"username": "testuser", | ||
"password": "password" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"name": "ContosoVMMServer", | ||
"type": "Microsoft.SCVMM/VMMServers", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"fqdn": "VMM.contoso.com", | ||
"port": 1234, | ||
"connectionStatus": "Connected", | ||
"uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"version": "2.0", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"name": "ContosoVMMServer", | ||
"type": "Microsoft.SCVMM/VMMServers", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"fqdn": "VMM.contoso.com", | ||
"port": 1234, | ||
"connectionStatus": "Connected", | ||
"uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"version": "2.0", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
...rce-manager/Microsoft.ScVmm/preview/2022-05-21-preview/examples/CreateVirtualMachine.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,78 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-05-21-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"virtualMachineName": "DemoVM", | ||
"body": { | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", | ||
"templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"hardwareProfile": { | ||
"memoryMB": 4096, | ||
"cpuCount": 4 | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", | ||
"name": "DemoVM", | ||
"type": "Microsoft.SCVMM/VirtualMachines", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", | ||
"templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"hardwareProfile": { | ||
"memoryMB": 4096, | ||
"cpuCount": 4 | ||
}, | ||
"osProfile": { | ||
"computerName": "DemoVM", | ||
"osType": "Windows" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", | ||
"name": "DemoVM", | ||
"type": "Microsoft.SCVMM/VirtualMachines", | ||
"location": "East US", | ||
"extendedLocation": { | ||
"type": "customLocation", | ||
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" | ||
}, | ||
"properties": { | ||
"cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", | ||
"templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", | ||
"vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", | ||
"hardwareProfile": { | ||
"memoryMB": 4096, | ||
"cpuCount": 4 | ||
}, | ||
"osProfile": { | ||
"computerName": "DemoVM", | ||
"osType": "Windows" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.