Skip to content

Commit 172aec2

Browse files
committed
update
1 parent b652a47 commit 172aec2

File tree

8 files changed

+4400
-552
lines changed

8 files changed

+4400
-552
lines changed

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_get_customdomainverificationid_e2e.yaml

Lines changed: 4165 additions & 296 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/log_analytics/cluster/_create.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
134134
help="The cluster's billing type.",
135135
enum={"Cluster": "Cluster", "Workspaces": "Workspaces"},
136136
)
137-
_args_schema.is_availability_zones_enabled = AAZBoolArg(
138-
options=["--is-availability-zones-enabled"],
139-
arg_group="Properties",
140-
help="Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.",
141-
)
142137

143138
# define Arg Group "Replication"
144139

@@ -148,11 +143,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
148143
arg_group="Replication",
149144
help="Specifies whether the replication is enabled or not. When true the cluster is replicate to the specified location.",
150145
)
151-
_args_schema.replication_is_availability_zones_enabled = AAZBoolArg(
152-
options=["--replication-is-availability-zones-enabled"],
153-
arg_group="Replication",
154-
help="Should enable AvailabilityZones for the given replicated cluster",
155-
)
156146
_args_schema.replication_location = AAZStrArg(
157147
options=["--replication-location"],
158148
arg_group="Replication",
@@ -301,7 +291,6 @@ def content(self):
301291
properties = _builder.get(".properties")
302292
if properties is not None:
303293
properties.set_prop("billingType", AAZStrType, ".billing_type")
304-
properties.set_prop("isAvailabilityZonesEnabled", AAZBoolType, ".is_availability_zones_enabled")
305294
properties.set_prop("keyVaultProperties", AAZObjectType)
306295
properties.set_prop("replication", AAZObjectType)
307296

@@ -315,7 +304,6 @@ def content(self):
315304
replication = _builder.get(".properties.replication")
316305
if replication is not None:
317306
replication.set_prop("enabled", AAZBoolType, ".replication_enabled")
318-
replication.set_prop("isAvailabilityZonesEnabled", AAZBoolType, ".replication_is_availability_zones_enabled")
319307
replication.set_prop("location", AAZStrType, ".replication_location")
320308

321309
sku = _builder.get(".sku")

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/log_analytics/cluster/_update.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
134134
nullable=True,
135135
enum={"Cluster": "Cluster", "Workspaces": "Workspaces"},
136136
)
137-
_args_schema.is_availability_zones_enabled = AAZBoolArg(
138-
options=["--is-availability-zones-enabled"],
139-
arg_group="Properties",
140-
help="Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.",
141-
nullable=True,
142-
)
143137

144138
# define Arg Group "Replication"
145139

@@ -150,12 +144,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
150144
help="Specifies whether the replication is enabled or not. When true the cluster is replicate to the specified location.",
151145
nullable=True,
152146
)
153-
_args_schema.replication_is_availability_zones_enabled = AAZBoolArg(
154-
options=["--replication-is-availability-zones-enabled"],
155-
arg_group="Replication",
156-
help="Should enable AvailabilityZones for the given replicated cluster",
157-
nullable=True,
158-
)
159147

160148
# define Arg Group "Sku"
161149

@@ -421,7 +409,6 @@ def _update_instance(self, instance):
421409
properties = _builder.get(".properties")
422410
if properties is not None:
423411
properties.set_prop("billingType", AAZStrType, ".billing_type")
424-
properties.set_prop("isAvailabilityZonesEnabled", AAZBoolType, ".is_availability_zones_enabled")
425412
properties.set_prop("keyVaultProperties", AAZObjectType)
426413
properties.set_prop("replication", AAZObjectType)
427414

@@ -435,7 +422,6 @@ def _update_instance(self, instance):
435422
replication = _builder.get(".properties.replication")
436423
if replication is not None:
437424
replication.set_prop("enabled", AAZBoolType, ".replication_enabled")
438-
replication.set_prop("isAvailabilityZonesEnabled", AAZBoolType, ".replication_is_availability_zones_enabled")
439425

440426
sku = _builder.get(".sku")
441427
if sku is not None:

src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_diagnostic_settings_marketplace_id.yaml

Lines changed: 131 additions & 144 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_log_analytics_workspace_data_collection_rules.yaml

Lines changed: 25 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,23 @@ interactions:
1515
User-Agent:
1616
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
1717
method: GET
18-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1?api-version=2025-02-01
18+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1?api-version=2023-09-01
1919
response:
2020
body:
21-
string: '{"properties":{"customerId":"2e1a28c6-23b6-49d4-8efe-ea0d2e8ea0eb","provisioningState":"Succeeded","sku":{"name":"CapacityReservation","capacityReservationLevel":100,"lastSkuUpdate":"2025-05-08T11:12:13.8982941Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2025-05-08T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2025-05-08T11:12:13.8982941Z","modifiedDate":"2025-05-08T11:12:28.7123482Z"},"location":"westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1","name":"wsn1","type":"Microsoft.OperationalInsights/workspaces","etag":"\"ed04f172-0000-0700-0000-681c919c0000\""}'
21+
string: '{"properties":{"customerId":"d8cd7529-0c44-4d52-ac05-79a617c0a2f4","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-16T06:13:02.4926861Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2024-04-16T13:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-16T06:13:02.4926861Z","modifiedDate":"2024-04-16T07:22:37.758097Z","defaultDataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.Insights/dataCollectionRules/rule11"},"location":"westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1","name":"wsn1","type":"Microsoft.OperationalInsights/workspaces","etag":"\"0601c95e-0000-0700-0000-661e273e0000\""}'
2222
headers:
2323
access-control-allow-origin:
2424
- '*'
2525
api-supported-versions:
26-
- 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2023-09-01, 2025-02-01,
27-
2025-04-01
26+
- 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2023-09-01
2827
cache-control:
2928
- no-cache
3029
content-length:
31-
- '896'
30+
- '1024'
3231
content-type:
3332
- application/json; charset=utf-8
3433
date:
35-
- Thu, 08 May 2025 11:13:31 GMT
34+
- Tue, 16 Apr 2024 08:17:30 GMT
3635
expires:
3736
- '-1'
3837
pragma:
@@ -45,20 +44,17 @@ interactions:
4544
- CONFIG_NOCACHE
4645
x-content-type-options:
4746
- nosniff
48-
x-ms-ratelimit-remaining-subscription-global-reads:
49-
- '3749'
5047
x-msedge-ref:
51-
- 'Ref A: E985CB39224A4032B97ECDA834F4F1C4 Ref B: TYO201100115049 Ref C: 2025-05-08T11:13:31Z'
48+
- 'Ref A: E83E377EC76945CA880D8E3BA1235609 Ref B: MAA201060516019 Ref C: 2024-04-16T08:17:30Z'
5249
status:
5350
code: 200
5451
message: OK
5552
- request:
56-
body: '{"etag": "\"ed04f172-0000-0700-0000-681c919c0000\"", "location": "westus",
53+
body: '{"etag": "\"0601c95e-0000-0700-0000-661e273e0000\"", "location": "westus",
5754
"properties": {"defaultDataCollectionRuleResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.Insights/dataCollectionRules/rule11",
58-
"features": {"legacy": 0, "searchVersion": 1, "enableLogAccessUsingOnlyResourcePermissions":
59-
true}, "publicNetworkAccessForIngestion": "Enabled", "publicNetworkAccessForQuery":
60-
"Enabled", "retentionInDays": 30, "sku": {"capacityReservationLevel": 100, "name":
61-
"CapacityReservation"}, "workspaceCapping": {"dailyQuotaGb": 1.0}}}'
55+
"features": {"enableLogAccessUsingOnlyResourcePermissions": true}, "publicNetworkAccessForIngestion":
56+
"Enabled", "publicNetworkAccessForQuery": "Enabled", "retentionInDays": 30,
57+
"sku": {"name": "PerGB2018"}, "workspaceCapping": {"dailyQuotaGb": 1.0}}}'
6258
headers:
6359
Accept:
6460
- application/json
@@ -69,55 +65,48 @@ interactions:
6965
Connection:
7066
- keep-alive
7167
Content-Length:
72-
- '589'
68+
- '513'
7369
Content-Type:
7470
- application/json
7571
ParameterSetName:
7672
- -g -n --data-collection-rule
7773
User-Agent:
78-
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
74+
- AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0)
7975
method: PUT
80-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1?api-version=2025-02-01
76+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1?api-version=2023-09-01
8177
response:
8278
body:
83-
string: '{"error":{"code":"DataCollectionRuleDestinationIsInvalid","message":"This
84-
workspace is missing from data collection rule /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.Insights/dataCollectionRules/rule11
85-
destination list. Operation Id: ''2b6b23e739faf41777533a319057453e''"}}'
79+
string: '{"properties":{"customerId":"d8cd7529-0c44-4d52-ac05-79a617c0a2f4","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-16T06:13:02.4926861Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":1.0,"quotaNextResetTime":"2024-04-16T13:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-16T06:13:02.4926861Z","modifiedDate":"2024-04-16T08:17:32.048614Z","defaultDataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.Insights/dataCollectionRules/rule11"},"location":"westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tbtest/providers/Microsoft.OperationalInsights/workspaces/wsn1","name":"wsn1","type":"Microsoft.OperationalInsights/workspaces","etag":"\"0601fdf0-0000-0700-0000-661e341c0000\""}'
8680
headers:
8781
access-control-allow-origin:
8882
- '*'
8983
api-supported-versions:
90-
- 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2023-09-01, 2025-02-01,
91-
2025-04-01
84+
- 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2023-09-01
9285
cache-control:
93-
- no-store, no-cache
86+
- no-cache
9487
content-length:
95-
- '320'
88+
- '1024'
9689
content-type:
97-
- application/json
90+
- application/json; charset=utf-8
9891
date:
99-
- Thu, 08 May 2025 11:13:32 GMT
100-
diagnostic-context:
101-
- 2b6b23e739faf41777533a319057453e
92+
- Tue, 16 Apr 2024 08:17:32 GMT
10293
expires:
10394
- '-1'
10495
pragma:
10596
- no-cache
97+
request-context:
98+
- appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508
10699
strict-transport-security:
107100
- max-age=31536000; includeSubDomains
108101
x-cache:
109102
- CONFIG_NOCACHE
110103
x-content-type-options:
111104
- nosniff
112-
x-ms-operation-identifier:
113-
- tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=cded80ac-7840-4070-a783-db73a7c3ee4c/japaneast/589a3d59-7c87-414b-81c9-fa8af7803e17
114-
x-ms-ratelimit-remaining-subscription-global-writes:
115-
- '2999'
116105
x-ms-ratelimit-remaining-subscription-writes:
117-
- '199'
106+
- '1199'
118107
x-msedge-ref:
119-
- 'Ref A: 0DA8556A7EDA46CC8784A00853225CC7 Ref B: TYO201100115049 Ref C: 2025-05-08T11:13:32Z'
108+
- 'Ref A: 37B808574EF042989D83DA5698810D22 Ref B: MAA201060516019 Ref C: 2024-04-16T08:17:31Z'
120109
status:
121-
code: 400
122-
message: Bad Request
110+
code: 200
111+
message: OK
123112
version: 1

0 commit comments

Comments
 (0)