-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release microsoft.app 2023 05 02 preview (#25051)
* Adds base for updating Microsoft.App from version preview/2023-04-01-preview to version 2023-05-02-preview * Updates readme * Updates API version in new specs and examples * fix description for endTime in JobExecution (#24359) * fix description for endTime in JobExecution * fix for breaking change error * Introduce Microsoft.App/builders tracked resource and Microsoft.App/builds proxy resource (#24240) * cherry picked commit to introduce builders and builds, and updated api version * added linting suppressions to readme * pre feedback: v3 -> v5, common build/er params, rename identity to identityresourceid, inprogress -> creating * fix typo * fix model validation * added updating provisioning status, and fixed a missed provisioning status ref * Create identity to registry mapping in builder object (#24275) * create identity to registry mapping in builder object * update mapping to be a dictionary of container registries, to enforce single container registry * run prettier * run prettier on examples fil * pr feedback: v5 -> v3 and added x ms param location * fix plural naming to singular * Add GetVerificationId API (#24286) * add api * fix typo * fix spacing * fix spacing * change version --------- Co-authored-by: Chenghui Yu <chenghuiyu@microsoft.com> * Support multiple port for container app (#24332) (#24459) * Support multiple port for container app * lint * comment * Add blob storage token store support (#24455) * add blob storage token store support * update * update trigger type enum - schedule for jobs (#24399) * update trigger type enum - schedule for jobs * update trigger type enum - schedule for jobs * add previous changes merged to main * add encryption settings (#24822) * rename verification id to custom domain verification id (#24874) Co-authored-by: Chenghui Yu <chenghuiyu@microsoft.com> * Removed SourceToCloud feature from 2023-05-02-preview (#24860) * Anfranci/fixstartexectemplateabv0423 (#24863) * fix start job exec template required property * fix start job exec template required property * fix start job exec template required property * fix start job exec template required property * Add list usages api for Microsoft.App (#24833) * add api * update * update * update * update * empty line --------- Co-authored-by: Paul Dorsch <107068277+pauld-msft@users.noreply.github.com> Co-authored-by: anandanthony <anfranci@microsoft.com> Co-authored-by: Seris370 <38371667+Seris370@users.noreply.github.com> Co-authored-by: Chenghui Yu <chenghuiyu@microsoft.com> Co-authored-by: zhenqxuMSFT <zhenqxu@microsoft.com> Co-authored-by: njucz <740360112@qq.com> Co-authored-by: Xingjian Wang <79332479+xwang971@users.noreply.github.com>
- Loading branch information
1 parent
990705d
commit 5b51cce
Showing
124 changed files
with
17,164 additions
and
0 deletions.
There are no files selected for viewing
1,034 changes: 1,034 additions & 0 deletions
1,034
specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/AuthConfigs.json
Large diffs are not rendered by default.
Oops, something went wrong.
144 changes: 144 additions & 0 deletions
144
.../resource-manager/Microsoft.App/preview/2023-05-02-preview/AvailableWorkloadProfiles.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,144 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2023-05-02-preview", | ||
"title": "ContainerApps API Client" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/availableManagedEnvironmentsWorkloadProfileTypes": { | ||
"get": { | ||
"tags": [ | ||
"AvailableWorkloadProfiles" | ||
], | ||
"summary": "Get available workload profiles by location.", | ||
"description": "Get all available workload profiles for a location.", | ||
"operationId": "AvailableWorkloadProfiles_Get", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "#/definitions/AvailableWorkloadProfilesCollection" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
}, | ||
"x-ms-examples": { | ||
"BillingMeters_Get": { | ||
"$ref": "./examples/AvailableWorkloadProfiles_Get.json" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"AvailableWorkloadProfile": { | ||
"description": "A workload profile with specific hardware configure to run container apps.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" | ||
} | ||
], | ||
"properties": { | ||
"location": { | ||
"type": "string", | ||
"description": "Region of the workload profile." | ||
}, | ||
"properties": { | ||
"description": "Revision resource specific properties", | ||
"type": "object", | ||
"properties": { | ||
"category": { | ||
"description": "Used to categorize workload profiles.", | ||
"type": "string" | ||
}, | ||
"applicability": { | ||
"type": "string", | ||
"description": "indicates whether the profile is default for the location.", | ||
"enum": [ | ||
"LocationDefault", | ||
"Custom" | ||
], | ||
"x-ms-enum": { | ||
"name": "Applicability", | ||
"modelAsString": true | ||
} | ||
}, | ||
"cores": { | ||
"type": "integer", | ||
"format": "int32", | ||
"description": "Number of cores in CPU." | ||
}, | ||
"memoryGiB": { | ||
"type": "integer", | ||
"format": "int32", | ||
"description": "Memory in GiB." | ||
}, | ||
"displayName": { | ||
"type": "string", | ||
"description": "The everyday name of the workload profile." | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"AvailableWorkloadProfilesCollection": { | ||
"description": "Collection of available workload profiles in the location.", | ||
"required": [ | ||
"value" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"description": "Collection of workload profiles.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AvailableWorkloadProfile" | ||
} | ||
}, | ||
"nextLink": { | ||
"description": "Link to next page of resources.", | ||
"type": "string", | ||
"readOnly": true | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
118 changes: 118 additions & 0 deletions
118
...fication/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/BillingMeters.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,118 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2023-05-02-preview", | ||
"title": "ContainerApps API Client" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters": { | ||
"get": { | ||
"tags": [ | ||
"BillingMeters" | ||
], | ||
"summary": "Get billing meters by location.", | ||
"description": "Get all billingMeters for a location.", | ||
"operationId": "BillingMeters_Get", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "#/definitions/BillingMeterCollection" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response.", | ||
"schema": { | ||
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"BillingMeters_Get": { | ||
"$ref": "./examples/BillingMeters_Get.json" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"BillingMeter": { | ||
"description": "Billing meter.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" | ||
} | ||
], | ||
"properties": { | ||
"location": { | ||
"type": "string", | ||
"description": "Region for the billing meter." | ||
}, | ||
"properties": { | ||
"description": "Revision resource specific properties", | ||
"type": "object", | ||
"properties": { | ||
"category": { | ||
"description": "Used to categorize billing meters.", | ||
"type": "string" | ||
}, | ||
"meterType": { | ||
"type": "string", | ||
"description": "Billing meter type." | ||
}, | ||
"displayName": { | ||
"type": "string", | ||
"description": "The everyday name of the billing meter." | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"BillingMeterCollection": { | ||
"description": "Collection of billing meters.", | ||
"required": [ | ||
"value" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"description": "Collection of billing meters.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/BillingMeter" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.