Skip to content

Commit d05a297

Browse files
sravanthupiliSravan Thupili
and
Sravan Thupili
authored
Swagger Fixes (Azure#12982)
* Swagger Fixes * Spell check fix * Swagger Correctness S360 fixes * Prettier fixes * spell check fix Co-authored-by: Sravan Thupili <[email protected]>
1 parent 7ca16f6 commit d05a297

File tree

5 files changed

+45
-12
lines changed

5 files changed

+45
-12
lines changed

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,9 @@
655655
"200": {
656656
"description": "Successfully removed the specified Azure Data Lake Store account information from the specified Azure Data Lake Analytics account."
657657
},
658+
"204": {
659+
"description": "Successfully removed the specified Azure Data Lake Store account information from the specified Azure Data Lake Analytics account."
660+
},
658661
"default": {
659662
"schema": {
660663
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
@@ -1771,7 +1774,7 @@
17711774
"id": {
17721775
"readOnly": true,
17731776
"type": "string",
1774-
"description": "The resource identifer."
1777+
"description": "The resource identifier."
17751778
},
17761779
"name": {
17771780
"readOnly": true,
@@ -1872,6 +1875,13 @@
18721875
},
18731876
"description": "The list of Data Lake Store accounts associated with this account."
18741877
},
1878+
"publicDataLakeStoreAccounts": {
1879+
"type": "array",
1880+
"items": {
1881+
"$ref": "#/definitions/DataLakeStoreAccountInformation"
1882+
},
1883+
"description": "The list of Data Lake Store accounts associated with this account."
1884+
},
18751885
"storageAccounts": {
18761886
"readOnly": true,
18771887
"type": "array",
@@ -1913,7 +1923,6 @@
19131923
"description": "The list of firewall rules associated with this account."
19141924
},
19151925
"firewallState": {
1916-
"readOnly": true,
19171926
"type": "string",
19181927
"enum": [
19191928
"Enabled",
@@ -1926,7 +1935,6 @@
19261935
"description": "The current state of the IP address firewall for this account."
19271936
},
19281937
"firewallAllowAzureIps": {
1929-
"readOnly": true,
19301938
"type": "string",
19311939
"enum": [
19321940
"Enabled",
@@ -1939,7 +1947,6 @@
19391947
"description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced."
19401948
},
19411949
"newTier": {
1942-
"readOnly": true,
19431950
"type": "string",
19441951
"enum": [
19451952
"Consumption",
@@ -2001,7 +2008,6 @@
20012008
"description": "The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account."
20022009
},
20032010
"maxDegreeOfParallelismPerJob": {
2004-
"readOnly": true,
20052011
"type": "integer",
20062012
"format": "int32",
20072013
"minimum": 1,

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/examples/Accounts_Get.json

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
}
3030
}
3131
],
32+
"publicDataLakeStoreAccounts": [
33+
{
34+
"id": "test_adls_id",
35+
"name": "test_adls",
36+
"type": "test_type",
37+
"properties": {
38+
"suffix": "test_suffix"
39+
}
40+
}
41+
],
3242
"storageAccounts": [
3343
{
3444
"id": "test_storage_id",

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/examples/DataLakeStoreAccounts_Delete.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"dataLakeStoreAccountName": "test_adls_account"
88
},
99
"responses": {
10-
"200": {}
10+
"200": {},
11+
"204": {}
1112
}
1213
}

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,7 @@
17521752
"id": {
17531753
"readOnly": true,
17541754
"type": "string",
1755-
"description": "The resource identifer."
1755+
"description": "The resource identifier."
17561756
},
17571757
"name": {
17581758
"readOnly": true,
@@ -1854,6 +1854,13 @@
18541854
},
18551855
"description": "The list of Data Lake Store accounts associated with this account."
18561856
},
1857+
"publicDataLakeStoreAccounts": {
1858+
"type": "array",
1859+
"items": {
1860+
"$ref": "#/definitions/DataLakeStoreAccountInformation"
1861+
},
1862+
"description": "The list of Data Lake Store accounts associated with this account."
1863+
},
18571864
"storageAccounts": {
18581865
"readOnly": true,
18591866
"type": "array",
@@ -1895,7 +1902,6 @@
18951902
"description": "The list of firewall rules associated with this account."
18961903
},
18971904
"firewallState": {
1898-
"readOnly": true,
18991905
"type": "string",
19001906
"enum": [
19011907
"Enabled",
@@ -1908,7 +1914,6 @@
19081914
"description": "The current state of the IP address firewall for this account."
19091915
},
19101916
"firewallAllowAzureIps": {
1911-
"readOnly": true,
19121917
"type": "string",
19131918
"enum": [
19141919
"Enabled",
@@ -1921,7 +1926,6 @@
19211926
"description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced."
19221927
},
19231928
"newTier": {
1924-
"readOnly": true,
19251929
"type": "string",
19261930
"enum": [
19271931
"Consumption",
@@ -1987,7 +1991,6 @@
19871991
"description": "The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account."
19881992
},
19891993
"maxDegreeOfParallelismPerJob": {
1990-
"readOnly": true,
19911994
"type": "integer",
19921995
"format": "int32",
19931996
"minimum": 1,
@@ -2114,7 +2117,6 @@
21142117
],
21152118
"properties": {
21162119
"properties": {
2117-
"readOnly": true,
21182120
"x-ms-client-flatten": true,
21192121
"$ref": "#/definitions/DataLakeStoreAccountInformationProperties",
21202122
"description": "The Data Lake Store account properties."
@@ -2629,6 +2631,10 @@
26292631
"type": "string",
26302632
"description": "The name for OperationMetaMetricSpecification."
26312633
},
2634+
"displayDescription": {
2635+
"type": "string",
2636+
"description": "The displayName for OperationMetaMetricSpecification."
2637+
},
26322638
"displayName": {
26332639
"type": "string",
26342640
"description": "The displayName for OperationMetaMetricSpecification."

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
}
3030
}
3131
],
32+
"publicDataLakeStoreAccounts": [
33+
{
34+
"id": "test_adls_id",
35+
"name": "test_adls",
36+
"type": "test_type",
37+
"properties": {
38+
"suffix": "test_suffix"
39+
}
40+
}
41+
],
3242
"storageAccounts": [
3343
{
3444
"id": "test_storage_id",

0 commit comments

Comments
 (0)