Skip to content

Commit f170468

Browse files
authored
Revert "Add API for adding external storage account configurations to a web app (#3452)"
This reverts commit 565c26a.
1 parent 565c26a commit f170468

File tree

2 files changed

+3
-283
lines changed

2 files changed

+3
-283
lines changed

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -507,53 +507,6 @@
507507
}
508508
}
509509
},
510-
"AzureStorageInfoValue": {
511-
"description": "Azure Files or Blob Storage access information value for dictionary storage.",
512-
"type": "object",
513-
"properties": {
514-
"type": {
515-
"description": "Type of storage.",
516-
"enum": [
517-
"AzureFiles",
518-
"AzureBlob"
519-
],
520-
"type": "string",
521-
"x-ms-enum": {
522-
"name": "AzureStorageType",
523-
"modelAsString": false
524-
}
525-
},
526-
"accountName": {
527-
"description": "Name of the storage account.",
528-
"type": "string"
529-
},
530-
"shareName": {
531-
"description": "Name of the file share (container name, for Blob storage).",
532-
"type": "string"
533-
},
534-
"accessKey": {
535-
"description": "Access key for the storage account.",
536-
"type": "string"
537-
},
538-
"mountPath": {
539-
"description": "Path to mount the storage within the site's runtime environment.",
540-
"type": "string"
541-
},
542-
"state": {
543-
"description": "State of the storage account.",
544-
"enum": [
545-
"Ok",
546-
"InvalidCredentials",
547-
"InvalidShare"
548-
],
549-
"type": "string",
550-
"x-ms-enum": {
551-
"name": "AzureStorageState",
552-
"modelAsString": false
553-
}
554-
}
555-
}
556-
},
557510
"Capability": {
558511
"description": "Describes the capabilities/features allowed for a specific SKU.",
559512
"type": "object",
@@ -2174,13 +2127,6 @@
21742127
"$ref": "#/definitions/NameValuePair"
21752128
}
21762129
},
2177-
"azureStorageAccounts": {
2178-
"description": "User-provided Azure storage accounts.",
2179-
"type": "object",
2180-
"additionalProperties": {
2181-
"$ref": "#/definitions/AzureStorageInfoValue"
2182-
}
2183-
},
21842130
"connectionStrings": {
21852131
"description": "Connection strings.",
21862132
"type": "array",

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json

Lines changed: 3 additions & 229 deletions
Original file line numberDiff line numberDiff line change
@@ -911,99 +911,6 @@
911911
}
912912
}
913913
},
914-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts": {
915-
"put": {
916-
"tags": [
917-
"WebApps"
918-
],
919-
"summary": "Updates the Azure storage account configurations of an app.",
920-
"description": "Updates the Azure storage account configurations of an app.",
921-
"operationId": "WebApps_UpdateAzureStorageAccounts",
922-
"parameters": [
923-
{
924-
"$ref": "#/parameters/resourceGroupNameParameter"
925-
},
926-
{
927-
"name": "name",
928-
"in": "path",
929-
"description": "Name of the app.",
930-
"required": true,
931-
"type": "string"
932-
},
933-
{
934-
"name": "azureStorageAccounts",
935-
"in": "body",
936-
"description": "Azure storage accounts of the app.",
937-
"required": true,
938-
"schema": {
939-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
940-
}
941-
},
942-
{
943-
"$ref": "#/parameters/subscriptionIdParameter"
944-
},
945-
{
946-
"$ref": "#/parameters/apiVersionParameter"
947-
}
948-
],
949-
"responses": {
950-
"200": {
951-
"description": "OK",
952-
"schema": {
953-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
954-
}
955-
},
956-
"default": {
957-
"description": "App Service error response.",
958-
"schema": {
959-
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
960-
}
961-
}
962-
}
963-
}
964-
},
965-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list": {
966-
"post": {
967-
"tags": [
968-
"WebApps"
969-
],
970-
"summary": "Gets the Azure storage account configurations of an app.",
971-
"description": "Gets the Azure storage account configurations of an app.",
972-
"operationId": "WebApps_ListAzureStorageAccounts",
973-
"parameters": [
974-
{
975-
"$ref": "#/parameters/resourceGroupNameParameter"
976-
},
977-
{
978-
"name": "name",
979-
"in": "path",
980-
"description": "Name of the app.",
981-
"required": true,
982-
"type": "string"
983-
},
984-
{
985-
"$ref": "#/parameters/subscriptionIdParameter"
986-
},
987-
{
988-
"$ref": "#/parameters/apiVersionParameter"
989-
}
990-
],
991-
"responses": {
992-
"200": {
993-
"description": "OK",
994-
"schema": {
995-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
996-
}
997-
},
998-
"default": {
999-
"description": "App Service error response.",
1000-
"schema": {
1001-
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
1002-
}
1003-
}
1004-
}
1005-
}
1006-
},
1007914
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": {
1008915
"put": {
1009916
"tags": [
@@ -7670,113 +7577,6 @@
76707577
}
76717578
}
76727579
},
7673-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": {
7674-
"put": {
7675-
"tags": [
7676-
"WebApps"
7677-
],
7678-
"summary": "Updates the Azure storage account configurations of an app.",
7679-
"description": "Updates the Azure storage account configurations of an app.",
7680-
"operationId": "WebApps_UpdateAzureStorageAccountsSlot",
7681-
"parameters": [
7682-
{
7683-
"$ref": "#/parameters/resourceGroupNameParameter"
7684-
},
7685-
{
7686-
"name": "name",
7687-
"in": "path",
7688-
"description": "Name of the app.",
7689-
"required": true,
7690-
"type": "string"
7691-
},
7692-
{
7693-
"name": "azureStorageAccounts",
7694-
"in": "body",
7695-
"description": "Azure storage accounts of the app.",
7696-
"required": true,
7697-
"schema": {
7698-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
7699-
}
7700-
},
7701-
{
7702-
"name": "slot",
7703-
"in": "path",
7704-
"description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
7705-
"required": true,
7706-
"type": "string"
7707-
},
7708-
{
7709-
"$ref": "#/parameters/subscriptionIdParameter"
7710-
},
7711-
{
7712-
"$ref": "#/parameters/apiVersionParameter"
7713-
}
7714-
],
7715-
"responses": {
7716-
"200": {
7717-
"description": "OK",
7718-
"schema": {
7719-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
7720-
}
7721-
},
7722-
"default": {
7723-
"description": "App Service error response.",
7724-
"schema": {
7725-
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
7726-
}
7727-
}
7728-
}
7729-
}
7730-
},
7731-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": {
7732-
"post": {
7733-
"tags": [
7734-
"WebApps"
7735-
],
7736-
"summary": "Gets the Azure storage account configurations of an app.",
7737-
"description": "Gets the Azure storage account configurations of an app.",
7738-
"operationId": "WebApps_ListAzureStorageAccountsSlot",
7739-
"parameters": [
7740-
{
7741-
"$ref": "#/parameters/resourceGroupNameParameter"
7742-
},
7743-
{
7744-
"name": "name",
7745-
"in": "path",
7746-
"description": "Name of the app.",
7747-
"required": true,
7748-
"type": "string"
7749-
},
7750-
{
7751-
"name": "slot",
7752-
"in": "path",
7753-
"description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.",
7754-
"required": true,
7755-
"type": "string"
7756-
},
7757-
{
7758-
"$ref": "#/parameters/subscriptionIdParameter"
7759-
},
7760-
{
7761-
"$ref": "#/parameters/apiVersionParameter"
7762-
}
7763-
],
7764-
"responses": {
7765-
"200": {
7766-
"description": "OK",
7767-
"schema": {
7768-
"$ref": "#/definitions/AzureStoragePropertyDictionaryResource"
7769-
}
7770-
},
7771-
"default": {
7772-
"description": "App Service error response.",
7773-
"schema": {
7774-
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
7775-
}
7776-
}
7777-
}
7778-
}
7779-
},
77807580
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": {
77817581
"put": {
77827582
"tags": [
@@ -15859,7 +15659,7 @@
1585915659
"$ref": "#/definitions/SiteSourceControl"
1586015660
}
1586115661
},
15862-
"default": {
15662+
"default": {
1586315663
"description": "App Service error response.",
1586415664
"schema": {
1586515665
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
@@ -17017,25 +16817,6 @@
1701716817
}
1701816818
}
1701916819
},
17020-
"AzureStoragePropertyDictionaryResource": {
17021-
"description": "AzureStorageInfo dictionary resource.",
17022-
"type": "object",
17023-
"allOf": [
17024-
{
17025-
"$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource"
17026-
}
17027-
],
17028-
"properties": {
17029-
"properties": {
17030-
"description": "Azure storage accounts.",
17031-
"type": "object",
17032-
"additionalProperties": {
17033-
"$ref": "./CommonDefinitions.json#/definitions/AzureStorageInfoValue"
17034-
},
17035-
"x-ms-client-flatten": true
17036-
}
17037-
}
17038-
},
1703916820
"AzureTableStorageApplicationLogsConfig": {
1704016821
"description": "Application logs to Azure table storage configuration.",
1704116822
"required": [
@@ -19908,7 +19689,7 @@
1990819689
}
1990919690
},
1991019691
"SlotConfigNames": {
19911-
"description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.",
19692+
"description": "Names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.",
1991219693
"type": "object",
1991319694
"properties": {
1991419695
"connectionStringNames": {
@@ -19924,13 +19705,6 @@
1992419705
"items": {
1992519706
"type": "string"
1992619707
}
19927-
},
19928-
"azureStorageConfigNames": {
19929-
"description": "List of external Azure storage account identifiers.",
19930-
"type": "array",
19931-
"items": {
19932-
"type": "string"
19933-
}
1993419708
}
1993519709
}
1993619710
},
@@ -20565,4 +20339,4 @@
2056520339
]
2056620340
}
2056720341
]
20568-
}
20342+
}

0 commit comments

Comments
 (0)