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

[Hub Generated] Review request for Microsoft.Workloads to add version preview/2022-11-01-preview #22207

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"swagger": "2.0",
"info": {
"version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
"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": {
"ManagedServiceIdentityType": {
"description": "Type of managed service identity (only None, UserAssigned types are allowed).",
"enum": [
"None",
"UserAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "ManagedServiceIdentityType",
"modelAsString": true
}
},
"UserAssignedServiceIdentity": {
"description": "Managed service identity (user assigned identities)",
"type": "object",
"properties": {
"type": {
"description": "Type of manage identity",
"$ref": "#/definitions/ManagedServiceIdentityType"
},
"userAssignedIdentities": {
"description": "User assigned identities dictionary",
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/UserAssignedIdentities"
}
},
"required": [
"type"
]
}
},
"parameters": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"api-version": "2022-11-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Workloads/phpWorkloads/Write",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Creates or updates the phpWorkloads",
"description": "Set phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/Delete",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Deletes the phpWorkloads",
"description": "Delete phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/Read",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Reads the phpWorkloads",
"description": "Read phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Write",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Creates or updates the wordpressInstances",
"description": "Set wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Delete",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Deletes the wordpressInstances",
"description": "Delete wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Read",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Reads the wordpressInstances",
"description": "Read wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/monitors/Read",
"display": {
"provider": "Microsoft.Workloads",
"resource": "Microsoft.Workloads/monitors",
"operation": "Read",
"description": "Reads the Monitor workload."
}
},
{
"name": "Microsoft.Workloads/monitors/Write",
"display": {
"provider": "Microsoft.Workloads",
"resource": "Microsoft.Workloads/monitors",
"operation": "Read",
"description": "Creates or updates a Monitor workload."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
"api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
"properties": {}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
"name": "app01",
"type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
"tags": {},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"instanceNo": "01",
"subnet": null,
"hostname": "vh-nw1",
"kernelVersion": "777",
"kernelPatch": "patch 300",
"ipAddress": "10.0.0.5",
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
"type": "Active"
}
],
"health": "Unknown",
"errors": null,
"provisioningState": "Succeeded"
}
}
},
"200": {
"body": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
"name": "app01",
"type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
"tags": {},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"instanceNo": "01",
"subnet": null,
"hostname": "vh-nw1",
"kernelVersion": "777",
"kernelPatch": "patch 300",
"ipAddress": "10.0.0.5",
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
"type": "Active"
}
],
"status": "Running",
"health": "Unknown",
"errors": null,
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"parameters": {
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
"api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
"properties": {}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
"name": "app01",
"type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
"tags": {},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"instanceNo": "01",
"subnet": null,
"hostname": "vh-nw1",
"kernelVersion": "777",
"kernelPatch": "patch 300",
"ipAddress": "10.0.0.5",
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
"loadBalancerDetails": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer"
},
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
"type": "Active",
"storageDetails": [
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
}
]
},
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
"type": "Standby",
"storageDetails": [
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
}
]
}
],
"status": "Running",
"health": "Unknown",
"errors": null,
"provisioningState": "Succeeded"
}
}
},
"200": {
"body": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
"name": "app01",
"type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
"tags": {},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"instanceNo": "01",
"subnet": null,
"hostname": "vh-nw1",
"kernelVersion": "777",
"kernelPatch": "patch 300",
"ipAddress": "10.0.0.5",
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
"loadBalancerDetails": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer"
},
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
"type": "Active",
"storageDetails": [
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
}
]
},
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
"type": "Standby",
"storageDetails": [
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
}
]
}
],
"status": "Running",
"health": "Unknown",
"errors": null,
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
"api-version": "2022-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
"name": "1e4193c3-206e-4916-b124-1da16175eb0e",
"status": "Succeeded",
"startTime": "2021-08-19T03:36:07.000Z",
"endTime": "2021-08-19T03:38:07.000Z",
"error": null
}
},
"202": {
"headers": {
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
},
"204": {
"headers": {
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
}
Loading