From e74997827eb010856203c4b95606f823fa2884fd Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Mon, 29 Aug 2022 16:16:41 +0800 Subject: [PATCH 1/2] remove --- .../stable/2022-05-01/AuthConfigs.json | 980 ----------------- .../stable/2022-05-01/CommonDefinitions.json | 556 ---------- .../stable/2022-05-01/ContainerApps.json | 905 ---------------- .../2022-05-01/ContainerAppsRevisions.json | 596 ----------- .../stable/2022-05-01/DaprComponents.json | 428 -------- .../stable/2022-05-01/Diagnostics.json | 715 ------------- .../stable/2022-05-01/Global.json | 140 --- .../2022-05-01/ManagedEnvironments.json | 986 ------------------ .../ManagedEnvironmentsStorages.json | 321 ------ .../stable/2022-05-01/SourceControls.json | 429 -------- .../examples/AuthConfigs_CreateOrUpdate.json | 53 - .../examples/AuthConfigs_Delete.json | 13 - .../2022-05-01/examples/AuthConfigs_Get.json | 35 - .../examples/AuthConfigs_ListByContainer.json | 39 - .../examples/Certificate_CreateOrUpdate.json | 35 - .../examples/Certificate_Delete.json | 13 - .../2022-05-01/examples/Certificate_Get.json | 29 - .../Certificates_CheckNameAvailability.json | 21 - ...Certificates_ListByManagedEnvironment.json | 47 - .../examples/Certificates_Patch.json | 38 - .../ContainerAppsDiagnostics_Get.json | 68 -- .../ContainerAppsDiagnostics_List.json | 38 - .../ContainerApps_CheckNameAvailability.json | 21 - .../ContainerApps_CreateOrUpdate.json | 263 ----- .../examples/ContainerApps_Delete.json | 17 - .../examples/ContainerApps_Get.json | 88 -- .../ContainerApps_ListByResourceGroup.json | 91 -- .../ContainerApps_ListBySubscription.json | 90 -- ...tainerApps_ListCustomHostNameAnalysis.json | 42 - .../examples/ContainerApps_ListSecrets.json | 23 - .../examples/ContainerApps_Patch.json | 95 -- .../DaprComponents_CreateOrUpdate.json | 87 -- .../examples/DaprComponents_Delete.json | 13 - .../examples/DaprComponents_Get.json | 51 - .../examples/DaprComponents_List.json | 54 - .../examples/DaprComponents_ListSecrets.json | 24 - .../ManagedEnvironmentDiagnostics_Get.json | 68 -- .../ManagedEnvironmentDiagnostics_List.json | 37 - ...edEnvironmentsStorages_CreateOrUpdate.json | 35 - .../ManagedEnvironmentsStorages_Delete.json | 13 - .../ManagedEnvironmentsStorages_Get.json | 25 - .../ManagedEnvironmentsStorages_List.json | 28 - .../ManagedEnvironments_CreateOrUpdate.json | 63 -- .../examples/ManagedEnvironments_Delete.json | 14 - .../examples/ManagedEnvironments_Get.json | 26 - ...nagedEnvironments_ListByResourceGroup.json | 45 - ...anagedEnvironments_ListBySubscription.json | 44 - .../examples/ManagedEnvironments_Patch.json | 22 - .../2022-05-01/examples/Operations_List.json | 24 - .../2022-05-01/examples/Replicas_Get.json | 32 - .../2022-05-01/examples/Replicas_List.json | 35 - .../examples/Revisions_Activate.json | 12 - .../examples/Revisions_Deactivate.json | 12 - .../2022-05-01/examples/Revisions_Get.json | 51 - .../2022-05-01/examples/Revisions_List.json | 55 - .../examples/Revisions_Restart.json | 12 - .../SourceControls_CreateOrUpdate.json | 75 -- .../examples/SourceControls_Delete.json | 18 - .../examples/SourceControls_Get.json | 31 - .../SourceControls_ListByContainer.json | 35 - 60 files changed, 8256 deletions(-) delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/AuthConfigs.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/CommonDefinitions.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerAppsRevisions.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/DaprComponents.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Diagnostics.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Global.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironments.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironmentsStorages.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_ListByContainer.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_CheckNameAvailability.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_ListByManagedEnvironment.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_Patch.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CheckNameAvailability.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListCustomHostNameAnalysis.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListSecrets.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_ListSecrets.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListByResourceGroup.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListBySubscription.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Patch.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Operations_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Activate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Deactivate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_List.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Restart.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Delete.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Get.json delete mode 100644 specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_ListByContainer.json diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/AuthConfigs.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/AuthConfigs.json deleted file mode 100644 index 1fcf4ed2ffb8..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/AuthConfigs.json +++ /dev/null @@ -1,980 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs": { - "get": { - "tags": [ - "ContainerAppsAuthConfigs" - ], - "summary": "Get the Container App AuthConfigs in a given resource group.", - "operationId": "ContainerAppsAuthConfigs_ListByContainerApp", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AuthConfigCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Auth Configs by Container Apps": { - "$ref": "./examples/AuthConfigs_ListByContainer.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}": { - "get": { - "tags": [ - "ContainerAppsAuthConfigs" - ], - "summary": "Get a AuthConfig of a Container App.", - "operationId": "ContainerAppsAuthConfigs_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "authConfigName", - "in": "path", - "description": "Name of the Container App AuthConfig.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AuthConfig" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's AuthConfig": { - "$ref": "./examples/AuthConfigs_Get.json" - } - } - }, - "put": { - "tags": [ - "ContainerAppsAuthConfigs" - ], - "summary": "Create or update the AuthConfig for a Container App.", - "description": "Create or update the AuthConfig for a Container App.", - "operationId": "ContainerAppsAuthConfigs_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "authConfigName", - "in": "path", - "description": "Name of the Container App AuthConfig.", - "required": true, - "type": "string" - }, - { - "name": "authConfigEnvelope", - "in": "body", - "description": "Properties used to create a Container App AuthConfig", - "required": true, - "schema": { - "$ref": "#/definitions/AuthConfig" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/AuthConfig" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update Container App AuthConfig": { - "$ref": "./examples/AuthConfigs_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "ContainerAppsAuthConfigs" - ], - "summary": "Delete a Container App AuthConfig.", - "description": "Delete a Container App AuthConfig.", - "operationId": "ContainerAppsAuthConfigs_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "authConfigName", - "in": "path", - "description": "Name of the Container App AuthConfig.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App deleted successfully." - }, - "204": { - "description": "Container App AuthConfig does not exist." - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Container App AuthConfig": { - "$ref": "./examples/AuthConfigs_Delete.json" - } - } - } - } - }, - "definitions": { - "AuthConfigCollection": { - "description": "AuthConfig collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AuthConfig" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "AuthConfig": { - "description": "Configuration settings for the Azure ContainerApp Service Authentication / Authorization feature.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "AuthConfig resource specific properties", - "type": "object", - "properties": { - "platform": { - "$ref": "#/definitions/AuthPlatform", - "description": "The configuration settings of the platform of ContainerApp Service Authentication/Authorization." - }, - "globalValidation": { - "$ref": "#/definitions/GlobalValidation", - "description": "The configuration settings that determines the validation flow of users using Service Authentication/Authorization." - }, - "identityProviders": { - "$ref": "#/definitions/IdentityProviders", - "description": "The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization." - }, - "login": { - "$ref": "#/definitions/Login", - "description": "The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization." - }, - "httpSettings": { - "$ref": "#/definitions/HttpSettings", - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization." - } - }, - "x-ms-client-flatten": true - } - } - }, - "AuthPlatform": { - "description": "The configuration settings of the platform of ContainerApp Service Authentication/Authorization.", - "type": "object", - "properties": { - "enabled": { - "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.", - "type": "boolean" - }, - "runtimeVersion": { - "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module.", - "type": "string" - } - } - }, - "GlobalValidation": { - "description": "The configuration settings that determines the validation flow of users using ContainerApp Service Authentication/Authorization.", - "type": "object", - "properties": { - "unauthenticatedClientAction": { - "description": "The action to take when an unauthenticated client attempts to access the app.", - "enum": [ - "RedirectToLoginPage", - "AllowAnonymous", - "Return401", - "Return403" - ], - "type": "string", - "x-ms-enum": { - "name": "UnauthenticatedClientActionV2", - "modelAsString": false - } - }, - "redirectToProvider": { - "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", - "type": "string" - }, - "excludedPaths": { - "description": "The paths for which unauthenticated flow would not be redirected to the login page.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "HttpSettings": { - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.", - "type": "object", - "properties": { - "requireHttps": { - "description": "false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true.", - "type": "boolean" - }, - "routes": { - "$ref": "#/definitions/HttpSettingsRoutes", - "description": "The configuration settings of the paths HTTP requests." - }, - "forwardProxy": { - "$ref": "#/definitions/ForwardProxy", - "description": "The configuration settings of a forward proxy used to make the requests." - } - } - }, - "HttpSettingsRoutes": { - "description": "The configuration settings of the paths HTTP requests.", - "type": "object", - "properties": { - "apiPrefix": { - "description": "The prefix that should precede all the authentication/authorization paths.", - "type": "string" - } - } - }, - "ForwardProxy": { - "description": "The configuration settings of a forward proxy used to make the requests.", - "type": "object", - "properties": { - "convention": { - "description": "The convention used to determine the url of the request made.", - "enum": [ - "NoProxy", - "Standard", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ForwardProxyConvention", - "modelAsString": false - } - }, - "customHostHeaderName": { - "description": "The name of the header containing the host of the request.", - "type": "string" - }, - "customProtoHeaderName": { - "description": "The name of the header containing the scheme of the request.", - "type": "string" - } - } - }, - "Login": { - "description": "The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.", - "type": "object", - "properties": { - "routes": { - "$ref": "#/definitions/LoginRoutes", - "description": "The routes that specify the endpoints used for login and logout requests." - }, - "preserveUrlFragmentsForLogins": { - "description": "true if the fragments from the request are preserved after the login request is made; otherwise, false.", - "type": "boolean" - }, - "allowedExternalRedirectUrls": { - "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "cookieExpiration": { - "$ref": "#/definitions/CookieExpiration", - "description": "The configuration settings of the session cookie's expiration." - }, - "nonce": { - "$ref": "#/definitions/Nonce", - "description": "The configuration settings of the nonce used in the login flow." - } - } - }, - "LoginRoutes": { - "description": "The routes that specify the endpoints used for login and logout requests.", - "type": "object", - "properties": { - "logoutEndpoint": { - "description": "The endpoint at which a logout request should be made.", - "type": "string" - } - } - }, - "CookieExpiration": { - "description": "The configuration settings of the session cookie's expiration.", - "type": "object", - "properties": { - "convention": { - "description": "The convention used when determining the session cookie's expiration.", - "enum": [ - "FixedTime", - "IdentityProviderDerived" - ], - "type": "string", - "x-ms-enum": { - "name": "CookieExpirationConvention", - "modelAsString": false - } - }, - "timeToExpiration": { - "description": "The time after the request is made when the session cookie should expire.", - "type": "string" - } - } - }, - "Nonce": { - "description": "The configuration settings of the nonce used in the login flow.", - "type": "object", - "properties": { - "validateNonce": { - "description": "false if the nonce should not be validated while completing the login flow; otherwise, true.", - "type": "boolean" - }, - "nonceExpirationInterval": { - "description": "The time after the request is made when the nonce should expire.", - "type": "string" - } - } - }, - "IdentityProviders": { - "description": "The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.", - "type": "object", - "properties": { - "azureActiveDirectory": { - "$ref": "#/definitions/AzureActiveDirectory", - "description": "The configuration settings of the Azure Active directory provider." - }, - "facebook": { - "$ref": "#/definitions/Facebook", - "description": "The configuration settings of the Facebook provider." - }, - "gitHub": { - "$ref": "#/definitions/GitHub", - "description": "The configuration settings of the GitHub provider." - }, - "google": { - "$ref": "#/definitions/Google", - "description": "The configuration settings of the Google provider." - }, - "twitter": { - "$ref": "#/definitions/Twitter", - "description": "The configuration settings of the Twitter provider." - }, - "apple": { - "$ref": "#/definitions/Apple", - "description": "The configuration settings of the Apple provider." - }, - "azureStaticWebApps": { - "$ref": "#/definitions/AzureStaticWebApps", - "description": "The configuration settings of the Azure Static Web Apps provider." - }, - "customOpenIdConnectProviders": { - "description": "The map of the name of the alias of each custom Open ID Connect provider to the\nconfiguration settings of the custom Open ID Connect provider.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/CustomOpenIdConnectProvider" - } - } - } - }, - "AzureActiveDirectory": { - "description": "The configuration settings of the Azure Active directory provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AzureActiveDirectoryRegistration", - "description": "The configuration settings of the Azure Active Directory app registration." - }, - "login": { - "$ref": "#/definitions/AzureActiveDirectoryLogin", - "description": "The configuration settings of the Azure Active Directory login flow." - }, - "validation": { - "$ref": "#/definitions/AzureActiveDirectoryValidation", - "description": "The configuration settings of the Azure Active Directory token validation flow." - }, - "isAutoProvisioned": { - "description": "Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.\nThis is an internal flag primarily intended to support the Azure Management Portal. Users should not\nread or write to this property.", - "type": "boolean" - } - } - }, - "AzureActiveDirectoryLogin": { - "description": "The configuration settings of the Azure Active Directory login flow.", - "type": "object", - "properties": { - "loginParameters": { - "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", - "type": "array", - "items": { - "type": "string" - } - }, - "disableWWWAuthenticate": { - "description": "true if the www-authenticate provider should be omitted from the request; otherwise, false.", - "type": "boolean" - } - } - }, - "AzureActiveDirectoryRegistration": { - "description": "The configuration settings of the Azure Active Directory app registration.", - "type": "object", - "properties": { - "openIdIssuer": { - "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", - "type": "string" - }, - "clientId": { - "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret of the relying party application.", - "type": "string" - }, - "clientSecretCertificateThumbprint": { - "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional.", - "type": "string" - }, - "clientSecretCertificateSubjectAlternativeName": { - "description": "An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional.", - "type": "string" - }, - "clientSecretCertificateIssuer": { - "description": "An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional.", - "type": "string" - } - } - }, - "AzureActiveDirectoryValidation": { - "description": "The configuration settings of the Azure Active Directory token validation flow.", - "type": "object", - "properties": { - "jwtClaimChecks": { - "$ref": "#/definitions/JwtClaimChecks", - "description": "The configuration settings of the checks that should be made while validating the JWT Claims." - }, - "allowedAudiences": { - "description": "The list of audiences that can make successful authentication/authorization requests.", - "type": "array", - "items": { - "type": "string" - } - }, - "defaultAuthorizationPolicy": { - "$ref": "#/definitions/DefaultAuthorizationPolicy", - "description": "The configuration settings of the default authorization policy." - } - } - }, - "JwtClaimChecks": { - "description": "The configuration settings of the checks that should be made while validating the JWT Claims.", - "type": "object", - "properties": { - "allowedGroups": { - "description": "The list of the allowed groups.", - "type": "array", - "items": { - "type": "string" - } - }, - "allowedClientApplications": { - "description": "The list of the allowed client applications.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DefaultAuthorizationPolicy": { - "description": "The configuration settings of the Azure Active Directory default authorization policy.", - "type": "object", - "properties": { - "allowedPrincipals": { - "$ref": "#/definitions/AllowedPrincipals", - "description": "The configuration settings of the Azure Active Directory allowed principals." - }, - "allowedApplications": { - "description": "The configuration settings of the Azure Active Directory allowed applications.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AllowedPrincipals": { - "description": "The configuration settings of the Azure Active Directory allowed principals.", - "type": "object", - "properties": { - "groups": { - "description": "The list of the allowed groups.", - "type": "array", - "items": { - "type": "string" - } - }, - "identities": { - "description": "The list of the allowed identities.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Facebook": { - "description": "The configuration settings of the Facebook provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Facebook provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AppRegistration", - "description": "The configuration settings of the app registration for the Facebook provider." - }, - "graphApiVersion": { - "description": "The version of the Facebook api to be used while logging in.", - "type": "string" - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "AppRegistration": { - "description": "The configuration settings of the app registration for providers that have app ids and app secrets", - "type": "object", - "properties": { - "appId": { - "description": "The App ID of the app used for login.", - "type": "string" - }, - "appSecretSettingName": { - "description": "The app setting name that contains the app secret.", - "type": "string" - } - } - }, - "LoginScopes": { - "description": "The configuration settings of the login flow, including the scopes that should be requested.", - "type": "object", - "properties": { - "scopes": { - "description": "A list of the scopes that should be requested while authenticating.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "GitHub": { - "description": "The configuration settings of the GitHub provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the GitHub provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/ClientRegistration", - "description": "The configuration settings of the app registration for the GitHub provider." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "ClientRegistration": { - "description": "The configuration settings of the app registration for providers that have client ids and client secrets", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret.", - "type": "string" - } - } - }, - "Google": { - "description": "The configuration settings of the Google provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Google provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/ClientRegistration", - "description": "The configuration settings of the app registration for the Google provider." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - }, - "validation": { - "$ref": "#/definitions/AllowedAudiencesValidation", - "description": "The configuration settings of the Azure Active Directory token validation flow." - } - } - }, - "AllowedAudiencesValidation": { - "description": "The configuration settings of the Allowed Audiences validation flow.", - "type": "object", - "properties": { - "allowedAudiences": { - "description": "The configuration settings of the allowed list of audiences from which to validate the JWT token.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Twitter": { - "description": "The configuration settings of the Twitter provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Twitter provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/TwitterRegistration", - "description": "The configuration settings of the app registration for the Twitter provider." - } - } - }, - "TwitterRegistration": { - "description": "The configuration settings of the app registration for the Twitter provider.", - "type": "object", - "properties": { - "consumerKey": { - "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", - "type": "string" - }, - "consumerSecretSettingName": { - "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in.", - "type": "string" - } - } - }, - "Apple": { - "description": "The configuration settings of the Apple provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Apple provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AppleRegistration", - "description": "The configuration settings of the Apple registration." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "AppleRegistration": { - "description": "The configuration settings of the registration for the Apple provider", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret.", - "type": "string" - } - } - }, - "AzureStaticWebApps": { - "description": "The configuration settings of the Azure Static Web Apps provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AzureStaticWebAppsRegistration", - "description": "The configuration settings of the Azure Static Web Apps registration." - } - } - }, - "AzureStaticWebAppsRegistration": { - "description": "The configuration settings of the registration for the Azure Static Web Apps provider", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - } - } - }, - "CustomOpenIdConnectProvider": { - "description": "The configuration settings of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the custom Open ID provider provider should not be enabled; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/OpenIdConnectRegistration", - "description": "The configuration settings of the app registration for the custom Open ID Connect provider." - }, - "login": { - "$ref": "#/definitions/OpenIdConnectLogin", - "description": "The configuration settings of the login flow of the custom Open ID Connect provider." - } - } - }, - "OpenIdConnectRegistration": { - "description": "The configuration settings of the app registration for the custom Open ID Connect provider.", - "type": "object", - "properties": { - "clientId": { - "description": "The client id of the custom Open ID Connect provider.", - "type": "string" - }, - "clientCredential": { - "$ref": "#/definitions/OpenIdConnectClientCredential", - "description": "The authentication credentials of the custom Open ID Connect provider." - }, - "openIdConnectConfiguration": { - "$ref": "#/definitions/OpenIdConnectConfig", - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." - } - } - }, - "OpenIdConnectClientCredential": { - "description": "The authentication client credentials of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "method": { - "description": "The method that should be used to authenticate the user.", - "enum": [ - "ClientSecretPost" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientCredentialMethod", - "modelAsString": false - } - }, - "clientSecretSettingName": { - "description": "The app setting that contains the client secret for the custom Open ID Connect provider.", - "type": "string" - } - } - }, - "OpenIdConnectConfig": { - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider.", - "type": "object", - "properties": { - "authorizationEndpoint": { - "description": "The endpoint to be used to make an authorization request.", - "type": "string" - }, - "tokenEndpoint": { - "description": "The endpoint to be used to request a token.", - "type": "string" - }, - "issuer": { - "description": "The endpoint that issues the token.", - "type": "string" - }, - "certificationUri": { - "description": "The endpoint that provides the keys necessary to validate the token.", - "type": "string" - }, - "wellKnownOpenIdConfiguration": { - "description": "The endpoint that contains all the configuration endpoints for the provider.", - "type": "string" - } - } - }, - "OpenIdConnectLogin": { - "description": "The configuration settings of the login flow of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "nameClaimType": { - "description": "The name of the claim that contains the users name.", - "type": "string" - }, - "scopes": { - "description": "A list of the scopes that should be requested while authenticating.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/CommonDefinitions.json deleted file mode 100644 index d80348dcf8b3..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/CommonDefinitions.json +++ /dev/null @@ -1,556 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "EnvironmentVar": { - "description": "Container App container environment variable.", - "type": "object", - "properties": { - "name": { - "description": "Environment variable name.", - "type": "string" - }, - "value": { - "description": "Non-secret environment variable value.", - "type": "string" - }, - "secretRef": { - "description": "Name of the Container App secret from which to pull the environment variable value.", - "type": "string" - } - } - }, - "Container": { - "description": "Container App container definition.", - "type": "object", - "properties": { - "image": { - "description": "Container image tag.", - "type": "string" - }, - "name": { - "description": "Custom container name.", - "type": "string" - }, - "command": { - "description": "Container start command.", - "type": "array", - "items": { - "type": "string" - } - }, - "args": { - "description": "Container start command arguments.", - "type": "array", - "items": { - "type": "string" - } - }, - "env": { - "description": "Container environment variables.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVar" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "resources": { - "$ref": "#/definitions/ContainerResources", - "description": "Container resource requirements." - }, - "probes": { - "description": "List of probes for the container.", - "type": "array", - "items": { - "$ref": "#/definitions/ContainerAppProbe" - }, - "x-ms-identifiers": [ - "type" - ] - }, - "volumeMounts": { - "description": "Container volume mounts.", - "type": "array", - "items": { - "$ref": "#/definitions/VolumeMount" - }, - "x-ms-identifiers": [ - "volumeName" - ] - } - } - }, - "ContainerResources": { - "description": "Container App container resource requirements.", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "Required CPU in cores, e.g. 0.5", - "type": "number" - }, - "memory": { - "description": "Required memory, e.g. \"250Mb\"", - "type": "string" - }, - "ephemeralStorage": { - "description": "Ephemeral Storage, e.g. \"1Gi\"", - "type": "string", - "readOnly": true - } - } - }, - "ContainerAppProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "type": "object", - "properties": { - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.", - "type": "integer", - "format": "int32" - }, - "httpGet": { - "description": "HTTPGet specifies the http request to perform.", - "type": "object", - "required": [ - "port" - ], - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "type": "array", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "type": "object", - "required": [ - "name", - "value" - ], - "properties": { - "name": { - "description": "The header field name", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - } - }, - "x-ms-identifiers": [ - "name" - ] - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "type": "integer", - "format": "int32" - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string", - "x-ms-enum": { - "name": "Scheme", - "modelAsString": true - } - } - } - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.", - "type": "integer", - "format": "int32" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.", - "type": "integer", - "format": "int32" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.", - "type": "integer", - "format": "int32" - }, - "tcpSocket": { - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.", - "type": "object", - "required": [ - "port" - ], - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "type": "integer", - "format": "int32" - } - } - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)", - "type": "integer", - "format": "int64" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.", - "type": "integer", - "format": "int32" - }, - "type": { - "description": "The type of probe.", - "enum": [ - "Liveness", - "Readiness", - "Startup" - ], - "type": "string", - "x-ms-enum": { - "name": "Type", - "modelAsString": true - } - } - } - }, - "CustomScaleRule": { - "description": "Container App container Custom scaling rule.", - "type": "object", - "properties": { - "type": { - "description": "Type of the custom scale rule\neg: azure-servicebus, redis etc.", - "type": "string" - }, - "metadata": { - "description": "Metadata properties to describe custom scale rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "auth": { - "description": "Authentication secrets for the custom scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "DefaultErrorResponse": { - "description": "App Service error response.", - "type": "object", - "properties": { - "error": { - "description": "Error model.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "details": { - "type": "array", - "description": "Details or the error", - "items": { - "description": "Detailed errors.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - }, - "x-ms-identifiers": [ - "code" - ] - }, - "innererror": { - "description": "More information to debug error.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - } - } - }, - "HttpScaleRule": { - "description": "Container App container Custom scaling rule.", - "type": "object", - "properties": { - "metadata": { - "description": "Metadata properties to describe http scale rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "auth": { - "description": "Authentication secrets for the custom scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "QueueScaleRule": { - "description": "Container App container Azure Queue based scaling rule.", - "type": "object", - "properties": { - "queueName": { - "description": "Queue name.", - "type": "string" - }, - "queueLength": { - "format": "int32", - "description": "Queue length.", - "type": "integer" - }, - "auth": { - "description": "Authentication secrets for the queue scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "Scale": { - "description": "Container App scaling configurations.", - "type": "object", - "properties": { - "minReplicas": { - "format": "int32", - "description": "Optional. Minimum number of container replicas.", - "type": "integer" - }, - "maxReplicas": { - "format": "int32", - "description": "Optional. Maximum number of container replicas. Defaults to 10 if not set.", - "type": "integer" - }, - "rules": { - "description": "Scaling rules.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRule" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ScaleRule": { - "description": "Container App container scaling rule.", - "type": "object", - "properties": { - "name": { - "description": "Scale Rule Name", - "type": "string" - }, - "azureQueue": { - "$ref": "#/definitions/QueueScaleRule", - "description": "Azure Queue based scaling." - }, - "custom": { - "$ref": "#/definitions/CustomScaleRule", - "description": "Custom scale rule." - }, - "http": { - "$ref": "#/definitions/HttpScaleRule", - "description": "HTTP requests based scaling." - } - } - }, - "ScaleRuleAuth": { - "description": "Auth Secrets for Container App Scale Rule", - "type": "object", - "properties": { - "secretRef": { - "description": "Name of the Container App secret from which to pull the auth params.", - "type": "string" - }, - "triggerParameter": { - "description": "Trigger Parameter that uses the secret", - "type": "string" - } - } - }, - "Secret": { - "description": "Secret definition.", - "type": "object", - "properties": { - "name": { - "description": "Secret Name.", - "type": "string" - }, - "value": { - "description": "Secret Value.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "Template": { - "description": "Container App versioned application definition.\nDefines the desired state of an immutable revision.\nAny changes to this section Will result in a new revision being created", - "type": "object", - "properties": { - "revisionSuffix": { - "description": "User friendly suffix that is appended to the revision name", - "type": "string" - }, - "containers": { - "description": "List of container definitions for the Container App.", - "type": "array", - "items": { - "$ref": "#/definitions/Container" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scale": { - "$ref": "#/definitions/Scale", - "description": "Scaling properties for the Container App." - }, - "volumes": { - "description": "List of volume definitions for the Container App.", - "type": "array", - "items": { - "$ref": "#/definitions/Volume" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "Volume": { - "description": "Volume definitions for the Container App.", - "type": "object", - "properties": { - "name": { - "description": "Volume name.", - "type": "string" - }, - "storageType": { - "description": "Storage type for the volume. If not provided, use EmptyDir.", - "enum": [ - "AzureFile", - "EmptyDir" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageType", - "modelAsString": true - } - }, - "storageName": { - "description": "Name of storage resource. No need to provide for EmptyDir.", - "type": "string" - } - } - }, - "VolumeMount": { - "description": "Volume mount for the Container App.", - "type": "object", - "properties": { - "volumeName": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "mountPath": { - "description": "Path within the container at which the volume should be mounted.Must not contain ':'.", - "type": "string" - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json deleted file mode 100644 index 4bc563f9b02e..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json +++ /dev/null @@ -1,905 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps": { - "get": { - "tags": [ - "ContainerApps" - ], - "summary": "Get the Container Apps in a given subscription.", - "operationId": "ContainerApps_ListBySubscription", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContainerAppCollection" - } - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container Apps by subscription": { - "$ref": "./examples/ContainerApps_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps": { - "get": { - "tags": [ - "ContainerApps" - ], - "summary": "Get the Container Apps in a given resource group.", - "operationId": "ContainerApps_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContainerAppCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container Apps by resource group": { - "$ref": "./examples/ContainerApps_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}": { - "get": { - "tags": [ - "ContainerApps" - ], - "summary": "Get the properties of a Container App.", - "operationId": "ContainerApps_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ContainerApp" - } - }, - "404": { - "description": "Not found.", - "x-ms-error-response": true - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App": { - "$ref": "./examples/ContainerApps_Get.json" - } - } - }, - "put": { - "tags": [ - "ContainerApps" - ], - "summary": "Create or update a Container App.", - "description": "Create or update a Container App.", - "operationId": "ContainerApps_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "containerAppEnvelope", - "in": "body", - "description": "Properties used to create a container app", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerApp" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "No change performed on the Container App.", - "schema": { - "$ref": "#/definitions/ContainerApp" - } - }, - "201": { - "description": "Container App create or update has been started.", - "schema": { - "$ref": "#/definitions/ContainerApp" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update Container App": { - "$ref": "./examples/ContainerApps_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "ContainerApps" - ], - "summary": "Delete a Container App.", - "description": "Delete a Container App.", - "operationId": "ContainerApps_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App deleted successfully." - }, - "202": { - "description": "Delete operation is in progress." - }, - "204": { - "description": "Container App does not exist." - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Container App": { - "$ref": "./examples/ContainerApps_Delete.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "ContainerApps" - ], - "summary": "Update properties of a Container App", - "description": "Patches a Container App using JSON Merge Patch", - "operationId": "ContainerApps_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "containerAppEnvelope", - "in": "body", - "required": true, - "description": "Properties of a Container App that need to be updated", - "schema": { - "$ref": "#/definitions/ContainerApp" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Patch operation is in progress." - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Container App": { - "$ref": "./examples/ContainerApps_Patch.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listCustomHostNameAnalysis": { - "post": { - "tags": [ - "ContainerApps" - ], - "summary": "Analyzes a custom hostname for a Container App", - "operationId": "ContainerApps_ListCustomHostNameAnalysis", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "customHostname", - "in": "query", - "description": "Custom hostname.", - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomHostnameAnalysisResult" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Analyze Custom Hostname": { - "$ref": "./examples/ContainerApps_ListCustomHostNameAnalysis.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listSecrets": { - "post": { - "tags": [ - "ContainerApps" - ], - "summary": "List secrets for a container app", - "operationId": "ContainerApps_ListSecrets", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SecretsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container Apps Secrets": { - "$ref": "./examples/ContainerApps_ListSecrets.json" - } - } - } - } - }, - "definitions": { - "Configuration": { - "description": "Non versioned Container App configuration properties that define the mutable settings of a Container app", - "type": "object", - "properties": { - "secrets": { - "description": "Collection of secrets used by a Container app", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Secret" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "activeRevisionsMode": { - "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.", - "enum": [ - "Multiple", - "Single" - ], - "type": "string", - "x-ms-enum": { - "name": "ActiveRevisionsMode", - "modelAsString": true - } - }, - "ingress": { - "$ref": "#/definitions/Ingress", - "description": "Ingress configurations." - }, - "registries": { - "description": "Collection of private container registry credentials for containers used by the Container app", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryCredentials" - }, - "x-ms-identifiers": [ - "server" - ] - }, - "dapr": { - "$ref": "#/definitions/Dapr", - "description": "Dapr configuration for the Container App." - } - } - }, - "ContainerApp": { - "description": "Container App.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "identity": { - "description": "managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.", - "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" - }, - "properties": { - "description": "ContainerApp resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the Container App.", - "enum": [ - "InProgress", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ContainerAppProvisioningState", - "modelAsString": true - } - }, - "managedEnvironmentId": { - "description": "Resource ID of the Container App's environment.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "latestRevisionName": { - "description": "Name of the latest revision of the Container App.", - "type": "string", - "readOnly": true - }, - "latestRevisionFqdn": { - "description": "Fully Qualified Domain Name of the latest revision of the Container App.", - "type": "string", - "readOnly": true - }, - "customDomainVerificationId": { - "description": "Id used to verify domain name ownership", - "type": "string", - "readOnly": true - }, - "configuration": { - "$ref": "#/definitions/Configuration", - "description": "Non versioned Container App configuration properties." - }, - "template": { - "$ref": "./CommonDefinitions.json#/definitions/Template", - "description": "Container App versioned application definition." - }, - "outboundIPAddresses": { - "description": "Outbound IP Addresses for container app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ContainerAppCollection": { - "description": "Container App collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ContainerApp" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "Dapr": { - "description": "Container App Dapr configuration.", - "type": "object", - "properties": { - "enabled": { - "description": "Boolean indicating if the Dapr side car is enabled", - "type": "boolean" - }, - "appId": { - "description": "Dapr application identifier", - "type": "string" - }, - "appProtocol": { - "description": "Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http", - "enum": [ - "http", - "grpc" - ], - "type": "string", - "x-ms-enum": { - "name": "appProtocol", - "modelAsString": true - } - }, - "appPort": { - "format": "int32", - "description": "Tells Dapr which port your application is listening on", - "type": "integer" - }, - "httpReadBufferSize": { - "type": "integer", - "format": "int32" - } - } - }, - "Ingress": { - "description": "Container App Ingress configuration.", - "type": "object", - "properties": { - "fqdn": { - "description": "Hostname.", - "type": "string", - "readOnly": true - }, - "external": { - "description": "Bool indicating if app exposes an external http endpoint", - "default": false, - "type": "boolean" - }, - "targetPort": { - "format": "int32", - "description": "Target Port in containers for traffic from ingress", - "type": "integer" - }, - "transport": { - "description": "Ingress transport protocol", - "enum": [ - "auto", - "http", - "http2" - ], - "type": "string", - "x-ms-enum": { - "name": "IngressTransportMethod", - "modelAsString": true - } - }, - "traffic": { - "description": "Traffic weights for app's revisions", - "type": "array", - "items": { - "$ref": "#/definitions/TrafficWeight" - }, - "x-ms-identifiers": [ - "revisionName" - ] - }, - "customDomains": { - "description": "custom domain bindings for Container Apps' hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/CustomDomain" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "allowInsecure": { - "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", - "type": "boolean" - } - } - }, - "RegistryCredentials": { - "description": "Container App Private Registry", - "type": "object", - "properties": { - "server": { - "description": "Container Registry Server", - "type": "string" - }, - "username": { - "description": "Container Registry Username", - "type": "string" - }, - "passwordSecretRef": { - "description": "The name of the Secret that contains the registry login password", - "type": "string" - }, - "identity": { - "description": "A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'", - "type": "string" - } - } - }, - "SecretsCollection": { - "description": "Container App Secrets Collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ContainerAppSecret" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ContainerAppSecret": { - "description": "Container App Secret.", - "type": "object", - "properties": { - "name": { - "description": "Secret Name.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Secret Value.", - "type": "string", - "x-ms-secret": true, - "readOnly": true - } - } - }, - "TrafficWeight": { - "description": "Traffic weight assigned to a revision", - "type": "object", - "properties": { - "revisionName": { - "description": "Name of a revision", - "type": "string" - }, - "weight": { - "format": "int32", - "description": "Traffic weight assigned to a revision", - "type": "integer" - }, - "latestRevision": { - "description": "Indicates that the traffic weight belongs to a latest stable revision", - "default": false, - "type": "boolean" - }, - "label": { - "description": "Associates a traffic label with a revision", - "type": "string" - } - } - }, - "CustomDomain": { - "description": "Custom Domain of a Container App", - "type": "object", - "required": [ - "name", - "certificateId" - ], - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "bindingType": { - "description": "Custom Domain binding type.", - "enum": [ - "Disabled", - "SniEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "bindingType", - "modelAsString": true - } - }, - "certificateId": { - "description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.", - "type": "string" - } - } - }, - "CustomHostnameAnalysisResult": { - "description": "Custom domain analysis.", - "type": "object", - "properties": { - "hostName": { - "description": "Host name that was analyzed", - "type": "string", - "readOnly": true - }, - "isHostnameAlreadyVerified": { - "description": "true if hostname is already verified; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "customDomainVerificationTest": { - "description": "DNS verification test result.", - "enum": [ - "Passed", - "Failed", - "Skipped" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DnsVerificationTestResult", - "modelAsString": false - } - }, - "customDomainVerificationFailureInfo": { - "description": "Raw failure information if DNS verification fails.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "details": { - "type": "array", - "description": "Details or the error", - "items": { - "description": "Detailed errors.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - }, - "x-ms-identifiers": [ - "code" - ] - } - }, - "readOnly": true - }, - "hasConflictOnManagedEnvironment": { - "description": "true if there is a conflict on the Container App's managed environment; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "conflictingContainerAppResourceId": { - "description": "Name of the conflicting Container App on the Managed Environment if it's within the same subscription.", - "type": "string", - "readOnly": true - }, - "cNameRecords": { - "description": "CName records visible for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "txtRecords": { - "description": "TXT records visible for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "aRecords": { - "description": "A records visible for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "alternateCNameRecords": { - "description": "Alternate CName records visible for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "alternateTxtRecords": { - "description": "Alternate TXT records visible for this hostname.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerAppsRevisions.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerAppsRevisions.json deleted file mode 100644 index 455a262a00ee..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerAppsRevisions.json +++ /dev/null @@ -1,596 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions": { - "get": { - "tags": [ - "ContainerAppsRevisions" - ], - "summary": "Get the Revisions for a given Container App.", - "operationId": "ContainerAppsRevisions_ListRevisions", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App for which Revisions are needed.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "The filter to apply on the operation.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RevisionCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container App's revisions": { - "$ref": "./examples/Revisions_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/Revision" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}": { - "get": { - "tags": [ - "ContainerAppsRevisions" - ], - "summary": "Get a revision of a Container App.", - "operationId": "ContainerAppsRevisions_GetRevision", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Revision" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's revision": { - "$ref": "./examples/Revisions_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate": { - "post": { - "tags": [ - "ContainerAppsRevisions" - ], - "summary": "Activates a revision for a Container App", - "operationId": "ContainerAppsRevisions_ActivateRevision", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App revision was activated" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Activate Container App's revision": { - "$ref": "./examples/Revisions_Activate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate": { - "post": { - "tags": [ - "ContainerAppsRevisions" - ], - "summary": "Deactivates a revision for a Container App", - "operationId": "ContainerAppsRevisions_DeactivateRevision", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App revision was deactivated" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deactivate Container App's revision": { - "$ref": "./examples/Revisions_Deactivate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{replicaName}": { - "get": { - "tags": [ - "ContainerAppsRevisionReplicas" - ], - "summary": "Get a replica for a Container App Revision.", - "operationId": "ContainerAppsRevisionReplicas_GetReplica", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "name": "replicaName", - "in": "path", - "description": "Name of the Container App Revision Replica.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Replica" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's revision replica": { - "$ref": "./examples/Replicas_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas": { - "get": { - "tags": [ - "ContainerAppsRevisionReplicas" - ], - "summary": "List replicas for a Container App Revision.", - "operationId": "ContainerAppsRevisionReplicas_ListReplicas", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ReplicaCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container App's replicas": { - "$ref": "./examples/Replicas_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart": { - "post": { - "tags": [ - "ContainerAppsRevisions" - ], - "summary": "Restarts a revision for a Container App", - "operationId": "ContainerAppsRevisions_RestartRevision", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App revision was restarted" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Restart Container App's revision": { - "$ref": "./examples/Revisions_Restart.json" - } - } - } - } - }, - "definitions": { - "Revision": { - "description": "Container App Revision.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Revision resource specific properties", - "type": "object", - "properties": { - "createdTime": { - "format": "date-time", - "description": "Timestamp describing when the revision was created\nby controller", - "type": "string", - "readOnly": true - }, - "fqdn": { - "description": "Fully qualified domain name of the revision", - "type": "string", - "readOnly": true - }, - "template": { - "$ref": "./CommonDefinitions.json#/definitions/Template", - "description": "Container App Revision Template with all possible settings and the\ndefaults if user did not provide them. The defaults are populated\nas they were at the creation time", - "readOnly": true - }, - "active": { - "description": "Boolean describing if the Revision is Active", - "type": "boolean", - "readOnly": true - }, - "replicas": { - "format": "int32", - "description": "Number of pods currently running for this revision", - "type": "integer", - "readOnly": true - }, - "trafficWeight": { - "format": "int32", - "description": "Traffic weight assigned to this revision", - "type": "integer", - "readOnly": true - }, - "provisioningError": { - "description": "Optional Field - Platform Error Message", - "type": "string", - "readOnly": true - }, - "healthState": { - "description": "Current health State of the revision", - "enum": [ - "Healthy", - "Unhealthy", - "None" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RevisionHealthState", - "modelAsString": true - } - }, - "provisioningState": { - "description": "Current provisioning State of the revision", - "enum": [ - "Provisioning", - "Provisioned", - "Failed", - "Deprovisioning", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RevisionProvisioningState", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "RevisionCollection": { - "description": "Container App Revisions collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Revision" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "Replica": { - "description": "Container App Revision Replica.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Replica resource specific properties", - "type": "object", - "properties": { - "createdTime": { - "type": "string", - "description": "Timestamp describing when the pod was created by controller", - "format": "date-time", - "readOnly": true - }, - "containers": { - "description": "The containers collection under a replica.", - "type": "array", - "items": { - "$ref": "#/definitions/ReplicaContainer" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "ReplicaCollection": { - "description": "Container App Revision Replicas collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Replica" - } - } - } - }, - "ReplicaContainer": { - "description": "Container object under Container App Revision Replica.", - "type": "object", - "properties": { - "name": { - "description": "The Name of the Container", - "type": "string" - }, - "containerId": { - "description": "The Id of the Container", - "type": "string" - }, - "ready": { - "description": "The container ready status", - "type": "boolean" - }, - "started": { - "description": "The container start status", - "type": "boolean" - }, - "restartCount": { - "format": "int32", - "description": "The container restart count", - "type": "integer" - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/DaprComponents.json deleted file mode 100644 index 139790aae081..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/DaprComponents.json +++ /dev/null @@ -1,428 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents": { - "get": { - "tags": [ - "DaprComponents" - ], - "summary": "Get the Dapr Components for a managed environment.", - "operationId": "DaprComponents_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DaprComponentsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Dapr Components": { - "$ref": "./examples/DaprComponents_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}": { - "get": { - "tags": [ - "DaprComponents" - ], - "summary": "Get a dapr component.", - "operationId": "DaprComponents_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "componentName", - "in": "path", - "description": "Name of the Dapr Component.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DaprComponent" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Dapr Component": { - "$ref": "./examples/DaprComponents_Get.json" - } - } - }, - "put": { - "tags": [ - "DaprComponents" - ], - "summary": "Creates or updates a Dapr Component.", - "description": "Creates or updates a Dapr Component in a Managed Environment.", - "operationId": "DaprComponents_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "componentName", - "in": "path", - "description": "Name of the Dapr Component.", - "required": true, - "type": "string" - }, - { - "name": "daprComponentEnvelope", - "in": "body", - "description": "Configuration details of the Dapr Component.", - "required": true, - "schema": { - "$ref": "#/definitions/DaprComponent" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DaprComponent" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": false, - "x-ms-examples": { - "Create or update dapr component": { - "$ref": "./examples/DaprComponents_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "DaprComponents" - ], - "summary": "Delete a Dapr Component.", - "description": "Delete a Dapr Component from a Managed Environment.", - "operationId": "DaprComponents_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "componentName", - "in": "path", - "description": "Name of the Dapr Component.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Delete operation completed" - }, - "204": { - "description": "Environment does not exist" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete dapr component": { - "$ref": "./examples/DaprComponents_Delete.json" - } - }, - "x-ms-long-running-operation": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/listSecrets": { - "post": { - "tags": [ - "DaprComponents" - ], - "summary": "List secrets for a dapr component", - "operationId": "DaprComponents_ListSecrets", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "componentName", - "in": "path", - "description": "Name of the Dapr Component.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DaprSecretsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container Apps Secrets": { - "$ref": "./examples/DaprComponents_ListSecrets.json" - } - } - } - } - }, - "definitions": { - "DaprComponentsCollection": { - "description": "Dapr Components ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/DaprComponent" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DaprComponent": { - "description": "Dapr Component.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Dapr Component resource specific properties", - "type": "object", - "properties": { - "componentType": { - "description": "Component type", - "type": "string" - }, - "version": { - "description": "Component version", - "type": "string" - }, - "ignoreErrors": { - "description": "Boolean describing if the component errors are ignores", - "type": "boolean" - }, - "initTimeout": { - "description": "Initialization timeout", - "type": "string" - }, - "secrets": { - "description": "Collection of secrets used by a Dapr component", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Secret" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "metadata": { - "description": "Component metadata", - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "description": "Names of container apps that can use this Dapr component", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "DaprMetadata": { - "description": "Dapr component metadata.", - "type": "object", - "properties": { - "name": { - "description": "Metadata property name.", - "type": "string" - }, - "value": { - "description": "Metadata property value.", - "type": "string" - }, - "secretRef": { - "description": "Name of the Dapr Component secret from which to pull the metadata property value.", - "type": "string" - } - } - }, - "DaprSecretsCollection": { - "description": "Dapr component Secrets Collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of secrets used by a Dapr component", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Secret" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Diagnostics.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Diagnostics.json deleted file mode 100644 index 97b8412aaeb2..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Diagnostics.json +++ /dev/null @@ -1,715 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectors": { - "get": { - "tags": [ - "ContainerApps", - "Diagnostics" - ], - "summary": "Get the list of diagnostics for a given Container App.", - "operationId": "ContainerAppsDiagnostics_ListDetectors", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App for which detector info is needed.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the list of available diagnostics for a given Container App": { - "$ref": "./examples/ContainerAppsDiagnostics_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectors/{detectorName}": { - "get": { - "tags": [ - "ContainerApps", - "Diagnostics" - ], - "summary": "Get a diagnostics result of a Container App.", - "operationId": "ContainerAppsDiagnostics_GetDetector", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Name of the Container App Detector.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Diagnostics" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's diagnostics info": { - "$ref": "./examples/ContainerAppsDiagnostics_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectorProperties/revisionsApi/revisions/": { - "get": { - "tags": [ - "ContainerApps", - "Diagnostics" - ], - "summary": "Get the Revisions for a given Container App.", - "operationId": "ContainerAppsDiagnostics_ListRevisions", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App for which Revisions are needed.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "The filter to apply on the operation.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./ContainerAppsRevisions.json#/definitions/RevisionCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Container App's revisions": { - "$ref": "./examples/Revisions_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/Revision" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectorProperties/revisionsApi/revisions/{revisionName}": { - "get": { - "tags": [ - "ContainerApps", - "Diagnostics" - ], - "summary": "Get a revision of a Container App.", - "operationId": "ContainerAppsDiagnostics_GetRevision", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "revisionName", - "in": "path", - "description": "Name of the Container App Revision.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./ContainerAppsRevisions.json#/definitions/Revision" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's revision": { - "$ref": "./examples/Revisions_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectorProperties/rootApi/": { - "get": { - "tags": [ - "ContainerApps", - "Diagnostics" - ], - "summary": "Get the properties of a Container App.", - "operationId": "ContainerAppsDiagnostics_GetRoot", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./ContainerApps.json#/definitions/ContainerApp" - } - }, - "404": { - "description": "Not found.", - "x-ms-error-response": true - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App": { - "$ref": "./examples/ContainerApps_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/detectors": { - "get": { - "tags": [ - "ManagedEnvironments", - "Diagnostics" - ], - "summary": "Get the list of diagnostics for a given Managed Environment.", - "description": "Get the list of diagnostics for a Managed Environment used to host container apps.", - "operationId": "ManagedEnvironmentDiagnostics_ListDetectors", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the list of available diagnostic data for a managed environments": { - "$ref": "./examples/ManagedEnvironmentDiagnostics_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/detectors/{detectorName}": { - "get": { - "tags": [ - "ManagedEnvironments", - "Diagnostics" - ], - "summary": "Get the diagnostics data for a given Managed Environment.", - "description": "Get the diagnostics data for a Managed Environment used to host container apps.", - "operationId": "ManagedEnvironmentDiagnostics_GetDetector", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Name of the Managed Environment detector.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Diagnostics" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get diagnostic data for a managed environments": { - "$ref": "./examples/ManagedEnvironmentDiagnostics_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/detectorProperties/rootApi/": { - "get": { - "tags": [ - "ManagedEnvironments", - "Diagnostics" - ], - "summary": "Get the properties of a Managed Environment.", - "description": "Get the properties of a Managed Environment used to host container apps.", - "operationId": "ManagedEnvironmentsDiagnostics_GetRoot", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./ManagedEnvironments.json#/definitions/ManagedEnvironment" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get environments by name": { - "$ref": "./examples/ManagedEnvironments_Get.json" - } - } - } - } - }, - "definitions": { - "DiagnosticsCollection": { - "description": "Diagnostics data collection for a resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of diagnostic data.", - "type": "array", - "items": { - "$ref": "#/definitions/Diagnostics" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "Diagnostics": { - "description": "Diagnostics data for a resource.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Diagnostics resource specific properties", - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/DiagnosticsDefinition", - "description": "Metadata of the diagnostics response." - }, - "dataset": { - "description": "Set of data collections associated with the response.", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticsDataApiResponse" - }, - "x-ms-identifiers": [] - }, - "status": { - "$ref": "#/definitions/DiagnosticsStatus", - "description": "Status of the diagnostics response." - }, - "dataProviderMetadata": { - "$ref": "#/definitions/DiagnosticDataProviderMetadata", - "description": "List of data providers' metadata." - } - } - } - } - }, - "DiagnosticsDefinition": { - "description": "Metadata of the diagnostics response", - "type": "object", - "properties": { - "id": { - "description": "Unique detector name", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Display Name of the detector", - "type": "string", - "readOnly": true - }, - "description": { - "description": "Details of the diagnostics info", - "type": "string", - "readOnly": true - }, - "author": { - "description": "Authors' names of the detector", - "type": "string", - "readOnly": true - }, - "category": { - "description": "Category of the detector", - "type": "string", - "readOnly": true - }, - "supportTopicList": { - "description": "List of support topics", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticSupportTopic" - } - }, - "analysisTypes": { - "description": "List of analysis types", - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "description": "Authors' names of the detector", - "type": "string", - "readOnly": true - }, - "score": { - "description": "Authors' names of the detector", - "type": "number", - "readOnly": true - } - } - }, - "DiagnosticSupportTopic": { - "description": "Support topic information", - "type": "object", - "properties": { - "id": { - "description": "Unique topic identifier", - "type": "string", - "readOnly": true - }, - "pesId": { - "description": "PES identifier", - "type": "string", - "readOnly": true - } - } - }, - "DiagnosticsDataApiResponse": { - "description": "Diagnostics data returned from a detector", - "type": "object", - "properties": { - "table": { - "description": "Table response", - "$ref": "#/definitions/DiagnosticDataTableResponseObject" - }, - "renderingProperties": { - "description": "Details of the table response", - "$ref": "#/definitions/DiagnosticRendering" - } - } - }, - "DiagnosticDataTableResponseObject": { - "description": "Diagnostics data table", - "type": "object", - "properties": { - "tableName": { - "description": "Table name", - "type": "string" - }, - "columns": { - "description": "Columns in the table", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticDataTableResponseColumn" - }, - "x-ms-identifiers": [ - "columnName" - ] - }, - "rows": { - "description": "Rows in the table", - "type": "array", - "items": { - "type": "object" - }, - "x-ms-identifiers": [] - } - } - }, - "DiagnosticDataTableResponseColumn": { - "description": "Diagnostics data column", - "type": "object", - "properties": { - "columnName": { - "description": "Column name", - "type": "string" - }, - "dataType": { - "description": "Data type of the column", - "type": "string" - }, - "columnType": { - "description": "Column type", - "type": "string" - } - } - }, - "DiagnosticRendering": { - "description": "Rendering details of a diagnostics table", - "type": "object", - "properties": { - "type": { - "format": "int32", - "description": "Rendering type", - "type": "integer" - }, - "title": { - "description": "Title of the table", - "type": "string" - }, - "description": { - "description": "Description of the table", - "type": "string" - }, - "isVisible": { - "description": "Flag if the table should be rendered", - "type": "boolean" - } - } - }, - "DiagnosticsStatus": { - "description": "Rendering details of a diagnostics table", - "type": "object", - "properties": { - "message": { - "description": "Diagnostic message", - "type": "string" - }, - "statusId": { - "format": "int32", - "description": "Status", - "type": "integer" - } - } - }, - "DiagnosticDataProviderMetadata": { - "description": "Details of a diagnostics data provider", - "type": "object", - "properties": { - "providerName": { - "description": "Name of data provider", - "type": "string" - }, - "propertyBag": { - "description": "Collection of properties", - "type": "array", - "items": { - "description": "Property details", - "type": "object", - "properties": { - "name": { - "description": "Property name", - "type": "string" - }, - "value": { - "description": "Property value", - "type": "string" - } - } - }, - "x-ms-identifiers": [ - "name" - ] - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Global.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Global.json deleted file mode 100644 index 83c07d1b6943..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/Global.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.App/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available RP operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/AvailableOperations" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List all operations": { - "$ref": "./examples/Operations_List.json" - } - } - } - } - }, - "definitions": { - "AvailableOperations": { - "description": "Available operations of the service", - "type": "object", - "properties": { - "value": { - "description": "Collection of available operation details", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/OperationDetail" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "OperationDetail": { - "description": "Operation detail payload", - "type": "object", - "properties": { - "name": { - "description": "Name of the operation", - "type": "string" - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "Display of the operation" - }, - "origin": { - "description": "Origin of the operation", - "type": "string" - } - } - }, - "OperationDisplay": { - "description": "Operation display payload", - "type": "object", - "properties": { - "provider": { - "description": "Resource provider of the operation", - "type": "string" - }, - "resource": { - "description": "Resource of the operation", - "type": "string" - }, - "operation": { - "description": "Localized friendly name for the operation", - "type": "string" - }, - "description": { - "description": "Localized friendly description for the operation", - "type": "string" - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironments.json deleted file mode 100644 index f2a44ddef010..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironments.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.App/managedEnvironments": { - "get": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Get all Environments for a subscription.", - "description": "Get all Managed Environments for a subscription.", - "operationId": "ManagedEnvironments_ListBySubscription", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironmentsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List environments by subscription": { - "$ref": "./examples/ManagedEnvironments_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments": { - "get": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Get all the Environments in a resource group.", - "description": "Get all the Managed Environments in a resource group.", - "operationId": "ManagedEnvironments_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironmentsCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List environments by resource group": { - "$ref": "./examples/ManagedEnvironments_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}": { - "get": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Get the properties of a Managed Environment.", - "description": "Get the properties of a Managed Environment used to host container apps.", - "operationId": "ManagedEnvironments_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get environments by name": { - "$ref": "./examples/ManagedEnvironments_Get.json" - } - } - }, - "put": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Creates or updates a Managed Environment.", - "description": "Creates or updates a Managed Environment used to host container apps.", - "operationId": "ManagedEnvironments_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "environmentEnvelope", - "in": "body", - "description": "Configuration details of the Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create environments": { - "$ref": "./examples/ManagedEnvironments_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Delete a Managed Environment.", - "description": "Delete a Managed Environment if it does not have any container apps.", - "operationId": "ManagedEnvironments_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Delete operation completed" - }, - "202": { - "description": "Delete operation is in progress" - }, - "204": { - "description": "Environment does not exist" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete environment by name": { - "$ref": "./examples/ManagedEnvironments_Delete.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Update Managed Environment's properties.", - "description": "Patches a Managed Environment using JSON Merge Patch", - "operationId": "ManagedEnvironments_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "environmentEnvelope", - "in": "body", - "description": "Configuration details of the Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Patch operation is in progress." - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Managed Environment": { - "$ref": "./examples/ManagedEnvironments_Patch.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates": { - "get": { - "tags": [ - "ManagedEnvironments", - "Certificates" - ], - "summary": "Get the Certificates in a given managed environment.", - "operationId": "Certificates_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CertificateCollection" - } - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Certificates by Managed Environment": { - "$ref": "./examples/Certificates_ListByManagedEnvironment.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}": { - "get": { - "tags": [ - "ManagedEnvironments", - "Certificates" - ], - "summary": "Get the specified Certificate.", - "operationId": "Certificates_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the Certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Certificate" - } - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Certificate": { - "$ref": "./examples/Certificate_Get.json" - } - } - }, - "put": { - "tags": [ - "ManagedEnvironments", - "Certificates" - ], - "summary": "Create or Update a Certificate.", - "operationId": "Certificates_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the Certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Certificate to be created or updated", - "schema": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Certificate" - } - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update Certificate": { - "$ref": "./examples/Certificate_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "ManagedEnvironments", - "Certificates" - ], - "summary": "Deletes the specified Certificate.", - "operationId": "Certificates_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the Certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Delete operation completed" - }, - "204": { - "description": "Certificate does not exist" - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Certificate": { - "$ref": "./examples/Certificate_Delete.json" - } - } - }, - "patch": { - "tags": [ - "ManagedEnvironments", - "Certificates" - ], - "summary": "Update properties of a certificate", - "description": "Patches a certificate. Currently only patching of tags is supported", - "operationId": "Certificates_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the Certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "required": true, - "description": "Properties of a certificate that need to be updated", - "schema": { - "$ref": "#/definitions/CertificatePatch" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App updated successfully.", - "schema": { - "$ref": "#/definitions/Certificate" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Certificate": { - "$ref": "./examples/Certificates_Patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/checkNameAvailability": { - "post": { - "tags": [ - "ManagedEnvironments" - ], - "summary": "Checks the resource name availability.", - "description": "Checks if resource name is available.", - "operationId": "Namespaces_CheckNameAvailability", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Managed Environment.", - "required": true, - "type": "string" - }, - { - "name": "checkNameAvailabilityRequest", - "in": "body", - "description": "The check name availability request.", - "required": true, - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityRequest" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityResponse" - } - }, - "default": { - "description": "Error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "ContainerApps_CheckNameAvailability": { - "$ref": "./examples/ContainerApps_CheckNameAvailability.json" - }, - "Certificates_CheckNameAvailability": { - "$ref": "./examples/Certificates_CheckNameAvailability.json" - } - } - } - } - }, - "definitions": { - "AppLogsConfiguration": { - "description": "Configuration of application logs", - "type": "object", - "properties": { - "destination": { - "description": "Logs destination", - "type": "string" - }, - "logAnalyticsConfiguration": { - "description": "Log Analytics configuration", - "$ref": "#/definitions/LogAnalyticsConfiguration" - } - } - }, - "VnetConfiguration": { - "type": "object", - "description": "Configuration properties for apps environment to join a Virtual Network", - "properties": { - "internal": { - "type": "boolean", - "description": "Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "infrastructureSubnetId": { - "type": "string", - "description": "Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "runtimeSubnetId": { - "type": "string", - "description": "Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetId. Must not overlap with any other provided IP ranges.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "dockerBridgeCidr": { - "type": "string", - "description": "CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "platformReservedCidr": { - "type": "string", - "description": "IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "platformReservedDnsIP": { - "type": "string", - "description": " An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "ManagedEnvironment": { - "description": "An environment for hosting container apps", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Managed environment resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Waiting", - "InitializationInProgress", - "InfrastructureSetupInProgress", - "InfrastructureSetupComplete", - "ScheduledForDelete", - "UpgradeRequested", - "UpgradeFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "EnvironmentProvisioningState", - "modelAsString": true - } - }, - "daprAIInstrumentationKey": { - "type": "string", - "description": "Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-secret": true - }, - "daprAIConnectionString": { - "type": "string", - "description": "Application Insights connection string used by Dapr to export Service to Service communication telemetry", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-secret": true - }, - "vnetConfiguration": { - "description": "Vnet configuration for the environment", - "$ref": "#/definitions/VnetConfiguration" - }, - "deploymentErrors": { - "description": "Any errors that occurred during deployment or deployment validation", - "type": "string", - "readOnly": true - }, - "defaultDomain": { - "description": "Default Domain Name for the cluster", - "type": "string", - "readOnly": true - }, - "staticIp": { - "description": "Static IP of the Environment", - "type": "string", - "readOnly": true - }, - "appLogsConfiguration": { - "$ref": "#/definitions/AppLogsConfiguration", - "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported" - }, - "zoneRedundant": { - "description": "Whether or not this Managed Environment is zone-redundant.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "ManagedEnvironmentsCollection": { - "description": "Collection of Environments", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedEnvironment" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "LogAnalyticsConfiguration": { - "description": "Log analytics configuration", - "type": "object", - "properties": { - "customerId": { - "description": "Log analytics customer id", - "type": "string" - }, - "sharedKey": { - "description": "Log analytics customer key", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "Certificate": { - "description": "Certificate used for Custom Domain bindings of Container Apps in a Managed Environment", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Certificate resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the certificate.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "DeleteFailed", - "Pending" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "CertificateProvisioningState", - "modelAsString": true - } - }, - "password": { - "description": "Certificate password.", - "type": "string", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true - }, - "subjectName": { - "description": "Subject name of the certificate.", - "type": "string", - "readOnly": true - }, - "value": { - "format": "byte", - "description": "PFX or PEM blob", - "type": "string", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true - }, - "issuer": { - "description": "Certificate issuer.", - "type": "string", - "readOnly": true - }, - "issueDate": { - "format": "date-time", - "description": "Certificate issue Date.", - "type": "string", - "readOnly": true - }, - "expirationDate": { - "format": "date-time", - "description": "Certificate expiration date.", - "type": "string", - "readOnly": true - }, - "thumbprint": { - "description": "Certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "valid": { - "description": "Is the certificate valid?.", - "type": "boolean", - "readOnly": true - }, - "publicKeyHash": { - "description": "Public key hash.", - "type": "string", - "readOnly": true - } - } - } - }, - "x-ms-client-flatten": true - }, - "CertificateCollection": { - "description": "Collection of Certificates.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CertificatePatch": { - "description": "A certificate to update", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Application-specific metadata in the form of key-value pairs." - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironmentsStorages.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironmentsStorages.json deleted file mode 100644 index 5352b8bc5330..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ManagedEnvironmentsStorages.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages": { - "get": { - "tags": [ - "ManagedEnvironmentsStorages" - ], - "summary": "Get all storages for a managedEnvironment.", - "description": "Get all storages for a managedEnvironment.", - "operationId": "ManagedEnvironmentsStorages_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironmentStoragesCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List environments storages by subscription": { - "$ref": "./examples/ManagedEnvironmentsStorages_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}": { - "get": { - "tags": [ - "ManagedEnvironmentsStorages" - ], - "summary": "Get storage for a managedEnvironment.", - "description": "Get storage for a managedEnvironment.", - "operationId": "ManagedEnvironmentsStorages_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "storageName", - "in": "path", - "description": "Name of the storage.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironmentStorage" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "get a environments storage properties by subscription": { - "$ref": "./examples/ManagedEnvironmentsStorages_Get.json" - } - } - }, - "put": { - "tags": [ - "ManagedEnvironmentsStorages" - ], - "summary": "Create or update storage for a managedEnvironment.", - "description": "Create or update storage for a managedEnvironment.", - "operationId": "ManagedEnvironmentsStorages_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "storageName", - "in": "path", - "description": "Name of the storage.", - "required": true, - "type": "string" - }, - { - "name": "storageEnvelope", - "in": "body", - "description": "Configuration details of storage.", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedEnvironmentStorage" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedEnvironmentStorage" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update environments storage": { - "$ref": "./examples/ManagedEnvironmentsStorages_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "ManagedEnvironmentsStorages" - ], - "summary": "Delete storage for a managedEnvironment.", - "description": "Delete storage for a managedEnvironment.", - "operationId": "ManagedEnvironmentsStorages_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the Environment.", - "required": true, - "type": "string" - }, - { - "name": "storageName", - "in": "path", - "description": "Name of the storage.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Storage does not exist" - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List environments storages by subscription": { - "$ref": "./examples/ManagedEnvironmentsStorages_Delete.json" - } - } - } - } - }, - "definitions": { - "AzureFileProperties": { - "description": "Azure File Properties.", - "type": "object", - "properties": { - "accountName": { - "description": "Storage account name for azure file.", - "type": "string" - }, - "accountKey": { - "description": "Storage account key for azure file.", - "type": "string", - "x-ms-secret": true - }, - "accessMode": { - "description": "Access mode for storage", - "enum": [ - "ReadOnly", - "ReadWrite" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessMode", - "modelAsString": true - } - }, - "shareName": { - "description": "Azure file share name.", - "type": "string" - } - } - }, - "ManagedEnvironmentStoragesCollection": { - "description": "Collection of Storage for Environments", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of storage resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedEnvironmentStorage" - } - } - } - }, - "ManagedEnvironmentStorage": { - "description": "Storage resource for managedEnvironment.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Storage properties", - "type": "object", - "properties": { - "azureFile": { - "$ref": "#/definitions/AzureFileProperties", - "description": "Azure file properties" - } - } - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json deleted file mode 100644 index 66362f5b177f..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json +++ /dev/null @@ -1,429 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2022-05-01", - "title": "ContainerApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "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": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols": { - "get": { - "tags": [ - "ContainerAppsSourceControls" - ], - "summary": "Get the Container App SourceControls in a given resource group.", - "operationId": "ContainerAppsSourceControls_ListByContainerApp", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControlCollection" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App's Source Controls": { - "$ref": "./examples/SourceControls_ListByContainer.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}": { - "get": { - "tags": [ - "ContainerAppsSourceControls" - ], - "summary": "Get a SourceControl of a Container App.", - "operationId": "ContainerAppsSourceControls_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "sourceControlName", - "in": "path", - "description": "Name of the Container App SourceControl.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Container App's SourceControl": { - "$ref": "./examples/SourceControls_Get.json" - } - } - }, - "put": { - "tags": [ - "ContainerAppsSourceControls" - ], - "summary": "Create or update the SourceControl for a Container App.", - "description": "Create or update the SourceControl for a Container App.", - "operationId": "ContainerAppsSourceControls_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "sourceControlName", - "in": "path", - "description": "Name of the Container App SourceControl.", - "required": true, - "type": "string" - }, - { - "name": "sourceControlEnvelope", - "in": "body", - "description": "Properties used to create a Container App SourceControl", - "required": true, - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - "201": { - "description": "Created.", - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update Container App SourceControl": { - "$ref": "./examples/SourceControls_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "ContainerAppsSourceControls" - ], - "summary": "Delete a Container App SourceControl.", - "description": "Delete a Container App SourceControl.", - "operationId": "ContainerAppsSourceControls_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "containerAppName", - "in": "path", - "description": "Name of the Container App.", - "required": true, - "type": "string" - }, - { - "name": "sourceControlName", - "in": "path", - "description": "Name of the Container App SourceControl.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Container App SourceControl deleted successfully." - }, - "202": { - "description": "Delete operation is in progress." - }, - "204": { - "description": "Container App SourceControl does not exist." - }, - "default": { - "description": "Common error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Container App SourceControl": { - "$ref": "./examples/SourceControls_Delete.json" - } - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "SourceControl": { - "description": "Container App SourceControl.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "SourceControl resource specific properties", - "type": "object", - "properties": { - "operationState": { - "description": "Current provisioning State of the operation", - "enum": [ - "InProgress", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SourceControlOperationState", - "modelAsString": true - } - }, - "repoUrl": { - "description": "The repo url which will be integrated to ContainerApp.", - "type": "string" - }, - "branch": { - "description": "The branch which will trigger the auto deployment", - "type": "string" - }, - "githubActionConfiguration": { - "$ref": "#/definitions/GithubActionConfiguration", - "description": "Container App Revision Template with all possible settings and the\ndefaults if user did not provide them. The defaults are populated\nas they were at the creation time" - } - }, - "x-ms-client-flatten": true - } - } - }, - "GithubActionConfiguration": { - "description": "Configuration properties that define the mutable settings of a Container App SourceControl", - "type": "object", - "properties": { - "registryInfo": { - "$ref": "#/definitions/RegistryInfo", - "description": "Registry configurations." - }, - "azureCredentials": { - "$ref": "#/definitions/AzureCredentials", - "description": "AzureCredentials configurations." - }, - "contextPath": { - "description": "Context path", - "type": "string" - }, - "image": { - "description": "Image name", - "type": "string" - }, - "publishType": { - "description": "Code or Image", - "type": "string" - }, - "os": { - "description": "Operation system", - "type": "string" - }, - "runtimeStack": { - "description": "Runtime stack", - "type": "string" - }, - "runtimeVersion": { - "description": "Runtime version", - "type": "string" - } - } - }, - "RegistryInfo": { - "description": "Container App registry information.", - "type": "object", - "properties": { - "registryUrl": { - "description": "registry server Url.", - "type": "string" - }, - "registryUserName": { - "description": "registry username.", - "type": "string" - }, - "registryPassword": { - "description": "registry secret.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "AzureCredentials": { - "description": "Container App credentials.", - "type": "object", - "properties": { - "clientId": { - "description": "Client Id.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "clientSecret": { - "description": "Client Secret.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "tenantId": { - "description": "Tenant Id.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "subscriptionId": { - "description": "Subscription Id.", - "type": "string" - } - } - }, - "SourceControlCollection": { - "description": "SourceControl collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SourceControl" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_CreateOrUpdate.json deleted file mode 100644 index 2b3dcbd5955e..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_CreateOrUpdate.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "authConfigName": "current", - "api-version": "2022-05-01", - "authConfigEnvelope": { - "properties": { - "platform": { - "enabled": true - }, - "globalValidation": { - "unauthenticatedClientAction": "AllowAnonymous" - }, - "identityProviders": { - "facebook": { - "registration": { - "appId": "123", - "appSecretSettingName": "facebook-secret" - } - } - } - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/authconfigs/current", - "name": "current", - "type": "Microsoft.App/containerapps/authconfigs", - "properties": { - "platform": { - "enabled": true - }, - "globalValidation": { - "unauthenticatedClientAction": "AllowAnonymous" - }, - "identityProviders": { - "facebook": { - "registration": { - "appId": "123", - "appSecretSettingName": "facebook-secret" - } - } - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Delete.json deleted file mode 100644 index 411e4e7913ec..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "authConfigName": "current", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Get.json deleted file mode 100644 index dd087a03cc0e..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_Get.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "authConfigName": "current", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/testcanadacentral/authconfigs/current", - "name": "current", - "type": "Microsoft.App/containerapps/authconfigs", - "properties": { - "platform": { - "enabled": true - }, - "globalValidation": { - "unauthenticatedClientAction": "AllowAnonymous" - }, - "identityProviders": { - "facebook": { - "registration": { - "appId": "123", - "appSecretSettingName": "facebook-secret" - } - } - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_ListByContainer.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_ListByContainer.json deleted file mode 100644 index a80fc263204a..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/AuthConfigs_ListByContainer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/testcanadacentral/authconfigs/current", - "name": "current", - "type": "Microsoft.App/containerapps/authconfigs", - "properties": { - "platform": { - "enabled": true - }, - "globalValidation": { - "unauthenticatedClientAction": "AllowAnonymous" - }, - "identityProviders": { - "facebook": { - "registration": { - "appId": "123", - "appSecretSettingName": "facebook-secret" - } - } - } - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_CreateOrUpdate.json deleted file mode 100644 index 6a5f76bd8496..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_CreateOrUpdate.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", - "api-version": "2022-05-01", - "certificateEnvelope": { - "location": "East US", - "properties": { - "password": "private key password", - "value": "PFX-or-PEM-blob" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "type": "Microsoft.App/ManagedEnvironments/Certificates", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", - "issuer": "Issuer Name", - "issueDate": "2021-11-06T04:00:00Z", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT", - "valid": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Delete.json deleted file mode 100644 index d8cc7318fa1a..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Get.json deleted file mode 100644 index bf55c41de27d..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificate_Get.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", - "type": "Microsoft.App/ManagedEnvironments/Certificates", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", - "issuer": "Issuer Name", - "issueDate": "2021-11-06T04:00:00Z", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT", - "valid": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_CheckNameAvailability.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_CheckNameAvailability.json deleted file mode 100644 index c3e89eb6c81a..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_CheckNameAvailability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "checkNameAvailabilityRequest": { - "name": "testcertificatename", - "type": "Microsoft.App/managedEnvironments/certificates" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true, - "reason": "None", - "message": "" - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_ListByManagedEnvironment.json deleted file mode 100644 index 47b74a695346..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_ListByManagedEnvironment.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", - "type": "Microsoft.App/ManagedEnvironments/Certificates", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", - "issuer": "Issuer Name", - "issueDate": "2021-11-06T04:00:00Z", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT", - "valid": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", - "type": "Microsoft.App/ManagedEnvironments/Certificates", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", - "issuer": "Issuer Name", - "issueDate": "2021-11-06T04:00:00Z", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT", - "valid": true - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_Patch.json deleted file mode 100644 index d73cfe7758e6..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Certificates_Patch.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", - "api-version": "2022-05-01", - "certificateEnvelope": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "type": "Microsoft.App/ManagedEnvironments/Certificates", - "location": "East US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", - "issuer": "Issuer Name", - "issueDate": "2021-11-06T04:00:00Z", - "expirationDate": "2022-11-06T04:00:00Z", - "thumbprint": "CERTIFICATE_THUMBPRINT", - "valid": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_Get.json deleted file mode 100644 index 525efc8304ef..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_Get.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "f07f3711-b45e-40fe-a941-4e6d93f851e6", - "resourceGroupName": "mikono-workerapp-test-rg", - "containerAppName": "mikono-capp-stage1", - "detectorName": "cappcontainerappnetworkIO", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/f07f3711-b45e-40fe-a941-4e6d93f851e6/resourceGroups/mikono-workerapp-test-rg/providers/Microsoft.App/containerApps/mikono-capp-stage1/detectors/cappcontainerappnetworkIO", - "name": "cappcontainerappnetworkIO", - "type": "Microsoft.App/containerapps/detectors", - "properties": { - "metadata": { - "id": "cappcontainerappnetworkIO", - "name": "Container App Network Inbound and Outbound", - "description": "This detector shows the Container App Network Inbound and Outbound.", - "author": "", - "category": "Availability and Performance", - "supportTopicList": [], - "type": "Detector", - "score": 0 - }, - "dataset": [ - { - "table": { - "tableName": "", - "columns": [ - { - "columnName": "TimeStamp", - "dataType": "DateTime" - }, - { - "columnName": "Metric", - "dataType": "String" - }, - { - "columnName": "Average", - "dataType": "Double" - } - ], - "rows": [ - [ - "2022-03-15T21:35:00", - "RxBytes", - 0 - ] - ] - }, - "renderingProperties": { - "type": 8, - "title": "Container Apps Network Inbound ", - "description": "", - "isVisible": true - } - } - ], - "status": { - "statusId": 3 - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_List.json deleted file mode 100644 index 6562c8073c32..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerAppsDiagnostics_List.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "f07f3711-b45e-40fe-a941-4e6d93f851e6", - "resourceGroupName": "mikono-workerapp-test-rg", - "containerAppName": "mikono-capp-stage1", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/f07f3711-b45e-40fe-a941-4e6d93f851e6/resourceGroups/mikono-workerapp-test-rg/providers/Microsoft.App/containerApps/mikono-capp-stage1/detectors/cappContainerAppAvailabilityMetrics", - "name": "cappContainerAppAvailabilityMetrics", - "type": "Microsoft.App/containerapps/detectors", - "properties": { - "metadata": { - "id": "cappContainerAppAvailabilityMetrics", - "name": "Availability Metrics for Container Apps", - "author": "", - "category": "Availability and Performance", - "supportTopicList": [], - "type": "Analysis", - "score": 0 - }, - "dataset": [], - "status": { - "statusId": 4 - } - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CheckNameAvailability.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CheckNameAvailability.json deleted file mode 100644 index 7fa1391abab0..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CheckNameAvailability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "checkNameAvailabilityRequest": { - "name": "testcappname", - "type": "Microsoft.App/containerApps" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true, - "reason": "None", - "message": "" - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json deleted file mode 100644 index b6370daf190c..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "api-version": "2022-05-01", - "containerAppEnvelope": { - "location": "East US", - "properties": { - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "configuration": { - "ingress": { - "external": true, - "targetPort": 3000, - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my-other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 100, - "revisionName": "testcontainerApp0-ab1234", - "label": "production" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v1", - "name": "testcontainerApp0", - "probes": [ - { - "type": "Liveness", - "httpGet": { - "path": "/health", - "port": 8080, - "httpHeaders": [ - { - "name": "Custom-Header", - "value": "Awesome" - } - ] - }, - "initialDelaySeconds": 3, - "periodSeconds": 3 - } - ] - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "custom": { - "type": "http", - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0", - "name": "testcontainerApp0", - "type": "Microsoft.App/containerApps", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "configuration": { - "ingress": { - "fqdn": "testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "external": true, - "targetPort": 3000, - "transport": "auto", - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my-other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 80, - "revisionName": "testcontainerApp0-ab1234" - }, - { - "weight": 20, - "revisionName": "testcontainerApp0-ab4321", - "label": "staging" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v4", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - }, - "probes": [ - { - "type": "Liveness", - "httpGet": { - "path": "/health", - "port": 8080, - "httpHeaders": [ - { - "name": "Custom-Header", - "value": "Awesome" - } - ] - }, - "initialDelaySeconds": 3, - "periodSeconds": 3 - } - ] - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0", - "name": "testcontainerApp0", - "type": "Microsoft.App/containerApps", - "location": "East US", - "properties": { - "provisioningState": "InProgress", - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "configuration": { - "ingress": { - "fqdn": "testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "external": true, - "targetPort": 3000, - "transport": "auto", - "traffic": [ - { - "weight": 80, - "revisionName": "testcontainerApp0-ab1234" - }, - { - "weight": 20, - "revisionName": "testcontainerApp0-ab4321", - "label": "staging" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v4", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - }, - "probes": [ - { - "type": "Liveness", - "httpGet": { - "path": "/health", - "port": 8080, - "httpHeaders": [ - { - "name": "Custom-Header", - "value": "Awesome" - } - ] - }, - "initialDelaySeconds": 3, - "periodSeconds": 3 - } - ] - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Delete.json deleted file mode 100644 index 4417d1f9877c..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Delete.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testWorkerApp0", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/containerApps/testWorkerApp0/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-05-01" - } - }, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json deleted file mode 100644 index ff636346961f..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0", - "name": "testcontainerApp0", - "type": "Microsoft.App/containerApps", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "configuration": { - "ingress": { - "fqdn": "testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "external": true, - "targetPort": 3000, - "transport": "auto", - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my--other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 80, - "revisionName": "testcontainerApp0-ab1234" - }, - { - "weight": 20, - "revisionName": "testcontainerApp0-ab4321", - "label": "staging" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v4", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - } - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - }, - "404": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json deleted file mode 100644 index a0e7e667dbde..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0", - "name": "testcontainerApp0", - "type": "Microsoft.App/containerApps", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "configuration": { - "ingress": { - "fqdn": "testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "external": true, - "targetPort": 3000, - "transport": "auto", - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my--other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 80, - "revisionName": "testcontainerApp0-ab1234" - }, - { - "weight": 20, - "revisionName": "testcontainerApp0-ab4321", - "label": "staging" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v4", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - } - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json deleted file mode 100644 index f79966eba9d6..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0", - "name": "testcontainerApp0", - "type": "Microsoft.App/containerApps", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - "latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "configuration": { - "ingress": { - "fqdn": "testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io", - "external": true, - "targetPort": 3000, - "transport": "auto", - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my--other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 80, - "revisionName": "testcontainerApp0-ab1234" - }, - { - "weight": 20, - "revisionName": "testcontainerApp0-ab4321", - "label": "staging" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v4", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - } - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListCustomHostNameAnalysis.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListCustomHostNameAnalysis.json deleted file mode 100644 index a5bfe5a7dea9..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListCustomHostNameAnalysis.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "customHostname": "my.name.corp", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "hostName": "my.name.corp", - "isHostnameAlreadyVerified": true, - "customDomainVerificationTest": "Passed", - "customDomainVerificationFailureInfo": {}, - "hasConflictOnManagedEnvironment": false, - "conflictingContainerAppResourceId": "", - "cNameRecords": [ - "cNameRecord1", - "cNameRecord2" - ], - "txtRecords": [ - "txtRecord1", - "txtRecord2" - ], - "aRecords": [ - "aRecord1", - "aRecord2" - ], - "alternateCNameRecords": [ - "cNameRecord1", - "cNameRecord2" - ], - "alternateTxtRecords": [ - "txtRecord1", - "txtRecord2" - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListSecrets.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListSecrets.json deleted file mode 100644 index 15a7ba9bb496..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListSecrets.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "secret1" - }, - { - "name": "secret2" - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json deleted file mode 100644 index 7688739a729b..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "api-version": "2022-05-01", - "containerAppEnvelope": { - "location": "East US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "configuration": { - "ingress": { - "external": true, - "targetPort": 3000, - "customDomains": [ - { - "name": "www.my-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - "name": "www.my-other-name.com", - "bindingType": "SniEnabled", - "certificateId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - "traffic": [ - { - "weight": 100, - "revisionName": "testcontainerApp0-ab1234", - "label": "production" - } - ] - }, - "dapr": { - "enabled": true, - "appPort": 3000, - "appProtocol": "http", - "httpReadBufferSize": 30 - } - }, - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v1", - "name": "testcontainerApp0", - "probes": [ - { - "type": "Liveness", - "httpGet": { - "path": "/health", - "port": 8080, - "httpHeaders": [ - { - "name": "Custom-Header", - "value": "Awesome" - } - ] - }, - "initialDelaySeconds": 3, - "periodSeconds": 3 - } - ] - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "custom": { - "type": "http", - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - } - } - } - }, - "responses": { - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/locations/eastus/containerappOperationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-05-01" - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_CreateOrUpdate.json deleted file mode 100644 index 0ffa47695813..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_CreateOrUpdate.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "myenvironment", - "componentName": "reddog", - "api-version": "2022-05-01", - "daprComponentEnvelope": { - "properties": { - "componentType": "state.azure.cosmosdb", - "version": "v1", - "ignoreErrors": false, - "initTimeout": "50s", - "secrets": [ - { - "name": "masterkey", - "value": "keyvalue" - } - ], - "metadata": [ - { - "name": "url", - "value": "" - }, - { - "name": "database", - "value": "itemsDB" - }, - { - "name": "collection", - "value": "items" - }, - { - "name": "masterkey", - "secretRef": "masterkey" - } - ], - "scopes": [ - "container-app-1", - "container-app-2" - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1/daprcomponents/reddog", - "name": "reddog", - "type": "Microsoft.App/managedEnvironments/daprcomponents", - "properties": { - "componentType": "state.azure.cosmosdb", - "version": "v1", - "ignoreErrors": false, - "initTimeout": "50s", - "secrets": [ - { - "name": "masterkey" - } - ], - "metadata": [ - { - "name": "url", - "value": "" - }, - { - "name": "database", - "value": "itemsDB" - }, - { - "name": "collection", - "value": "items" - }, - { - "name": "masterkey", - "secretRef": "masterkey" - } - ], - "scopes": [ - "container-app-1", - "container-app-2" - ] - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Delete.json deleted file mode 100644 index 989ade111699..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "myenvironment", - "componentName": "reddog", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Get.json deleted file mode 100644 index b11cf2632a31..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_Get.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "myenvironment", - "componentName": "reddog", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1/daprcomponents/reddog", - "name": "reddog", - "type": "Microsoft.App/managedEnvironments/daprcomponents", - "properties": { - "componentType": "state.azure.cosmosdb", - "version": "v1", - "ignoreErrors": false, - "initTimeout": "50s", - "secrets": [ - { - "name": "masterkey" - } - ], - "metadata": [ - { - "name": "url", - "value": "" - }, - { - "name": "database", - "value": "itemsDB" - }, - { - "name": "collection", - "value": "items" - }, - { - "name": "masterkey", - "secretRef": "masterkey" - } - ], - "scopes": [ - "container-app-1", - "container-app-2" - ] - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_List.json deleted file mode 100644 index 729dcf81a6ae..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_List.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "myenvironment", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/daprcomponents/reddog", - "name": "reddog", - "type": "Microsoft.App/managedEnvironments/daprcomponents", - "properties": { - "componentType": "state.azure.cosmosdb", - "version": "v1", - "ignoreErrors": false, - "initTimeout": "50s", - "secrets": [ - { - "name": "masterkey" - } - ], - "metadata": [ - { - "name": "url", - "value": "" - }, - { - "name": "database", - "value": "itemsDB" - }, - { - "name": "collection", - "value": "items" - }, - { - "name": "masterkey", - "secretRef": "masterkey" - } - ], - "scopes": [ - "container-app-1", - "container-app-2" - ] - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_ListSecrets.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_ListSecrets.json deleted file mode 100644 index c483a92bfa51..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/DaprComponents_ListSecrets.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "myenvironment", - "componentName": "reddog", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "secret1" - }, - { - "name": "secret2" - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_Get.json deleted file mode 100644 index 3369ab0b5fc8..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_Get.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "f07f3711-b45e-40fe-a941-4e6d93f851e6", - "resourceGroupName": "mikono-workerapp-test-rg", - "environmentName": "mikonokubeenv", - "detectorName": "ManagedEnvAvailabilityMetrics", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/f07f3711-b45e-40fe-a941-4e6d93f851e6/resourceGroups/mikono-workerapp-test-rg/providers/Microsoft.App/managedEnvironments/mikonokubeenv/detectors/ManagedEnvAvailabilityMetrics", - "name": "ManagedEnvAvailabilityMetrics", - "type": "Microsoft.App/managedEnvironments/detectors", - "properties": { - "metadata": { - "id": "ManagedEnvAvailabilityMetrics", - "name": "Managed Env Netowrk Inbound and Outbound", - "description": "This detector shows the Managed Environment Network Inbound and Outbound.", - "author": "", - "category": "Availability and Performance", - "supportTopicList": [], - "type": "Detector", - "score": 0 - }, - "dataset": [ - { - "table": { - "tableName": "", - "columns": [ - { - "columnName": "TimeStamp", - "dataType": "DateTime" - }, - { - "columnName": "Metric", - "dataType": "String" - }, - { - "columnName": "Average", - "dataType": "Double" - } - ], - "rows": [ - [ - "2022-03-15T21:35:00", - "RxBytes", - 0 - ] - ] - }, - "renderingProperties": { - "type": 8, - "title": "Managed Environment Network Inbound ", - "description": "", - "isVisible": true - } - } - ], - "status": { - "statusId": 3 - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_List.json deleted file mode 100644 index 81a4ca210f32..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentDiagnostics_List.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "f07f3711-b45e-40fe-a941-4e6d93f851e6", - "resourceGroupName": "mikono-workerapp-test-rg", - "environmentName": "mikonokubeenv", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/f07f3711-b45e-40fe-a941-4e6d93f851e6/resourceGroups/mikono-workerapp-test-rg/providers/Microsoft.App/managedEnvironments/mikonokubeenv/detectors/ManagedEnvAvailabilityMetrics", - "name": "ManagedEnvAvailabilityMetrics", - "type": "Microsoft.App/managedEnvironments/detectors", - "properties": { - "metadata": { - "id": "ManagedEnvAvailabilityMetrics", - "name": "Availability Metrics for Managed Environments", - "author": "", - "category": "Availability and Performance", - "supportTopicList": [], - "type": "Analysis", - "score": 0 - }, - "dataset": [], - "status": { - "statusId": 4 - } - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json deleted file mode 100644 index b3befe244f10..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", - "api-version": "2022-05-01", - "storageEnvelope": { - "properties": { - "azureFile": { - "accountName": "account1", - "accountKey": "key", - "shareName": "share1", - "accessMode": "ReadOnly" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/managedEnv/storages/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments/storages", - "properties": { - "azureFile": { - "accountName": "account1", - "shareName": "share1", - "accessMode": "ReadOnly" - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Delete.json deleted file mode 100644 index b5a68b628196..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Get.json deleted file mode 100644 index 46200ff70421..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_Get.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/managedEnv/storages/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments/storages", - "properties": { - "azureFile": { - "accountName": "account1", - "shareName": "share1", - "accessMode": "ReadOnly" - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_List.json deleted file mode 100644 index e229d4b6463a..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironmentsStorages_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/managedEnv/storages/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments/storages", - "properties": { - "azureFile": { - "accountName": "account1", - "shareName": "share1", - "accessMode": "ReadOnly" - } - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_CreateOrUpdate.json deleted file mode 100644 index 1569c23ef8d0..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_CreateOrUpdate.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2022-05-01", - "environmentEnvelope": { - "location": "East US", - "properties": { - "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string", - "sharedKey": "string" - } - }, - "zoneRedundant": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", - "name": "testcontainerenv", - "type": "Microsoft.App/managedEnvironments", - "location": "East US", - "properties": { - "provisioningState": "InitializationInProgress", - "deploymentErrors": null, - "defaultDomain": "testcontainerenv.k4apps.io", - "staticIp": "1.2.3.4", - "appLogsConfiguration": { - "logAnalyticsConfiguration": { - "customerId": "string" - } - }, - "zoneRedundant": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Delete.json deleted file mode 100644 index d030a202a2fa..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "examplekenv", - "api-version": "2022-05-01", - "location": "East US" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Get.json deleted file mode 100644 index 2fb09492d557..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Get.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "environmentName": "jlaw-demo1", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments", - "location": "North Central US", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "zoneRedundant": true - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListByResourceGroup.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListByResourceGroup.json deleted file mode 100644 index f557fd84de13..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments", - "location": "North Central US", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "appLogsConfiguration": null, - "zoneRedundant": true - } - }, - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/demo1", - "name": "demo1", - "type": "Microsoft.App/managedEnvironments", - "location": "North Central US", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "demo1.k4apps.io", - "staticIp": "52.142.21.61", - "appLogsConfiguration": null, - "zoneRedundant": true - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListBySubscription.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListBySubscription.json deleted file mode 100644 index 561fdaef2573..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1", - "name": "jlaw-demo1", - "type": "Microsoft.App/managedEnvironments", - "location": "North Central US", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "appLogsConfiguration": null, - "zoneRedundant": true - } - }, - { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/DemoRG/providers/Microsoft.App/managedEnvironments/demo1", - "name": "demo1", - "type": "Microsoft.App/managedEnvironments", - "location": "North Central US", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "deploymentErrors": null, - "defaultDomain": "demo1.k4apps.io", - "staticIp": "52.142.21.61", - "appLogsConfiguration": null, - "zoneRedundant": true - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Patch.json deleted file mode 100644 index 7de7df4d9533..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ManagedEnvironments_Patch.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "api-version": "2022-05-01", - "environmentEnvelope": { - "location": "East US", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-05-01" - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Operations_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Operations_List.json deleted file mode 100644 index 836f2b6e1d7b..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Operations_List.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.App/containerApps/Read", - "display": { - "provider": "Microsoft Apps", - "resource": "Container App", - "operation": "Get Container App", - "description": "Get the properties of a Container App" - }, - "origin": "user,system" - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_Get.json deleted file mode 100644 index 6934d1c65350..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_Get.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "myapp", - "revisionName": "myapp--0wlqy09", - "replicaName": "myapp--0wlqy09-5d9774cff-5wnd8", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/revisions/myapp--0wlqy09/replicas/myapp--0wlqy09-5d9774cff-5wnd8", - "name": "myapp--0wlqy09-5d9774cff-5wnd8", - "type": "Microsoft.Web/containerapps/revisions/replicas", - "properties": { - "createdTime": "2022-01-25T19:42:45Z", - "containers": [ - { - "name": "hello92", - "containerId": "containerd://6bac7bb3afed1c704b5fe563c34c0ecf59ac30c766bb73488f7fa552dc42ee54", - "ready": true, - "started": true, - "restartCount": 0 - } - ] - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_List.json deleted file mode 100644 index bb35abdefe3d..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Replicas_List.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "myapp", - "revisionName": "myapp--0wlqy09", - "api-version": "2021-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/revisions/myapp--0wlqy09/replicas/myapp--0wlqy09-5d9774cff-5wnd8", - "name": "myapp--0wlqy09-5d9774cff-5wnd8", - "type": "Microsoft.Web/containerapps/revisions/replicas", - "properties": { - "createdTime": "2022-01-25T19:42:45Z", - "containers": [ - { - "name": "hello92", - "containerId": "containerd://6bac7bb3afed1c704b5fe563c34c0ecf59ac30c766bb73488f7fa552dc42ee54", - "ready": true, - "started": true, - "restartCount": 0 - } - ] - } - } - ] - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Activate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Activate.json deleted file mode 100644 index 61da5f005894..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Activate.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", - "api-version": "2022-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Deactivate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Deactivate.json deleted file mode 100644 index 61da5f005894..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Deactivate.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", - "api-version": "2022-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Get.json deleted file mode 100644 index e971a77c619d..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Get.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", - "api-version": "2021-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppcontainerApps/testcontainerApp0/revisions/testcontainerApp0-pjxhsye", - "name": "testcontainerApp0-pjxhsye", - "type": "Microsoft.App/containerApps/revisions", - "properties": { - "createdTime": "2021-05-24T21:24:22+00:00", - "fqdn": "testcontainerApp0-pjxhsye.politehill-ab123456.eastus.azurecontainerapps.io", - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v2", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - } - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - }, - "active": true, - "replicas": 1 - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_List.json deleted file mode 100644 index 5a8c98a7bfb3..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_List.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testcontainerApp0", - "api-version": "2021-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/testcontainerApp0/revisions/testcontainerApp0-pjxhsye", - "name": "testcontainerApp0-pjxhsye", - "type": "Microsoft.App/containerApps/revisions", - "properties": { - "createdTime": "2021-05-24T21:24:22+00:00", - "fqdn": "testcontainerApp0-pjxhsye.politehill-ab123456.eastus.azurecontainerapps.io", - "template": { - "containers": [ - { - "image": "repo/testcontainerApp0:v2", - "name": "testcontainerApp0", - "resources": { - "cpu": 0.2, - "memory": "100Mi" - } - } - ], - "scale": { - "minReplicas": 1, - "maxReplicas": 5, - "rules": [ - { - "name": "httpscalingrule", - "http": { - "metadata": { - "concurrentRequests": "50" - } - } - } - ] - } - }, - "active": true, - "replicas": 1 - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Restart.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Restart.json deleted file mode 100644 index 3336c0109c26..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/Revisions_Restart.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", - "containerAppName": "testStaticSite0", - "revisionName": "testcontainerApp0-pjxhsye", - "api-version": "2021-02-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json deleted file mode 100644 index 9f0b2606b0a7..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "sourceControlName": "current", - "api-version": "2022-05-01", - "sourceControlEnvelope": { - "properties": { - "repoUrl": "https://github.com/xwang971/ghatest", - "branch": "master", - "githubActionConfiguration": { - "registryInfo": { - "registryUrl": "xwang971reg.azurecr.io", - "registryUserName": "xwang971reg", - "registryPassword": "" - }, - "azureCredentials": { - "clientId": "", - "clientSecret": "", - "tenantId": "" - }, - "contextPath": "./", - "image": "image/tag" - } - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/current", - "name": "current", - "type": "Microsoft.App/containerapps/sourcecontrols", - "properties": { - "operationState": "InProgress", - "repoUrl": "https://github.com/xwang971/ghatest", - "branch": "master", - "githubActionConfiguration": { - "registryInfo": { - "registryUrl": "xwang971reg.azurecr.io", - "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" - } - } - } - }, - "201": { - "headers": { - "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01" - }, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/current", - "name": "current", - "type": "Microsoft.App/containerapps/sourcecontrols", - "properties": { - "operationState": "InProgress", - "repoUrl": "https://github.com/xwang971/ghatest", - "branch": "master", - "githubActionConfiguration": { - "registryInfo": { - "registryUrl": "xwang971reg.azurecr.io", - "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Delete.json deleted file mode 100644 index 27ca9b9e7cca..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Delete.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "sourceControlName": "current", - "api-version": "2022-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/14a787ee-c65f-462d-8a8b-897f69a2ab4f?api-version=2021-03-01" - } - }, - "204": {} - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Get.json deleted file mode 100644 index cb7e227aabbf..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_Get.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "sourceControlName": "current", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/testcanadacentral/sourcecontrols/current", - "name": "current", - "type": "Microsoft.App/containerapps/sourcecontrols", - "properties": { - "repoUrl": "https://github.com/xwang971/ghatest", - "branch": "master", - "githubActionConfiguration": { - "registryInfo": { - "registryUrl": "xwang971reg.azurecr.io", - "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" - } - } - } - } - } -} diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_ListByContainer.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_ListByContainer.json deleted file mode 100644 index d738e6eaa5ce..000000000000 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_ListByContainer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", - "resourceGroupName": "workerapps-rg-xj", - "containerAppName": "testcanadacentral", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/testcanadacentral/sourcecontrols/current", - "name": "current", - "type": "Microsoft.App/containerapps/sourcecontrols", - "properties": { - "repoUrl": "https://github.com/xwang971/ghatest", - "branch": "master", - "githubActionConfiguration": { - "registryInfo": { - "registryUrl": "xwang971reg.azurecr.io", - "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" - } - } - } - ], - "nextLink": null - } - } - } -} From 2593c956827eb19e43b0fd77ca538050a19ddce1 Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Mon, 29 Aug 2022 16:21:48 +0800 Subject: [PATCH 2/2] update --- specification/app/resource-manager/readme.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/specification/app/resource-manager/readme.md b/specification/app/resource-manager/readme.md index a709225896f8..aab276f87ac5 100644 --- a/specification/app/resource-manager/readme.md +++ b/specification/app/resource-manager/readme.md @@ -51,23 +51,6 @@ input-file: - Microsoft.App/preview/2022-06-01-preview/ConnectedEnvironmentsDaprComponents.json - Microsoft.App/preview/2022-06-01-preview/ConnectedEnvironmentsStorages.json ``` -### Tag: package-2022-05 - -These settings apply only when `--tag=package-2022-05` is specified on the command line. - -``` yaml $(tag) == 'package-2022-05' -input-file: - - Microsoft.App/stable/2022-05-01/AuthConfigs.json - - Microsoft.App/stable/2022-05-01/CommonDefinitions.json - - Microsoft.App/stable/2022-05-01/ContainerApps.json - - Microsoft.App/stable/2022-05-01/ContainerAppsRevisions.json - - Microsoft.App/stable/2022-05-01/DaprComponents.json - - Microsoft.App/stable/2022-05-01/Diagnostics.json - - Microsoft.App/stable/2022-05-01/Global.json - - Microsoft.App/stable/2022-05-01/ManagedEnvironments.json - - Microsoft.App/stable/2022-05-01/ManagedEnvironmentsStorages.json - - Microsoft.App/stable/2022-05-01/SourceControls.json -``` ### Tag: package-2022-03