diff --git a/Commands/storage/advanced-platform-metric/_create.md b/Commands/storage/advanced-platform-metric/_create.md new file mode 100644 index 000000000..31ec49036 --- /dev/null +++ b/Commands/storage/advanced-platform-metric/_create.md @@ -0,0 +1,26 @@ +# [Command] _storage advanced-platform-metric create_ + +Create the advanced platform metrics rule for the storage account. + +## Versions + +### [2026-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml) **Preview** + + + +#### examples + +- Create AllContainersFilter AdvancedPlatformMetric + ```bash + storage advanced-platform-metric create -g resource_group_name --account-name storage_account_name --enabled --rule-config-filter-type AllContainersFilter + ``` + +- Create ContainerPrefixFilter AdvancedPlatformMetric + ```bash + storage advanced-platform-metric create -g resource_group_name --account-name storage_account_name --enabled --rule-config-filter-type ContainerPrefixFilter --rule-config-filter-values logsprefix dataprefix + ``` + +- Create ContainerListFilter AdvancedPlatformMetric + ```bash + storage advanced-platform-metric create -g resource_group_name --account-name storage_account_name --enabled --rule-config-filter-type ContainerListFilter --rule-config-filter-values logs data + ``` diff --git a/Commands/storage/advanced-platform-metric/_delete.md b/Commands/storage/advanced-platform-metric/_delete.md new file mode 100644 index 000000000..dc95e7bd7 --- /dev/null +++ b/Commands/storage/advanced-platform-metric/_delete.md @@ -0,0 +1,16 @@ +# [Command] _storage advanced-platform-metric delete_ + +Delete the advanced platform metrics rule for the storage account by rule type. + +## Versions + +### [2026-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml) **Preview** + + + +#### examples + +- Delete advanced platform metrics rule + ```bash + storage advanced-platform-metric delete -g resource_group_name --account-name storage_account_name + ``` diff --git a/Commands/storage/advanced-platform-metric/_list.md b/Commands/storage/advanced-platform-metric/_list.md new file mode 100644 index 000000000..122d9265a --- /dev/null +++ b/Commands/storage/advanced-platform-metric/_list.md @@ -0,0 +1,16 @@ +# [Command] _storage advanced-platform-metric list_ + +List the advanced platform metrics rules associated with the storage account. + +## Versions + +### [2026-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.xml) **Preview** + + + +#### examples + +- List advanced platform metrics rules + ```bash + storage advanced-platform-metric list -g resource_group_name --account-name storage_account_name + ``` diff --git a/Commands/storage/advanced-platform-metric/_show.md b/Commands/storage/advanced-platform-metric/_show.md new file mode 100644 index 000000000..f56c57a69 --- /dev/null +++ b/Commands/storage/advanced-platform-metric/_show.md @@ -0,0 +1,16 @@ +# [Command] _storage advanced-platform-metric show_ + +Get the advanced platform metrics rule for the storage account by rule type. + +## Versions + +### [2026-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml) **Preview** + + + +#### examples + +- Get advanced platform metrics rule + ```bash + storage advanced-platform-metric show -g resource_group_name --account-name storage_account_name + ``` diff --git a/Commands/storage/advanced-platform-metric/_update.md b/Commands/storage/advanced-platform-metric/_update.md new file mode 100644 index 000000000..a92a27a41 --- /dev/null +++ b/Commands/storage/advanced-platform-metric/_update.md @@ -0,0 +1,16 @@ +# [Command] _storage advanced-platform-metric update_ + +Update the advanced platform metrics rule for the storage account. + +## Versions + +### [2026-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml) **Preview** + + + +#### examples + +- Update advanced platform metrics rule + ```bash + storage advanced-platform-metric update -g resource_group_name --account-name storage_account_name --enabled --rule-config-filter-type AllContainersFilter + ``` diff --git a/Commands/storage/advanced-platform-metric/readme.md b/Commands/storage/advanced-platform-metric/readme.md new file mode 100644 index 000000000..58ac320be --- /dev/null +++ b/Commands/storage/advanced-platform-metric/readme.md @@ -0,0 +1,20 @@ +# [Group] _storage advanced-platform-metric_ + +Manage Advanced Platform Metric + +## Commands + +- [create](/Commands/storage/advanced-platform-metric/_create.md) +: Create the advanced platform metrics rule for the storage account. + +- [delete](/Commands/storage/advanced-platform-metric/_delete.md) +: Delete the advanced platform metrics rule for the storage account by rule type. + +- [list](/Commands/storage/advanced-platform-metric/_list.md) +: List the advanced platform metrics rules associated with the storage account. + +- [show](/Commands/storage/advanced-platform-metric/_show.md) +: Get the advanced platform metrics rule for the storage account by rule type. + +- [update](/Commands/storage/advanced-platform-metric/_update.md) +: Update the advanced platform metrics rule for the storage account. diff --git a/Commands/storage/readme.md b/Commands/storage/readme.md index 6a82826c8..b7582b797 100644 --- a/Commands/storage/readme.md +++ b/Commands/storage/readme.md @@ -7,6 +7,9 @@ Manage Azure Cloud Storage resources. - [account](/Commands/storage/account/readme.md) : Manage storage accounts. +- [advanced-platform-metric](/Commands/storage/advanced-platform-metric/readme.md) +: Manage Advanced Platform Metric + - [blob](/Commands/storage/blob/readme.md) : Manage object storage for unstructured data (blobs). diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.json new file mode 100644 index 000000000..36ae4e4f8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcw==/V/MjAyNi0wNC0wMQ=="}], "commandGroups": [{"name": "storage advanced-platform-metric", "commands": [{"name": "list", "version": "2026-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcw==/V/MjAyNi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AdvancedPlatformMetrics_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}/advancedPlatformMetrics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "metricsEmitted", "item": {"type": "string", "enum": {"items": [{"value": "ContainerBlobCount"}, {"value": "ContainerUsedSize"}]}}}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "item": {"type": "string"}}]}, {"readOnly": true, "type": "string", "name": "ruleType", "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.xml new file mode 100644 index 000000000..e8a6315d4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcw==/2026-04-01.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.json new file mode 100644 index 000000000..c685f7070 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics/{}", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcy97YWR2YW5jZWRQbGF0Zm9ybU1ldHJpY3NSdWxlVHlwZX0=/V/MjAyNi0wNC0wMQ=="}], "commandGroups": [{"name": "storage advanced-platform-metric", "commands": [{"name": "show", "version": "2026-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics/{}", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcy97YWR2YW5jZWRQbGF0Zm9ybU1ldHJpY3NSdWxlVHlwZX0=/V/MjAyNi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "var": "$Path.advancedPlatformMetricsRuleType", "options": ["n", "name", "advanced-platform-metrics-rule-type"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The type of the advanced platform metrics rule."}, "default": {"value": "ContainerLevelCapacityMetrics"}, "enum": {"items": [{"name": "ContainerLevelCapacityMetrics", "value": "ContainerLevelCapacityMetrics"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AdvancedPlatformMetrics_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics/{advancedPlatformMetricsRuleType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "advancedPlatformMetricsRuleType", "arg": "$Path.advancedPlatformMetricsRuleType", "required": true, "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}/advancedPlatformMetrics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "metricsEmitted", "item": {"type": "string", "enum": {"items": [{"value": "ContainerBlobCount"}, {"value": "ContainerUsedSize"}]}}}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "item": {"type": "string"}}]}, {"readOnly": true, "type": "string", "name": "ruleType", "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics/{}", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcy97YWR2YW5jZWRQbGF0Zm9ybU1ldHJpY3NSdWxlVHlwZX0=/V/MjAyNi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "var": "$Path.advancedPlatformMetricsRuleType", "options": ["n", "name", "advanced-platform-metrics-rule-type"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The type of the advanced platform metrics rule."}, "default": {"value": "ContainerLevelCapacityMetrics"}, "enum": {"items": [{"name": "ContainerLevelCapacityMetrics", "value": "ContainerLevelCapacityMetrics"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AdvancedPlatformMetrics_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics/{advancedPlatformMetricsRuleType}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "advancedPlatformMetricsRuleType", "arg": "$Path.advancedPlatformMetricsRuleType", "required": true, "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics/{}", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcy97YWR2YW5jZWRQbGF0Zm9ybU1ldHJpY3NSdWxlVHlwZX0=/V/MjAyNi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "var": "$Path.advancedPlatformMetricsRuleType", "options": ["n", "name", "advanced-platform-metrics-rule-type"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The type of the advanced platform metrics rule."}, "default": {"value": "ContainerLevelCapacityMetrics"}, "enum": {"items": [{"name": "ContainerLevelCapacityMetrics", "value": "ContainerLevelCapacityMetrics"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$resource.properties.enabled", "options": ["enabled"], "group": "Properties", "help": {"short": "A boolean flag which enables the advanced platform metrics rule."}}]}, {"name": "RuleConfig", "args": [{"type": "string", "var": "$resource.properties.ruleConfig.filterType", "options": ["filter-type", "rule-config-filter-type"], "group": "RuleConfig", "help": {"short": "The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter."}, "enum": {"items": [{"name": "AllContainersFilter", "value": "AllContainersFilter"}, {"name": "ContainerListFilter", "value": "ContainerListFilter"}, {"name": "ContainerPrefixFilter", "value": "ContainerPrefixFilter"}]}}, {"type": "array", "var": "$resource.properties.ruleConfig.filterValues", "options": ["filter-values", "rule-config-filter-values"], "group": "RuleConfig", "help": {"short": "The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names."}, "item": {"type": "string"}}]}], "operations": [{"operationId": "AdvancedPlatformMetrics_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics/{advancedPlatformMetricsRuleType}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "advancedPlatformMetricsRuleType", "arg": "$Path.advancedPlatformMetricsRuleType", "required": true, "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "arg": "$resource.properties.enabled", "required": true}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "arg": "$resource.properties.ruleConfig.filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "arg": "$resource.properties.ruleConfig.filterValues", "item": {"type": "string"}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}/advancedPlatformMetrics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "metricsEmitted", "item": {"type": "string", "enum": {"items": [{"value": "ContainerBlobCount"}, {"value": "ContainerUsedSize"}]}}}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "item": {"type": "string"}}]}, {"readOnly": true, "type": "string", "name": "ruleType", "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/advancedplatformmetrics/{}", "version": "2026-04-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9hZHZhbmNlZFBsYXRmb3JtTWV0cmljcy97YWR2YW5jZWRQbGF0Zm9ybU1ldHJpY3NSdWxlVHlwZX0=/V/MjAyNi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "var": "$Path.advancedPlatformMetricsRuleType", "options": ["n", "name", "advanced-platform-metrics-rule-type"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The type of the advanced platform metrics rule."}, "enum": {"items": [{"name": "ContainerLevelCapacityMetrics", "value": "ContainerLevelCapacityMetrics"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$resource.properties.enabled", "options": ["enabled"], "group": "Properties", "help": {"short": "A boolean flag which enables the advanced platform metrics rule."}}]}, {"name": "RuleConfig", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.ruleConfig.filterType", "options": ["filter-type", "rule-config-filter-type"], "group": "RuleConfig", "help": {"short": "The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter."}, "enum": {"items": [{"name": "AllContainersFilter", "value": "AllContainersFilter"}, {"name": "ContainerListFilter", "value": "ContainerListFilter"}, {"name": "ContainerPrefixFilter", "value": "ContainerPrefixFilter"}]}}, {"nullable": true, "type": "array", "var": "$resource.properties.ruleConfig.filterValues", "options": ["filter-values", "rule-config-filter-values"], "group": "RuleConfig", "help": {"short": "The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names."}, "item": {"nullable": true, "type": "string"}}]}], "operations": [{"operationId": "AdvancedPlatformMetrics_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics/{advancedPlatformMetricsRuleType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "advancedPlatformMetricsRuleType", "arg": "$Path.advancedPlatformMetricsRuleType", "required": true, "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}/advancedPlatformMetrics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "metricsEmitted", "item": {"type": "string", "enum": {"items": [{"value": "ContainerBlobCount"}, {"value": "ContainerUsedSize"}]}}}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "item": {"type": "string"}}]}, {"readOnly": true, "type": "string", "name": "ruleType", "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AdvancedPlatformMetricsRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "enabled", "arg": "$resource.properties.enabled", "required": true}, {"type": "object", "name": "ruleConfig", "required": true, "props": [{"type": "string", "name": "filterType", "arg": "$resource.properties.ruleConfig.filterType", "enum": {"items": [{"value": "AllContainersFilter"}, {"value": "ContainerListFilter"}, {"value": "ContainerPrefixFilter"}]}}, {"type": "array", "name": "filterValues", "arg": "$resource.properties.ruleConfig.filterValues", "item": {"type": "string"}}]}]}], "clientFlatten": true}}}}, {"operationId": "AdvancedPlatformMetrics_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/advancedPlatformMetrics/{advancedPlatformMetricsRuleType}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "advancedPlatformMetricsRuleType", "arg": "$Path.advancedPlatformMetricsRuleType", "required": true, "enum": {"items": [{"value": "ContainerLevelCapacityMetrics"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@AdvancedPlatformMetricsRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml new file mode 100644 index 000000000..c9ba4f4a0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9hZHZhbmNlZHBsYXRmb3JtbWV0cmljcy97fQ==/2026-04-01.xml @@ -0,0 +1,549 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +