From 435dc8996dba77db55ca0c92a4abd94ecfb98979 Mon Sep 17 00:00:00 2001 From: lawrencegripper Date: Mon, 3 Feb 2025 17:06:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Update=20ARM=20Specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../expanders/swagger-armspecs.generated.go | 159 +-- .../costmanagement.pricesheets.json | 5 + .../2018-01-01/GeneratedSystemEvents.json | 10 +- .../stable/2023-04-01/Maintenance.json | 6 +- .../Weather/stable/1.1/weather.json | 18 +- .../{2024-07-01 => 2024-09-01}/netapp.json | 306 ++++- .../netapp/resource-manager/api-set.json | 2 +- .../stable/2024-09-01/SourceControls.json | 4 +- .../stable/2023-01-01/storageactions.json | 1098 ----------------- .../resource-manager/api-set.json | 1 - 10 files changed, 398 insertions(+), 1211 deletions(-) rename swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/{2024-07-01 => 2024-09-01}/netapp.json (96%) delete mode 100644 swagger-specs/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json delete mode 100644 swagger-specs/storageactions/resource-manager/api-set.json diff --git a/internal/pkg/expanders/swagger-armspecs.generated.go b/internal/pkg/expanders/swagger-armspecs.generated.go index a62797d18..c0c38e6b2 100644 --- a/internal/pkg/expanders/swagger-armspecs.generated.go +++ b/internal/pkg/expanders/swagger-armspecs.generated.go @@ -13302,78 +13302,78 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { }, { Display: "operations", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.NetApp/operations", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.NetApp/operations", "2024-09-01"), }, { Display: "quotaLimits", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{quotaLimitName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}", "2024-09-01"), }}, }, { Display: "regionInfo", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo", "2024-09-01"), }, { Display: "regionInfos", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "default", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default", "2024-09-01"), }}, }, { Display: "netAppAccounts", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts", "2024-09-01"), }, { Display: "netAppAccounts", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{accountName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "backupPolicies", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{backupPolicyName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-09-01"), }}, }, { Display: "backupVaults", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{backupVaultName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "backups", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{backupName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-09-01"), Children: []swagger.ResourceType{}, }}, }}, @@ -13381,74 +13381,74 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { }, { Display: "capacityPools", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{poolName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "volumes", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{volumeName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "current", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current", "2024-09-01"), }, { Display: "current", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current", "2024-09-01"), }, { Display: "replicationStatus", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus", "2024-09-01"), }, { Display: "snapshots", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{snapshotName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-09-01"), Children: []swagger.ResourceType{}, }}, }, { Display: "subvolumes", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{subvolumeName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-09-01"), Children: []swagger.ResourceType{}, }}, }, { Display: "volumeQuotaRules", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{volumeQuotaRuleName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-09-01"), }}, }}, }}, @@ -13457,30 +13457,30 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { }, { Display: "snapshotPolicies", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{snapshotPolicyName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-09-01"), + PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-09-01"), Children: []swagger.ResourceType{ { Display: "volumes", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes", "2024-09-01"), }}, }}, }, { Display: "volumeGroups", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups", "2024-09-01"), SubResources: []swagger.ResourceType{ { Display: "{volumeGroupName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"), + Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-09-01"), + DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-09-01"), + PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-09-01"), }}, }}, }}, @@ -17253,10 +17253,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { Display: "storageAccounts", Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts", "2023-05-01"), }, - { - Display: "storageTasks", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/storageTasks", "2023-01-01"), - }, { Display: "amlFilesystems", Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems", "2024-03-01"), @@ -21157,27 +21153,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { }}, }}, }, - { - Display: "storageTasks", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks", "2023-01-01"), - SubResources: []swagger.ResourceType{ - { - Display: "{storageTaskName}", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}", "2023-01-01"), - DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}", "2023-01-01"), - PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}", "2023-01-01"), - PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}", "2023-01-01"), - Children: []swagger.ResourceType{ - { - Display: "reports", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/reports", "2023-01-01"), - }, - { - Display: "storageTaskAssignments", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/storageTaskAssignments", "2023-01-01"), - }}, - }}, - }, { Display: "{operationId}", Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}", "2024-03-01"), @@ -24123,10 +24098,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType { Display: "operations", Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Storage/operations", "2023-05-01"), }, - { - Display: "operations", - Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.StorageActions/operations", "2023-01-01"), - }, { Display: "operations", Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.StorageCache/operations", "2024-03-01"), diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json index e776aa981..25d200119 100644 --- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json +++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json @@ -335,6 +335,11 @@ "type": "string", "readOnly": true }, + "meterId": { + "description": "Unique identifier of the meter ", + "type": "string", + "readOnly": true + }, "meterName": { "description": "Name of the meter. The meter represents the deployable resource of an Azure service.", "type": "string", diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json index 80d3cc641..8c65c2713 100644 --- a/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json +++ b/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json @@ -6165,7 +6165,9 @@ } }, "required": [ - "geometries" + "expiredGeofenceGeometryId", + "geometries", + "invalidPeriodGeofenceGeometryId" ] }, "MapsGeofenceExitedEventData": { @@ -6208,7 +6210,11 @@ "type": "string", "description": "The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API." } - } + }, + "required": [ + "deviceId", + "geometryId" + ] }, "MapsGeofenceResultEventData": { "type": "object", diff --git a/swagger-specs/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json b/swagger-specs/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json index 344528944..ac2d36748 100644 --- a/swagger-specs/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json +++ b/swagger-specs/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json @@ -1473,7 +1473,7 @@ "tags": [ "ConfigurationAssignments" ], - "summary": "Get configuration assignment within a subscription. This API is not implemented yet.", + "summary": "[UNSUPPORTED] Get configuration assignment within a subscription. This API is not implemented yet.", "operationId": "ConfigurationAssignmentsWithinSubscription_List", "consumes": [], "produces": [ @@ -1516,8 +1516,8 @@ "tags": [ "ConfigurationAssignments" ], - "summary": "Get configuration assignment", - "description": "Get configuration assignment for resource..", + "summary": "[UNSUPPORTED] Get configuration assignment. This API is not implemented yet.", + "description": "Get configuration assignment for resource.", "operationId": "ConfigurationAssignmentsForSubscriptions_Get", "consumes": [ "application/json" diff --git a/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json b/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json index cea6c4b5c..f7286f56d 100644 --- a/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json +++ b/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json @@ -2292,27 +2292,27 @@ "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past hour." }, - "pastThreeHours": { + "past3Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past three hours." }, - "pastSixHours": { + "past6Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past six hours. Contains Metric and Imperial Values." }, - "pastNineHours": { + "past9Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past nine hours." }, - "pastTwelveHours": { + "past12Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past 12 hours." }, - "pastEighteenHours": { + "past18Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past 18 hours." }, - "pastTwentyFourHours": { + "past24Hours": { "$ref": "#/definitions/WeatherUnit", "description": "The amount of precipitation (liquid equivalent) that has fallen in the past 24 hours." } @@ -2335,15 +2335,15 @@ "TemperatureSummary": { "type": "object", "properties": { - "pastSixHours": { + "past6Hours": { "$ref": "#/definitions/PastHoursTemperature", "description": "Summary of temperature fluctuations over the past 6 hours." }, - "pastTwelveHours": { + "past12Hours": { "$ref": "#/definitions/PastHoursTemperature", "description": "Summary of temperature fluctuations over the past 12 hours." }, - "pastTwentyFourHours": { + "past24Hours": { "$ref": "#/definitions/PastHoursTemperature", "description": "Summary of temperature fluctuations over the past 24 hours." } diff --git a/swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/netapp.json b/swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-09-01/netapp.json similarity index 96% rename from swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/netapp.json rename to swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-09-01/netapp.json index ca19a1bf0..0edfc3fa4 100644 --- a/swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/netapp.json +++ b/swagger-specs/netapp/resource-manager/Microsoft.NetApp/stable/2024-09-01/netapp.json @@ -3,7 +3,7 @@ "info": { "title": "Microsoft NetApp", "description": "Microsoft NetApp Azure Resource Provider specification", - "version": "2024-07-01", + "version": "2024-09-01", "x-ms-code-generation-settings": { "name": "AzureNetAppFilesManagementClient" } @@ -886,6 +886,171 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk": { + "post": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_TransitionToCmk", + "summary": "Transition volumes encryption from PMK to CMK.", + "description": "Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "The required parameters to perform encryption transition.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/encryptionTransitionRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Accounts_MigrateEncryptionKey": { + "$ref": "examples/Accounts_TransitionEncryptionKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus": { + "post": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_GetChangeKeyVaultInformation", + "summary": "Get information about how volumes under NetApp account are encrypted.", + "description": "Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Accounts_GetChangeKeyVaultInformation": { + "$ref": "examples/Accounts_GetChangeKeyVaultInformation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault": { + "post": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_ChangeKeyVault", + "summary": "Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.", + "description": "Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "The required parameters to perform encryption migration.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/changeKeyVault" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Accounts_ChangeKeyVault": { + "$ref": "examples/Accounts_ChangeKeyVault.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { "get": { "summary": "Describe all Capacity Pools", @@ -6894,6 +7059,9 @@ "coolAccessRetrievalPolicy": { "$ref": "#/definitions/coolAccessRetrievalPolicy" }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/coolAccessTieringPolicy" + }, "unixPermissions": { "type": "string", "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.", @@ -7532,6 +7700,9 @@ "coolAccessRetrievalPolicy": { "$ref": "#/definitions/coolAccessRetrievalPolicy" }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/coolAccessTieringPolicy" + }, "snapshotDirectoryVisible": { "type": "boolean", "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots." @@ -9143,6 +9314,44 @@ "modelAsString": false } }, + "encryptionTransitionRequest": { + "description": "Encryption transition request", + "type": "object", + "required": [ + "virtualNetworkId", + "privateEndpointId" + ], + "properties": { + "virtualNetworkId": { + "title": "virtualNetworkId", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + }, + "description": "Identifier for the virtual network", + "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "privateEndpointId": { + "title": "privateEndpointId", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + }, + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privateIP1" + } + } + }, "coolAccessRetrievalPolicy": { "type": "string", "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: \n Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\n OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\n Never - No client-driven data is pulled from cool tier to standard storage.", @@ -9156,6 +9365,18 @@ "modelAsString": true } }, + "coolAccessTieringPolicy": { + "type": "string", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.", + "enum": [ + "Auto", + "SnapshotOnly" + ], + "x-ms-enum": { + "name": "coolAccessTieringPolicy", + "modelAsString": true + } + }, "clusterPeerCommandResponse": { "description": "Information about cluster peering process", "type": "object", @@ -9650,6 +9871,89 @@ "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" } } + }, + "changeKeyVault": { + "description": "Change key vault request", + "type": "object", + "required": [ + "keyVaultUri", + "keyName", + "keyVaultPrivateEndpoints" + ], + "properties": { + "keyVaultUri": { + "title": "keyVaultUri", + "description": "The URI of the key vault/managed HSM that should be used for encryption.", + "type": "string", + "example": "https://my-key-vault.managedhsm.azure.net" + }, + "keyName": { + "title": "keyName", + "description": "The name of the key that should be used for encryption.", + "type": "string", + "example": "rsaKeyName" + }, + "keyVaultResourceId": { + "title": "keyVaultResourceId", + "description": "Azure resource ID of the key vault/managed HSM that should be used for encryption.", + "type": "string", + "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultPrivateEndpoints": { + "title": "keyVaultPrivateEndpoints", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/keyVaultPrivateEndpoint" + }, + "x-ms-identifiers": [ + "virtualNetworkId" + ] + } + } + }, + "keyVaultPrivateEndpoint": { + "title": "keyVaultPrivateEndpoint", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "type": "object", + "properties": { + "virtualNetworkId": { + "title": "virtualNetworkId", + "type": "string", + "description": "Identifier for the virtual network id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + }, + "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "privateEndpointId": { + "title": "privateEndpointId", + "type": "string", + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + }, + "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privateIP1" + } + } } }, "parameters": { diff --git a/swagger-specs/netapp/resource-manager/api-set.json b/swagger-specs/netapp/resource-manager/api-set.json index dae3c6c71..abc0489d8 100644 --- a/swagger-specs/netapp/resource-manager/api-set.json +++ b/swagger-specs/netapp/resource-manager/api-set.json @@ -1 +1 @@ -{"addition_input_file_paths": [], "input_files": ["Microsoft.NetApp/stable/2024-07-01/netapp.json"], "name": "package-2024-07"} \ No newline at end of file +{"addition_input_file_paths": [], "input_files": ["Microsoft.NetApp/stable/2024-09-01/netapp.json"], "name": "package-2024-09-01"} \ No newline at end of file diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json index 58284b547..4bd7d4591 100644 --- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json +++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json @@ -677,7 +677,7 @@ "ContentType": { "description": "The content type of a source control path.", "enum": [ - "AnalyticRule", + "AnalyticsRule", "AutomationRule", "HuntingQuery", "Parser", @@ -690,7 +690,7 @@ "name": "ContentType", "values": [ { - "value": "AnalyticRule" + "value": "AnalyticsRule" }, { "value": "AutomationRule" diff --git a/swagger-specs/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json b/swagger-specs/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json deleted file mode 100644 index 5a007ac94..000000000 --- a/swagger-specs/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json +++ /dev/null @@ -1,1098 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "StorageActionsManagementClient", - "description": "The Azure Storage Actions Management API.", - "version": "2023-01-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.StorageActions/operations": { - "get": { - "tags": [ - "Storage Actions Operations" - ], - "description": "Lists all of the available Storage Actions Rest API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "OperationsList": { - "$ref": "./examples/misc/OperationsList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}": { - "put": { - "tags": [ - "StorageTasks" - ], - "description": "Asynchronously creates a new storage task resource with the specified parameters. If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated. If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", - "operationId": "StorageTasks_Create", - "x-ms-examples": { - "PutStorageTask": { - "$ref": "./examples/storageTasksCrud/PutStorageTask.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageTask" - }, - "description": "The parameters to create a Storage Task." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update storage task with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/StorageTask" - } - }, - "201": { - "description": "OK -- Create storage task with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/StorageTask" - } - }, - "202": { - "description": "Accepted -- Create or update request accepted; operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "delete": { - "tags": [ - "StorageTasks" - ], - "description": "Delete the storage task resource.", - "operationId": "StorageTasks_Delete", - "x-ms-examples": { - "DeleteStorageTask": { - "$ref": "./examples/storageTasksCrud/DeleteStorageTask.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "NoContent -- specified storage task does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "StorageTasks" - ], - "description": "Get the storage task properties", - "operationId": "StorageTasks_Get", - "x-ms-examples": { - "GetStorageTask": { - "$ref": "./examples/storageTasksCrud/GetStorageTask.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- properties retrieved successfully for the storage task.", - "schema": { - "$ref": "#/definitions/StorageTask" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTasks_Update", - "description": "Update storage task properties", - "x-ms-examples": { - "PatchStorageTask": { - "$ref": "./examples/storageTasksCrud/PatchStorageTask.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageTaskUpdateParameters" - }, - "description": "The parameters to provide to update the storage task resource." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned when the update request body had no changes.", - "schema": { - "$ref": "#/definitions/StorageTask" - } - }, - "202": { - "description": "Accepted -- update request accepted; operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/storageTasks": { - "get": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTasks_ListBySubscription", - "description": "Lists all the storage tasks available under the subscription.", - "x-ms-examples": { - "ListStorageTasksBySubscription": { - "$ref": "./examples/storageTasksList/ListStorageTasksBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of storage tasks was retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTasksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks": { - "get": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTasks_ListByResourceGroup", - "description": "Lists all the storage tasks available under the given resource group.", - "x-ms-examples": { - "ListStorageTasksByResourceGroup": { - "$ref": "./examples/storageTasksList/ListStorageTasksByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of storage tasks in the given resource group retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTasksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/storageTaskAssignments": { - "get": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTaskAssignment_List", - "description": "Lists Resource IDs of the Storage Task Assignments associated with this Storage Task.", - "x-ms-examples": { - "ListStorageTaskAssignmentsByResourceGroup": { - "$ref": "./examples/storageTasksList/ListStorageTaskAssignmentIds.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of Storage Task Assignment Resource IDs to be included in the list response." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of Storage Task Assignment Resource IDs retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignmentsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/reports": { - "get": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTasksReport_List", - "description": "Fetch the storage tasks run report summary for each assignment.", - "x-ms-examples": { - "ListStorageTasksByResourceGroup": { - "$ref": "./examples/storageTasksList/ListStorageTasksRunReportSummary.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/StorageTaskName" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of Storage Task Assignment Resource IDs to be included in the list response." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, it can be used to query using reporting properties." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Storage tasks run report summary retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTaskReportSummary" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/locations/{location}/previewActions": { - "post": { - "tags": [ - "StorageTasks" - ], - "operationId": "StorageTasks_PreviewActions", - "description": "Runs the input conditions against input object metadata properties and designates matched objects in response.", - "x-ms-examples": { - "PerformStorageTaskActionsPreview": { - "$ref": "./examples/misc/PerformStorageTaskActionsPreview.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location to perform preview of the actions." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageTaskPreviewAction" - }, - "description": "The parameters to preview action condition." - } - ], - "responses": { - "200": { - "description": "OK -- Storage tasks preview action was performed and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTaskPreviewAction" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - } - }, - "definitions": { - "StorageTask": { - "type": "object", - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageTaskProperties", - "description": "Properties of the storage task." - } - }, - "required": [ - "identity", - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ], - "description": "Represents Storage Task." - }, - "StorageTaskUpdateParameters": { - "type": "object", - "properties": { - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageTaskProperties", - "description": "Properties of the storage task." - } - }, - "description": "Parameters of the storage task update request" - }, - "StorageTaskProperties": { - "type": "object", - "properties": { - "taskVersion": { - "readOnly": true, - "type": "integer", - "minimum": 1, - "maximum": 1, - "format": "int64", - "description": "Storage task version." - }, - "enabled": { - "type": "boolean", - "description": "Storage Task is enabled when set to true and disabled when set to false" - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task" - }, - "action": { - "$ref": "#/definitions/StorageTaskAction", - "description": "The storage task action that is executed" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "Represents the provisioning state of the storage task.", - "enum": [ - "ValidateSubscriptionQuotaBegin", - "ValidateSubscriptionQuotaEnd", - "Creating", - "Succeeded", - "Deleting", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "creationTimeInUtc": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The creation date and time of the storage task in UTC." - } - }, - "required": [ - "enabled", - "description", - "action" - ], - "description": "Properties of the storage task." - }, - "StorageTaskAction": { - "type": "object", - "properties": { - "if": { - "$ref": "#/definitions/IfCondition", - "description": "The if block of storage task operation" - }, - "else": { - "$ref": "#/definitions/ElseCondition", - "description": "The else block of storage task operation" - } - }, - "required": [ - "if" - ], - "description": "The storage task action represents conditional statements and operations to be performed on target objects." - }, - "IfCondition": { - "type": "object", - "properties": { - "condition": { - "type": "string", - "description": "Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators." - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskOperation" - }, - "x-ms-identifiers": [], - "description": "List of operations to execute when the condition predicate satisfies." - } - }, - "required": [ - "condition", - "operations" - ], - "description": "The if block of storage task operation" - }, - "ElseCondition": { - "type": "object", - "properties": { - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskOperation" - }, - "x-ms-identifiers": [], - "description": "List of operations to execute in the else block" - } - }, - "required": [ - "operations" - ], - "description": "The else block of storage task operation" - }, - "StorageTaskOperation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The operation to be performed on the object.", - "enum": [ - "SetBlobTier", - "SetBlobTags", - "SetBlobImmutabilityPolicy", - "SetBlobLegalHold", - "SetBlobExpiry", - "DeleteBlob", - "UndeleteBlob" - ], - "x-ms-enum": { - "name": "StorageTaskOperationName", - "modelAsString": true - } - }, - "parameters": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Key-value parameters for the operation." - }, - "onSuccess": { - "type": "string", - "description": "Action to be taken when the operation is successful for a object.", - "enum": [ - "continue" - ], - "x-ms-enum": { - "name": "onSuccess", - "modelAsString": false - } - }, - "onFailure": { - "type": "string", - "description": "Action to be taken when the operation fails for a object.", - "enum": [ - "break" - ], - "x-ms-enum": { - "name": "onFailure", - "modelAsString": false - } - } - }, - "required": [ - "name" - ], - "description": "Represents an operation to be performed on the object" - }, - "StorageTasksListResult": { - "type": "object", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageTask" - }, - "x-ms-identifiers": [], - "description": "Gets the list of storage tasks and their properties." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of storage tasks. Returned when total number of requested storage tasks exceed maximum page size.", - "readOnly": true - } - }, - "description": "The response from the List Storage Task operation." - }, - "StorageTaskAssignmentsListResult": { - "type": "object", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskAssignment" - }, - "x-ms-identifiers": [], - "description": "List of Storage Task Assignment Resource IDs associated with this Storage Task." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of Resource IDs. Returned when total number of requested Resource IDs exceed maximum page size.", - "readOnly": true - } - }, - "description": "The response from the List Storage Tasks operation." - }, - "StorageTaskAssignment": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Resource ID of the Storage Task Assignment.", - "readOnly": true - } - }, - "description": "Storage Task Assignment associated with this Storage Task." - }, - "StorageTaskReportSummary": { - "type": "object", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskReportInstance" - }, - "x-ms-identifiers": [], - "description": "Gets storage tasks run result summary." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of storage task run results summary. Returned when the number of run instances and summary reports exceed maximum page size.", - "readOnly": true - } - }, - "description": "Fetch Storage Tasks Run Summary." - }, - "StorageTaskReportInstance": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/StorageTaskReportProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "description": "Storage Tasks run report instance" - }, - "StorageTaskReportProperties": { - "type": "object", - "properties": { - "taskAssignmentId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments" - } - ] - }, - "description": "Resource ID of the Storage Task Assignment associated with this reported run." - }, - "storageAccountId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - }, - "description": "Resource ID of the Storage Account where this reported run executed." - }, - "startTime": { - "readOnly": true, - "type": "string", - "description": "Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "finishTime": { - "readOnly": true, - "type": "string", - "description": "End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsTargetedCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsOperatedOnCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectFailedCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsSucceededCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "runStatusError": { - "readOnly": true, - "type": "string", - "description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance." - }, - "runStatusEnum": { - "readOnly": true, - "type": "string", - "enum": [ - "InProgress", - "Finished" - ], - "x-ms-enum": { - "name": "RunStatusEnum", - "modelAsString": true - }, - "description": "Represents the status of the execution." - }, - "summaryReportPath": { - "readOnly": true, - "type": "string", - "description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account. " - }, - "taskId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.StorageActions/storageTasks" - } - ] - }, - "description": "Resource ID of the Storage Task applied during this run." - }, - "taskVersion": { - "readOnly": true, - "type": "string", - "description": "Storage Task Version" - }, - "runResult": { - "readOnly": true, - "type": "string", - "enum": [ - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "RunResult", - "modelAsString": true - }, - "description": "Represents the overall result of the execution for the run instance" - } - }, - "description": "Storage task execution report for a run instance." - }, - "StorageTaskPreviewAction": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageTaskPreviewActionProperties", - "description": "Properties of the storage task preview." - } - }, - "required": [ - "properties" - ], - "description": "Storage Task Preview Action." - }, - "StorageTaskPreviewActionProperties": { - "type": "object", - "properties": { - "container": { - "type": "object", - "$ref": "#/definitions/StorageTaskPreviewContainerProperties", - "description": "Properties of a sample container to test for a match with the preview action." - }, - "blobs": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskPreviewBlobProperties" - }, - "x-ms-identifiers": [], - "description": "Properties of some sample blobs in the container to test for matches with the preview action." - }, - "action": { - "type": "object", - "$ref": "#/definitions/StorageTaskPreviewActionCondition", - "description": "Preview action to test" - } - }, - "required": [ - "container", - "blobs", - "action" - ], - "description": "Storage task preview action properties." - }, - "StorageTaskPreviewActionCondition": { - "type": "object", - "properties": { - "if": { - "$ref": "#/definitions/StorageTaskPreviewActionIfCondition", - "description": "The condition to be tested for a match with container and blob properties." - }, - "elseBlockExists": { - "type": "boolean", - "description": "Specify whether the else block is present in the condition." - } - }, - "required": [ - "if", - "elseBlockExists" - ], - "description": "Represents the storage task conditions to be tested for a match with container and blob properties." - }, - "StorageTaskPreviewActionIfCondition": { - "type": "object", - "properties": { - "condition": { - "type": "string", - "description": "Storage task condition to bes tested for a match." - } - }, - "description": "Represents storage task preview action condition." - }, - "StorageTaskPreviewContainerProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of test container" - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskPreviewKeyValueProperties" - }, - "x-ms-identifiers": [], - "description": "metadata key value pairs to be tested for a match against the provided condition." - } - }, - "description": "Storage task preview container properties" - }, - "StorageTaskPreviewBlobProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of test blob" - }, - "properties": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskPreviewKeyValueProperties" - }, - "x-ms-identifiers": [], - "description": "properties key value pairs to be tested for a match against the provided condition." - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskPreviewKeyValueProperties" - }, - "x-ms-identifiers": [], - "description": "metadata key value pairs to be tested for a match against the provided condition." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskPreviewKeyValueProperties" - }, - "x-ms-identifiers": [], - "description": "tags key value pairs to be tested for a match against the provided condition." - }, - "matchedBlock": { - "type": "string", - "readOnly": true, - "enum": [ - "If", - "Else", - "None" - ], - "x-ms-enum": { - "name": "matchedBlockName", - "modelAsString": true - }, - "description": "Represents the condition block name that matched blob properties." - } - }, - "description": "Storage task preview container properties" - }, - "StorageTaskPreviewKeyValueProperties": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Represents the key property of the pair." - }, - "value": { - "type": "string", - "description": "Represents the value property of the pair." - } - }, - "description": "Storage task preview object key value pair properties." - } - }, - "parameters": { - "StorageTaskName": { - "name": "storageTaskName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.", - "pattern": "^[a-z0-9]{3,18}$", - "maxLength": 18, - "minLength": 3, - "x-ms-parameter-location": "method" - } - } -} diff --git a/swagger-specs/storageactions/resource-manager/api-set.json b/swagger-specs/storageactions/resource-manager/api-set.json deleted file mode 100644 index 1c05c1b9d..000000000 --- a/swagger-specs/storageactions/resource-manager/api-set.json +++ /dev/null @@ -1 +0,0 @@ -{"addition_input_file_paths": [], "input_files": ["Microsoft.StorageActions/stable/2023-01-01/storageactions.json"], "name": "package-2023-01-01"} \ No newline at end of file