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] Add new api version 2023-05-01 for Microsoft.App #24939

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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,144 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-01",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-01",
"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"
}
}
}
}
Loading