Skip to content

Commit

Permalink
Remove flatten attribute to fix conflict for CLI generation tool (Azu…
Browse files Browse the repository at this point in the history
…re#29276)

* Remove flatten attribute to fix conflict for CLI generation tool
* Create sdk-suppressions.yaml
  • Loading branch information
TalFrankel authored Jul 1, 2024
1 parent abad009 commit be978e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DefenderForStorageSettingProperties"
}
},
Expand All @@ -144,11 +143,9 @@
"description": "Indicates whether Defender for Storage is enabled on this storage account."
},
"malwareScanning": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/MalwareScanningProperties"
},
"sensitiveDataDiscovery": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/SensitiveDataDiscoveryProperties"
},
"overrideSubscriptionLevelSettings": {
Expand All @@ -162,7 +159,6 @@
"type": "object",
"properties": {
"onUpload": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/OnUploadProperties"
},
"scanResultsEventGridTopicResourceId": {
Expand Down
12 changes: 12 additions & 0 deletions specification/security/resource-manager/sdk-suppressions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
suppressions:
azure-sdk-for-python:
- package: azure-mgmt-security
breaking-changes:
- Model DefenderForStorageSetting no longer has parameter cap_gb_per_month
- Model DefenderForStorageSetting no longer has parameter is_enabled_properties_is_enabled
- Model DefenderForStorageSetting no longer has parameter is_enabled_properties_malware_scanning_on_upload_is_enabled
- Model DefenderForStorageSetting no longer has parameter is_enabled_properties_sensitive_data_discovery_is_enabled
- Model DefenderForStorageSetting no longer has parameter operation_status_properties_malware_scanning_operation_status
- Model DefenderForStorageSetting no longer has parameter operation_status_properties_sensitive_data_discovery_operation_status
- Model DefenderForStorageSetting no longer has parameter override_subscription_level_settings
- Model DefenderForStorageSetting no longer has parameter scan_results_event_grid_topic_resource_id

0 comments on commit be978e5

Please sign in to comment.