Skip to content

Commit

Permalink
Merging new API version from private repo https://github.com/Azure/az…
Browse files Browse the repository at this point in the history
…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
miniagarwal0910 authored and JoshLove-msft committed Apr 25, 2023
1 parent 6fabf18 commit 11bf954
Show file tree
Hide file tree
Showing 70 changed files with 8,029 additions and 31 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,7 @@ Wasserstein
typespec
DSPM
Dspm
Metadatas
Gtid
GTID
gtid
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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 11bf954

Please sign in to comment.