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

Dev hybridcompute microsoft.hybrid compute 2022 12 27 preview #22034

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
9ded3ab
Adds base for updating Microsoft.HybridCompute from version preview/2…
shubhammalhotra28 Dec 27, 2022
1eaed8e
Updates readme
shubhammalhotra28 Dec 27, 2022
9d08728
Updates API version in new specs and examples
shubhammalhotra28 Dec 27, 2022
fdc7a4b
changes w.r.t Agent upgrade
shmalhotra Jan 3, 2023
afb3007
removing readonly from correlationId, enableAutoUpgrade and desiredVe…
shmalhotra Jan 4, 2023
c223486
removing readonly from correlationId, enableAutoUpgrade and desiredVe…
shmalhotra Jan 4, 2023
da5af62
fixed formatting - prettify
shmalhotra Jan 4, 2023
1abebe3
test
Jan 5, 2023
8d72337
remove test commit
Jan 5, 2023
229c5db
update paths and definition to add network profile related items
Jan 6, 2023
9917607
add example file
Jan 6, 2023
575c430
test
shmalhotra Jan 6, 2023
5822bc3
Merge branch 'dev-hybridcompute-Microsoft.HybridCompute-2022-12-27-pr…
shmalhotra Jan 6, 2023
ace9922
test
shmalhotra Jan 6, 2023
a5aff7a
remove test commit
shmalhotra Jan 6, 2023
4c47da0
lintDiff fix
shmalhotra Jan 9, 2023
34f271b
lintDiff fix
shmalhotra Jan 9, 2023
56b9292
lintDiff fix
shmalhotra Jan 9, 2023
ebf1584
fixing errors with lintDiff and made updates for anableAutoUpgrade an…
shmalhotra Jan 9, 2023
8da6abe
rverting back enableAutoUpgrade to boolean
shmalhotra Jan 9, 2023
138668d
fixing xmsEnum validation for lastAttemptStatus
shmalhotra Jan 9, 2023
5aa5df1
add pattern to machineName
Jan 10, 2023
4d20c7b
Merge branch 'dev-hybridcompute-Microsoft.HybridCompute-2022-12-27-pr…
Jan 10, 2023
44d9d02
add x-ms-identifiers
Jan 10, 2023
6c5e890
re-add x-ms-identifiers
Jan 10, 2023
96d17df
fix for model validation
shmalhotra Jan 10, 2023
5bd60f8
azure-asynOperation added to privateLinkScope.json
shmalhotra Jan 10, 2023
1964c37
change 'ipAddress' of type string to 'address'
Jan 10, 2023
06d7740
Merge branch 'dev-hybridcompute-Microsoft.HybridCompute-2022-12-27-pr…
Jan 10, 2023
6ada23f
model validation fiox for lro_reponse_header
shmalhotra Jan 10, 2023
aad55ea
ip address fix
shmalhotra Jan 10, 2023
e186c36
ip address fix
shmalhotra Jan 10, 2023
44a1115
fix definition for items of type string
Jan 10, 2023
a483931
minor change to refresh pipelines
Jan 11, 2023
e90d50d
resolve conflicts
Jan 11, 2023
4cdaf20
add header for op with x-ms-long-running-operation=true
Jan 11, 2023
1b9e390
revert previous commit
Jan 11, 2023
9f2039c
attempt to fix error LRO_RESPONSE_HEADER
Jan 11, 2023
6fa6baf
readd headers
Jan 11, 2023
6029b8c
fix case
Jan 11, 2023
1deb231
prettify
shmalhotra Jan 11, 2023
20486a5
compared along the stable version
shmalhotra Jan 11, 2023
2e04674
removed header from put
shmalhotra Jan 11, 2023
6407b9c
fixed the examples while comparing to stable version
shmalhotra Jan 11, 2023
bbc20c3
removed empty enum
shmalhotra Jan 13, 2023
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"extensionName": "MMA",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "{callbackUrl}",
"Retry-After": 200,
"Azure-AsyncOperation": "{callbackUri}"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"location": "EastUS",
"publisher": "microsoft.azure.monitor",
"extensionType": "azuremonitorlinuxagent",
"version": "1.9.1",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1",
"properties": {
"version": "1.9.1",
"extensionType": "azuremonitorlinuxagent",
"publisher": "microsoft.azure.monitor"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"location": "EastUS",
"publisher": "microsoft.azure.monitor",
"extensionType": "azuremonitorlinuxagent",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"version": "1.9.1",
"extensionType": "azuremonitorlinuxagent",
"publisher": "microsoft.azure.monitor"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1"
},
{
"properties": {
"version": "1.9.2",
"extensionType": "azuremonitorlinuxagent",
"publisher": "microsoft.azure.monitor"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2022-12-27-preview",
"extensionUpgradeParameters": {
"extensionTargets": {
"Microsoft.Compute.CustomScriptExtension": {
"targetVersion": "1.10"
},
"Microsoft.Azure.Monitoring": {
"targetVersion": "2.0"
}
}
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "{callbackUrl}",
"Retry-After": 200,
"Azure-AsyncOperation": "{callbackUri}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"extensionName": "CustomScriptExtension",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension",
"name": "CustomScriptExtension",
"type": "Microsoft.HybridCompute/machines/extensions",
"location": "eastus2euap",
"properties": {
"publisher": "Microsoft.Compute",
"type": "string",
"typeHandlerVersion": "1.10.3",
"autoUpgradeMinorVersion": false,
"settings": {
"commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""
},
"protectedSettings": {},
"provisioningState": "Succeeded",
"instanceView": {
"name": "CustomScriptExtension",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.10.3",
"status": {
"code": "success",
"level": "Information",
"displayStatus": "Provisioning succeeded",
"message": "Finished executing command, StdOut: , StdErr:",
"time": "2019-08-08T20:42:10.999Z"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {
"body": {
"networkInterfaces": [
{
"ipAddresses": [
{
"address": "192.168.12.345",
"ipAddressVersion": "IPv4",
"subnet": {
"addressPrefix": "192.168.12.0/24"
}
}
]
},
{
"ipAddresses": [
{
"address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc",
"ipAddressVersion": "IPv6",
"subnet": {
"addressPrefix": "1001:0:34aa:5000::/64"
}
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension",
"name": "CustomScriptExtension",
"location": "eastus2euap",
"type": "Microsoft.HybridCompute/machines/extensions",
"properties": {
"publisher": "Microsoft.Compute",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.10.3",
"autoUpgradeMinorVersion": false,
"settings": {
"commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""
},
"provisioningState": "Succeeded",
"instanceView": {
"name": "CustomScriptExtension",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.10.3",
"status": {
"code": "success",
"level": "Information",
"displayStatus": "Provisioning succeeded",
"message": "formattedMessage: Finished executing command, StdOut: , StdErr: ",
"time": "2020-08-13T17:18:57.405Z"
}
}
}
},
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension",
"name": "winosupdateextension",
"location": "eastus2euap",
"type": "Microsoft.HybridCompute/machines/extensions",
"properties": {
"publisher": "microsoft.softwareupdatemanagement.test",
"type": "windowsosupdateextension",
"typeHandlerVersion": "1.0.0.0",
"autoUpgradeMinorVersion": false,
"settings": {},
"provisioningState": "Creating",
"instanceView": {
"name": "winosupdateextension",
"type": "windowsosupdateextension",
"typeHandlerVersion": "1.0.0.0",
"status": {}
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2022-12-27-preview",
"parameters": {
"location": "eastus2euap",
"properties": {
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"locationData": {
"name": "Redmond"
},
"clientPublicKey": "string",
"parentClusterResourceId": "{AzureStackHCIResourceId}",
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
},
"identity": {
"type": "SystemAssigned"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine",
"name": "myMachine",
"location": "eastus2euap",
"tags": null,
"identity": {
"type": "SystemAssigned",
"principalId": "string",
"tenantId": "string"
},
"type": "Microsoft.HybridCompute/machines",
"properties": {
"provisioningState": "Succeeded",
"agentVersion": null,
"status": null,
"lastStatusChange": null,
"errorDetails": null,
"displayName": null,
"machineFqdn": null,
"vmUuid": null,
"osSku": null,
"domainName": null,
"adFqdn": null,
"dnsFqdn": null,
"osVersion": null,
"osType": null,
"osProfile": {
"computerName": null,
"windowsConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
},
"linuxConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
}
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"locationData": {
"name": "Redmond",
"city": "redmond",
"district": null,
"countryOrRegion": "usa"
},
"clientPublicKey": "string",
"parentClusterResourceId": "{AzureStackHCIResourceId}",
"mssqlDiscovered": "false",
"detectedProperties": {
"cloudprovider": "N/A",
"manufacturer": "Microsoft Corporation",
"model": "Virtual Machine"
},
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2022-12-27-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Loading