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

Added builders and builds resource type api specifications #23697

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"operationId": "Builders_CreateOrUpdate",
"title": "Builders_CreateOrUpdate_0",
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"builderName": "testBuilder",
"api-version": "2023-05-01-preview",
"builderEnvelope": {
"identity": {
"type": "SystemAssigned,UserAssigned",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
}
},
"properties": {
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv"
},
"tags": {
"company": "Microsoft"
},
"location": "eastus"
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/builders/testBuilder",
"name": "testBuilder",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft"
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.App/locations/{location}/operationStatuses/{operationId}"
},
"body": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/builders/testBuilder",
"name": "testBuilder",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"operationId": "Builders_Delete",
"title": "Builders_Delete_0",
"parameters": {
"api-version": "2023-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg",
"builderName": "testBuilder"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.App/locations/{location}/operationStatuses/{operationId}"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"operationId": "Builders_Get",
"title": "Builders_Get_0",
"parameters": {
"api-version": "2023-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg",
"builderName": "testBuilder"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/builders/testBuilder",
"name": "testBuilder",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"key": "value"
}
}
},
"404": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"operationId": "Builders_ListByResourceGroup",
"title": "Builders_ListByResourceGroup_0",
"parameters": {
"api-version": "2023-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/builders/testBuilder1",
"name": "testBuilder1",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"key": "value"
}
},
{
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/builders/testBuilder2",
"name": "testBuilder2",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"key": "value"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"operationId": "Builders_ListBySubscription",
"title": "Builders_ListBySubscription_0",
"parameters": {
"api-version": "2023-05-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.App/builders/testBuilder1",
"name": "testBuilder1",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"key": "value"
}
},
{
"id": "/subscriptions/subid/resourcegroups/rg2/providers/Microsoft.App/builders/testBuilder2",
"name": "testBuilder2",
"type": "Microsoft.App/builders",
"location": "eastus",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/managedEnvironments/testEnv",
"buildComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/build1234",
"patchComputeId": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.App/jobs/patcher1234"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-10-11T11:05:51.4940669Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-10-11T11:05:51.4940669Z"
},
"tags": {
"key": "value"
}
}
]
}
}
}
}
Loading