Skip to content

Commit 22d279d

Browse files
dulikvorkayousef
authored andcommitted
OperationalInsights 2022-10-01: Changing retentionInDaysAsDefault to boolean. (Azure#21292)
* OperationalInsights: 2022-10-01 stable version * Actual changes. * More fixes. * more changes. * Removing redundant breaking change. * Workspace identity: referencing standard types. * Referencing managed identity standard type, refactoring booleans into enum. * Fixing examples. * Removing duplicate resource. * Update Workspaces.json * Update Clusters.json * Revert "Update Clusters.json" This reverts commit 4eb99cf. * Revert "Update Workspaces.json" This reverts commit c16bc82. * Returning to our identity implementation. * OperationalInsights 2022-10-01: Changing retentionInDaysAsDefault to boolean representation. * redundant comma. * redundant comma. * Adding missing example header. * Update TablesDelete.json
1 parent 46d7e57 commit 22d279d

File tree

5 files changed

+22
-52
lines changed

5 files changed

+22
-52
lines changed

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Tables.json

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -789,51 +789,13 @@
789789
},
790790
"retentionInDaysAsDefault": {
791791
"readOnly": true,
792-
"type": "string",
793-
"description": "True - Value originates from workspace retention in days, False - Customer specific.",
794-
"default": "True",
795-
"enum": [
796-
"True",
797-
"False"
798-
],
799-
"x-ms-enum": {
800-
"name": "retentionInDaysAsDefault",
801-
"modelAsString": true,
802-
"values": [
803-
{
804-
"value": "True",
805-
"description": "Value originates from workspace retention in days."
806-
},
807-
{
808-
"value": "False",
809-
"description": "Value is customer specific."
810-
}
811-
]
812-
}
792+
"type": "boolean",
793+
"description": "True - Value originates from workspace retention in days, False - Customer specific."
813794
},
814795
"totalRetentionInDaysAsDefault": {
815796
"readOnly": true,
816-
"type": "string",
817-
"description": "True - Value originates from retention in days, False - Customer specific.",
818-
"default": "True",
819-
"enum": [
820-
"True",
821-
"False"
822-
],
823-
"x-ms-enum": {
824-
"name": "totalRetentionInDaysAsDefault",
825-
"modelAsString": true,
826-
"values": [
827-
{
828-
"value": "True",
829-
"description": "Value originates from retention in days."
830-
},
831-
{
832-
"value": "False",
833-
"description": "Value is customer specific."
834-
}
835-
]
836-
}
797+
"type": "boolean",
798+
"description": "True - Value originates from retention in days, False - Customer specific."
837799
}
838800
},
839801
"description": "Table properties."

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesDelete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
},
99
"responses": {
1010
"200": {},
11-
"202": {},
11+
"202": {
12+
"headers": {
13+
"azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-10-01"
14+
}
15+
},
1216
"204": {}
1317
}
1418
}

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesGet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
"retentionInDays": 50,
111111
"totalRetentionInDays": 50,
112112
"archiveRetentionInDays": 0,
113-
"retentionInDaysAsDefault": "False",
114-
"totalRetentionInDaysAsDefault": "True",
113+
"retentionInDaysAsDefault": false,
114+
"totalRetentionInDaysAsDefault": true,
115115
"plan": "Analytics"
116116
},
117117
"id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_SRCH",

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesList.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@
166166
"retentionInDays": 45,
167167
"totalRetentionInDays": 70,
168168
"archiveRetentionInDays": 25,
169-
"retentionInDaysAsDefault": "False",
170-
"totalRetentionInDaysAsDefault": "False",
169+
"retentionInDaysAsDefault": false,
170+
"totalRetentionInDaysAsDefault": false,
171171
"plan": "Analytics"
172172
},
173173
"name": "AzureNetworkFlow",
@@ -240,8 +240,8 @@
240240
"retentionInDays": 30,
241241
"totalRetentionInDays": 30,
242242
"archiveRetentionInDays": 0,
243-
"retentionInDaysAsDefault": "False",
244-
"totalRetentionInDaysAsDefault": "True",
243+
"retentionInDaysAsDefault": false,
244+
"totalRetentionInDaysAsDefault": true,
245245
"plan": "Analytics"
246246
},
247247
"name": "SurfaceHubDns",

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesUpsert.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,18 @@
137137
"retentionInDays": 45,
138138
"totalRetentionInDays": 70,
139139
"archiveRetentionInDays": 25,
140-
"retentionInDaysAsDefault": "False",
141-
"totalRetentionInDaysAsDefault": "False",
140+
"retentionInDaysAsDefault": false,
141+
"totalRetentionInDaysAsDefault": false,
142142
"plan": "Analytics"
143143
},
144144
"id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow",
145145
"name": "AzureNetworkFlow"
146146
}
147147
},
148-
"202": {}
148+
"202": {
149+
"headers": {
150+
"azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-10-01"
151+
}
152+
}
149153
}
150154
}

0 commit comments

Comments
 (0)