diff --git a/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs b/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs index 15ff485c600d..01730b80a976 100644 --- a/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs +++ b/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Storage")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("9.2.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("9.2.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("9.4.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.4.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Storage/Storage.Autorest/README.md b/src/Storage/Storage.Autorest/README.md index 5c54bcfea2c5..50d4a6415e5d 100644 --- a/src/Storage/Storage.Autorest/README.md +++ b/src/Storage/Storage.Autorest/README.md @@ -28,15 +28,16 @@ For information on how to develop for `Az.Storage`, see [how-to.md](how-to.md). ``` yaml # Please specify the commit id that includes your features to make sure generated codes stable. -commit: 04b87408ba3b8afed159b3d3059bd1594c7f2dd3 +commit: ec3df311a63c6e653824b4018bb1a39d483bf9fc require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/file.json - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/networkSecurityPerimeter.json + - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json + # - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json + # - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/file.json + # - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json + # - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/networkSecurityPerimeter.json # For new RP, the version is 0.1.0 module-version: 5.9.1 @@ -113,7 +114,7 @@ directive: set: property-name: StorageAccountLimitMaxProvisionedIops - where: - subject: ^StorageAccount$|^StorageAccountKey$|^StorageAccountProperty$|^StorageAccountSas$|^StorageAccountServiceSas$|BlobInventoryPolicy$|^DeletedAccount$|^EncryptionScope$|^LocalUser$|^LocalUserKey$|^ManagementPolicy$|^ObjectReplicationPolicy$|^Usage$|^LocalUserPassword$|^AccountUserDelegationKey$|^AbortStorageAccountHierarchicalNamespaceMigration$|^HierarchicalStorageAccountNamespaceMigration$|^StorageAccountBlobRange$|^StorageAccountUserDelegationKey$|^StorageAccountNameAvailability$|^FileShare$|^FileServiceProperty$|^FileService$ + subject: .*Blob.*|.*Table.*|.*Queue.*|^StorageAccount$|^StorageAccountKey$|^StorageAccountProperty$|^StorageAccountSas$|^StorageAccountServiceSas$|BlobInventoryPolicy$|^DeletedAccount$|^EncryptionScope$|^LocalUser$|^LocalUserKey$|^ManagementPolicy$|^ObjectReplicationPolicy$|^Usage$|^LocalUserPassword$|^AccountUserDelegationKey$|^AbortStorageAccountHierarchicalNamespaceMigration$|^HierarchicalStorageAccountNamespaceMigration$|^StorageAccountBlobRange$|^StorageAccountUserDelegationKey$|^StorageAccountNameAvailability$|^FileShare$|^FileServiceProperty$|^FileService$ remove: true - where: parameter-name: ParameterEndBy @@ -155,16 +156,16 @@ directive: property-name: ParameterStartOn set: property-name: StartOn - - from: storageTaskAssignments.json + - from: openapi.json where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports"].get transform: > $["operationId"] = "StorageTaskAssignmentInstancesReport_List" # Renaming the operationId to StorageTaskAssignmentInstancesReport_Get, but the operation actually lists all the reports under a specific storage task assignment. - - from: storageTaskAssignments.json + - from: openapi.json where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports"].get transform: > $["operationId"] = "StorageTaskAssignmentInstancesReport_Get" - - from: storageTaskAssignments.json + - from: openapi.json where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports"].get transform: > $["operationId"] = "StorageTaskAssignmentInstancesReport_Get" diff --git a/src/Storage/Storage.Autorest/Storage.Autorest.sln b/src/Storage/Storage.Autorest/Storage.Autorest.sln new file mode 100644 index 000000000000..de0a757a122d --- /dev/null +++ b/src/Storage/Storage.Autorest/Storage.Autorest.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Storage", "Az.Storage.csproj", "{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D5130846-AF82-4747-A16B-8EA3229AFC2D} + EndGlobalSection +EndGlobal diff --git a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-accountMigrations.json b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-accountMigrations.json index f6d27e29bef8..ff4adad67a7d 100644 --- a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-accountMigrations.json +++ b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-accountMigrations.json @@ -1,6 +1,6 @@ { "resourceType": "storageAccounts/accountMigrations", - "apiVersion": "2025-01-01", + "apiVersion": "2025-06-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage" }, diff --git a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-networkSecurityPerimeterConfigurations.json b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-networkSecurityPerimeterConfigurations.json index 835da00fa830..c413c4eb5fb1 100644 --- a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-networkSecurityPerimeterConfigurations.json +++ b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-networkSecurityPerimeterConfigurations.json @@ -1,6 +1,6 @@ { "resourceType": "storageAccounts/networkSecurityPerimeterConfigurations", - "apiVersion": "2025-01-01", + "apiVersion": "2025-06-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage" }, diff --git a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-storageTaskAssignments.json b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-storageTaskAssignments.json index 5c08b9af5ede..1e5aabf5595f 100644 --- a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-storageTaskAssignments.json +++ b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-storageTaskAssignments.json @@ -1,6 +1,6 @@ { "resourceType": "storageAccounts/storageTaskAssignments", - "apiVersion": "2025-01-01", + "apiVersion": "2025-06-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage" }, diff --git a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-fileServices-usages.json b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts.json similarity index 90% rename from src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-fileServices-usages.json rename to src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts.json index b98f10f72f40..e8b05ef3d34d 100644 --- a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-fileServices-usages.json +++ b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts.json @@ -1,6 +1,6 @@ { - "resourceType": "storageAccounts/fileServices/usages", - "apiVersion": "2025-01-01", + "resourceType": "storageAccounts", + "apiVersion": "2025-06-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage" }, @@ -8,7 +8,7 @@ { "name": "Get-AzStorageFileServiceUsage", "description": "Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages/default", "help": { "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage/get-azstoragefileserviceusage" diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageAccountMigration.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageAccountMigration.md index 31b51db7e94b..b32224ce6317 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageAccountMigration.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageAccountMigration.md @@ -97,7 +97,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -114,6 +114,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageFileServiceUsage.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageFileServiceUsage.md index c414af4bf551..3fbe6c1363d5 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageFileServiceUsage.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageFileServiceUsage.md @@ -123,7 +123,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -156,6 +156,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageNetworkSecurityPerimeterConfiguration.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageNetworkSecurityPerimeterConfiguration.md index 111389b0d828..9281a16583a3 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageNetworkSecurityPerimeterConfiguration.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageNetworkSecurityPerimeterConfiguration.md @@ -170,7 +170,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -202,6 +202,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md index 366b47748b76..52cbe82ac9b3 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md @@ -74,6 +74,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md index 82ff65ead316..abb2783b2ec5 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md @@ -194,6 +194,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignmentInstancesReport.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignmentInstancesReport.md index 004d3baec881..d93ee076242a 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignmentInstancesReport.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignmentInstancesReport.md @@ -246,6 +246,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Autorest/docs/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md b/src/Storage/Storage.Autorest/docs/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md index df719d4b3a6c..420e86d07194 100644 --- a/src/Storage/Storage.Autorest/docs/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md +++ b/src/Storage/Storage.Autorest/docs/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md @@ -154,7 +154,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -186,6 +186,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Autorest/docs/New-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/New-AzStorageTaskAssignment.md index da4aba49a252..b66bd42dd826 100644 --- a/src/Storage/Storage.Autorest/docs/New-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/New-AzStorageTaskAssignment.md @@ -339,6 +339,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Autorest/docs/Remove-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/Remove-AzStorageTaskAssignment.md index 2401c77693a4..0ef1f193ba30 100644 --- a/src/Storage/Storage.Autorest/docs/Remove-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/Remove-AzStorageTaskAssignment.md @@ -186,6 +186,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md index 0ee983904a24..73afdf1af0f0 100644 --- a/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md @@ -340,6 +340,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Autorest/generate-info.json b/src/Storage/Storage.Autorest/generate-info.json index 54ed7e83b312..6379d464fbb7 100644 --- a/src/Storage/Storage.Autorest/generate-info.json +++ b/src/Storage/Storage.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "e43e7338-ef46-4c99-93ce-f2ad6f4c20f4" + "generate_Id": "2d315057-acd3-4098-96d9-d29ba6c8231c" } diff --git a/src/Storage/Storage.Autorest/test/Get-AzStorageAccountMigration.Recording.json b/src/Storage/Storage.Autorest/test/Get-AzStorageAccountMigration.Recording.json index d70a3dc91635..1e5168b7f961 100644 --- a/src/Storage/Storage.Autorest/test/Get-AzStorageAccountMigration.Recording.json +++ b/src/Storage/Storage.Autorest/test/Get-AzStorageAccountMigration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzStorageAccountMigration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-01-01+1": { + "Get-AzStorageAccountMigration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-06-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { diff --git a/src/Storage/Storage.Autorest/test/Get-AzStorageFileServiceUsage.Recording.json b/src/Storage/Storage.Autorest/test/Get-AzStorageFileServiceUsage.Recording.json index 344184a491f9..47118b21bfe5 100644 --- a/src/Storage/Storage.Autorest/test/Get-AzStorageFileServiceUsage.Recording.json +++ b/src/Storage/Storage.Autorest/test/Get-AzStorageFileServiceUsage.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzStorageFileServiceUsage+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-01-01+1": { + "Get-AzStorageFileServiceUsage+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-06-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { diff --git a/src/Storage/Storage.Autorest/test/Get-AzStorageSku.Recording.json b/src/Storage/Storage.Autorest/test/Get-AzStorageSku.Recording.json index e1fbbf187a06..7d1c90f17b23 100644 --- a/src/Storage/Storage.Autorest/test/Get-AzStorageSku.Recording.json +++ b/src/Storage/Storage.Autorest/test/Get-AzStorageSku.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzStorageSku+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-01-01+1": { + "Get-AzStorageSku+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-06-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { diff --git a/src/Storage/Storage.Autorest/test/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.Recording.json b/src/Storage/Storage.Autorest/test/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.Recording.json index 282c27fd2ae4..809fda601980 100644 --- a/src/Storage/Storage.Autorest/test/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.Recording.json +++ b/src/Storage/Storage.Autorest/test/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations?api-version=2025-01-01+1": { + "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations?api-version=2025-06-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -43,10 +43,10 @@ "isContentBase64": false } }, - "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest?api-version=2025-01-01+2": { + "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest?api-version=2025-06-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -87,10 +87,10 @@ "isContentBase64": false } }, - "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest/reconcile?api-version=2025-01-01+3": { + "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest/reconcile?api-version=2025-06-01+3": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest/reconcile?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/nsprg/providers/Microsoft.Storage/storageAccounts/nspaccount/networkSecurityPerimeterConfigurations/de6edd18-7deb-4a3e-b244-4548ba748a86.weitest/reconcile?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -110,7 +110,7 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-01-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71ploN13WymwudXY4jancWivKtgBQUtClbNOMf8GYtxePPkFtxCfON6ynaA50b2GFHRrjRAHMFB49frm55UXml1ym0Wz3JH6bXBwGJBhpQkMn2aLk58hRpzNpxEu8BK4avf0oZczbk_PMUH85rY1z-QQUNFQb_nIO7v3SIOCK3CKt4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6NGaCosqQodrbEwWjkxiG_jX08qhEuGUhw-vo0jXacuguanQ0ap7Rns1PSLEOSmOB0LlsacAuoBAAQasSIYAX1woGPttqGnuqoCxw6jclcJayt0x4q1URe4WhXuTzySAt-1OtDyzZrXnwfkNB-J1J0iocdL_DCgWGQa2MlPP9EZiR9ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-06-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZ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gysXGrQmU3uH3rbGlVWXLp9xDSUfHh3jfeoU0Q4cgn2VZBiXWIGMiSW0OI1ZQtmEAvtUUja-Za7Q8TrERfxJg1nnqfjm8pH78RqklGECDK_m93WbGutB81jiRb598PoEFLqatWtUWEOagPl1wHToKm4tfgg5pN24otf99UUJQrf6A8kHQVZhuyARbhm-_Y9HSN43NooeVkaEzxST2gsLitbuz9EW6djyVhce8jc4d89cfOQaamQ7wOpiwXusaP-u5Vh-mmGXqkJVn4g_pDI4iv6NGaCosqQodrbEwWjkxiG_jX08qhEuGUhw-vo0jXacuguanQ0ap7Rns1PSLEOSmOB0LlsacAuoBAAQasSIYAX1woGPttqGnuqoCxw6jclcJayt0x4q1URe4WhXuTzySAt-1OtDyzZrXnwfkNB-J1J0iocdL_DCgWGQa2MlPP9EZiR9ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo" ], "Retry-After": [ "17" ], "x-ms-request-id": [ "b803f844-e34f-481a-9db1-018ac7ac6829" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], @@ -133,10 +133,10 @@ "isContentBase64": false } }, - "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-01-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71ploN13WymwudXY4jancWivKtgBQUtClbNOMf8GYtxePPkFtxCfON6ynaA50b2GFHRrjRAHMFB49frm55UXml1ym0Wz3JH6bXBwGJBhpQkMn2aLk58hRpzNpxEu8BK4avf0oZczbk_PMUH85rY1z-QQUNFQb_nIO7v3SIOCK3CKt4GdAKztacTI1NAnA_-1QYq5xcwep6CETOHLmlB_JNwscGCDdFNyGB72czos_xXG50Xhzs81LE3w3j92c_7ddvO9ojBuiNMBdFbP7GW31DrqzglZVWg5GHxjEcuVEIKM8kcIdQ2s7z8aGkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3J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v0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo+4": { + "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-06-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71ploN13WymwudXY4jancWivKtgBQUtClbNOMf8GYtxePPkFtxCfON6ynaA50b2GFHRrjRAHMFB49frm55UXml1ym0Wz3JH6bXBwGJBhpQkMn2aLk58hRpzNpxEu8BK4avf0oZczbk_PMUH85rY1z-QQUNFQb_nIO7v3SIOCK3CKt4GdAKztacTI1NAnA_-1QYq5xcwep6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EuGUhw-vo0jXacuguanQ0ap7Rns1PSLEOSmOB0LlsacAuoBAAQasSIYAX1woGPttqGnuqoCxw6jclcJayt0x4q1URe4WhXuTzySAt-1OtDyzZrXnwfkNB-J1J0iocdL_DCgWGQa2MlPP9EZiR9ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-01-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5t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H3rbGlVWXLp9xDSUfHh3jfeoU0Q4cgn2VZBiXWIGMiSW0OI1ZQtmEAvtUUja-Za7Q8TrERfxJg1nnqfjm8pH78RqklGECDK_m93WbGutB81jiRb598PoEFLqatWtUWEOagPl1wHToKm4tfgg5pN24otf99UUJQrf6A8kHQVZhuyARbhm-_Y9HSN43NooeVkaEzxST2gsLitbuz9EW6djyVhce8jc4d89cfOQaamQ7wOpiwXusaP-u5Vh-mmGXqkJVn4g_pDI4iv6NGaCosqQodrbEwWjkxiG_jX08qhEuGUhw-vo0jXacuguanQ0ap7Rns1PSLEOSmOB0LlsacAuoBAAQasSIYAX1woGPttqGnuqoCxw6jclcJayt0x4q1URe4WhXuTzySAt-1OtDyzZrXnwfkNB-J1J0iocdL_DCgWGQa2MlPP9EZiR9ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-06-01\u0026t=638959219863833643\u0026c=M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L_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo", "Content": null, "isContentBase64": false, "Headers": { @@ -177,10 +177,10 @@ "isContentBase64": false } }, - "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-01-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71ploN13WymwudXY4jancWivKtgBQUtClbNOMf8GYtxePPkFtxCfON6ynaA50b2GFHRrjRAHMFB49frm55UXml1ym0Wz3JH6bXBwGJBhpQkMn2aLk58hRpzNpxEu8BK4avf0oZczbk_PMUH85rY1z-QQUNFQb_nIO7v3SIOCK3CKt4GdAKztacTI1NAnA_-1QYq5xcwep6CETOHLmlB_JNwscGCDdFNyGB72czos_xXG50Xhzs81LE3w3j92c_7ddvO9ojBuiNMBdFbP7GW31DrqzglZVWg5GHxjEcuVEIKM8kcIdQ2s7z8aGkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjc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ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo+5": { + "Get/List NSPConfig, and Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-06-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71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_m93WbGutB81jiRb598PoEFLqatWtUWEOagPl1wHToKm4tfgg5pN24otf99UUJQrf6A8kHQVZhuyARbhm-_Y9HSN43NooeVkaEzxST2gsLitbuz9EW6djyVhce8jc4d89cfOQaamQ7wOpiwXusaP-u5Vh-mmGXqkJVn4g_pDI4iv6NGaCosqQodrbEwWjkxiG_jX08qhEuGUhw-vo0jXacuguanQ0ap7Rns1PSLEOSmOB0LlsacAuoBAAQasSIYAX1woGPttqGnuqoCxw6jclcJayt0x4q1URe4WhXuTzySAt-1OtDyzZrXnwfkNB-J1J0iocdL_DCgWGQa2MlPP9EZiR9ox-VqkrOPQAMZBqtP9tQacMeO-V3JqiNzdu8ZzGnJrVT0fbgiS5E3emSyi_rYbuKDR06QJurZseja_toZCirAeHMjBVtn2wNuaY6Rr\u0026s=QHpBgZ9iRsFiGNFZp8v1Yk7Nfklb_hT7g5RBEoNKEqmDUfctjVWm-3hN5jZMlIOwug_26HpGxQ66Lv0BlGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-01-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyL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BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus/asyncoperations/b803f844-e34f-481a-9db1-018ac7ac6829?monitor=true\u0026api-version=2025-06-01\u0026t=638959219863833643\u0026c=MIIIpTCCBo2gAwIBAgITFgGpymN7LTW4kGDY9AABAanKYzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzE2MDY0NzU2WhcNMjYwMTEyMDY0NzU2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKTm5YrLmfx9BQfyqn0KlKU5oAoMO71ploN13WymwudXY4jancWivKtgBQUtClbNOMf8GYtxePPkFtxCfON6ynaA50b2GFHRrjRAHMFB49frm55UXml1ym0Wz3JH6bXBwGJBhpQkMn2aLk58hRpzNpxEu8BK4avf0oZczbk_PMUH85rY1z-QQUNFQb_nIO7v3SIOCK3CKt4GdAKztacTI1NAnA_-1QYq5xcwep6CETOHLmlB_JNwscGCDdFNyGB72czos_xXG50Xhzs81LE3w3j92c_7ddvO9ojBuiNMBdFbP7GW31DrqzglZVWg5GHxjEcuVEIKM8kcIdQ2s7z8aGkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm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lGAgH9iIoIiBKNrPyduvf4Ulxo1it-RePXBJXZbP5-Eq4GWFDODaLdYaSSm21EsOjdxjWdy-CZoDAeQicTVMszVc0Qo1wgLtW0SkmLT25NEol0J5V8jPNxXPfqh6f_dgwBo4a2vZPfca8iiHkv9mgDmwNK5mj_bEjL7pNHxvTMhyBFdkZ2yU7d4EoL_gnEcY6bxoMBbO0CJc08BOQsASZ89u8m-ohpfJK832lKLjdbimVVy3lU3Mh9fvRToo_n-spV5zBA\u0026h=BFj5Oj3J3KxzuLwCbd2cKhRWStToML4q47H4xCwsDTo", "Content": null, "isContentBase64": false, "Headers": { diff --git a/src/Storage/Storage.Autorest/test/New-AzStorageTaskAssignment.Recording.json b/src/Storage/Storage.Autorest/test/New-AzStorageTaskAssignment.Recording.json index 456346e82a2a..9c6ed4d83165 100644 --- a/src/Storage/Storage.Autorest/test/New-AzStorageTaskAssignment.Recording.json +++ b/src/Storage/Storage.Autorest/test/New-AzStorageTaskAssignment.Recording.json @@ -1,8 +1,8 @@ { - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+1": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": "{\r\n \"properties\": {\r\n \"executionContext\": {\r\n \"trigger\": {\r\n \"parameters\": {\r\n \"startOn\": \"2201-11-10T02:35:29.5008697+08:00\"\r\n },\r\n \"type\": \"RunOnce\"\r\n }\r\n },\r\n \"report\": {\r\n \"prefix\": \"testc1\"\r\n },\r\n \"taskId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/weitry/providers/Microsoft.StorageActions/storageTasks/mytask1\",\r\n \"enabled\": false,\r\n \"description\": \"task assignment1\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -20,7 +20,7 @@ "ETag": [ "\"0000b702-0000-0200-0000-684fbbbd0000\"" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/57ef56c2-b6e5-446f-b0fb-3eb3dc93011a" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE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2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3W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n5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4" ], "x-ms-request-id": [ "080ef35d-08c1-4551-91b8-46f82ba43c5a" ], "x-ms-correlation-request-id": [ "c6813da9-a53e-41e1-afb7-28e32c295492" ], "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], @@ -41,10 +41,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=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BgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4+2": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178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AGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652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QBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64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Bgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4", "Content": null, "isContentBase64": false, "Headers": { @@ -86,10 +86,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmE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Sh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4+3": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCC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https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQ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-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsL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EEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=I4cqcs0hM5DTPiLCY_cOgqw2ewNZWFh9xbK7AJvYal3AeoD4K2-OG8hCiCtPFjpjzaxp6_HMFffmfl_FheVhGha28oROhBKmUjyNzxkHz83DZZF1WDc7Ilij9ogtyV9ApCF0lZFdfh5L64a0qml5mTnQrkz_zTIrFhvZm9Wj0N8Rrh7NL-FYU-TBb3sQxI9aRR5-ksEza__8pTBwuY71GqqvGC0_qbxsSdm76S20ZyU_6WG0jSch4RFyz-pJ2vY1QyrlgAURVJNg3sTgOy7Z0Mnr2_EezBhRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4", "Content": null, "isContentBase64": false, "Headers": { @@ -131,10 +131,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpD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\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4+4": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCg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hRL_m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKw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m16JzEzTVT2v2dXlYCS5uOJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/080ef35d-08c1-4551-91b8-46f82ba43c5a*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856526697054192\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBA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OJoH5v5ZR8xkDUK4_K106YE2hb300CQ\u0026h=5ZtPU7zoOvFjEiQP-qDnH4bsmNSPk8vK8zXJs4KM_G4", "Content": null, "isContentBase64": false, "Headers": { @@ -176,10 +176,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+5": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -222,10 +222,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+6": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+6": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": "{\r\n \"properties\": {\r\n \"executionContext\": {\r\n \"trigger\": {\r\n \"parameters\": {\r\n \"startFrom\": \"2225-01-09T17:30:07.3534556Z\",\r\n \"interval\": 10,\r\n \"intervalUnit\": \"Days\",\r\n \"endBy\": \"2226-01-09T18:35:07.3535271Z\"\r\n },\r\n \"type\": \"OnSchedule\"\r\n }\r\n },\r\n \"report\": {\r\n \"prefix\": \"testc1\"\r\n },\r\n \"taskId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/weitry/providers/Microsoft.StorageActions/storageTasks/mytask1\",\r\n \"enabled\": false,\r\n \"description\": \"test assignment2\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -243,7 +243,7 @@ "ETag": [ "\"0000bf02-0000-0200-0000-684fbc1e0000\"" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/880904cf-7ab0-4a11-adf5-2bf26648ef5c" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGM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riptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwO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correlation-request-id": [ "df07a832-a8cb-476f-b469-14783c3f1330" ], "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], @@ -264,10 +264,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMC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sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+7": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4a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mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9e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GU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRw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v01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", "Content": null, "isContentBase64": false, "Headers": { @@ -309,10 +309,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAK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lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+8": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvm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3Ii6jvFoGSH6ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--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ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqN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d9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", "Content": null, "isContentBase64": false, "Headers": { @@ -354,10 +354,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM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r2wV6gMdTgGJ_go2GdVFjfXDvOf1GMdmnT_WeZiDroyN6GVk1f3Ii6jvFoGSH6ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+9": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuT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74xZO0hcXz9E_r7nHCuytTgvM0HIcUmbxhXX-gMVMtdbddnr2wV6gMdTgGJ_go2GdVFjfXDvOf1GMdmnT_WeZiDroyN6GVk1f3Ii6jvFoGSH6ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbid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7nHCuytTgvM0HIcUmbxhXX-gMVMtdbddnr2wV6gMdTgGJ_go2GdVFjfXDvOf1GMdmnT_WeZiDroyN6GVk1f3Ii6jvFoGSH6ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/8f8170de-a7ab-472d-ba95-c95235db63d2*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856527669173170\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWR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ddnr2wV6gMdTgGJ_go2GdVFjfXDvOf1GMdmnT_WeZiDroyN6GVk1f3Ii6jvFoGSH6ue8WfThOXnfSGF4aY1E8iWiRlThqqnogd9lVdm9NGYuI6bUIoYQC3vggLHIUuCY-7DohT4KaWhqKR32Ac51Z9mOqK3wNTY9gAuGU8b90tCBrMvlJdMpYYhUzg0MzAnGcv01sC8c-n7lY1YAxpftlk4ACRIeYItExI2PD4mhk60WTsh2Q0G6N3lpu31W-CRjr-twIlAuZVbXR9F18matVg269ua-o5y3eGoHg\u0026h=DPkd4DYOHjgIwB7roUSxwkUqCsrFEcSV8r5gjE6FmXA", "Content": null, "isContentBase64": false, "Headers": { @@ -399,10 +399,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+10": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -445,10 +445,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+11": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -491,10 +491,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+12": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -537,10 +537,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments?api-version=2025-01-01+13": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments?api-version=2025-06-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -582,10 +582,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+14": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+14": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": "{\r\n \"properties\": {\r\n \"executionContext\": {\r\n \"trigger\": {\r\n \"parameters\": {\r\n \"startOn\": \"2226-01-09T18:35:07.3535271Z\"\r\n }\r\n }\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -601,10 +601,10 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"0000c602-0000-0200-0000-684fbc830000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/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AAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=nT40d5vN8JVc9QxogDuu8huctFVlmZx0pjauz7pcXUYl8buh3iy4RrR3MmRsLYk7MiJqpb2WH01q3nA4_Y_-a4tOwrxcJYOLYAjKO7XaNyh8O12zvg9PB088A_dCKHpIgdfAapB13T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a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AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=nT40d5vN8JVc9QxogDuu8huctFVlmZx0pjauz7pcXUYl8buh3iy4RrR3MmRsLYk7MiJqpb2WH01q3nA4_Y_-a4tOwrxcJYOLYAjKO7XaNyh8O12zvg9PB088A_dCKHpIgdfAapB13T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/1fc4ebe3-0975-42ac-9fb8-04e7812bbf50" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0w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EgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=nT40d5vN8JVc9QxogDuu8huctFVlmZx0pjauz7pcXUYl8buh3iy4RrR3MmRsLYk7MiJqpb2WH01q3nA4_Y_-a4tOwrxcJYOLYAjKO7XaNyh8O12zvg9PB088A_dCKHpIgdfAapB13T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY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gorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=nT40d5vN8JVc9QxogDuu8huctFVlmZx0pjauz7pcXUYl8buh3iy4RrR3MmRsLYk7MiJqpb2WH01q3nA4_Y_-a4tOwrxcJYOLYAjKO7XaNyh8O12zvg9PB088A_dCKHpIgdfAapB13T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg" ], "x-ms-request-id": [ "a43c1aca-93d8-48bc-b337-d4cfb1a25c91" ], "x-ms-correlation-request-id": [ "a3287992-e5c9-458b-b867-0bf178ae9dbf" ], "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], @@ -625,10 +625,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQ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HskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+15": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur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pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggR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fiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAw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ooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", "Content": null, "isContentBase64": false, "Headers": { @@ -670,10 +670,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4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dg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+16": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYr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gi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDG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TjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0C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xGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", "Content": null, "isContentBase64": false, "Headers": { @@ -715,10 +715,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRq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DiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+17": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQ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12zvg9PB088A_dCKHpIgdfAapB13T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G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T4YtynAZX_BWDiqReouOFFrGsyd8dig2yJgi_J1R0NzwfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/a43c1aca-93d8-48bc-b337-d4cfb1a25c91*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856528677028567\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC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wfGCoKJDg57bW267OTjKTR8vl7iVdg4dpGuXJsD5vnMt3o0pri6BONftpQxxGyrMviqNypGIflXMfiMwJwByqrJDHskiffBH_H-Srcf8CdS8pHCpmkiZteFooJbJJSo4gYpOuHxaK88zQXfBn-Ye0msiO3m5_SA52g\u0026h=sY7uAuoSspbShuqwZaGdmZnNoPLevuVLoM6VzBjZRXg", "Content": null, "isContentBase64": false, "Headers": { @@ -760,10 +760,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+18": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -806,10 +806,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+19": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+19": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": "{\r\n \"properties\": {\r\n \"executionContext\": {\r\n \"target\": {\r\n \"excludePrefix\": [ \"ttt\" ]\r\n },\r\n \"trigger\": {\r\n \"parameters\": {\r\n \"interval\": 20,\r\n \"intervalUnit\": \"Days\"\r\n }\r\n }\r\n },\r\n \"enabled\": false,\r\n \"description\": \"update atask assignment\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -825,10 +825,10 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"0000ce02-0000-0200-0000-684fbce40000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=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AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=OofMmrLdnQpL2aaIwiBxn1f8pr2foSjcJ8tZx9R8lnoauN7LI2e3iYG5DIhzTx_4eIkJeE1BmiL0T0s8QPz90aqZ4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIH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HSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=OofMmrLdnQpL2aaIwiBxn1f8pr2foSjcJ8tZx9R8lnoauN7LI2e3iYG5DIhzTx_4eIkJeE1BmiL0T0s8QPz90aqZ4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/409ed2fd-5d2a-4386-84fa-5fd28c9f0348" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTU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AAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=OofMmrLdnQpL2aaIwiBxn1f8pr2foSjcJ8tZx9R8lnoauN7LI2e3iYG5DIhzTx_4eIkJeE1BmiL0T0s8QPz90aqZ4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003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A2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=OofMmrLdnQpL2aaIwiBxn1f8pr2foSjcJ8tZx9R8lnoauN7LI2e3iYG5DIhzTx_4eIkJeE1BmiL0T0s8QPz90aqZ4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY" ], "x-ms-request-id": [ "c003ab53-398e-49eb-bf4a-438b5589828d" ], "x-ms-correlation-request-id": [ "070102bc-c223-428a-a28f-9f35e061cf7a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], @@ -849,10 +849,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNx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vQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+20": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCg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yKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwE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PiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGC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JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", "Content": null, "isContentBase64": false, "Headers": { @@ -894,10 +894,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3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8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+21": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0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juZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDG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2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzz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iT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", "Content": null, "isContentBase64": false, "Headers": { @@ -939,10 +939,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMw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O0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+22": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_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0T0s8QPz90aqZ4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_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4pVXVgpJ3fydaX-R6vDXEHmV2IciThljfneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/c003ab53-398e-49eb-bf4a-438b5589828d*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856529649376040\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8p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fneO0KZVNMmq9Nt143NpfHlePuX-c4DZLxiwmylmKrJ_paoE-TZqD7GjuZgGjVmRCe04D2rgCsQeIUzNyVziR7AvcgrtY15GrAUyiT8Bv1NPlIQpcs-zAarpRLN6dCrIcnxjdk0RObnd4YeDPqXn_im_QyKegHXh0fwdDMWPiBBXxHsToXSE6QFcvXd3UaM34R6VT6JmvQhAO1kVaC8hNXb89gTJEw\u0026h=V2uEwA46fQHPHa_ToMmFJahW-Q-dQxgUmCpCOYAChZY", "Content": null, "isContentBase64": false, "Headers": { @@ -984,10 +984,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+23": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -1030,10 +1030,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01/reports?api-version=2025-01-01+24": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01/reports?api-version=2025-06-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01/reports?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01/reports?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -1075,10 +1075,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/reports?api-version=2025-01-01+25": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/reports?api-version=2025-06-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/reports?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/reports?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -1120,10 +1120,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01+26": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01+26": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment01?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -1144,10 +1144,10 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"0000d602-0000-0200-0000-684fbd490000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYT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=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghf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nbtC4ARVNoaWskM6vj6B_E" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/8fea24ac-fc66-4c33-86df-4dd5619de6dc" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQw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JVjhzAW4bks1UKbWzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQ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WzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E" ], "x-ms-request-id": [ "399e749a-bfaf-4551-82cc-92a255dbc925" ], "x-ms-correlation-request-id": [ "796be6d7-3318-42f4-a306-191d89198f43" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "799" ], @@ -1168,10 +1168,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4Y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_Pyp6FsH_WIWLr-nfLoLgnhdzmre17xsPQ5JzW4lhCS4d8JsP6RPJKI7R8-cHWjoVkQTjt1s6mU4xdfFtebEEGKGorKe_xW1IgQ0QeVqRE0LDQP_CvYQSUvUuMRYFFMG5HuWYm-e0jSCu4OFH-3sq-WX2w6Zafu1B6pB3fiEYNZHb9gy1VJVjhzAW4bks1UKbWzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E+27": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCku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v3dlq3JMXUKAuFY_-GErxqpMsztcnVvfZoNX3TNrTNyjjTRDLWy_Pyp6FsH_WIWLr-nfLoLgnhdzmre17xsPQ5JzW4lhCS4d8JsP6RPJKI7R8-cHWjoVkQTjt1s6mU4xdfFtebEEGKGorKe_xW1IgQ0QeVqRE0LDQP_CvYQSUvUuMRYFFMG5HuWYm-e0jSCu4OFH-3sq-WX2w6Zafu1B6pB3fiEYNZHb9gy1VJVjhzAW4bks1UKbWzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRb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XUKAuFY_-GErxqpMsztcnVvfZoNX3TNrTNyjjTRDLWy_Pyp6FsH_WIWLr-nfLoLgnhdzmre17xsPQ5JzW4lhCS4d8JsP6RPJKI7R8-cHWjoVkQTjt1s6mU4xdfFtebEEGKGorKe_xW1IgQ0QeVqRE0LDQP_CvYQSUvUuMRYFFMG5HuWYm-e0jSCu4OFH-3sq-WX2w6Zafu1B6pB3fiEYNZHb9gy1VJVjhzAW4bks1UKbWzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVk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NX3TNrTNyjjTRDLWy_Pyp6FsH_WIWLr-nfLoLgnhdzmre17xsPQ5JzW4lhCS4d8JsP6RPJKI7R8-cHWjoVkQTjt1s6mU4xdfFtebEEGKGorKe_xW1IgQ0QeVqRE0LDQP_CvYQSUvUuMRYFFMG5HuWYm-e0jSCu4OFH-3sq-WX2w6Zafu1B6pB3fiEYNZHb9gy1VJVjhzAW4bks1UKbWzQbf_cDidwdOax4iKi7tL4UQDperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E", "Content": null, "isContentBase64": false, "Headers": { @@ -1192,9 +1192,9 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"48000ab6-0000-0200-0000-684fbd480000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530966127318\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95Lxffhv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_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=FVxi60guPUAVjg_p1M8Ev8nFr9wIiLoHEHml_L8sRkjTkSDsu0SvtfvlPGqKb7k4cpS11gt5ebUoi_vIjLwz-bCGhojRaHlmoWTW_5CeoUULanxg7fyX3JZlcc0GCMH3-wv_KjO2LLDPu3RvBHELDHY14KSmJ64OT3UFOB--qKs2N5LYubjY8a5ZAn7SKgizx0Idnl40sEKahQu33yWNfe4_6u_L3Xqtk7RZ3vkweEFeKF7eoz20hCV6pT-Q8QhlzX2jycCMyXlVls9ociaiAXVJBNWNYtPmDHJsF7BWDfqeJGXnqu5287LDTngtImJOgSsG8T2dY81I8r-RAI2lzA\u0026h=WLf9rCj1UHX50xUUAZRXOJjFQfBmpUIDtgriGbrKN3Y" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530966127318\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7v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xQE_9Ov_0\u0026s=FVxi60guPUAVjg_p1M8Ev8nFr9wIiLoHEHml_L8sRkjTkSDsu0SvtfvlPGqKb7k4cpS11gt5ebUoi_vIjLwz-bCGhojRaHlmoWTW_5CeoUULanxg7fyX3JZlcc0GCMH3-wv_KjO2LLDPu3RvBHELDHY14KSmJ64OT3UFOB--qKs2N5LYubjY8a5ZAn7SKgizx0Idnl40sEKahQu33yWNfe4_6u_L3Xqtk7RZ3vkweEFeKF7eoz20hCV6pT-Q8QhlzX2jycCMyXlVls9ociaiAXVJBNWNYtPmDHJsF7BWDfqeJGXnqu5287LDTngtImJOgSsG8T2dY81I8r-RAI2lzA\u0026h=WLf9rCj1UHX50xUUAZRXOJjFQfBmpUIDtgriGbrKN3Y" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/38006840-b1b9-4f8b-927d-fddf29533cf8" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt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3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLi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LqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg" ], "x-ms-request-id": [ "5a7cd18f-5c32-40a4-a4b4-3bddcd65f4f2" ], "x-ms-correlation-request-id": [ "f058e48f-d000-41d2-abbd-c77429427085" ], "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], @@ -1215,10 +1215,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMD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OIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg+28": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLG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_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMR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eoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530965970305\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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p2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=MUy-5lPJEGMSd7cd8hsqQy5emZwPs8Ngu0X9JZz19ZzKSc933rZDnacnahAYzwreWHI3T9dm8nMUL4Jtk__3ME28JdFDyor96mZT00NkAZdDSc78zMuIZdGZwJ4y1FgjGHgfy9OOBM7SLD90vN6PMLUBg9p1hAxBjCtHlGPaVASGUGIp8f77OIBBgA6jT8VgtQXuj-BdE9BMexlT4yu_hW8mPPr3n5dL2Uq4wazyVPia40raoBEEvMD9d8bpx5eNtqOjSe4pT3Y49_9f1VHrjZjBXl0mvwtVgESFo3ElUMJVjJh-dewNSQCIGdk5E4EBwsXMaDSBz-ARNzFPQL1PnA\u0026h=4UU0aQS1dd3iIT1oyNuGRXEZpr_Mzn6VFQbIFHZWsKg", "Content": null, "isContentBase64": false, "Headers": { @@ -1239,9 +1239,9 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"48000ab6-0000-0200-0000-684fbd480000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRM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IKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=qXqLq_4Yp8dbpgo0oypO2Kgy08pm06TWN26rtzOT0E45SDId_Vfx_eofO7pOE2WlcceUyzoZFhzSflnMI7nv8u6NeM2-L1vxlFSQqXI1EDBxQ44yUFvy03_pv_aBlvY1NzRIu7DEw5nLHsholNqSHuwF6OOuLpOZK7TFFgLzw4eHM46dPPC_6Lm4Jj77BBz2LdWTwYsPIO4YamKoA_s6eHMjY3QJWqT_rcIL9_Sf4oEdB0Te9FGjHHPvUoUGOXL_tUwYZneD1AkQZMgK2bo_xY8ONewvCbwZcllktwi3MdzxUX2xvH8miUjMIn5i67JydcSr4LEMs0c-eGG6ktIkLw\u0026h=0Etm9FwD0Txk8jvTTfI-kGl_3O_52dcBL03FrCcSXLI" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMw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BQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=qXqLq_4Yp8dbpgo0oypO2Kgy08pm06TWN26rtzOT0E45SDId_Vfx_eofO7pOE2WlcceUyzoZFhzSflnMI7nv8u6NeM2-L1vxlFSQqXI1EDBxQ44yUFvy03_pv_aBlvY1NzRIu7DEw5nLHsholNqSHuwF6OOuLpOZK7TFFgLzw4eHM46dPPC_6Lm4Jj77BBz2LdWTwYsPIO4YamKoA_s6eHMjY3QJWqT_rcIL9_Sf4oEdB0Te9FGjHHPvUoUGOXL_tUwYZneD1AkQZMgK2bo_xY8ONewvCbwZcllktwi3MdzxUX2xvH8miUjMIn5i67JydcSr4LEMs0c-eGG6ktIkLw\u0026h=0Etm9FwD0Txk8jvTTfI-kGl_3O_52dcBL03FrCcSXLI" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/60bb6082-b8e0-4281-b055-41dfba2c337b" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856531278912514\u0026c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fBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=qXqLq_4Yp8dbpgo0oypO2Kgy08pm06TWN26rtzOT0E45SDId_Vfx_eofO7pOE2WlcceUyzoZFhzSflnMI7nv8u6NeM2-L1vxlFSQqXI1EDBxQ44yUFvy03_pv_aBlvY1NzRIu7DEw5nLHsholNqSHuwF6OOuLpOZK7TFFgLzw4eHM46dPPC_6Lm4Jj77BBz2LdWTwYsPIO4YamKoA_s6eHMjY3QJWqT_rcIL9_Sf4oEdB0Te9FGjHHPvUoUGOXL_tUwYZneD1AkQZMgK2bo_xY8ONewvCbwZcllktwi3MdzxUX2xvH8miUjMIn5i67JydcSr4LEMs0c-eGG6ktIkLw\u0026h=0Etm9FwD0Txk8jvTTfI-kGl_3O_52dcBL03FrCcSXLI" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAg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FKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=qXqLq_4Yp8dbpgo0oypO2Kgy08pm06TWN26rtzOT0E45SDId_Vfx_eofO7pOE2WlcceUyzoZFhzSflnMI7nv8u6NeM2-L1vxlFSQqXI1EDBxQ44yUFvy03_pv_aBlvY1NzRIu7DEw5nLHsholNqSHuwF6OOuLpOZK7TFFgLzw4eHM46dPPC_6Lm4Jj77BBz2LdWTwYsPIO4YamKoA_s6eHMjY3QJWqT_rcIL9_Sf4oEdB0Te9FGjHHPvUoUGOXL_tUwYZneD1AkQZMgK2bo_xY8ONewvCbwZcllktwi3MdzxUX2xvH8miUjMIn5i67JydcSr4LEMs0c-eGG6ktIkLw\u0026h=0Etm9FwD0Txk8jvTTfI-kGl_3O_52dcBL03FrCcSXLI" ], "x-ms-request-id": [ "c4b25d9b-3dad-43f6-be5b-f92b9271e557" ], "x-ms-correlation-request-id": [ "a23e642e-731f-4483-922e-9f5fd51799c0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], @@ -1262,10 +1262,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzA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AGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=qXqLq_4Yp8dbpgo0oypO2Kgy08pm06TWN26rtzOT0E45SDId_Vfx_eofO7pOE2WlcceUyzoZFhzSflnMI7nv8u6NeM2-L1vxlFSQqXI1EDBxQ44yUFvy03_pv_aBlvY1NzRIu7DEw5nLHsholNqSHuwF6OOuLpOZK7TFFgLzw4eHM46dPPC_6Lm4Jj77BBz2LdWTwYsPIO4YamKoA_s6eHMjY3QJWqT_rcIL9_Sf4oEdB0Te9FGjHHPvUoUGOXL_tUwYZneD1AkQZMgK2bo_xY8ONewvCbwZcllktwi3MdzxUX2xvH8miUjMIn5i67JydcSr4LEMs0c-eGG6ktIkLw\u0026h=0Etm9FwD0Txk8jvTTfI-kGl_3O_52dcBL03FrCcSXLI+29": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQC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SXLI+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgE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"https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856531278912514\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFB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@@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwY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phECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E+30": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQ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DperZtdAHSAeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-01-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCg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AeuthqWI3fHd2MswULtlE9jSKKLyATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/399e749a-bfaf-4551-82cc-92a255dbc925*B281AB9F49FD2066E1FB57AE8DE178D75C652BD43A847B2CC21517B6ABBD3A64?api-version=2025-06-01\u0026t=638856530653270484\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBA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yATNPiE6HEuB5P8_ximphECq8bPTXuKA\u0026h=aBDHdiy3Zc_LUnsP_9lPxnbtC4ARVNoaWskM6vj6B_E", "Content": null, "isContentBase64": false, "Headers": { @@ -1352,10 +1352,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01+31": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01+31": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-01-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testtaskassignmentrg/providers/Microsoft.Storage/storageAccounts/testassignmentaccount2/storageTaskAssignments/testassignment02?api-version=2025-06-01", "Content": null, "isContentBase64": false, "Headers": { @@ -1376,10 +1376,10 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"0000d902-0000-0200-0000-684fbda90000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888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gBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025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IwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/512e29ac-6be7-43cd-88cd-aa41ce6f7ffb" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531613486291\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcG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BBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/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A5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M" ], "x-ms-request-id": [ "42e4c176-da5a-48ce-94be-160fbac8a645" ], "x-ms-correlation-request-id": [ "9a67458a-05a8-4a24-944e-b786ba5603a5" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "799" ], @@ -1400,10 +1400,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531613486291\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwP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dCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M+32": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531613486291\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQ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w1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531613486291\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAw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bjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531613486291\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHB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TF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M", "Content": null, "isContentBase64": false, "Headers": { @@ -1424,9 +1424,9 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"4800bcb8-0000-0200-0000-684fbda80000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRw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ePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0EzjZ4ze_XVDGBd1sOPsbMx4aQgZEiuDJuuk9eqTzzur3IDUdrP0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBg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BWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/3f44a3b2-7479-42fb-abe6-fc3bbe734342" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6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IpzKF7fYCnUkMCT2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gpAUzm4t0yW0aVzv7vAOWZHIG1fvTcWY_sHCkuTyCNAcRbNbaqbidaK9ZOTQ19baUQ26kVkP7tjTi6DWWRlM25d4YQcGaWJoBwUtol-hgB5Z_rVMljRF5Q1T9_3YpRBw57SpHvmb30JNQSpndyeu--Ip8pMwpNaiIRF70G8WfbTBoJhRqNqNAKBLU3CAVV4H6lYrXtSK-gkZC0E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T2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI" ], "x-ms-request-id": [ "82720a41-9a04-4078-b878-a368a6c4cacd" ], "x-ms-correlation-request-id": [ "96b3a2e6-6109-4278-9c2e-85c6e0ccb6b4" ], "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], @@ -1447,10 +1447,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95LxffhvcYAZ56WhgOxA_gp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x3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=kCQmK7nkAxx_To2zEfvDHnEV3FFQdDkK4R7ILWu1aM-q3UZeHQLJ_QWYCO2pg5RZdK5XULTjeFj9_KnXNR9s5A8ImGrAJR23-PxT9u1KscO1RH25ah3fgjqE-Pj1TFawOUq1BAG3WSMHIOIuacZL_l28VtkJEvJIpzKF7fYCnUkMCT2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI+33": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbR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2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=kCQmK7nkAxx_To2zEfvDHnEV3FFQdDkK4R7ILWu1aM-q3UZeHQLJ_QWYCO2pg5RZdK5XULTjeFj9_KnXNR9s5A8ImGrAJR23-PxT9u1KscO1RH25ah3fgjqE-Pj1TFawOUq1BAG3WSMHIOIuacZL_l28VtkJEvJIpzKF7fYCnUkMCT2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-Ec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yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=kCQmK7nkAxx_To2zEfvDHnEV3FFQdDkK4R7ILWu1aM-q3UZeHQLJ_QWYCO2pg5RZdK5XULTjeFj9_KnXNR9s5A8ImGrAJR23-PxT9u1KscO1RH25ah3fgjqE-Pj1TFawOUq1BAG3WSMHIOIuacZL_l28VtkJEvJIpzKF7fYCnUkMCT2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856531926564466\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAvt4DI7FxxBmZBcfoKDLiXpS8U5adZbRlRvVm-EcAWqGNnVo1AxaXu3ghKMY95Lxff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P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=kCQmK7nkAxx_To2zEfvDHnEV3FFQdDkK4R7ILWu1aM-q3UZeHQLJ_QWYCO2pg5RZdK5XULTjeFj9_KnXNR9s5A8ImGrAJR23-PxT9u1KscO1RH25ah3fgjqE-Pj1TFawOUq1BAG3WSMHIOIuacZL_l28VtkJEvJIpzKF7fYCnUkMCT2UzA3YcKhZpw4OzQLwG3CqQ1yqn6AESndhpbiQS5Vbu9FM0VYvYETaG_RyCFxF4XMgePGMsNVxn4V723ksx0bz_s3PjPBWHEu5tyem--fz8XrhFA8in0Ud5ycwDbxPRojP5j_1e3ZN5xPPygVR3j2eXXoa8rtlxmU0ZEc1fg\u0026h=-HiIynZo_DBzyPuGzKzPMpJ_NjVD-5BUauNGhXeRMeI", "Content": null, "isContentBase64": false, "Headers": { @@ -1471,9 +1471,9 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"4800bcb8-0000-0200-0000-684fbda80000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNA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tOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALO1SAv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B3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4" ], "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=c2bdc6ca-a59c-411c-bf1a-a97ceade71ea/southeastasia/78438f02-7c57-48bd-aa83-dc79b810f965" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvb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_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNDIwMTUyMDI3WhcNMjUxMDE3MTUyMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0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IDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4" ], "x-ms-request-id": [ "8553d6fd-6005-4ad8-a578-bd0414cf3c03" ], "x-ms-correlation-request-id": [ "a0d6b4db-e589-420e-badc-cf1c7974aabf" ], "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], @@ -1494,10 +1494,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAAB4MSczANBgkqh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jAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4+34": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856532239418588\u0026c=MII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VHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-01-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gA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BR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/eastus2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5EDB8E6E5BB77607CBEA?api-version=2025-06-01\u0026t=638856532239418588\u0026c=MIIHhzCCBm-gAwIBAgITfAeDEnPW_KxJbq8EjgAA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AdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=gjwPDor3vgARNNwRwx1K9KIswTJ7pdfN-6QbZqiDF2-4GGz7wkTT6f7p_24YMLf4C32YU3iL7fMkcS_brD4rTmIr7R9n7Olb2Qpp4doJiwt9qHytNMERXjjILi3JjLiEPTre-aTAL9Sa3fYJF9xjs5EXLAl__Pit0MX8LSfsqkJXoTMVZHlKk-gEBzzOaArFrjPn65RKJ4vbfUnpTsjYWoX8gA14xb6BtECP5ZSUbCzXR88wYPqNo9PUHJ9GwlaDuo3Jq2RFiJZOspeZBM0UX7pPBGu4a18fGBDQ9PYCjbI6t0XlXAEvpDSZu6ZvqpXMuRYKarP3QCYV-FrenotSiw\u0026h=O06WwAFdlGFRRpwDPr_wlbNQpDe2siT6PIQcYWUsIK4", "Content": null, "isContentBase64": false, "Headers": { @@ -1539,10 +1539,10 @@ "isContentBase64": false } }, - "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9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EAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M+35": { + "New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+[NoContext]+New/Get/Update/Remove-AzStorageTaskAssignment, List task assignment reports+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4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2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8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YQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/locations/EASTUS2/ActionsRPOperationStatuses/42e4c176-da5a-48ce-94be-160fbac8a645*0B0AB8B1C84235486E3A9769A888BEA3F2894225183C5ED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MwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAChQXwS0_EaMb7G3BWGDeoNhAAEaoKkJVUy5HVGyWKADFm6Tp2WidwOIMoOu-IuoA634ORJ7bIwsC2WhUA0Z8-c2AAD956dAtCkn5pEBXSqwuKMM3l9KOClAY1RiAQcP-GWtmb_mqZspO78GHaq-mwiyIDUICM-uZl-qR6UVt6rLn5xPqHNkenxrslS_G3IJ9yCV1sflxhz93B7VR9H7BtOxd_nqZOD5uSV3OpPnATTRO0KB3VBbZ0KqvdtWoHjNywLqMuhJUufHw2zmlQ-Yj3ndha_yTvOQlT-85ikSoyWI0P4_GeEwX9RdkiVHVzx3gR8HzFKkJXOwRvxQE_9Ov_0\u0026s=jyMdlp0ZbytWizgg0dRssXBERTceALrpou4jWwbwsag-Di2LLX5b1VioMwO-dVIIWBCphqKGWFbMGyIlk31t5ddLSzmrPvDLkyMFqEouYrIiYjCIkRl3FDpEzNAcD63QY6VaO_2xDGEjTC0H5jrdxE-oSKF0oXUpGkg2j_f40sHg6688ArRjB3JYA3W-3v_QZEA1pMghEbmIAWTJr9QaJZ_aO5qtAhSKqlPdiEhh5URm9_njyZFesHUiJqQtoRkh3Gu904A-CnCF626IBw1k9BOqQRkz9cmKWV0vbjyDd4x2G2_j-oD0k_krdCt6ZHdSyBBqfbiTF1B_DmnTGZfU0g\u0026h=i7mcvlFharb8vp2P4rkpLA35n_NdkgXVXw27O33MO_M", "Content": null, "isContentBase64": false, "Headers": { diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperations.cs index 6db85dd7e65f..cffe3aa6adb2 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperations.cs @@ -43,8 +43,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// SRP today does not return continuation token. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -89,6 +88,12 @@ internal BlobContainersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -103,10 +108,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -127,22 +128,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } @@ -167,9 +152,9 @@ internal BlobContainersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -248,14 +233,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -265,10 +249,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -295,7 +275,7 @@ internal BlobContainersOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -319,14 +299,10 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Creates a new container under the specified account as described by request - /// body. The container resource includes metadata and properties for that - /// container. It does not include a list of the blobs contained by the - /// container. + /// Gets properties of a specified container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -339,9 +315,6 @@ internal BlobContainersOperations (StorageManagementClient client) /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Properties of the blob container to create. - /// /// /// Headers that will be added to request. /// @@ -363,17 +336,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (blobContainer == null) + if (this.Client.ApiVersion == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "blobContainer"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -388,10 +362,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -427,22 +397,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -454,19 +408,18 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("blobContainer", blobContainer); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -480,7 +433,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -509,12 +462,6 @@ internal BlobContainersOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(blobContainer != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(blobContainer, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -537,16 +484,15 @@ internal BlobContainersOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -556,10 +502,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -598,24 +540,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -628,13 +552,13 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Updates container properties as specified in request body. Properties not - /// mentioned in the request will be unchanged. Update fails if the specified - /// container doesn't already exist. + /// Creates a new container under the specified account as described by request + /// body. The container resource includes metadata and properties for that + /// container. It does not include a list of the blobs contained by the + /// container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -648,7 +572,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// must be immediately preceded and followed by a letter or number. /// /// - /// Properties to update for the blob container. + /// Properties of the blob container to create. /// /// /// Headers that will be added to request. @@ -671,7 +595,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -681,6 +605,13 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "blobContainer"); } + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -695,10 +626,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -734,22 +661,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -764,16 +675,16 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("blobContainer", blobContainer); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -787,7 +698,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -844,16 +755,15 @@ internal BlobContainersOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -863,10 +773,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -905,6 +811,24 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -917,11 +841,12 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Gets properties of a specified container. + /// Updates container properties as specified in request body. Properties not + /// mentioned in the request will be unchanged. Update fails if the specified + /// container doesn't already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -934,6 +859,9 @@ internal BlobContainersOperations (StorageManagementClient client) /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// Properties to update for the blob container. + /// /// /// Headers that will be added to request. /// @@ -955,12 +883,22 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (blobContainer == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "blobContainer"); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -975,10 +913,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1014,22 +948,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1041,18 +959,19 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); + tracingParameters.Add("blobContainer", blobContainer); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1066,7 +985,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1095,6 +1014,12 @@ internal BlobContainersOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(blobContainer != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(blobContainer, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -1119,14 +1044,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1136,10 +1060,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1193,8 +1113,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// Deletes specified container under its account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1231,6 +1150,12 @@ internal BlobContainersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1245,10 +1170,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1284,22 +1205,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1319,10 +1224,10 @@ internal BlobContainersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1389,14 +1294,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1406,10 +1310,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1442,13 +1342,12 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Sets legal hold tags. Setting the same tag results in an idempotent - /// operation. SetLegalHold follows an append pattern and does not clear out - /// the existing tags that are not specified in the request. + /// Clears legal hold tags. Clearing the same or non-existent tag results in an + /// idempotent operation. ClearLegalHold clears out only the specified tags in + /// the request. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1491,12 +1390,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> SetLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ClearLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1511,10 +1416,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1550,27 +1451,11 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) + LegalHold legalHold = new LegalHold(); + if(tags != null||allowProtectedAppendWritesAll != null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - LegalHold legalHold = new LegalHold(); - if(tags != null||allowProtectedAppendWritesAll != null) - { - legalHold.Tags = tags; - legalHold.AllowProtectedAppendWritesAll = allowProtectedAppendWritesAll; + legalHold.Tags = tags; + legalHold.AllowProtectedAppendWritesAll = allowProtectedAppendWritesAll; } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -1586,16 +1471,16 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("legalHold", legalHold); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetLegalHold", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ClearLegalHold", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1668,14 +1553,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1685,10 +1569,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1739,13 +1619,11 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Clears legal hold tags. Clearing the same or non-existent tag results in an - /// idempotent operation. ClearLegalHold clears out only the specified tags in - /// the request. + /// Gets the existing immutability policy along with the corresponding ETag in + /// response headers and body. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1758,14 +1636,10 @@ internal BlobContainersOperations (StorageManagementClient client) /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Each tag should be 3 to 23 alphanumeric characters and is normalized to - /// lower case at SRP. - /// - /// - /// When enabled, new blocks can be written to both 'Append and Bock Blobs' - /// while maintaining legal hold protection and compliance. Only new blocks can - /// be added and any existing blocks cannot be modified or deleted. + /// + /// The entity state (ETag) version of the immutability policy to update must + /// be returned to the server for all update operations. The ETag value must + /// include the leading and trailing double quotes as returned by the service. /// /// /// Headers that will be added to request. @@ -1788,12 +1662,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> ClearLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1808,10 +1688,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1847,28 +1723,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - LegalHold legalHold = new LegalHold(); - if(tags != null||allowProtectedAppendWritesAll != null) - { - legalHold.Tags = tags; - legalHold.AllowProtectedAppendWritesAll = allowProtectedAppendWritesAll; - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1879,20 +1734,20 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); + tracingParameters.Add("ifMatch", ifMatch); - tracingParameters.Add("legalHold", legalHold); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ClearLegalHold", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetImmutabilityPolicy", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1906,7 +1761,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1921,6 +1776,14 @@ internal BlobContainersOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (customHeaders != null) { @@ -1935,12 +1798,6 @@ internal BlobContainersOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(legalHold != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(legalHold, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -1965,14 +1822,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1982,10 +1838,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1998,7 +1850,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2012,7 +1864,7 @@ internal BlobContainersOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -2024,6 +1876,19 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -2040,8 +1905,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// honored if given but not required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2088,9 +1952,15 @@ internal BlobContainersOperations (StorageManagementClient client) { - string immutabilityPolicyName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2105,10 +1975,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2145,23 +2011,6 @@ internal BlobContainersOperations (StorageManagementClient client) } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2172,7 +2021,6 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("immutabilityPolicyName", immutabilityPolicyName); tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("parameters", parameters); @@ -2183,12 +2031,11 @@ internal BlobContainersOperations (StorageManagementClient client) // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{immutabilityPolicyName}", System.Uri.EscapeDataString(immutabilityPolicyName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -2269,14 +2116,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2286,10 +2132,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -2353,12 +2195,14 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Gets the existing immutability policy along with the corresponding ETag in - /// response headers and body. + /// Aborts an unlocked immutability policy. The response of delete has + /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + /// required for this operation. Deleting a locked immutability policy is not + /// allowed, the only way is to delete the container after deleting all expired + /// blobs inside the policy locked container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2397,12 +2241,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string immutabilityPolicyName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2417,10 +2267,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2456,22 +2302,9 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + if (ifMatch == null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ifMatch"); } // Tracing @@ -2484,22 +2317,20 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("immutabilityPolicyName", immutabilityPolicyName); tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetImmutabilityPolicy", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "DeleteImmutabilityPolicy", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{immutabilityPolicyName}", System.Uri.EscapeDataString(immutabilityPolicyName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -2513,7 +2344,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -2574,14 +2405,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2591,10 +2421,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -2607,7 +2433,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2635,7 +2461,7 @@ internal BlobContainersOperations (StorageManagementClient client) } try { - _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); } catch (Newtonsoft.Json.JsonException ex) { @@ -2658,15 +2484,12 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Aborts an unlocked immutability policy. The response of delete has - /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is - /// required for this operation. Deleting a locked immutability policy is not - /// allowed, the only way is to delete the container after deleting all expired - /// blobs inside the policy locked container. + /// Extends the immutabilityPeriodSinceCreationInDays of a locked + /// immutabilityPolicy. The only action allowed on a Locked policy will be this + /// action. ETag in If-Match is required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2684,6 +2507,9 @@ internal BlobContainersOperations (StorageManagementClient client) /// be returned to the server for all update operations. The ETag value must /// include the leading and trailing double quotes as returned by the service. /// + /// + /// The content of the action request + /// /// /// Headers that will be added to request. /// @@ -2705,12 +2531,19 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> DeleteImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExtendImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string immutabilityPolicyName = "default"; + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2725,10 +2558,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2764,23 +2593,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (ifMatch == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ifMatch"); @@ -2796,22 +2608,21 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("immutabilityPolicyName", immutabilityPolicyName); tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "DeleteImmutabilityPolicy", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ExtendImmutabilityPolicy", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{immutabilityPolicyName}", System.Uri.EscapeDataString(immutabilityPolicyName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -2825,7 +2636,7 @@ internal BlobContainersOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -2862,6 +2673,12 @@ internal BlobContainersOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -2886,14 +2703,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2903,10 +2719,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -2919,7 +2731,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2947,7 +2759,7 @@ internal BlobContainersOperations (StorageManagementClient client) } try { - _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); } catch (Newtonsoft.Json.JsonException ex) { @@ -2975,8 +2787,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -3021,6 +2832,12 @@ internal BlobContainersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3035,10 +2852,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3074,22 +2887,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (ifMatch == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ifMatch"); @@ -3115,10 +2912,10 @@ internal BlobContainersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -3193,14 +2990,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3210,10 +3006,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3277,13 +3069,12 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// Extends the immutabilityPeriodSinceCreationInDays of a locked - /// immutabilityPolicy. The only action allowed on a Locked policy will be this - /// action. ETag in If-Match is required for this operation. + /// The Lease Container operation establishes and manages a lock on a container + /// for delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -3296,14 +3087,8 @@ internal BlobContainersOperations (StorageManagementClient client) /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// The entity state (ETag) version of the immutability policy to update must - /// be returned to the server for all update operations. The ETag value must - /// include the leading and trailing double quotes as returned by the service. - /// /// - /// The ImmutabilityPolicy Properties that will be extended for a blob - /// container. + /// The content of the action request /// /// /// Headers that will be added to request. @@ -3326,12 +3111,21 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> ExtendImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (parameters != null) + { + parameters.Validate(); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (resourceGroupName == null) { @@ -3347,10 +3141,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3386,27 +3176,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (ifMatch == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ifMatch"); - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3417,21 +3186,20 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ExtendImmutabilityPolicy", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Lease", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -3460,14 +3228,6 @@ internal BlobContainersOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } - if (ifMatch != null) - { - if (_httpRequest.Headers.Contains("If-Match")) - { - _httpRequest.Headers.Remove("If-Match"); - } - _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); - } if (customHeaders != null) { @@ -3512,14 +3272,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3529,10 +3288,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3545,7 +3300,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -3559,7 +3314,7 @@ internal BlobContainersOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -3571,19 +3326,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - try - { - _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -3596,13 +3338,14 @@ internal BlobContainersOperations (StorageManagementClient client) } /// - /// The Lease Container operation establishes and manages a lock on a container - /// for delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// This operation migrates a blob container from container level WORM to + /// object level immutability enabled container. Prerequisites require a + /// container level immutability policy either in locked or unlocked state, + /// Account level versioning must be enabled and there should be no Legal hold + /// on the container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -3615,8 +3358,46 @@ internal BlobContainersOperations (StorageManagementClient client) /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Lease Container request body. + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> ObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Sets legal hold tags. Setting the same tag results in an idempotent + /// operation. SetLegalHold follows an append pattern and does not clear out + /// the existing tags that are not specified in the request. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the blob container within the specified storage account. Blob + /// container names must be between 3 and 63 characters in length and use + /// numbers, lower-case letters and dash (-) only. Every dash (-) character + /// must be immediately preceded and followed by a letter or number. + /// + /// + /// Each tag should be 3 to 23 alphanumeric characters and is normalized to + /// lower case at SRP. + /// + /// + /// When enabled, new blocks can be written to both 'Append and Bock Blobs' + /// while maintaining legal hold protection and compliance. Only new blocks can + /// be added and any existing blocks cannot be modified or deleted. /// /// /// Headers that will be added to request. @@ -3639,16 +3420,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> SetLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3663,10 +3446,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3702,21 +3481,11 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + LegalHold legalHold = new LegalHold(); + if(tags != null||allowProtectedAppendWritesAll != null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + legalHold.Tags = tags; + legalHold.AllowProtectedAppendWritesAll = allowProtectedAppendWritesAll; } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -3729,19 +3498,19 @@ internal BlobContainersOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("containerName", containerName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("legalHold", legalHold); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Lease", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetLegalHold", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -3784,9 +3553,9 @@ internal BlobContainersOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) + if(legalHold != null) { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(legalHold, this.Client.SerializationSettings); _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } @@ -3814,14 +3583,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3831,10 +3599,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3847,7 +3611,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -3861,7 +3625,7 @@ internal BlobContainersOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -3892,43 +3656,7 @@ internal BlobContainersOperations (StorageManagementClient client) /// on the container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The name of the blob container within the specified storage account. Blob - /// container names must be between 3 and 63 characters in length and use - /// numbers, lower-case letters and dash (-) only. Every dash (-) character - /// must be immediately preceded and followed by a letter or number. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task ObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// This operation migrates a blob container from container level WORM to - /// object level immutability enabled container. Prerequisites require a - /// container level immutability policy either in locked or unlocked state, - /// Account level versioning must be enabled and there should be no Legal hold - /// on the container. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -3959,12 +3687,18 @@ internal BlobContainersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task BeginObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3979,10 +3713,6 @@ internal BlobContainersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4018,22 +3748,6 @@ internal BlobContainersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "containerName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4053,10 +3767,10 @@ internal BlobContainersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -4156,7 +3870,7 @@ internal BlobContainersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -4164,6 +3878,19 @@ internal BlobContainersOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -4288,14 +4015,13 @@ internal BlobContainersOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -4305,10 +4031,6 @@ internal BlobContainersOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -4335,7 +4057,7 @@ internal BlobContainersOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperationsExtensions.cs index 4048121e8a2b..214ccdbc1009 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobContainersOperationsExtensions.cs @@ -20,8 +20,7 @@ public static partial class BlobContainersOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -52,8 +51,7 @@ public static partial class BlobContainersOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -82,17 +80,13 @@ public static partial class BlobContainersOperationsExtensions } } /// - /// Creates a new container under the specified account as described by request - /// body. The container resource includes metadata and properties for that - /// container. It does not include a list of the blobs contained by the - /// container. + /// Gets properties of a specified container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -105,23 +99,19 @@ public static partial class BlobContainersOperationsExtensions /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static BlobContainer Create(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer) + public static BlobContainer Get(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) { - return ((IBlobContainersOperations)operations).CreateAsync(resourceGroupName, accountName, containerName, blobContainer).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).GetAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); } /// - /// Creates a new container under the specified account as described by request - /// body. The container resource includes metadata and properties for that - /// container. It does not include a list of the blobs contained by the - /// container. + /// Gets properties of a specified container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -137,24 +127,24 @@ public static BlobContainer Create(this IBlobContainersOperations operations, st /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task CreateAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, containerName, blobContainer, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Updates container properties as specified in request body. Properties not - /// mentioned in the request will be unchanged. Update fails if the specified - /// container doesn't already exist. + /// Creates a new container under the specified account as described by request + /// body. The container resource includes metadata and properties for that + /// container. It does not include a list of the blobs contained by the + /// container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -167,22 +157,22 @@ public static BlobContainer Create(this IBlobContainersOperations operations, st /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static BlobContainer Update(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer) + public static BlobContainer Create(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer) { - return ((IBlobContainersOperations)operations).UpdateAsync(resourceGroupName, accountName, containerName, blobContainer).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).CreateAsync(resourceGroupName, accountName, containerName, blobContainer).GetAwaiter().GetResult(); } /// - /// Updates container properties as specified in request body. Properties not - /// mentioned in the request will be unchanged. Update fails if the specified - /// container doesn't already exist. + /// Creates a new container under the specified account as described by request + /// body. The container resource includes metadata and properties for that + /// container. It does not include a list of the blobs contained by the + /// container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -198,22 +188,23 @@ public static BlobContainer Update(this IBlobContainersOperations operations, st /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task UpdateAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task CreateAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, containerName, blobContainer, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, containerName, blobContainer, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets properties of a specified container. + /// Updates container properties as specified in request body. Properties not + /// mentioned in the request will be unchanged. Update fails if the specified + /// container doesn't already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -226,20 +217,21 @@ public static BlobContainer Update(this IBlobContainersOperations operations, st /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static BlobContainer Get(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) + public static BlobContainer Update(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer) { - return ((IBlobContainersOperations)operations).GetAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).UpdateAsync(resourceGroupName, accountName, containerName, blobContainer).GetAwaiter().GetResult(); } /// - /// Gets properties of a specified container. + /// Updates container properties as specified in request body. Properties not + /// mentioned in the request will be unchanged. Update fails if the specified + /// container doesn't already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -255,9 +247,9 @@ public static BlobContainer Get(this IBlobContainersOperations operations, strin /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task UpdateAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, containerName, blobContainer, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -269,8 +261,7 @@ public static BlobContainer Get(this IBlobContainersOperations operations, strin /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -295,8 +286,7 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -317,16 +307,15 @@ public static void Delete(this IBlobContainersOperations operations, string reso (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Sets legal hold tags. Setting the same tag results in an idempotent - /// operation. SetLegalHold follows an append pattern and does not clear out - /// the existing tags that are not specified in the request. + /// Clears legal hold tags. Clearing the same or non-existent tag results in an + /// idempotent operation. ClearLegalHold clears out only the specified tags in + /// the request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -339,22 +328,21 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static LegalHold SetLegalHold(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?)) + public static LegalHold ClearLegalHold(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?)) { - return ((IBlobContainersOperations)operations).SetLegalHoldAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).ClearLegalHoldAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll).GetAwaiter().GetResult(); } /// - /// Sets legal hold tags. Setting the same tag results in an idempotent - /// operation. SetLegalHold follows an append pattern and does not clear out - /// the existing tags that are not specified in the request. + /// Clears legal hold tags. Clearing the same or non-existent tag results in an + /// idempotent operation. ClearLegalHold clears out only the specified tags in + /// the request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -370,24 +358,22 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task SetLegalHoldAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ClearLegalHoldAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.SetLegalHoldWithHttpMessagesAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ClearLegalHoldWithHttpMessagesAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Clears legal hold tags. Clearing the same or non-existent tag results in an - /// idempotent operation. ClearLegalHold clears out only the specified tags in - /// the request. + /// Gets the existing immutability policy along with the corresponding ETag in + /// response headers and body. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -400,22 +386,25 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static LegalHold ClearLegalHold(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?)) + /// + /// The entity state (ETag) version of the immutability policy to update must + /// be returned to the server for all update operations. The ETag value must + /// include the leading and trailing double quotes as returned by the service. + /// + public static ImmutabilityPolicy GetImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch = default(string)) { - return ((IBlobContainersOperations)operations).ClearLegalHoldAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).GetImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch).GetAwaiter().GetResult(); } /// - /// Clears legal hold tags. Clearing the same or non-existent tag results in an - /// idempotent operation. ClearLegalHold clears out only the specified tags in - /// the request. + /// Gets the existing immutability policy along with the corresponding ETag in + /// response headers and body. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -428,12 +417,17 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// The entity state (ETag) version of the immutability policy to update must + /// be returned to the server for all update operations. The ETag value must + /// include the leading and trailing double quotes as returned by the service. + /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ClearLegalHoldAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ClearLegalHoldWithHttpMessagesAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -446,8 +440,7 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -478,8 +471,7 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -508,15 +500,17 @@ public static void Delete(this IBlobContainersOperations operations, string reso } } /// - /// Gets the existing immutability policy along with the corresponding ETag in - /// response headers and body. + /// Aborts an unlocked immutability policy. The response of delete has + /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + /// required for this operation. Deleting a locked immutability policy is not + /// allowed, the only way is to delete the container after deleting all expired + /// blobs inside the policy locked container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -534,21 +528,23 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// be returned to the server for all update operations. The ETag value must /// include the leading and trailing double quotes as returned by the service. /// - public static ImmutabilityPolicy GetImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch = default(string)) + public static ImmutabilityPolicy DeleteImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch) { - return ((IBlobContainersOperations)operations).GetImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).DeleteImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch).GetAwaiter().GetResult(); } /// - /// Gets the existing immutability policy along with the corresponding ETag in - /// response headers and body. + /// Aborts an unlocked immutability policy. The response of delete has + /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + /// required for this operation. Deleting a locked immutability policy is not + /// allowed, the only way is to delete the container after deleting all expired + /// blobs inside the policy locked container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -569,26 +565,23 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task DeleteImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Aborts an unlocked immutability policy. The response of delete has - /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is - /// required for this operation. Deleting a locked immutability policy is not - /// allowed, the only way is to delete the container after deleting all expired - /// blobs inside the policy locked container. + /// Extends the immutabilityPeriodSinceCreationInDays of a locked + /// immutabilityPolicy. The only action allowed on a Locked policy will be this + /// action. ETag in If-Match is required for this operation. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -606,24 +599,21 @@ public static void Delete(this IBlobContainersOperations operations, string reso /// be returned to the server for all update operations. The ETag value must /// include the leading and trailing double quotes as returned by the service. /// - public static ImmutabilityPolicy DeleteImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch) + public static ImmutabilityPolicy ExtendImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy)) { - return ((IBlobContainersOperations)operations).DeleteImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).ExtendImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch, parameters).GetAwaiter().GetResult(); } /// - /// Aborts an unlocked immutability policy. The response of delete has - /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is - /// required for this operation. Deleting a locked immutability policy is not - /// allowed, the only way is to delete the container after deleting all expired - /// blobs inside the policy locked container. + /// Extends the immutabilityPeriodSinceCreationInDays of a locked + /// immutabilityPolicy. The only action allowed on a Locked policy will be this + /// action. ETag in If-Match is required for this operation. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -644,9 +634,9 @@ public static ImmutabilityPolicy DeleteImmutabilityPolicy(this IBlobContainersOp /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task DeleteImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ExtendImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.DeleteImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ExtendImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -660,8 +650,7 @@ public static ImmutabilityPolicy DeleteImmutabilityPolicy(this IBlobContainersOp /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -693,8 +682,7 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -723,16 +711,15 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper } } /// - /// Extends the immutabilityPeriodSinceCreationInDays of a locked - /// immutabilityPolicy. The only action allowed on a Locked policy will be this - /// action. ETag in If-Match is required for this operation. + /// The Lease Container operation establishes and manages a lock on a container + /// for delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -745,27 +732,21 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// The entity state (ETag) version of the immutability policy to update must - /// be returned to the server for all update operations. The ETag value must - /// include the leading and trailing double quotes as returned by the service. - /// - public static ImmutabilityPolicy ExtendImmutabilityPolicy(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy)) + public static LeaseContainerResponse Lease(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest)) { - return ((IBlobContainersOperations)operations).ExtendImmutabilityPolicyAsync(resourceGroupName, accountName, containerName, ifMatch, parameters).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).LeaseAsync(resourceGroupName, accountName, containerName, parameters).GetAwaiter().GetResult(); } /// - /// Extends the immutabilityPeriodSinceCreationInDays of a locked - /// immutabilityPolicy. The only action allowed on a Locked policy will be this - /// action. ETag in If-Match is required for this operation. + /// The Lease Container operation establishes and manages a lock on a container + /// for delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -778,32 +759,28 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// The entity state (ETag) version of the immutability policy to update must - /// be returned to the server for all update operations. The ETag value must - /// include the leading and trailing double quotes as returned by the service. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ExtendImmutabilityPolicyAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task LeaseAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ExtendImmutabilityPolicyWithHttpMessagesAsync(resourceGroupName, accountName, containerName, ifMatch, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.LeaseWithHttpMessagesAsync(resourceGroupName, accountName, containerName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// The Lease Container operation establishes and manages a lock on a container - /// for delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// This operation migrates a blob container from container level WORM to + /// object level immutability enabled container. Prerequisites require a + /// container level immutability policy either in locked or unlocked state, + /// Account level versioning must be enabled and there should be no Legal hold + /// on the container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -816,22 +793,23 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static LeaseContainerResponse Lease(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest)) + public static BlobContainersObjectLevelWormHeaders ObjectLevelWorm(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) { - return ((IBlobContainersOperations)operations).LeaseAsync(resourceGroupName, accountName, containerName, parameters).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).ObjectLevelWormAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); } /// - /// The Lease Container operation establishes and manages a lock on a container - /// for delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// This operation migrates a blob container from container level WORM to + /// object level immutability enabled container. Prerequisites require a + /// container level immutability policy either in locked or unlocked state, + /// Account level versioning must be enabled and there should be no Legal hold + /// on the container. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -847,26 +825,23 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task LeaseAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ObjectLevelWormAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.LeaseWithHttpMessagesAsync(resourceGroupName, accountName, containerName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)) { - return _result.Body; + return _result.Headers; } } /// - /// This operation migrates a blob container from container level WORM to - /// object level immutability enabled container. Prerequisites require a - /// container level immutability policy either in locked or unlocked state, - /// Account level versioning must be enabled and there should be no Legal hold - /// on the container. + /// Sets legal hold tags. Setting the same tag results in an idempotent + /// operation. SetLegalHold follows an append pattern and does not clear out + /// the existing tags that are not specified in the request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -879,24 +854,21 @@ public static ImmutabilityPolicy LockImmutabilityPolicy(this IBlobContainersOper /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static void ObjectLevelWorm(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) + public static LegalHold SetLegalHold(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?)) { - ((IBlobContainersOperations)operations).ObjectLevelWormAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).SetLegalHoldAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll).GetAwaiter().GetResult(); } /// - /// This operation migrates a blob container from container level WORM to - /// object level immutability enabled container. Prerequisites require a - /// container level immutability policy either in locked or unlocked state, - /// Account level versioning must be enabled and there should be no Legal hold - /// on the container. + /// Sets legal hold tags. Setting the same tag results in an idempotent + /// operation. SetLegalHold follows an append pattern and does not clear out + /// the existing tags that are not specified in the request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -912,9 +884,12 @@ public static void ObjectLevelWorm(this IBlobContainersOperations operations, st /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ObjectLevelWormAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task SetLegalHoldAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.ObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.SetLegalHoldWithHttpMessagesAsync(resourceGroupName, accountName, containerName, tags, allowProtectedAppendWritesAll, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// /// This operation migrates a blob container from container level WORM to @@ -927,8 +902,7 @@ public static void ObjectLevelWorm(this IBlobContainersOperations operations, st /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -941,9 +915,9 @@ public static void ObjectLevelWorm(this IBlobContainersOperations operations, st /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static void BeginObjectLevelWorm(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) + public static BlobContainersObjectLevelWormHeaders BeginObjectLevelWorm(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName) { - ((IBlobContainersOperations)operations).BeginObjectLevelWormAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); + return ((IBlobContainersOperations)operations).BeginObjectLevelWormAsync(resourceGroupName, accountName, containerName).GetAwaiter().GetResult(); } /// @@ -957,8 +931,7 @@ public static void BeginObjectLevelWorm(this IBlobContainersOperations operation /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -974,9 +947,12 @@ public static void BeginObjectLevelWorm(this IBlobContainersOperations operation /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task BeginObjectLevelWormAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task BeginObjectLevelWormAsync(this IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.BeginObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginObjectLevelWormWithHttpMessagesAsync(resourceGroupName, accountName, containerName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// /// Lists all containers and does not support a prefix like data plane. Also diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperations.cs index 83bdc51c1050..37b6c2bc0fe8 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperations.cs @@ -43,8 +43,7 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -72,12 +71,18 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string blobInventoryPolicyName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -92,10 +97,6 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -116,20 +117,235 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the blob inventory policy associated with the specified storage + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + string blobInventoryPolicyName = "default"; + if (this.Client.ApiVersion == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) + + if (resourceGroupName == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); } - if (this.Client.SubscriptionId != null) + if (resourceGroupName != null) { - if (this.Client.SubscriptionId.Length < 1) + if (resourceGroupName.Length > 90) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } @@ -152,9 +368,9 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{blobInventoryPolicyName}", System.Uri.EscapeDataString(blobInventoryPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -296,8 +512,7 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// Sets the blob inventory policy to the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -335,6 +550,12 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) string blobInventoryPolicyName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -349,10 +570,6 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -373,22 +590,6 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } BlobInventoryPolicy properties = new BlobInventoryPolicy(); if(policy != null) @@ -415,9 +616,9 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{blobInventoryPolicyName}", System.Uri.EscapeDataString(blobInventoryPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -566,8 +767,7 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -598,6 +798,12 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) string blobInventoryPolicyName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -612,10 +818,6 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -636,22 +838,6 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -672,9 +858,9 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{blobInventoryPolicyName}", System.Uri.EscapeDataString(blobInventoryPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -798,14 +984,8 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// Gets the blob inventory policy associated with the specified storage /// account. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. + /// + /// The NextLink from the previous successful call to List operation. /// /// /// Headers that will be added to request. @@ -828,65 +1008,12 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - if (resourceGroupName == null) + if (nextPageLink == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (accountName == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); - } - if (accountName != null) - { - if (accountName.Length > 24) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); - } - if (accountName.Length < 3) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); - } - } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -895,26 +1022,17 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) { _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("accountName", accountName); - + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL - - var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); - if (this.Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -1003,7 +1121,7 @@ internal BlobInventoryPoliciesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperationsExtensions.cs index 4550dc0a7728..f5bd9d2df9a9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobInventoryPoliciesOperationsExtensions.cs @@ -20,8 +20,52 @@ public static partial class BlobInventoryPoliciesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static Microsoft.Rest.Azure.IPage List(this IBlobInventoryPoliciesOperations operations, string resourceGroupName, string accountName) + { + return ((IBlobInventoryPoliciesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Gets the blob inventory policy associated with the specified storage + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this IBlobInventoryPoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets the blob inventory policy associated with the specified storage + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -41,8 +85,7 @@ public static BlobInventoryPolicy Get(this IBlobInventoryPoliciesOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -66,8 +109,7 @@ public static BlobInventoryPolicy Get(this IBlobInventoryPoliciesOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -86,8 +128,7 @@ public static BlobInventoryPolicy Get(this IBlobInventoryPoliciesOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -112,8 +153,7 @@ public static BlobInventoryPolicy Get(this IBlobInventoryPoliciesOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -133,8 +173,7 @@ public static void Delete(this IBlobInventoryPoliciesOperations operations, stri /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -155,18 +194,12 @@ public static void Delete(this IBlobInventoryPoliciesOperations operations, stri /// /// The operations group for this extension method. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// + /// The NextLink from the previous successful call to List operation. /// - /// - /// 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. - /// - public static System.Collections.Generic.IEnumerable List(this IBlobInventoryPoliciesOperations operations, string resourceGroupName, string accountName) + public static Microsoft.Rest.Azure.IPage ListNext(this IBlobInventoryPoliciesOperations operations, string nextPageLink) { - return ((IBlobInventoryPoliciesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IBlobInventoryPoliciesOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -176,21 +209,15 @@ public static System.Collections.Generic.IEnumerable List(t /// /// The operations group for this extension method. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. + /// + /// The NextLink from the previous successful call to List operation. /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IBlobInventoryPoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListNextAsync(this IBlobInventoryPoliciesOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperations.cs index d5c77355c613..eaf5af36195f 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperations.cs @@ -43,8 +43,7 @@ internal BlobServicesOperations (StorageManagementClient client) /// object named default. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -72,12 +71,18 @@ internal BlobServicesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -92,10 +97,6 @@ internal BlobServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -116,22 +117,6 @@ internal BlobServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150,9 +135,9 @@ internal BlobServicesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -219,14 +204,13 @@ internal BlobServicesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -236,10 +220,6 @@ internal BlobServicesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -252,7 +232,7 @@ internal BlobServicesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -290,23 +270,18 @@ internal BlobServicesOperations (StorageManagementClient client) } /// - /// Sets the properties of a storage account’s Blob service, including + /// Gets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The properties of a storage account’s Blob service, including properties - /// for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - /// /// /// Headers that will be added to request. /// @@ -328,20 +303,18 @@ internal BlobServicesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string blobServicesName = "default"; + - if (parameters == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -356,10 +329,6 @@ internal BlobServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -380,23 +349,6 @@ internal BlobServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -406,21 +358,18 @@ internal BlobServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("blobServicesName", blobServicesName); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{BlobServicesName}", System.Uri.EscapeDataString(blobServicesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -434,7 +383,7 @@ internal BlobServicesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -463,12 +412,6 @@ internal BlobServicesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -493,14 +436,13 @@ internal BlobServicesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -510,10 +452,6 @@ internal BlobServicesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -564,19 +502,22 @@ internal BlobServicesOperations (StorageManagementClient client) } /// - /// Gets the properties of a storage account’s Blob service, including + /// Sets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The properties of a storage account’s Blob service, including properties + /// for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + /// /// /// Headers that will be added to request. /// @@ -598,12 +539,26 @@ internal BlobServicesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string blobServicesName = "default"; + + if (parameters == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -618,10 +573,6 @@ internal BlobServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -642,23 +593,6 @@ internal BlobServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -668,20 +602,19 @@ internal BlobServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("blobServicesName", blobServicesName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{BlobServicesName}", System.Uri.EscapeDataString(blobServicesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -695,7 +628,7 @@ internal BlobServicesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -724,6 +657,12 @@ internal BlobServicesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -748,14 +687,13 @@ internal BlobServicesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -765,10 +703,6 @@ internal BlobServicesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -817,6 +751,184 @@ internal BlobServicesOperations (StorageManagementClient client) + } + /// + /// List blob services of storage account. It returns a collection of one + /// object named default. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperationsExtensions.cs index 4a51fd8aa0a9..101bfd5506d2 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/BlobServicesOperationsExtensions.cs @@ -20,15 +20,14 @@ public static partial class BlobServicesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static System.Collections.Generic.IEnumerable List(this IBlobServicesOperations operations, string resourceGroupName, string accountName) + public static Microsoft.Rest.Azure.IPage List(this IBlobServicesOperations operations, string resourceGroupName, string accountName) { return ((IBlobServicesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } @@ -41,8 +40,7 @@ public static System.Collections.Generic.IEnumerable List /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -52,7 +50,7 @@ public static System.Collections.Generic.IEnumerable List /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { @@ -60,7 +58,7 @@ public static System.Collections.Generic.IEnumerable List } } /// - /// Sets the properties of a storage account’s Blob service, including + /// Gets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// @@ -68,21 +66,20 @@ public static System.Collections.Generic.IEnumerable List /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static BlobServiceProperties SetServiceProperties(this IBlobServicesOperations operations, string resourceGroupName, string accountName, BlobServiceProperties parameters) + public static BlobServiceProperties GetServiceProperties(this IBlobServicesOperations operations, string resourceGroupName, string accountName) { - return ((IBlobServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IBlobServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// - /// Sets the properties of a storage account’s Blob service, including + /// Gets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// @@ -90,8 +87,7 @@ public static BlobServiceProperties SetServiceProperties(this IBlobServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -101,15 +97,15 @@ public static BlobServiceProperties SetServiceProperties(this IBlobServicesOpera /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets the properties of a storage account’s Blob service, including + /// Sets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// @@ -117,21 +113,20 @@ public static BlobServiceProperties SetServiceProperties(this IBlobServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static BlobServiceProperties GetServiceProperties(this IBlobServicesOperations operations, string resourceGroupName, string accountName) + public static BlobServiceProperties SetServiceProperties(this IBlobServicesOperations operations, string resourceGroupName, string accountName, BlobServiceProperties parameters) { - return ((IBlobServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IBlobServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// Gets the properties of a storage account’s Blob service, including + /// Sets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// @@ -139,8 +134,7 @@ public static BlobServiceProperties GetServiceProperties(this IBlobServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -150,9 +144,44 @@ public static BlobServiceProperties GetServiceProperties(this IBlobServicesOpera /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this IBlobServicesOperations operations, string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// List blob services of storage account. It returns a collection of one + /// object named default. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IBlobServicesOperations operations, string nextPageLink) + { + return ((IBlobServicesOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// List blob services of storage account. It returns a collection of one + /// object named default. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IBlobServicesOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperations.cs index 4b9215cb3be8..1f73ae50aaea 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperations.cs @@ -73,17 +73,7 @@ internal DeletedAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } + // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100,7 +90,7 @@ internal DeletedAccountsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -209,7 +199,7 @@ internal DeletedAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -235,12 +225,12 @@ internal DeletedAccountsOperations (StorageManagementClient client) /// /// Get properties of specified deleted account resource. /// + /// + /// The name of the Azure region. + /// /// /// Name of the deleted storage account. /// - /// - /// The location of the deleted storage account. - /// /// /// Headers that will be added to request. /// @@ -262,12 +252,29 @@ internal DeletedAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string deletedAccountName, string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string location, string deletedAccountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (location == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "location"); + } + if (location != null) + { + if (location.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "location", 1); + } + } if (deletedAccountName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "deletedAccountName"); @@ -283,27 +290,6 @@ internal DeletedAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "deletedAccountName", 3); } } - if (location == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "location"); - } - - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -311,8 +297,8 @@ internal DeletedAccountsOperations (StorageManagementClient client) { _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); - tracingParameters.Add("deletedAccountName", deletedAccountName); tracingParameters.Add("location", location); + tracingParameters.Add("deletedAccountName", deletedAccountName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -322,9 +308,9 @@ internal DeletedAccountsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}").ToString(); - _url = _url.Replace("{deletedAccountName}", System.Uri.EscapeDataString(deletedAccountName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{deletedAccountName}", System.Uri.EscapeDataString(deletedAccountName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -610,7 +596,7 @@ internal DeletedAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperationsExtensions.cs index 8522c6623374..1758a363d976 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/DeletedAccountsOperationsExtensions.cs @@ -45,15 +45,15 @@ public static Microsoft.Rest.Azure.IPage List(this IDeletedAccou /// /// The operations group for this extension method. /// + /// + /// The name of the Azure region. + /// /// /// Name of the deleted storage account. /// - /// - /// The location of the deleted storage account. - /// - public static DeletedAccount Get(this IDeletedAccountsOperations operations, string deletedAccountName, string location) + public static DeletedAccount Get(this IDeletedAccountsOperations operations, string location, string deletedAccountName) { - return ((IDeletedAccountsOperations)operations).GetAsync(deletedAccountName, location).GetAwaiter().GetResult(); + return ((IDeletedAccountsOperations)operations).GetAsync(location, deletedAccountName).GetAwaiter().GetResult(); } /// @@ -62,18 +62,18 @@ public static DeletedAccount Get(this IDeletedAccountsOperations operations, str /// /// The operations group for this extension method. /// + /// + /// The name of the Azure region. + /// /// /// Name of the deleted storage account. /// - /// - /// The location of the deleted storage account. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetAsync(this IDeletedAccountsOperations operations, string deletedAccountName, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetAsync(this IDeletedAccountsOperations operations, string location, string deletedAccountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(deletedAccountName, location, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(location, deletedAccountName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperations.cs index 945122473574..b690c7a5375f 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperations.cs @@ -39,28 +39,28 @@ internal EncryptionScopesOperations (StorageManagementClient client) public StorageManagementClient Client { get; private set; } /// - /// Synchronously creates or updates an encryption scope under the specified - /// storage account. If an encryption scope is already created and a subsequent - /// request is issued with different properties, the encryption scope - /// properties will be updated per the specified request. + /// Lists all the encryption scopes available under the specified storage + /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of the encryption scope within the specified storage account. - /// Encryption scope names must be between 3 and 63 characters in length and - /// use numbers, lower-case letters and dash (-) only. Every dash (-) character - /// must be immediately preceded and followed by a letter or number. + /// + /// Optional, specifies the maximum number of encryption scopes that will be + /// included in the list response. /// - /// - /// Encryption scope properties to be used for the create or update. + /// + /// Optional. When specified, only encryption scope names starting with the + /// filter will be listed. + /// + /// + /// Optional, when specified, will list encryption scopes with the specific + /// state. Defaults to All /// /// /// Headers that will be added to request. @@ -83,17 +83,18 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> PutWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (encryptionScope == null) + if (this.Client.ApiVersion == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScope"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -108,10 +109,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -132,37 +129,19 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (encryptionScopeName == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScopeName"); - } - if (encryptionScopeName != null) + if (maxpagesize != null) { - if (encryptionScopeName.Length > 63) + if (maxpagesize > 5000) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "encryptionScopeName", 63); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMaximum, "maxpagesize", 5000); } - if (encryptionScopeName.Length < 3) + if (maxpagesize < 1) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "encryptionScopeName", 3); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "maxpagesize", 1); } } + + // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -172,27 +151,39 @@ internal EncryptionScopesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("encryptionScopeName", encryptionScopeName); + tracingParameters.Add("maxpagesize", maxpagesize); + tracingParameters.Add("filter", filter); + tracingParameters.Add("include", include); - tracingParameters.Add("encryptionScope", encryptionScope); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Put", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{encryptionScopeName}", System.Uri.EscapeDataString(encryptionScopeName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (maxpagesize != null) + { + _queryParameters.Add(string.Format("$maxpagesize={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(maxpagesize, this.Client.SerializationSettings).Trim('"')))); + } + if (filter != null) + { + _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); + } + if (include != null) + { + _queryParameters.Add(string.Format("$include={0}", System.Uri.EscapeDataString(include))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -200,7 +191,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -229,12 +220,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(encryptionScope != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(encryptionScope, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -257,7 +242,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -287,7 +272,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -301,25 +286,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -343,12 +310,10 @@ internal EncryptionScopesOperations (StorageManagementClient client) } /// - /// Update encryption scope properties as specified in the request body. Update - /// fails if the specified encryption scope does not already exist. + /// Returns the properties for the specified encryption scope. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -361,9 +326,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Encryption scope properties to be used for the update. - /// /// /// Headers that will be added to request. /// @@ -385,16 +347,18 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> PatchWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (encryptionScope == null) + if (this.Client.ApiVersion == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScope"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -409,10 +373,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -433,22 +393,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (encryptionScopeName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScopeName"); @@ -475,18 +419,17 @@ internal EncryptionScopesOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("encryptionScopeName", encryptionScopeName); - tracingParameters.Add("encryptionScope", encryptionScope); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Patch", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{encryptionScopeName}", System.Uri.EscapeDataString(encryptionScopeName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -501,7 +444,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -530,12 +473,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(encryptionScope != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(encryptionScope, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -626,11 +563,13 @@ internal EncryptionScopesOperations (StorageManagementClient client) } /// - /// Returns the properties for the specified encryption scope. + /// Synchronously creates or updates an encryption scope under the specified + /// storage account. If an encryption scope is already created and a subsequent + /// request is issued with different properties, the encryption scope + /// properties will be updated per the specified request. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -643,6 +582,9 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// Encryption scope properties to be used for the create or update. + /// /// /// Headers that will be added to request. /// @@ -664,12 +606,23 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PutWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (encryptionScope == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScope"); + } + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -684,10 +637,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -708,22 +657,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (encryptionScopeName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScopeName"); @@ -750,17 +683,18 @@ internal EncryptionScopesOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("encryptionScopeName", encryptionScopeName); + tracingParameters.Add("encryptionScope", encryptionScope); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Put", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{encryptionScopeName}", System.Uri.EscapeDataString(encryptionScopeName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -775,7 +709,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -804,6 +738,12 @@ internal EncryptionScopesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(encryptionScope != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(encryptionScope, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -826,7 +766,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -882,6 +822,24 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -894,29 +852,25 @@ internal EncryptionScopesOperations (StorageManagementClient client) } /// - /// Lists all the encryption scopes available under the specified storage - /// account. + /// Update encryption scope properties as specified in the request body. Update + /// fails if the specified encryption scope does not already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Optional, specifies the maximum number of encryption scopes that will be - /// included in the list response. - /// - /// - /// Optional. When specified, only encryption scope names starting with the - /// filter will be listed. + /// + /// The name of the encryption scope within the specified storage account. + /// Encryption scope names must be between 3 and 63 characters in length and + /// use numbers, lower-case letters and dash (-) only. Every dash (-) character + /// must be immediately preceded and followed by a letter or number. /// - /// - /// Optional, when specified, will list encryption scopes with the specific - /// state. Defaults to All + /// + /// Encryption scope properties to be used for the update. /// /// /// Headers that will be added to request. @@ -939,12 +893,22 @@ internal EncryptionScopesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PatchWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (encryptionScope == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScope"); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -959,10 +923,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -983,35 +943,21 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + if (encryptionScopeName == null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "encryptionScopeName"); } - if (maxpagesize != null) + if (encryptionScopeName != null) { - if (maxpagesize > 5000) + if (encryptionScopeName.Length > 63) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMaximum, "maxpagesize", 5000); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "encryptionScopeName", 63); } - if (maxpagesize < 1) + if (encryptionScopeName.Length < 3) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "maxpagesize", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "encryptionScopeName", 3); } } - - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1021,39 +967,27 @@ internal EncryptionScopesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("maxpagesize", maxpagesize); - tracingParameters.Add("filter", filter); - tracingParameters.Add("include", include); + tracingParameters.Add("encryptionScopeName", encryptionScopeName); + tracingParameters.Add("encryptionScope", encryptionScope); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Patch", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{encryptionScopeName}", System.Uri.EscapeDataString(encryptionScopeName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (maxpagesize != null) - { - _queryParameters.Add(string.Format("$maxpagesize={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(maxpagesize, this.Client.SerializationSettings).Trim('"')))); - } - if (filter != null) - { - _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); - } - if (include != null) - { - _queryParameters.Add(string.Format("$include={0}", System.Uri.EscapeDataString(include))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -1061,7 +995,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1090,6 +1024,12 @@ internal EncryptionScopesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(encryptionScope != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(encryptionScope, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -1114,14 +1054,13 @@ internal EncryptionScopesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1131,10 +1070,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1147,7 +1082,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1161,7 +1096,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -1297,14 +1232,13 @@ internal EncryptionScopesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1314,10 +1248,6 @@ internal EncryptionScopesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1344,7 +1274,7 @@ internal EncryptionScopesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperationsExtensions.cs index 4b526bf892b3..60f3fa46a0e7 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/EncryptionScopesOperationsExtensions.cs @@ -13,78 +13,82 @@ namespace Microsoft.Azure.Management.Storage public static partial class EncryptionScopesOperationsExtensions { /// - /// Synchronously creates or updates an encryption scope under the specified - /// storage account. If an encryption scope is already created and a subsequent - /// request is issued with different properties, the encryption scope - /// properties will be updated per the specified request. + /// Lists all the encryption scopes available under the specified storage + /// account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of the encryption scope within the specified storage account. - /// Encryption scope names must be between 3 and 63 characters in length and - /// use numbers, lower-case letters and dash (-) only. Every dash (-) character - /// must be immediately preceded and followed by a letter or number. + /// + /// Optional, specifies the maximum number of encryption scopes that will be + /// included in the list response. /// - public static EncryptionScope Put(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope) + /// + /// Optional. When specified, only encryption scope names starting with the + /// filter will be listed. + /// + /// + /// Optional, when specified, will list encryption scopes with the specific + /// state. Defaults to All + /// + public static Microsoft.Rest.Azure.IPage List(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string)) { - return ((IEncryptionScopesOperations)operations).PutAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope).GetAwaiter().GetResult(); + return ((IEncryptionScopesOperations)operations).ListAsync(resourceGroupName, accountName, maxpagesize, filter, include).GetAwaiter().GetResult(); } /// - /// Synchronously creates or updates an encryption scope under the specified - /// storage account. If an encryption scope is already created and a subsequent - /// request is issued with different properties, the encryption scope - /// properties will be updated per the specified request. + /// Lists all the encryption scopes available under the specified storage + /// account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of the encryption scope within the specified storage account. - /// Encryption scope names must be between 3 and 63 characters in length and - /// use numbers, lower-case letters and dash (-) only. Every dash (-) character - /// must be immediately preceded and followed by a letter or number. + /// + /// Optional, specifies the maximum number of encryption scopes that will be + /// included in the list response. + /// + /// + /// Optional. When specified, only encryption scope names starting with the + /// filter will be listed. + /// + /// + /// Optional, when specified, will list encryption scopes with the specific + /// state. Defaults to All /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task PutAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.PutWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, maxpagesize, filter, include, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Update encryption scope properties as specified in the request body. Update - /// fails if the specified encryption scope does not already exist. + /// Returns the properties for the specified encryption scope. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -97,21 +101,19 @@ public static EncryptionScope Put(this IEncryptionScopesOperations operations, s /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static EncryptionScope Patch(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope) + public static EncryptionScope Get(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName) { - return ((IEncryptionScopesOperations)operations).PatchAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope).GetAwaiter().GetResult(); + return ((IEncryptionScopesOperations)operations).GetAsync(resourceGroupName, accountName, encryptionScopeName).GetAwaiter().GetResult(); } /// - /// Update encryption scope properties as specified in the request body. Update - /// fails if the specified encryption scope does not already exist. + /// Returns the properties for the specified encryption scope. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -127,22 +129,24 @@ public static EncryptionScope Patch(this IEncryptionScopesOperations operations, /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task PatchAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.PatchWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns the properties for the specified encryption scope. + /// Synchronously creates or updates an encryption scope under the specified + /// storage account. If an encryption scope is already created and a subsequent + /// request is issued with different properties, the encryption scope + /// properties will be updated per the specified request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -155,20 +159,22 @@ public static EncryptionScope Patch(this IEncryptionScopesOperations operations, /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - public static EncryptionScope Get(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName) + public static EncryptionScope Put(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope) { - return ((IEncryptionScopesOperations)operations).GetAsync(resourceGroupName, accountName, encryptionScopeName).GetAwaiter().GetResult(); + return ((IEncryptionScopesOperations)operations).PutAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope).GetAwaiter().GetResult(); } /// - /// Returns the properties for the specified encryption scope. + /// Synchronously creates or updates an encryption scope under the specified + /// storage account. If an encryption scope is already created and a subsequent + /// request is issued with different properties, the encryption scope + /// properties will be updated per the specified request. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -184,80 +190,66 @@ public static EncryptionScope Get(this IEncryptionScopesOperations operations, s /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task PutAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PutWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Lists all the encryption scopes available under the specified storage - /// account. + /// Update encryption scope properties as specified in the request body. Update + /// fails if the specified encryption scope does not already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Optional, specifies the maximum number of encryption scopes that will be - /// included in the list response. - /// - /// - /// Optional. When specified, only encryption scope names starting with the - /// filter will be listed. - /// - /// - /// Optional, when specified, will list encryption scopes with the specific - /// state. Defaults to All + /// + /// The name of the encryption scope within the specified storage account. + /// Encryption scope names must be between 3 and 63 characters in length and + /// use numbers, lower-case letters and dash (-) only. Every dash (-) character + /// must be immediately preceded and followed by a letter or number. /// - public static Microsoft.Rest.Azure.IPage List(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string)) + public static EncryptionScope Patch(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope) { - return ((IEncryptionScopesOperations)operations).ListAsync(resourceGroupName, accountName, maxpagesize, filter, include).GetAwaiter().GetResult(); + return ((IEncryptionScopesOperations)operations).PatchAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope).GetAwaiter().GetResult(); } /// - /// Lists all the encryption scopes available under the specified storage - /// account. + /// Update encryption scope properties as specified in the request body. Update + /// fails if the specified encryption scope does not already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Optional, specifies the maximum number of encryption scopes that will be - /// included in the list response. - /// - /// - /// Optional. When specified, only encryption scope names starting with the - /// filter will be listed. - /// - /// - /// Optional, when specified, will list encryption scopes with the specific - /// state. Defaults to All + /// + /// The name of the encryption scope within the specified storage account. + /// Encryption scope names must be between 3 and 63 characters in length and + /// use numbers, lower-case letters and dash (-) only. Every dash (-) character + /// must be immediately preceded and followed by a letter or number. /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task PatchAsync(this IEncryptionScopesOperations operations, string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, maxpagesize, filter, include, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchWithHttpMessagesAsync(resourceGroupName, accountName, encryptionScopeName, encryptionScope, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperations.cs index 826c5f50d942..848385e01387 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperations.cs @@ -42,8 +42,7 @@ internal FileServicesOperations (StorageManagementClient client) /// List all file services in storage accounts /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -77,6 +76,12 @@ internal FileServicesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -91,10 +96,6 @@ internal FileServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -115,22 +116,6 @@ internal FileServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -149,9 +134,9 @@ internal FileServicesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -289,22 +274,17 @@ internal FileServicesOperations (StorageManagementClient client) } /// - /// Sets the properties of file services in storage accounts, including CORS + /// Gets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The properties of file services in storage accounts, including CORS - /// (Cross-Origin Resource Sharing) rules. - /// /// /// Headers that will be added to request. /// @@ -326,20 +306,18 @@ internal FileServicesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string fileServicesName = "default"; + - if (parameters == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -354,10 +332,6 @@ internal FileServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -378,23 +352,6 @@ internal FileServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -404,21 +361,18 @@ internal FileServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("fileServicesName", fileServicesName); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{FileServicesName}", System.Uri.EscapeDataString(fileServicesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -432,7 +386,7 @@ internal FileServicesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -461,12 +415,6 @@ internal FileServicesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -562,18 +510,21 @@ internal FileServicesOperations (StorageManagementClient client) } /// - /// Gets the properties of file services in storage accounts, including CORS + /// Sets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The properties of file services in storage accounts, including CORS + /// (Cross-Origin Resource Sharing) rules. + /// /// /// Headers that will be added to request. /// @@ -595,12 +546,26 @@ internal FileServicesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string fileServicesName = "default"; + + if (parameters == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -615,10 +580,6 @@ internal FileServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -639,23 +600,6 @@ internal FileServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -665,20 +609,19 @@ internal FileServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("fileServicesName", fileServicesName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{FileServicesName}", System.Uri.EscapeDataString(fileServicesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -692,7 +635,7 @@ internal FileServicesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -721,6 +664,12 @@ internal FileServicesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -819,8 +768,7 @@ internal FileServicesOperations (StorageManagementClient client) /// Gets the usages of file service in storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -856,8 +804,14 @@ internal FileServicesOperations (StorageManagementClient client) { - string fileServicesName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -872,10 +826,6 @@ internal FileServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -896,23 +846,6 @@ internal FileServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -923,7 +856,6 @@ internal FileServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("fileServicesName", fileServicesName); tracingParameters.Add("maxpagesize", maxpagesize); @@ -933,11 +865,10 @@ internal FileServicesOperations (StorageManagementClient client) // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{FileServicesName}", System.Uri.EscapeDataString(fileServicesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1055,7 +986,7 @@ internal FileServicesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -1084,8 +1015,7 @@ internal FileServicesOperations (StorageManagementClient client) /// formula. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1117,9 +1047,14 @@ internal FileServicesOperations (StorageManagementClient client) { - string fileServicesName = "default"; - string fileServiceUsagesName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1134,10 +1069,6 @@ internal FileServicesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1158,24 +1089,6 @@ internal FileServicesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1185,8 +1098,6 @@ internal FileServicesOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("fileServicesName", fileServicesName); - tracingParameters.Add("fileServiceUsagesName", fileServiceUsagesName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -1195,12 +1106,10 @@ internal FileServicesOperations (StorageManagementClient client) // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); - _url = _url.Replace("{FileServicesName}", System.Uri.EscapeDataString(fileServicesName)); - _url = _url.Replace("{fileServiceUsagesName}", System.Uri.EscapeDataString(fileServiceUsagesName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1496,7 +1405,7 @@ internal FileServicesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperationsExtensions.cs index 0fc4fa390386..8c11813b5f0a 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/FileServicesOperationsExtensions.cs @@ -19,8 +19,7 @@ public static partial class FileServicesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -39,8 +38,7 @@ public static FileServiceItems List(this IFileServicesOperations operations, str /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -58,36 +56,34 @@ public static FileServiceItems List(this IFileServicesOperations operations, str } } /// - /// Sets the properties of file services in storage accounts, including CORS + /// Gets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static FileServiceProperties SetServiceProperties(this IFileServicesOperations operations, string resourceGroupName, string accountName, FileServiceProperties parameters) + public static FileServiceProperties GetServiceProperties(this IFileServicesOperations operations, string resourceGroupName, string accountName) { - return ((IFileServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IFileServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// - /// Sets the properties of file services in storage accounts, including CORS + /// Gets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -97,44 +93,42 @@ public static FileServiceProperties SetServiceProperties(this IFileServicesOpera /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this IFileServicesOperations operations, string resourceGroupName, string accountName, FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this IFileServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets the properties of file services in storage accounts, including CORS + /// Sets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static FileServiceProperties GetServiceProperties(this IFileServicesOperations operations, string resourceGroupName, string accountName) + public static FileServiceProperties SetServiceProperties(this IFileServicesOperations operations, string resourceGroupName, string accountName, FileServiceProperties parameters) { - return ((IFileServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IFileServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// Gets the properties of file services in storage accounts, including CORS + /// Sets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -144,9 +138,9 @@ public static FileServiceProperties GetServiceProperties(this IFileServicesOpera /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this IFileServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this IFileServicesOperations operations, string resourceGroupName, string accountName, FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -158,8 +152,7 @@ public static FileServiceProperties GetServiceProperties(this IFileServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -182,8 +175,7 @@ public static FileServiceProperties GetServiceProperties(this IFileServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -213,8 +205,7 @@ public static FileServiceProperties GetServiceProperties(this IFileServicesOpera /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -235,8 +226,7 @@ public static FileServiceUsage GetServiceUsage(this IFileServicesOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperations.cs index b3ec86503559..2ba54ec2be8b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperations.cs @@ -42,8 +42,7 @@ internal FileSharesOperations (StorageManagementClient client) /// Lists all shares. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -90,6 +89,12 @@ internal FileSharesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -104,10 +109,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -128,22 +129,6 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } @@ -168,9 +153,9 @@ internal FileSharesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -296,7 +281,7 @@ internal FileSharesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -320,13 +305,10 @@ internal FileSharesOperations (StorageManagementClient client) } /// - /// Creates a new share under the specified account as described by request - /// body. The share resource includes metadata and properties for that share. - /// It does not include a list of the files contained by the share. + /// Gets properties of a specified share. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -341,10 +323,10 @@ internal FileSharesOperations (StorageManagementClient client) /// /// /// Optional, used to expand the properties within share's properties. Valid - /// values are: snapshots. Should be passed as a string with delimiter ',' + /// values are: stats. Should be passed as a string with delimiter ','. /// - /// - /// Properties of the file share to create. + /// + /// Optional, used to retrieve properties of a snapshot. /// /// /// Headers that will be added to request. @@ -367,17 +349,18 @@ internal FileSharesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (fileShare == null) + if (this.Client.ApiVersion == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "fileShare"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -392,10 +375,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -432,22 +411,7 @@ internal FileSharesOperations (StorageManagementClient client) } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -459,30 +423,30 @@ internal FileSharesOperations (StorageManagementClient client) tracingParameters.Add("accountName", accountName); tracingParameters.Add("shareName", shareName); tracingParameters.Add("expand", expand); + tracingParameters.Add("xMsSnapshot", xMsSnapshot); - tracingParameters.Add("fileShare", fileShare); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); - if (expand != null) - { - _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(expand))); - } if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (expand != null) + { + _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(expand))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -490,7 +454,7 @@ internal FileSharesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -505,6 +469,14 @@ internal FileSharesOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } + if (xMsSnapshot != null) + { + if (_httpRequest.Headers.Contains("x-ms-snapshot")) + { + _httpRequest.Headers.Remove("x-ms-snapshot"); + } + _httpRequest.Headers.TryAddWithoutValidation("x-ms-snapshot", xMsSnapshot); + } if (customHeaders != null) { @@ -519,12 +491,6 @@ internal FileSharesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(fileShare != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(fileShare, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -547,7 +513,7 @@ internal FileSharesOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200) { var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -608,24 +574,6 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -638,13 +586,12 @@ internal FileSharesOperations (StorageManagementClient client) } /// - /// Updates share properties as specified in request body. Properties not - /// mentioned in the request will not be changed. Update fails if the specified - /// share does not already exist. + /// Creates a new share under the specified account as described by request + /// body. The share resource includes metadata and properties for that share. + /// It does not include a list of the files contained by the share. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -657,8 +604,12 @@ internal FileSharesOperations (StorageManagementClient client) /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// + /// + /// Optional, used to expand the properties within share's properties. Valid + /// values are: snapshots. Should be passed as a string with delimiter ',' + /// /// - /// Properties to update for the file share. + /// Properties of the file share to create. /// /// /// Headers that will be added to request. @@ -681,7 +632,7 @@ internal FileSharesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -691,6 +642,13 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "fileShare"); } + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -705,10 +663,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -744,22 +698,7 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "shareName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -770,26 +709,31 @@ internal FileSharesOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("shareName", shareName); + tracingParameters.Add("expand", expand); tracingParameters.Add("fileShare", fileShare); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (expand != null) + { + _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(expand))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -797,7 +741,7 @@ internal FileSharesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -854,7 +798,7 @@ internal FileSharesOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -915,6 +859,24 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -927,11 +889,12 @@ internal FileSharesOperations (StorageManagementClient client) } /// - /// Gets properties of a specified share. + /// Updates share properties as specified in request body. Properties not + /// mentioned in the request will not be changed. Update fails if the specified + /// share does not already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -944,12 +907,8 @@ internal FileSharesOperations (StorageManagementClient client) /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional, used to expand the properties within share's properties. Valid - /// values are: stats. Should be passed as a string with delimiter ','. - /// - /// - /// Optional, used to retrieve properties of a snapshot. + /// + /// Properties to update for the file share. /// /// /// Headers that will be added to request. @@ -972,12 +931,22 @@ internal FileSharesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (fileShare == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "fileShare"); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -992,10 +961,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1031,24 +996,6 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "shareName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1059,31 +1006,26 @@ internal FileSharesOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("shareName", shareName); - tracingParameters.Add("expand", expand); - tracingParameters.Add("xMsSnapshot", xMsSnapshot); + tracingParameters.Add("fileShare", fileShare); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (expand != null) - { - _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(expand))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -1091,7 +1033,7 @@ internal FileSharesOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1106,14 +1048,6 @@ internal FileSharesOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } - if (xMsSnapshot != null) - { - if (_httpRequest.Headers.Contains("x-ms-snapshot")) - { - _httpRequest.Headers.Remove("x-ms-snapshot"); - } - _httpRequest.Headers.TryAddWithoutValidation("x-ms-snapshot", xMsSnapshot); - } if (customHeaders != null) { @@ -1128,6 +1062,12 @@ internal FileSharesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(fileShare != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(fileShare, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -1226,8 +1166,7 @@ internal FileSharesOperations (StorageManagementClient client) /// Deletes specified share under its account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1277,6 +1216,12 @@ internal FileSharesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1291,10 +1236,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1330,22 +1271,6 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "shareName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing @@ -1369,10 +1294,10 @@ internal FileSharesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1504,12 +1429,12 @@ internal FileSharesOperations (StorageManagementClient client) } /// - /// Restore a file share within a valid retention days if share soft delete is - /// enabled + /// The Lease Share operation establishes and manages a lock on a share for + /// delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1522,11 +1447,11 @@ internal FileSharesOperations (StorageManagementClient client) /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Required. Identify the name of the deleted share that will be restored. + /// + /// Optional. Specify the snapshot time to lease a snapshot. /// - /// - /// Required. Identify the version of the deleted share that will be restored. + /// + /// The content of the action request /// /// /// Headers that will be added to request. @@ -1537,6 +1462,9 @@ internal FileSharesOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -1546,12 +1474,22 @@ internal FileSharesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task RestoreWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (parameters != null) + { + parameters.Validate(); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1566,10 +1504,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1605,28 +1539,7 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "shareName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - DeletedShare deletedShare = new DeletedShare(); - if(deletedShareName != null||deletedShareVersion != null) - { - deletedShare.DeletedShareName = deletedShareName; - deletedShare.DeletedShareVersion = deletedShareVersion; - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1637,20 +1550,21 @@ internal FileSharesOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("shareName", shareName); + tracingParameters.Add("xMsSnapshot", xMsSnapshot); - tracingParameters.Add("deletedShare", deletedShare); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Restore", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Lease", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1679,6 +1593,14 @@ internal FileSharesOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } + if (xMsSnapshot != null) + { + if (_httpRequest.Headers.Contains("x-ms-snapshot")) + { + _httpRequest.Headers.Remove("x-ms-snapshot"); + } + _httpRequest.Headers.TryAddWithoutValidation("x-ms-snapshot", xMsSnapshot); + } if (customHeaders != null) { @@ -1693,9 +1615,9 @@ internal FileSharesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(deletedShare != null) + if(parameters != null) { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(deletedShare, this.Client.SerializationSettings); + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } @@ -1756,7 +1678,7 @@ internal FileSharesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1764,6 +1686,37 @@ internal FileSharesOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -1776,13 +1729,11 @@ internal FileSharesOperations (StorageManagementClient client) } /// - /// The Lease Share operation establishes and manages a lock on a share for - /// delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// Restore a file share within a valid retention days if share soft delete is + /// enabled /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1795,11 +1746,11 @@ internal FileSharesOperations (StorageManagementClient client) /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional. Specify the snapshot time to lease a snapshot. + /// + /// Required. Identify the name of the deleted share that will be restored. /// - /// - /// Lease Share request body. + /// + /// Required. Identify the version of the deleted share that will be restored. /// /// /// Headers that will be added to request. @@ -1810,9 +1761,6 @@ internal FileSharesOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -1822,16 +1770,18 @@ internal FileSharesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task RestoreWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1846,10 +1796,6 @@ internal FileSharesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1885,23 +1831,12 @@ internal FileSharesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "shareName", 3); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + DeletedShare deletedShare = new DeletedShare(); + if(deletedShareName != null||deletedShareVersion != null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + deletedShare.DeletedShareName = deletedShareName; + deletedShare.DeletedShareVersion = deletedShareVersion; } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1912,21 +1847,20 @@ internal FileSharesOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); tracingParameters.Add("shareName", shareName); - tracingParameters.Add("xMsSnapshot", xMsSnapshot); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("deletedShare", deletedShare); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Lease", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Restore", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); _url = _url.Replace("{shareName}", System.Uri.EscapeDataString(shareName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1955,14 +1889,6 @@ internal FileSharesOperations (StorageManagementClient client) } _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); } - if (xMsSnapshot != null) - { - if (_httpRequest.Headers.Contains("x-ms-snapshot")) - { - _httpRequest.Headers.Remove("x-ms-snapshot"); - } - _httpRequest.Headers.TryAddWithoutValidation("x-ms-snapshot", xMsSnapshot); - } if (customHeaders != null) { @@ -1977,9 +1903,9 @@ internal FileSharesOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) + if(deletedShare != null) { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(deletedShare, this.Client.SerializationSettings); _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } @@ -2040,7 +1966,7 @@ internal FileSharesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2048,37 +1974,6 @@ internal FileSharesOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - try - { - _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -2249,7 +2144,7 @@ internal FileSharesOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperationsExtensions.cs index 3df7d48720fe..ae7e870c0ae6 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/FileSharesOperationsExtensions.cs @@ -19,8 +19,7 @@ public static partial class FileSharesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -52,8 +51,7 @@ public static partial class FileSharesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -84,16 +82,13 @@ public static partial class FileSharesOperationsExtensions } } /// - /// Creates a new share under the specified account as described by request - /// body. The share resource includes metadata and properties for that share. - /// It does not include a list of the files contained by the share. + /// Gets properties of a specified share. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -108,24 +103,24 @@ public static partial class FileSharesOperationsExtensions /// /// /// Optional, used to expand the properties within share's properties. Valid - /// values are: snapshots. Should be passed as a string with delimiter ',' + /// values are: stats. Should be passed as a string with delimiter ','. /// - public static FileShare Create(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string)) + /// + /// Optional, used to retrieve properties of a snapshot. + /// + public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string)) { - return ((IFileSharesOperations)operations).CreateAsync(resourceGroupName, accountName, shareName, fileShare, expand).GetAwaiter().GetResult(); + return ((IFileSharesOperations)operations).GetAsync(resourceGroupName, accountName, shareName, expand, xMsSnapshot).GetAwaiter().GetResult(); } /// - /// Creates a new share under the specified account as described by request - /// body. The share resource includes metadata and properties for that share. - /// It does not include a list of the files contained by the share. + /// Gets properties of a specified share. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -140,29 +135,31 @@ public static partial class FileSharesOperationsExtensions /// /// /// Optional, used to expand the properties within share's properties. Valid - /// values are: snapshots. Should be passed as a string with delimiter ',' + /// values are: stats. Should be passed as a string with delimiter ','. + /// + /// + /// Optional, used to retrieve properties of a snapshot. /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task CreateAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, shareName, fileShare, expand, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, shareName, expand, xMsSnapshot, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Updates share properties as specified in request body. Properties not - /// mentioned in the request will not be changed. Update fails if the specified - /// share does not already exist. + /// Creates a new share under the specified account as described by request + /// body. The share resource includes metadata and properties for that share. + /// It does not include a list of the files contained by the share. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -175,22 +172,25 @@ public static partial class FileSharesOperationsExtensions /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - public static FileShare Update(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare) + /// + /// Optional, used to expand the properties within share's properties. Valid + /// values are: snapshots. Should be passed as a string with delimiter ',' + /// + public static FileShare Create(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string)) { - return ((IFileSharesOperations)operations).UpdateAsync(resourceGroupName, accountName, shareName, fileShare).GetAwaiter().GetResult(); + return ((IFileSharesOperations)operations).CreateAsync(resourceGroupName, accountName, shareName, fileShare, expand).GetAwaiter().GetResult(); } /// - /// Updates share properties as specified in request body. Properties not - /// mentioned in the request will not be changed. Update fails if the specified - /// share does not already exist. + /// Creates a new share under the specified account as described by request + /// body. The share resource includes metadata and properties for that share. + /// It does not include a list of the files contained by the share. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -203,25 +203,30 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// + /// + /// Optional, used to expand the properties within share's properties. Valid + /// values are: snapshots. Should be passed as a string with delimiter ',' + /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task UpdateAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task CreateAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, shareName, fileShare, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, shareName, fileShare, expand, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets properties of a specified share. + /// Updates share properties as specified in request body. Properties not + /// mentioned in the request will not be changed. Update fails if the specified + /// share does not already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -234,27 +239,21 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional, used to expand the properties within share's properties. Valid - /// values are: stats. Should be passed as a string with delimiter ','. - /// - /// - /// Optional, used to retrieve properties of a snapshot. - /// - public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string)) + public static FileShare Update(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare) { - return ((IFileSharesOperations)operations).GetAsync(resourceGroupName, accountName, shareName, expand, xMsSnapshot).GetAwaiter().GetResult(); + return ((IFileSharesOperations)operations).UpdateAsync(resourceGroupName, accountName, shareName, fileShare).GetAwaiter().GetResult(); } /// - /// Gets properties of a specified share. + /// Updates share properties as specified in request body. Properties not + /// mentioned in the request will not be changed. Update fails if the specified + /// share does not already exist. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -267,19 +266,12 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional, used to expand the properties within share's properties. Valid - /// values are: stats. Should be passed as a string with delimiter ','. - /// - /// - /// Optional, used to retrieve properties of a snapshot. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task UpdateAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, shareName, expand, xMsSnapshot, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, shareName, fileShare, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -291,8 +283,7 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -330,8 +321,7 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -365,15 +355,15 @@ public static FileShare Update(this IFileSharesOperations operations, string res (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, shareName, xMsSnapshot, include, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Restore a file share within a valid retention days if share soft delete is - /// enabled + /// The Lease Share operation establishes and manages a lock on a share for + /// delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -386,21 +376,24 @@ public static FileShare Update(this IFileSharesOperations operations, string res /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - public static void Restore(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion) + /// + /// Optional. Specify the snapshot time to lease a snapshot. + /// + public static LeaseShareResponse Lease(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest)) { - ((IFileSharesOperations)operations).RestoreAsync(resourceGroupName, accountName, shareName, deletedShareName, deletedShareVersion).GetAwaiter().GetResult(); + return ((IFileSharesOperations)operations).LeaseAsync(resourceGroupName, accountName, shareName, xMsSnapshot, parameters).GetAwaiter().GetResult(); } /// - /// Restore a file share within a valid retention days if share soft delete is - /// enabled + /// The Lease Share operation establishes and manages a lock on a share for + /// delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -413,24 +406,28 @@ public static void Restore(this IFileSharesOperations operations, string resourc /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// + /// + /// Optional. Specify the snapshot time to lease a snapshot. + /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task RestoreAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task LeaseAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.RestoreWithHttpMessagesAsync(resourceGroupName, accountName, shareName, deletedShareName, deletedShareVersion, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.LeaseWithHttpMessagesAsync(resourceGroupName, accountName, shareName, xMsSnapshot, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// The Lease Share operation establishes and manages a lock on a share for - /// delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// Restore a file share within a valid retention days if share soft delete is + /// enabled /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -443,25 +440,20 @@ public static void Restore(this IFileSharesOperations operations, string resourc /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional. Specify the snapshot time to lease a snapshot. - /// - public static LeaseShareResponse Lease(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest)) + public static void Restore(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion) { - return ((IFileSharesOperations)operations).LeaseAsync(resourceGroupName, accountName, shareName, xMsSnapshot, parameters).GetAwaiter().GetResult(); + ((IFileSharesOperations)operations).RestoreAsync(resourceGroupName, accountName, shareName, deletedShareName, deletedShareVersion).GetAwaiter().GetResult(); } /// - /// The Lease Share operation establishes and manages a lock on a share for - /// delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// Restore a file share within a valid retention days if share soft delete is + /// enabled /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -474,18 +466,12 @@ public static void Restore(this IFileSharesOperations operations, string resourc /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional. Specify the snapshot time to lease a snapshot. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task LeaseAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task RestoreAsync(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.LeaseWithHttpMessagesAsync(resourceGroupName, accountName, shareName, xMsSnapshot, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.RestoreWithHttpMessagesAsync(resourceGroupName, accountName, shareName, deletedShareName, deletedShareVersion, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// /// Lists all shares. diff --git a/src/Storage/Storage.Management.Sdk/Generated/IBlobContainersOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IBlobContainersOperations.cs index 14369c7e6a29..f139ba4cb65b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IBlobContainersOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IBlobContainersOperations.cs @@ -22,8 +22,7 @@ public partial interface IBlobContainersOperations /// SRP today does not return continuation token. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -56,20 +55,13 @@ public partial interface IBlobContainersOperations System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Creates a new container under the specified account as described by request - /// body. The container resource includes metadata and properties for that - /// container. It does not include a list of the blobs contained by the - /// container. + /// Gets properties of a specified container. /// /// - /// Creates a new container under the specified account as described by request - /// body. The container resource includes metadata and properties for that - /// container. It does not include a list of the blobs contained by the - /// container. + /// Gets properties of a specified container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -82,9 +74,6 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Properties of the blob container to create. - /// /// /// The headers that will be added to request. /// @@ -97,21 +86,22 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Updates container properties as specified in request body. Properties not - /// mentioned in the request will be unchanged. Update fails if the specified - /// container doesn't already exist. + /// Creates a new container under the specified account as described by request + /// body. The container resource includes metadata and properties for that + /// container. It does not include a list of the blobs contained by the + /// container. /// /// - /// Updates container properties as specified in request body. Properties not - /// mentioned in the request will be unchanged. Update fails if the specified - /// container doesn't already exist. + /// Creates a new container under the specified account as described by request + /// body. The container resource includes metadata and properties for that + /// container. It does not include a list of the blobs contained by the + /// container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -125,7 +115,7 @@ public partial interface IBlobContainersOperations /// must be immediately preceded and followed by a letter or number. /// /// - /// Properties to update for the blob container. + /// Properties of the blob container to create. /// /// /// The headers that will be added to request. @@ -139,17 +129,20 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets properties of a specified container. + /// Updates container properties as specified in request body. Properties not + /// mentioned in the request will be unchanged. Update fails if the specified + /// container doesn't already exist. /// /// - /// Gets properties of a specified container. + /// Updates container properties as specified in request body. Properties not + /// mentioned in the request will be unchanged. Update fails if the specified + /// container doesn't already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -162,6 +155,9 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// Properties to update for the blob container. + /// /// /// The headers that will be added to request. /// @@ -174,7 +170,7 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes specified container under its account. @@ -183,8 +179,7 @@ public partial interface IBlobContainersOperations /// Deletes specified container under its account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -209,18 +204,17 @@ public partial interface IBlobContainersOperations System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Sets legal hold tags. Setting the same tag results in an idempotent - /// operation. SetLegalHold follows an append pattern and does not clear out - /// the existing tags that are not specified in the request. + /// Clears legal hold tags. Clearing the same or non-existent tag results in an + /// idempotent operation. ClearLegalHold clears out only the specified tags in + /// the request. /// /// - /// Sets legal hold tags. Setting the same tag results in an idempotent - /// operation. SetLegalHold follows an append pattern and does not clear out - /// the existing tags that are not specified in the request. + /// Clears legal hold tags. Clearing the same or non-existent tag results in an + /// idempotent operation. ClearLegalHold clears out only the specified tags in + /// the request. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -254,21 +248,18 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> SetLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ClearLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Clears legal hold tags. Clearing the same or non-existent tag results in an - /// idempotent operation. ClearLegalHold clears out only the specified tags in - /// the request. + /// Gets the existing immutability policy along with the corresponding ETag in + /// response headers and body. /// /// - /// Clears legal hold tags. Clearing the same or non-existent tag results in an - /// idempotent operation. ClearLegalHold clears out only the specified tags in - /// the request. + /// Gets the existing immutability policy along with the corresponding ETag in + /// response headers and body. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -281,14 +272,10 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Each tag should be 3 to 23 alphanumeric characters and is normalized to - /// lower case at SRP. - /// - /// - /// When enabled, new blocks can be written to both 'Append and Bock Blobs' - /// while maintaining legal hold protection and compliance. Only new blocks can - /// be added and any existing blocks cannot be modified or deleted. + /// + /// The entity state (ETag) version of the immutability policy to update must + /// be returned to the server for all update operations. The ETag value must + /// include the leading and trailing double quotes as returned by the service. /// /// /// The headers that will be added to request. @@ -302,7 +289,7 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> ClearLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates or updates an unlocked immutability policy. ETag in If-Match is @@ -313,8 +300,7 @@ public partial interface IBlobContainersOperations /// honored if given but not required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -351,16 +337,21 @@ public partial interface IBlobContainersOperations System.Threading.Tasks.Task> CreateOrUpdateImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets the existing immutability policy along with the corresponding ETag in - /// response headers and body. + /// Aborts an unlocked immutability policy. The response of delete has + /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + /// required for this operation. Deleting a locked immutability policy is not + /// allowed, the only way is to delete the container after deleting all expired + /// blobs inside the policy locked container. /// /// - /// Gets the existing immutability policy along with the corresponding ETag in - /// response headers and body. + /// Aborts an unlocked immutability policy. The response of delete has + /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + /// required for this operation. Deleting a locked immutability policy is not + /// allowed, the only way is to delete the container after deleting all expired + /// blobs inside the policy locked container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -390,25 +381,20 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> DeleteImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Aborts an unlocked immutability policy. The response of delete has - /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is - /// required for this operation. Deleting a locked immutability policy is not - /// allowed, the only way is to delete the container after deleting all expired - /// blobs inside the policy locked container. + /// Extends the immutabilityPeriodSinceCreationInDays of a locked + /// immutabilityPolicy. The only action allowed on a Locked policy will be this + /// action. ETag in If-Match is required for this operation. /// /// - /// Aborts an unlocked immutability policy. The response of delete has - /// immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is - /// required for this operation. Deleting a locked immutability policy is not - /// allowed, the only way is to delete the container after deleting all expired - /// blobs inside the policy locked container. + /// Extends the immutabilityPeriodSinceCreationInDays of a locked + /// immutabilityPolicy. The only action allowed on a Locked policy will be this + /// action. ETag in If-Match is required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -426,6 +412,9 @@ public partial interface IBlobContainersOperations /// be returned to the server for all update operations. The ETag value must /// include the leading and trailing double quotes as returned by the service. /// + /// + /// The content of the action request + /// /// /// The headers that will be added to request. /// @@ -438,7 +427,7 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> DeleteImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ExtendImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Sets the ImmutabilityPolicy to Locked state. The only action allowed on a @@ -451,8 +440,7 @@ public partial interface IBlobContainersOperations /// required for this operation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -485,18 +473,17 @@ public partial interface IBlobContainersOperations System.Threading.Tasks.Task> LockImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Extends the immutabilityPeriodSinceCreationInDays of a locked - /// immutabilityPolicy. The only action allowed on a Locked policy will be this - /// action. ETag in If-Match is required for this operation. + /// The Lease Container operation establishes and manages a lock on a container + /// for delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// Extends the immutabilityPeriodSinceCreationInDays of a locked - /// immutabilityPolicy. The only action allowed on a Locked policy will be this - /// action. ETag in If-Match is required for this operation. + /// The Lease Container operation establishes and manages a lock on a container + /// for delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -509,14 +496,8 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// The entity state (ETag) version of the immutability policy to update must - /// be returned to the server for all update operations. The ETag value must - /// include the leading and trailing double quotes as returned by the service. - /// /// - /// The ImmutabilityPolicy Properties that will be extended for a blob - /// container. + /// The content of the action request /// /// /// The headers that will be added to request. @@ -530,21 +511,24 @@ public partial interface IBlobContainersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> ExtendImmutabilityPolicyWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = default(ImmutabilityPolicy), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// The Lease Container operation establishes and manages a lock on a container - /// for delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// This operation migrates a blob container from container level WORM to + /// object level immutability enabled container. Prerequisites require a + /// container level immutability policy either in locked or unlocked state, + /// Account level versioning must be enabled and there should be no Legal hold + /// on the container. /// /// - /// The Lease Container operation establishes and manages a lock on a container - /// for delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// This operation migrates a blob container from container level WORM to + /// object level immutability enabled container. Prerequisites require a + /// container level immutability policy either in locked or unlocked state, + /// Account level versioning must be enabled and there should be no Legal hold + /// on the container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -557,9 +541,6 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Lease Container request body. - /// /// /// The headers that will be added to request. /// @@ -569,28 +550,20 @@ public partial interface IBlobContainersOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = default(LeaseContainerRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// This operation migrates a blob container from container level WORM to - /// object level immutability enabled container. Prerequisites require a - /// container level immutability policy either in locked or unlocked state, - /// Account level versioning must be enabled and there should be no Legal hold - /// on the container. + /// Sets legal hold tags. Setting the same tag results in an idempotent + /// operation. SetLegalHold follows an append pattern and does not clear out + /// the existing tags that are not specified in the request. /// /// - /// This operation migrates a blob container from container level WORM to - /// object level immutability enabled container. Prerequisites require a - /// container level immutability policy either in locked or unlocked state, - /// Account level versioning must be enabled and there should be no Legal hold - /// on the container. + /// Sets legal hold tags. Setting the same tag results in an idempotent + /// operation. SetLegalHold follows an append pattern and does not clear out + /// the existing tags that are not specified in the request. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -603,6 +576,15 @@ public partial interface IBlobContainersOperations /// numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// Each tag should be 3 to 23 alphanumeric characters and is normalized to + /// lower case at SRP. + /// + /// + /// When enabled, new blocks can be written to both 'Append and Bock Blobs' + /// while maintaining legal hold protection and compliance. Only new blocks can + /// be added and any existing blocks cannot be modified or deleted. + /// /// /// The headers that will be added to request. /// @@ -612,7 +594,10 @@ public partial interface IBlobContainersOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task ObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> SetLegalHoldWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList tags, bool? allowProtectedAppendWritesAll = default(bool?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// This operation migrates a blob container from container level WORM to @@ -629,8 +614,7 @@ public partial interface IBlobContainersOperations /// on the container. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -652,7 +636,7 @@ public partial interface IBlobContainersOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task BeginObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> BeginObjectLevelWormWithHttpMessagesAsync(string resourceGroupName, string accountName, string containerName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Lists all containers and does not support a prefix like data plane. Also diff --git a/src/Storage/Storage.Management.Sdk/Generated/IBlobInventoryPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IBlobInventoryPoliciesOperations.cs index c19d6254561c..1224ad0b5bb1 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IBlobInventoryPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IBlobInventoryPoliciesOperations.cs @@ -22,8 +22,37 @@ public partial interface IBlobInventoryPoliciesOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the blob inventory policy associated with the specified storage + /// account. + /// + /// + /// Gets the blob inventory policy associated with the specified storage + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -51,8 +80,7 @@ public partial interface IBlobInventoryPoliciesOperations /// Sets the blob inventory policy to the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -86,8 +114,7 @@ public partial interface IBlobInventoryPoliciesOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -113,14 +140,8 @@ public partial interface IBlobInventoryPoliciesOperations /// Gets the blob inventory policy associated with the specified storage /// account. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. + /// + /// The NextLink from the previous successful call to List operation. /// /// /// The headers that will be added to request. @@ -134,7 +155,7 @@ public partial interface IBlobInventoryPoliciesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IBlobServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IBlobServicesOperations.cs index 4ef6540d4776..cee500bca1d9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IBlobServicesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IBlobServicesOperations.cs @@ -22,8 +22,7 @@ public partial interface IBlobServicesOperations /// object named default. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -42,31 +41,26 @@ public partial interface IBlobServicesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Sets the properties of a storage account’s Blob service, including + /// Gets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// Sets the properties of a storage account’s Blob service, including + /// Gets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The properties of a storage account’s Blob service, including properties - /// for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - /// /// /// The headers that will be added to request. /// @@ -79,27 +73,30 @@ public partial interface IBlobServicesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets the properties of a storage account’s Blob service, including + /// Sets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// Gets the properties of a storage account’s Blob service, including + /// Sets the properties of a storage account’s Blob service, including /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) /// rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The properties of a storage account’s Blob service, including properties + /// for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + /// /// /// The headers that will be added to request. /// @@ -112,7 +109,32 @@ public partial interface IBlobServicesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List blob services of storage account. It returns a collection of one + /// object named default. + /// + /// + /// List blob services of storage account. It returns a collection of one + /// object named default. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IDeletedAccountsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IDeletedAccountsOperations.cs index 6e2aca79243b..b79722475094 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IDeletedAccountsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IDeletedAccountsOperations.cs @@ -39,12 +39,12 @@ public partial interface IDeletedAccountsOperations /// /// Get properties of specified deleted account resource. /// + /// + /// The name of the Azure region. + /// /// /// Name of the deleted storage account. /// - /// - /// The location of the deleted storage account. - /// /// /// The headers that will be added to request. /// @@ -57,7 +57,7 @@ public partial interface IDeletedAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string deletedAccountName, string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string location, string deletedAccountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Lists deleted accounts under the subscription. diff --git a/src/Storage/Storage.Management.Sdk/Generated/IEncryptionScopesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IEncryptionScopesOperations.cs index 941aed0b2d5a..99a2569a5018 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IEncryptionScopesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IEncryptionScopesOperations.cs @@ -14,34 +14,32 @@ namespace Microsoft.Azure.Management.Storage public partial interface IEncryptionScopesOperations { /// - /// Synchronously creates or updates an encryption scope under the specified - /// storage account. If an encryption scope is already created and a subsequent - /// request is issued with different properties, the encryption scope - /// properties will be updated per the specified request. + /// Lists all the encryption scopes available under the specified storage + /// account. /// /// - /// Synchronously creates or updates an encryption scope under the specified - /// storage account. If an encryption scope is already created and a subsequent - /// request is issued with different properties, the encryption scope - /// properties will be updated per the specified request. + /// Lists all the encryption scopes available under the specified storage + /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of the encryption scope within the specified storage account. - /// Encryption scope names must be between 3 and 63 characters in length and - /// use numbers, lower-case letters and dash (-) only. Every dash (-) character - /// must be immediately preceded and followed by a letter or number. + /// + /// Optional, specifies the maximum number of encryption scopes that will be + /// included in the list response. /// - /// - /// Encryption scope properties to be used for the create or update. + /// + /// Optional. When specified, only encryption scope names starting with the + /// filter will be listed. + /// + /// + /// Optional, when specified, will list encryption scopes with the specific + /// state. Defaults to All /// /// /// The headers that will be added to request. @@ -55,19 +53,16 @@ public partial interface IEncryptionScopesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> PutWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Update encryption scope properties as specified in the request body. Update - /// fails if the specified encryption scope does not already exist. + /// Returns the properties for the specified encryption scope. /// /// - /// Update encryption scope properties as specified in the request body. Update - /// fails if the specified encryption scope does not already exist. + /// Returns the properties for the specified encryption scope. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -80,9 +75,6 @@ public partial interface IEncryptionScopesOperations /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// - /// - /// Encryption scope properties to be used for the update. - /// /// /// The headers that will be added to request. /// @@ -95,17 +87,22 @@ public partial interface IEncryptionScopesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> PatchWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Returns the properties for the specified encryption scope. + /// Synchronously creates or updates an encryption scope under the specified + /// storage account. If an encryption scope is already created and a subsequent + /// request is issued with different properties, the encryption scope + /// properties will be updated per the specified request. /// /// - /// Returns the properties for the specified encryption scope. + /// Synchronously creates or updates an encryption scope under the specified + /// storage account. If an encryption scope is already created and a subsequent + /// request is issued with different properties, the encryption scope + /// properties will be updated per the specified request. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -118,6 +115,9 @@ public partial interface IEncryptionScopesOperations /// use numbers, lower-case letters and dash (-) only. Every dash (-) character /// must be immediately preceded and followed by a letter or number. /// + /// + /// Encryption scope properties to be used for the create or update. + /// /// /// The headers that will be added to request. /// @@ -130,36 +130,32 @@ public partial interface IEncryptionScopesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> PutWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Lists all the encryption scopes available under the specified storage - /// account. + /// Update encryption scope properties as specified in the request body. Update + /// fails if the specified encryption scope does not already exist. /// /// - /// Lists all the encryption scopes available under the specified storage - /// account. + /// Update encryption scope properties as specified in the request body. Update + /// fails if the specified encryption scope does not already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Optional, specifies the maximum number of encryption scopes that will be - /// included in the list response. - /// - /// - /// Optional. When specified, only encryption scope names starting with the - /// filter will be listed. + /// + /// The name of the encryption scope within the specified storage account. + /// Encryption scope names must be between 3 and 63 characters in length and + /// use numbers, lower-case letters and dash (-) only. Every dash (-) character + /// must be immediately preceded and followed by a letter or number. /// - /// - /// Optional, when specified, will list encryption scopes with the specific - /// state. Defaults to All + /// + /// Encryption scope properties to be used for the update. /// /// /// The headers that will be added to request. @@ -173,7 +169,7 @@ public partial interface IEncryptionScopesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> PatchWithHttpMessagesAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Lists all the encryption scopes available under the specified storage diff --git a/src/Storage/Storage.Management.Sdk/Generated/IFileServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IFileServicesOperations.cs index 6dfa1c005588..b922c638e479 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IFileServicesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IFileServicesOperations.cs @@ -20,8 +20,7 @@ public partial interface IFileServicesOperations /// List all file services in storage accounts /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -43,26 +42,21 @@ public partial interface IFileServicesOperations System.Threading.Tasks.Task> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Sets the properties of file services in storage accounts, including CORS + /// Gets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// Sets the properties of file services in storage accounts, including CORS + /// Gets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The properties of file services in storage accounts, including CORS - /// (Cross-Origin Resource Sharing) rules. - /// /// /// The headers that will be added to request. /// @@ -75,25 +69,28 @@ public partial interface IFileServicesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets the properties of file services in storage accounts, including CORS + /// Sets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// Gets the properties of file services in storage accounts, including CORS + /// Sets the properties of file services in storage accounts, including CORS /// (Cross-Origin Resource Sharing) rules. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The properties of file services in storage accounts, including CORS + /// (Cross-Origin Resource Sharing) rules. + /// /// /// The headers that will be added to request. /// @@ -106,7 +103,7 @@ public partial interface IFileServicesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Gets the usages of file service in storage account. @@ -115,8 +112,7 @@ public partial interface IFileServicesOperations /// Gets the usages of file service in storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -152,8 +148,7 @@ public partial interface IFileServicesOperations /// formula. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/IFileSharesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IFileSharesOperations.cs index 228fda4b23b4..bdf3f677133d 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IFileSharesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IFileSharesOperations.cs @@ -20,8 +20,7 @@ public partial interface IFileSharesOperations /// Lists all shares. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -56,18 +55,13 @@ public partial interface IFileSharesOperations System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string), string expand = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Creates a new share under the specified account as described by request - /// body. The share resource includes metadata and properties for that share. - /// It does not include a list of the files contained by the share. + /// Gets properties of a specified share. /// /// - /// Creates a new share under the specified account as described by request - /// body. The share resource includes metadata and properties for that share. - /// It does not include a list of the files contained by the share. + /// Gets properties of a specified share. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -82,10 +76,10 @@ public partial interface IFileSharesOperations /// /// /// Optional, used to expand the properties within share's properties. Valid - /// values are: snapshots. Should be passed as a string with delimiter ',' + /// values are: stats. Should be passed as a string with delimiter ','. /// - /// - /// Properties of the file share to create. + /// + /// Optional, used to retrieve properties of a snapshot. /// /// /// The headers that will be added to request. @@ -99,21 +93,20 @@ public partial interface IFileSharesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Updates share properties as specified in request body. Properties not - /// mentioned in the request will not be changed. Update fails if the specified - /// share does not already exist. + /// Creates a new share under the specified account as described by request + /// body. The share resource includes metadata and properties for that share. + /// It does not include a list of the files contained by the share. /// /// - /// Updates share properties as specified in request body. Properties not - /// mentioned in the request will not be changed. Update fails if the specified - /// share does not already exist. + /// Creates a new share under the specified account as described by request + /// body. The share resource includes metadata and properties for that share. + /// It does not include a list of the files contained by the share. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -126,8 +119,12 @@ public partial interface IFileSharesOperations /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// + /// + /// Optional, used to expand the properties within share's properties. Valid + /// values are: snapshots. Should be passed as a string with delimiter ',' + /// /// - /// Properties to update for the file share. + /// Properties of the file share to create. /// /// /// The headers that will be added to request. @@ -141,17 +138,20 @@ public partial interface IFileSharesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, string expand = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets properties of a specified share. + /// Updates share properties as specified in request body. Properties not + /// mentioned in the request will not be changed. Update fails if the specified + /// share does not already exist. /// /// - /// Gets properties of a specified share. + /// Updates share properties as specified in request body. Properties not + /// mentioned in the request will not be changed. Update fails if the specified + /// share does not already exist. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -164,12 +164,8 @@ public partial interface IFileSharesOperations /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional, used to expand the properties within share's properties. Valid - /// values are: stats. Should be passed as a string with delimiter ','. - /// - /// - /// Optional, used to retrieve properties of a snapshot. + /// + /// Properties to update for the file share. /// /// /// The headers that will be added to request. @@ -183,7 +179,7 @@ public partial interface IFileSharesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes specified share under its account. @@ -192,8 +188,7 @@ public partial interface IFileSharesOperations /// Deletes specified share under its account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -231,16 +226,17 @@ public partial interface IFileSharesOperations System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Restore a file share within a valid retention days if share soft delete is - /// enabled + /// The Lease Share operation establishes and manages a lock on a share for + /// delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// Restore a file share within a valid retention days if share soft delete is - /// enabled + /// The Lease Share operation establishes and manages a lock on a share for + /// delete operations. The lock duration can be 15 to 60 seconds, or can be + /// infinite. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -253,11 +249,11 @@ public partial interface IFileSharesOperations /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Required. Identify the name of the deleted share that will be restored. + /// + /// Optional. Specify the snapshot time to lease a snapshot. /// - /// - /// Required. Identify the version of the deleted share that will be restored. + /// + /// The content of the action request /// /// /// The headers that will be added to request. @@ -268,21 +264,21 @@ public partial interface IFileSharesOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task RestoreWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// The Lease Share operation establishes and manages a lock on a share for - /// delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// Restore a file share within a valid retention days if share soft delete is + /// enabled /// /// - /// The Lease Share operation establishes and manages a lock on a share for - /// delete operations. The lock duration can be 15 to 60 seconds, or can be - /// infinite. + /// Restore a file share within a valid retention days if share soft delete is + /// enabled /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -295,11 +291,11 @@ public partial interface IFileSharesOperations /// lower-case letters and dash (-) only. Every dash (-) character must be /// immediately preceded and followed by a letter or number. /// - /// - /// Optional. Specify the snapshot time to lease a snapshot. + /// + /// Required. Identify the name of the deleted share that will be restored. /// - /// - /// Lease Share request body. + /// + /// Required. Identify the version of the deleted share that will be restored. /// /// /// The headers that will be added to request. @@ -310,10 +306,7 @@ public partial interface IFileSharesOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> LeaseWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string xMsSnapshot = default(string), LeaseShareRequest parameters = default(LeaseShareRequest), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task RestoreWithHttpMessagesAsync(string resourceGroupName, string accountName, string shareName, string deletedShareName, string deletedShareVersion, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Lists all shares. diff --git a/src/Storage/Storage.Management.Sdk/Generated/ILocalUsersOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ILocalUsersOperations.cs index 955afe4c5fb8..0eb29314cac0 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ILocalUsersOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ILocalUsersOperations.cs @@ -20,8 +20,7 @@ public partial interface ILocalUsersOperations /// List the local users associated with the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -52,7 +51,7 @@ public partial interface ILocalUsersOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get the local user of the storage account by username. @@ -61,8 +60,7 @@ public partial interface ILocalUsersOperations /// Get the local user of the storage account by username. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -98,8 +96,7 @@ public partial interface ILocalUsersOperations /// with other properties. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -134,8 +131,7 @@ public partial interface ILocalUsersOperations /// Deletes the local user associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -164,8 +160,7 @@ public partial interface ILocalUsersOperations /// List SSH authorized keys and shared key of the local user. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -197,8 +192,7 @@ public partial interface ILocalUsersOperations /// Regenerate the local user SSH password. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -223,5 +217,28 @@ public partial interface ILocalUsersOperations /// System.Threading.Tasks.Task> RegeneratePasswordWithHttpMessagesAsync(string resourceGroupName, string accountName, string username, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// List the local users associated with the storage account. + /// + /// + /// List the local users associated with the storage account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IManagementPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IManagementPoliciesOperations.cs index 37fde66549d8..a457d524e57d 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IManagementPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IManagementPoliciesOperations.cs @@ -20,8 +20,7 @@ public partial interface IManagementPoliciesOperations /// Gets the managementpolicy associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -49,8 +48,7 @@ public partial interface IManagementPoliciesOperations /// Sets the managementpolicy to the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -82,8 +80,7 @@ public partial interface IManagementPoliciesOperations /// Deletes the managementpolicy associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/INetworkSecurityPerimeterConfigurationsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/INetworkSecurityPerimeterConfigurationsOperations.cs new file mode 100644 index 000000000000..120c045e05e1 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/INetworkSecurityPerimeterConfigurationsOperations.cs @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// NetworkSecurityPerimeterConfigurationsOperations operations. + /// + public partial interface INetworkSecurityPerimeterConfigurationsOperations + { + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets effective NetworkSecurityPerimeterConfiguration for association + /// + /// + /// Gets effective NetworkSecurityPerimeterConfiguration for association + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Refreshes any information about the association. + /// + /// + /// Refreshes any information about the association. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> ReconcileWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Refreshes any information about the association. + /// + /// + /// Refreshes any information about the association. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> BeginReconcileWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IObjectReplicationPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IObjectReplicationPoliciesOperations.cs index 0bf810dc10ac..ea7f1ca739a6 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IObjectReplicationPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IObjectReplicationPoliciesOperations.cs @@ -20,8 +20,7 @@ public partial interface IObjectReplicationPoliciesOperations /// List the object replication policies associated with the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -40,7 +39,7 @@ public partial interface IObjectReplicationPoliciesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get the object replication policy of the storage account by policy ID. @@ -49,8 +48,7 @@ public partial interface IObjectReplicationPoliciesOperations /// Get the object replication policy of the storage account by policy ID. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -85,8 +83,7 @@ public partial interface IObjectReplicationPoliciesOperations /// Create or update the object replication policy of the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -127,8 +124,7 @@ public partial interface IObjectReplicationPoliciesOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -153,5 +149,28 @@ public partial interface IObjectReplicationPoliciesOperations /// System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// List the object replication policies associated with the storage account. + /// + /// + /// List the object replication policies associated with the storage account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IOperations.cs index d09f931dcb48..435edf33cf98 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IOperations.cs @@ -31,7 +31,30 @@ public partial interface IOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Lists all of the available Storage Rest API operations. + /// + /// + /// Lists all of the available Storage Rest API operations. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IPrivateEndpointConnectionsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IPrivateEndpointConnectionsOperations.cs index 64a0b07c17ce..36b969e1b3cf 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IPrivateEndpointConnectionsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IPrivateEndpointConnectionsOperations.cs @@ -22,8 +22,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -42,7 +41,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Gets the specified private endpoint connection associated with the storage @@ -53,8 +52,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -88,8 +86,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -130,8 +127,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -153,5 +149,30 @@ public partial interface IPrivateEndpointConnectionsOperations /// System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// List all the private endpoint connections associated with the storage + /// account. + /// + /// + /// List all the private endpoint connections associated with the storage + /// account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IPrivateLinkResourcesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IPrivateLinkResourcesOperations.cs index 00afce317805..d2bdc0b1ad35 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IPrivateLinkResourcesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IPrivateLinkResourcesOperations.cs @@ -22,8 +22,7 @@ public partial interface IPrivateLinkResourcesOperations /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/IQueueOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IQueueOperations.cs new file mode 100644 index 000000000000..31b28dc072d3 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/IQueueOperations.cs @@ -0,0 +1,223 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// QueueOperations operations. + /// + public partial interface IQueueOperations + { + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, a maximum number of queues that should be included in a list + /// queue response + /// + /// + /// Optional, When specified, only the queues with a name starting with the + /// given filter will be listed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the queue with the specified queue name, under the specified account + /// if it exists. + /// + /// + /// Gets the queue with the specified queue name, under the specified account + /// if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// A name-value pair that represents queue metadata. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// A name-value pair that represents queue metadata. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Deletes the queue with the specified queue name, under the specified + /// account if it exists. + /// + /// + /// Deletes the queue with the specified queue name, under the specified + /// account if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IQueueServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IQueueServicesOperations.cs new file mode 100644 index 000000000000..8c3bc5b2bb70 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/IQueueServicesOperations.cs @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// QueueServicesOperations operations. + /// + public partial interface IQueueServicesOperations + { + /// + /// List all queue services for the storage account + /// + /// + /// List all queue services for the storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// Gets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Sets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// Sets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Specifies CORS rules for the Queue service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Queue service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/ISkusOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ISkusOperations.cs index 09f22c8f932a..f42225c0a913 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ISkusOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ISkusOperations.cs @@ -33,7 +33,32 @@ public partial interface ISkusOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Lists the available SKUs supported by Microsoft.Storage for given + /// subscription. + /// + /// + /// Lists the available SKUs supported by Microsoft.Storage for given + /// subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IStorageAccountsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IStorageAccountsOperations.cs index 128b7097dc64..e26f5e391a02 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IStorageAccountsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IStorageAccountsOperations.cs @@ -37,31 +37,13 @@ public partial interface IStorageAccountsOperations System.Threading.Tasks.Task> CheckNameAvailabilityWithHttpMessagesAsync(string name, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Asynchronously creates a new storage account with the specified parameters. - /// If an account is already created and a subsequent create request is issued - /// with different properties, the account properties will be updated. If an - /// account is already created and a subsequent create or update request is - /// issued with the exact same set of properties, the request will succeed. + /// Lists all the storage accounts available under the subscription. Note that + /// storage keys are not returned; use the ListKeys operation for this. /// /// - /// Asynchronously creates a new storage account with the specified parameters. - /// If an account is already created and a subsequent create request is issued - /// with different properties, the account properties will be updated. If an - /// account is already created and a subsequent create or update request is - /// issued with the exact same set of properties, the request will succeed. + /// Lists all the storage accounts available under the subscription. Note that + /// storage keys are not returned; use the ListKeys operation for this. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The parameters to provide for the created account. - /// /// /// The headers that will be added to request. /// @@ -74,22 +56,20 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Deletes a storage account in Microsoft Azure. + /// Lists all the storage accounts available under the given resource group. + /// Note that storage keys are not returned; use the ListKeys operation for + /// this. /// /// - /// Deletes a storage account in Microsoft Azure. + /// Lists all the storage accounts available under the given resource group. + /// Note that storage keys are not returned; use the ListKeys operation for + /// this. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. + /// The name of the resource group. The name is case insensitive. /// /// /// The headers that will be added to request. @@ -100,7 +80,10 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Returns the properties for the specified storage account including but not @@ -113,8 +96,7 @@ public partial interface IStorageAccountsOperations /// operation should be used to retrieve storage keys. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -141,32 +123,21 @@ public partial interface IStorageAccountsOperations System.Threading.Tasks.Task> GetPropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountExpand? expand = default(StorageAccountExpand?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// The update operation can be used to update the SKU, encryption, access - /// tier, or tags for a storage account. It can also be used to map the account - /// to a custom domain. Only one custom domain is supported per storage - /// account; the replacement/change of custom domain is not supported. In order - /// to replace an old custom domain, the old value must be cleared/unregistered - /// before a new value can be set. The update of multiple properties is - /// supported. This call does not change the storage keys for the account. If - /// you want to change the storage account keys, use the regenerate keys - /// operation. The location and name of the storage account cannot be changed - /// after creation. + /// Asynchronously creates a new storage account with the specified parameters. + /// If an account is already created and a subsequent create request is issued + /// with different properties, the account properties will be updated. If an + /// account is already created and a subsequent create or update request is + /// issued with the exact same set of properties, the request will succeed. /// /// - /// The update operation can be used to update the SKU, encryption, access - /// tier, or tags for a storage account. It can also be used to map the account - /// to a custom domain. Only one custom domain is supported per storage - /// account; the replacement/change of custom domain is not supported. In order - /// to replace an old custom domain, the old value must be cleared/unregistered - /// before a new value can be set. The update of multiple properties is - /// supported. This call does not change the storage keys for the account. If - /// you want to change the storage account keys, use the regenerate keys - /// operation. The location and name of the storage account cannot be changed - /// after creation. + /// Asynchronously creates a new storage account with the specified parameters. + /// If an account is already created and a subsequent create request is issued + /// with different properties, the account properties will be updated. If an + /// account is already created and a subsequent create or update request is + /// issued with the exact same set of properties, the request will succeed. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -174,57 +145,7 @@ public partial interface IStorageAccountsOperations /// numbers and lower-case letters only. /// /// - /// The parameters to provide for the updated account. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// - /// Lists all the storage accounts available under the subscription. Note that - /// storage keys are not returned; use the ListKeys operation for this. - /// - /// - /// Lists all the storage accounts available under the subscription. Note that - /// storage keys are not returned; use the ListKeys operation for this. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// - /// Lists all the storage accounts available under the given resource group. - /// Note that storage keys are not returned; use the ListKeys operation for - /// this. - /// - /// - /// Lists all the storage accounts available under the given resource group. - /// Note that storage keys are not returned; use the ListKeys operation for - /// this. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The parameters to provide for the created account. /// /// /// The headers that will be added to request. @@ -238,27 +159,42 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Lists the access keys or Kerberos keys (if active directory enabled) for - /// the specified storage account. + /// The update operation can be used to update the SKU, encryption, access + /// tier, or tags for a storage account. It can also be used to map the account + /// to a custom domain. Only one custom domain is supported per storage + /// account; the replacement/change of custom domain is not supported. In order + /// to replace an old custom domain, the old value must be cleared/unregistered + /// before a new value can be set. The update of multiple properties is + /// supported. This call does not change the storage keys for the account. If + /// you want to change the storage account keys, use the regenerate keys + /// operation. The location and name of the storage account cannot be changed + /// after creation. /// /// - /// Lists the access keys or Kerberos keys (if active directory enabled) for - /// the specified storage account. + /// The update operation can be used to update the SKU, encryption, access + /// tier, or tags for a storage account. It can also be used to map the account + /// to a custom domain. Only one custom domain is supported per storage + /// account; the replacement/change of custom domain is not supported. In order + /// to replace an old custom domain, the old value must be cleared/unregistered + /// before a new value can be set. The update of multiple properties is + /// supported. This call does not change the storage keys for the account. If + /// you want to change the storage account keys, use the regenerate keys + /// operation. The location and name of the storage account cannot be changed + /// after creation. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Specifies type of the key to be listed. Possible value is kerb. + /// + /// The parameters to provide for the updated account. /// /// /// The headers that will be added to request. @@ -272,29 +208,22 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> ListKeysWithHttpMessagesAsync(string resourceGroupName, string accountName, ListKeyExpand? expand = default(ListKeyExpand?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Regenerates one of the access keys or Kerberos keys for the specified - /// storage account. + /// Deletes a storage account in Microsoft Azure. /// /// - /// Regenerates one of the access keys or Kerberos keys for the specified - /// storage account. + /// Deletes a storage account in Microsoft Azure. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of storage keys that want to be regenerated, possible values are - /// key1, key2, kerb1, kerb2. - /// /// /// The headers that will be added to request. /// @@ -304,29 +233,22 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List SAS credentials of a storage account. + /// Abort live Migration of storage account to enable Hns /// /// - /// List SAS credentials of a storage account. + /// Abort live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The parameters to provide to list SAS credentials for the storage account. - /// /// /// The headers that will be added to request. /// @@ -336,29 +258,22 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> ListAccountSASWithHttpMessagesAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List service SAS credentials of a specific resource. + /// Gets the status of the ongoing migration for the specified storage account. /// /// - /// List service SAS credentials of a specific resource. + /// Gets the status of the ongoing migration for the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The parameters to provide to list service SAS credentials. - /// /// /// The headers that will be added to request. /// @@ -371,7 +286,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> ListServiceSASWithHttpMessagesAsync(string resourceGroupName, string accountName, ServiceSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// A failover request can be triggered for a storage account in the event a @@ -404,8 +319,7 @@ public partial interface IStorageAccountsOperations /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -425,7 +339,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task FailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Live Migration of storage account to enable Hns @@ -434,8 +348,7 @@ public partial interface IStorageAccountsOperations /// Live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -458,23 +371,25 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task HierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> HierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Abort live Migration of storage account to enable Hns + /// List SAS credentials of a storage account. /// /// - /// Abort live Migration of storage account to enable Hns + /// List SAS credentials of a storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The parameters to provide to list SAS credentials for the storage account. + /// /// /// The headers that will be added to request. /// @@ -484,27 +399,52 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> ListAccountSASWithHttpMessagesAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. + /// Lists the access keys or Kerberos keys (if active directory enabled) for + /// the specified storage account. /// /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. + /// Lists the access keys or Kerberos keys (if active directory enabled) for + /// the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Specifies type of the key to be listed. Possible value is kerb. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> ListKeysWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum70? expand = default(Enum70?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List service SAS credentials of a specific resource. + /// + /// + /// List service SAS credentials of a specific resource. + /// + /// + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -512,7 +452,7 @@ public partial interface IStorageAccountsOperations /// numbers and lower-case letters only. /// /// - /// The request parameters required to perform storage account migration. + /// The parameters to provide to list service SAS credentials. /// /// /// The headers that will be added to request. @@ -523,23 +463,31 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task> CustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> ListServiceSASWithHttpMessagesAsync(string resourceGroupName, string accountName, ServiceSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Gets the status of the ongoing migration for the specified storage account. + /// Regenerates one of the access keys or Kerberos keys for the specified + /// storage account. /// /// - /// Gets the status of the ongoing migration for the specified storage account. + /// Regenerates one of the access keys or Kerberos keys for the specified + /// storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The name of storage keys that want to be regenerated, possible values are + /// key1, key2, kerb1, kerb2. + /// /// /// The headers that will be added to request. /// @@ -552,7 +500,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> GetCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Restore blobs in the specified blob ranges @@ -561,8 +509,7 @@ public partial interface IStorageAccountsOperations /// Restore blobs in the specified blob ranges /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -587,7 +534,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> RestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> RestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Revoke user delegation keys. @@ -596,8 +543,7 @@ public partial interface IStorageAccountsOperations /// Revoke user delegation keys. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -615,6 +561,44 @@ public partial interface IStorageAccountsOperations /// System.Threading.Tasks.Task RevokeUserDelegationKeysWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. + /// + /// + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Target sku name for the account + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> CustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string targetSkuName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// /// Asynchronously creates a new storage account with the specified parameters. /// If an account is already created and a subsequent create request is issued @@ -630,8 +614,7 @@ public partial interface IStorageAccountsOperations /// issued with the exact same set of properties, the request will succeed. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -653,7 +636,32 @@ public partial interface IStorageAccountsOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Abort live Migration of storage account to enable Hns + /// + /// + /// Abort live Migration of storage account to enable Hns + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// A failover request can be triggered for a storage account in the event a @@ -686,8 +694,7 @@ public partial interface IStorageAccountsOperations /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -707,7 +714,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Live Migration of storage account to enable Hns @@ -716,8 +723,7 @@ public partial interface IStorageAccountsOperations /// Live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -740,23 +746,28 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Abort live Migration of storage account to enable Hns + /// Restore blobs in the specified blob ranges /// /// - /// Abort live Migration of storage account to enable Hns + /// Restore blobs in the specified blob ranges /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// Restore blob to the specified time. + /// + /// + /// Blob ranges to restore. + /// /// /// The headers that will be added to request. /// @@ -766,7 +777,10 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> BeginRestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Account Migration request can be triggered for a storage account to change @@ -785,16 +799,15 @@ public partial interface IStorageAccountsOperations /// primary region. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The request parameters required to perform storage account migration. + /// + /// Target sku name for the account /// /// /// The headers that will be added to request. @@ -805,42 +818,7 @@ public partial interface IStorageAccountsOperations /// /// Thrown when the operation returned an invalid status code /// - System.Threading.Tasks.Task> BeginCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// - /// Restore blobs in the specified blob ranges - /// - /// - /// Restore blobs in the specified blob ranges - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// Restore blob to the specified time. - /// - /// - /// Blob ranges to restore. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - System.Threading.Tasks.Task> BeginRestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> BeginCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string targetSkuName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Lists all the storage accounts available under the subscription. Note that diff --git a/src/Storage/Storage.Management.Sdk/Generated/IStorageManagementClient.cs b/src/Storage/Storage.Management.Sdk/Generated/IStorageManagementClient.cs index 095147def5ac..560e518faa3f 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IStorageManagementClient.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IStorageManagementClient.cs @@ -42,9 +42,9 @@ public partial interface IStorageManagementClient : System.IDisposable /// - /// The ID of the target subscription. + /// The ID of the target subscription. The value must be an UUID. /// - string SubscriptionId { get; set;} + System.Guid SubscriptionId { get; set;} /// @@ -73,11 +73,6 @@ public partial interface IStorageManagementClient : System.IDisposable /// IOperations Operations { get; } - /// - /// Gets the ISkusOperations - /// - ISkusOperations Skus { get; } - /// /// Gets the IStorageAccountsOperations /// @@ -94,15 +89,60 @@ public partial interface IStorageManagementClient : System.IDisposable IUsagesOperations Usages { get; } /// - /// Gets the IManagementPoliciesOperations + /// Gets the ISkusOperations /// - IManagementPoliciesOperations ManagementPolicies { get; } + ISkusOperations Skus { get; } + + /// + /// Gets the IBlobServicesOperations + /// + IBlobServicesOperations BlobServices { get; } + + /// + /// Gets the IBlobContainersOperations + /// + IBlobContainersOperations BlobContainers { get; } + + /// + /// Gets the IEncryptionScopesOperations + /// + IEncryptionScopesOperations EncryptionScopes { get; } + + /// + /// Gets the IFileServicesOperations + /// + IFileServicesOperations FileServices { get; } + + /// + /// Gets the IFileSharesOperations + /// + IFileSharesOperations FileShares { get; } /// /// Gets the IBlobInventoryPoliciesOperations /// IBlobInventoryPoliciesOperations BlobInventoryPolicies { get; } + /// + /// Gets the ILocalUsersOperations + /// + ILocalUsersOperations LocalUsers { get; } + + /// + /// Gets the IManagementPoliciesOperations + /// + IManagementPoliciesOperations ManagementPolicies { get; } + + /// + /// Gets the INetworkSecurityPerimeterConfigurationsOperations + /// + INetworkSecurityPerimeterConfigurationsOperations NetworkSecurityPerimeterConfigurations { get; } + + /// + /// Gets the IObjectReplicationPoliciesOperations + /// + IObjectReplicationPoliciesOperations ObjectReplicationPolicies { get; } + /// /// Gets the IPrivateEndpointConnectionsOperations /// @@ -114,39 +154,39 @@ public partial interface IStorageManagementClient : System.IDisposable IPrivateLinkResourcesOperations PrivateLinkResources { get; } /// - /// Gets the IObjectReplicationPoliciesOperations + /// Gets the IQueueServicesOperations /// - IObjectReplicationPoliciesOperations ObjectReplicationPolicies { get; } + IQueueServicesOperations QueueServices { get; } /// - /// Gets the ILocalUsersOperations + /// Gets the IQueueOperations /// - ILocalUsersOperations LocalUsers { get; } + IQueueOperations Queue { get; } /// - /// Gets the IEncryptionScopesOperations + /// Gets the IStorageTaskAssignmentsInstancesReportOperations /// - IEncryptionScopesOperations EncryptionScopes { get; } + IStorageTaskAssignmentsInstancesReportOperations StorageTaskAssignmentsInstancesReport { get; } /// - /// Gets the IBlobServicesOperations + /// Gets the IStorageTaskAssignmentsOperations /// - IBlobServicesOperations BlobServices { get; } + IStorageTaskAssignmentsOperations StorageTaskAssignments { get; } /// - /// Gets the IBlobContainersOperations + /// Gets the IStorageTaskAssignmentInstancesReportOperations /// - IBlobContainersOperations BlobContainers { get; } + IStorageTaskAssignmentInstancesReportOperations StorageTaskAssignmentInstancesReport { get; } /// - /// Gets the IFileServicesOperations + /// Gets the ITableServicesOperations /// - IFileServicesOperations FileServices { get; } + ITableServicesOperations TableServices { get; } /// - /// Gets the IFileSharesOperations + /// Gets the ITableOperations /// - IFileSharesOperations FileShares { get; } + ITableOperations Table { get; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentInstancesReportOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentInstancesReportOperations.cs new file mode 100644 index 000000000000..9b7549b404f8 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentInstancesReportOperations.cs @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentInstancesReportOperations operations. + /// + public partial interface IStorageTaskAssignmentInstancesReportOperations + { + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, int? maxpagesize = default(int?), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsInstancesReportOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsInstancesReportOperations.cs new file mode 100644 index 000000000000..df8fad7666be --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsInstancesReportOperations.cs @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentsInstancesReportOperations operations. + /// + public partial interface IStorageTaskAssignmentsInstancesReportOperations + { + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsOperations.cs new file mode 100644 index 000000000000..eeea157c3126 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/IStorageTaskAssignmentsOperations.cs @@ -0,0 +1,329 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentsOperations operations. + /// + public partial interface IStorageTaskAssignmentsOperations + { + /// + /// List all the storage task assignments in an account + /// + /// + /// List all the storage task assignments in an account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment Ids to be + /// included in the list response. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? top = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Get the storage task assignment properties + /// + /// + /// Get the storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Update storage task assignment properties + /// + /// + /// Update storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Update storage task assignment properties + /// + /// + /// Update storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List all the storage task assignments in an account + /// + /// + /// List all the storage task assignments in an account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/ITableOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ITableOperations.cs new file mode 100644 index 000000000000..2559ef644d97 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/ITableOperations.cs @@ -0,0 +1,211 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// TableOperations operations. + /// + public partial interface ITableOperations + { + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the table with the specified table name, under the specified account + /// if it exists. + /// + /// + /// Gets the table with the specified table name, under the specified account + /// if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// List of stored access policies specified on the table. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// List of stored access policies specified on the table. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Deletes the table with the specified table name, under the specified + /// account if it exists. + /// + /// + /// Deletes the table with the specified table name, under the specified + /// account if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/ITableServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ITableServicesOperations.cs new file mode 100644 index 000000000000..5041377ae2ae --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/ITableServicesOperations.cs @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// TableServicesOperations operations. + /// + public partial interface ITableServicesOperations + { + /// + /// List all table services for the storage account. + /// + /// + /// List all table services for the storage account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// Gets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Sets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// Sets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Specifies CORS rules for the Table service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Table service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/IUsagesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/IUsagesOperations.cs index 34611d81eb98..9329c107c2fb 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/IUsagesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/IUsagesOperations.cs @@ -22,7 +22,7 @@ public partial interface IUsagesOperations /// location under the subscription. /// /// - /// The location of the Azure Storage resource. + /// The name of the Azure region. /// /// /// The headers that will be added to request. @@ -36,7 +36,32 @@ public partial interface IUsagesOperations /// /// Thrown when unable to deserialize the response /// - System.Threading.Tasks.Task>> ListByLocationWithHttpMessagesAsync(string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task>> ListByLocationWithHttpMessagesAsync(string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Gets the current usage count and the limit for the resources of the + /// location under the subscription. + /// + /// + /// Gets the current usage count and the limit for the resources of the + /// location under the subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + System.Threading.Tasks.Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperations.cs index d5468cc4d343..d1c2c771e2bf 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperations.cs @@ -42,8 +42,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// List the local users associated with the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -83,12 +82,18 @@ internal LocalUsersOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -103,10 +108,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -127,22 +128,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (maxpagesize != null) { if (maxpagesize > 5000) @@ -177,9 +162,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -286,7 +271,7 @@ internal LocalUsersOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -327,8 +312,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// Get the local user of the storage account by username. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -366,6 +350,12 @@ internal LocalUsersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -380,10 +370,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -404,22 +390,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (username == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "username"); @@ -454,9 +424,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{username}", System.Uri.EscapeDataString(username)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -595,8 +565,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// with other properties. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -642,6 +611,12 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "properties"); } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -656,10 +631,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -680,22 +651,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (username == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "username"); @@ -731,9 +686,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{username}", System.Uri.EscapeDataString(username)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -876,8 +831,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// Deletes the local user associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -912,6 +866,12 @@ internal LocalUsersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -926,10 +886,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -950,22 +906,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (username == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "username"); @@ -1000,9 +940,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{username}", System.Uri.EscapeDataString(username)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -1121,8 +1061,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// List SSH authorized keys and shared key of the local user. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1160,6 +1099,12 @@ internal LocalUsersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1174,10 +1119,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1198,22 +1139,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (username == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "username"); @@ -1248,9 +1173,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{username}", System.Uri.EscapeDataString(username)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -1387,8 +1312,7 @@ internal LocalUsersOperations (StorageManagementClient client) /// Regenerate the local user SSH password. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1426,6 +1350,12 @@ internal LocalUsersOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1440,10 +1370,6 @@ internal LocalUsersOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1464,22 +1390,6 @@ internal LocalUsersOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (username == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "username"); @@ -1514,9 +1424,9 @@ internal LocalUsersOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{username}", System.Uri.EscapeDataString(username)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -1648,6 +1558,183 @@ internal LocalUsersOperations (StorageManagementClient client) + } + /// + /// List the local users associated with the storage account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperationsExtensions.cs index edf344788bb6..4244748a94b3 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/LocalUsersOperationsExtensions.cs @@ -19,8 +19,7 @@ public static partial class LocalUsersOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -39,7 +38,7 @@ public static partial class LocalUsersOperationsExtensions /// Optional, when specified, will list local users enabled for the specific /// protocol. Lists all users by default. /// - public static System.Collections.Generic.IEnumerable List(this ILocalUsersOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string)) + public static Microsoft.Rest.Azure.IPage List(this ILocalUsersOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string)) { return ((ILocalUsersOperations)operations).ListAsync(resourceGroupName, accountName, maxpagesize, filter, include).GetAwaiter().GetResult(); } @@ -51,8 +50,7 @@ public static partial class LocalUsersOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -74,7 +72,7 @@ public static partial class LocalUsersOperationsExtensions /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this ILocalUsersOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this ILocalUsersOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), string include = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, maxpagesize, filter, include, null, cancellationToken).ConfigureAwait(false)) { @@ -88,8 +86,7 @@ public static partial class LocalUsersOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -112,8 +109,7 @@ public static LocalUser Get(this ILocalUsersOperations operations, string resour /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -143,8 +139,7 @@ public static LocalUser Get(this ILocalUsersOperations operations, string resour /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -169,8 +164,7 @@ public static LocalUser CreateOrUpdate(this ILocalUsersOperations operations, st /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -198,8 +192,7 @@ public static LocalUser CreateOrUpdate(this ILocalUsersOperations operations, st /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -222,8 +215,7 @@ public static void Delete(this ILocalUsersOperations operations, string resource /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -248,8 +240,7 @@ public static void Delete(this ILocalUsersOperations operations, string resource /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -272,8 +263,7 @@ public static LocalUserKeys ListKeys(this ILocalUsersOperations operations, stri /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -301,8 +291,7 @@ public static LocalUserKeys ListKeys(this ILocalUsersOperations operations, stri /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -325,8 +314,7 @@ public static LocalUserRegeneratePasswordResult RegeneratePassword(this ILocalUs /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -347,5 +335,38 @@ public static LocalUserRegeneratePasswordResult RegeneratePassword(this ILocalUs return _result.Body; } } + /// + /// List the local users associated with the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this ILocalUsersOperations operations, string nextPageLink) + { + return ((ILocalUsersOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// List the local users associated with the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this ILocalUsersOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperations.cs index 10813d28da8d..986121beadb9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperations.cs @@ -42,8 +42,7 @@ internal ManagementPoliciesOperations (StorageManagementClient client) /// Gets the managementpolicy associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -77,6 +76,12 @@ internal ManagementPoliciesOperations (StorageManagementClient client) string managementPolicyName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -91,10 +96,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -115,22 +116,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -151,9 +136,9 @@ internal ManagementPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{managementPolicyName}", System.Uri.EscapeDataString(managementPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -221,14 +206,13 @@ internal ManagementPoliciesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -238,10 +222,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -295,8 +275,7 @@ internal ManagementPoliciesOperations (StorageManagementClient client) /// Sets the managementpolicy to the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -334,6 +313,12 @@ internal ManagementPoliciesOperations (StorageManagementClient client) string managementPolicyName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -348,10 +333,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -372,22 +353,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } ManagementPolicy properties = new ManagementPolicy(); if(policy != null) @@ -414,9 +379,9 @@ internal ManagementPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{managementPolicyName}", System.Uri.EscapeDataString(managementPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -490,14 +455,13 @@ internal ManagementPoliciesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -507,10 +471,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -564,8 +524,7 @@ internal ManagementPoliciesOperations (StorageManagementClient client) /// Deletes the managementpolicy associated with the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -596,6 +555,12 @@ internal ManagementPoliciesOperations (StorageManagementClient client) string managementPolicyName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -610,10 +575,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -634,22 +595,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -670,9 +615,9 @@ internal ManagementPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{managementPolicyName}", System.Uri.EscapeDataString(managementPolicyName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -740,14 +685,13 @@ internal ManagementPoliciesOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -757,10 +701,6 @@ internal ManagementPoliciesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); diff --git a/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperationsExtensions.cs index d8c566a77e05..a61d2c24275e 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ManagementPoliciesOperationsExtensions.cs @@ -19,8 +19,7 @@ public static partial class ManagementPoliciesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -39,8 +38,7 @@ public static ManagementPolicy Get(this IManagementPoliciesOperations operations /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -64,8 +62,7 @@ public static ManagementPolicy Get(this IManagementPoliciesOperations operations /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -84,8 +81,7 @@ public static ManagementPolicy Get(this IManagementPoliciesOperations operations /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -109,8 +105,7 @@ public static ManagementPolicy Get(this IManagementPoliciesOperations operations /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -129,8 +124,7 @@ public static void Delete(this IManagementPoliciesOperations operations, string /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/AccountUsage.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/AccountUsage.cs index 4206653e1618..b0d51285c650 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/AccountUsage.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/AccountUsage.cs @@ -47,17 +47,17 @@ public AccountUsage() /// - /// Gets usage of provisioned storage, IOPS, bandwidth and number of file - /// shares across all live shares or soft-deleted shares in the account. + /// Gets or sets usage of provisioned storage, IOPS, bandwidth and number of + /// file shares across all live shares or soft-deleted shares in the account. /// [Newtonsoft.Json.JsonProperty(PropertyName = "liveShares")] - public AccountUsageElements LiveShares {get; private set; } + public AccountUsageElements LiveShares {get; set; } /// - /// Gets usage of provisioned storage, IOPS, bandwidth and number of file - /// shares across all live shares or soft-deleted shares in the account. + /// Gets or sets usage of provisioned storage, IOPS, bandwidth and number of + /// file shares across all live shares or soft-deleted shares in the account. /// [Newtonsoft.Json.JsonProperty(PropertyName = "softDeletedShares")] - public AccountUsageElements SoftDeletedShares {get; private set; } + public AccountUsageElements SoftDeletedShares {get; set; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/AzureEntityResource.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/AzureEntityResource.cs index 0b96c24ec130..2920b9359240 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/AzureEntityResource.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/AzureEntityResource.cs @@ -29,8 +29,8 @@ public AzureEntityResource() /// Initializes a new instance of the AzureEntityResource class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -40,11 +40,15 @@ public AzureEntityResource() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// - public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) + public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string)) - : base(id, name, type) + : base(id, name, type, systemData) { this.Etag = etag; CustomInit(); diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainer.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainer.cs index 0e67e8873f93..9ce9692cf9d2 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainer.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainer.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// type, Etag. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class BlobContainer : AzureEntityResource + public partial class BlobContainer : ProxyResource { /// /// Initializes a new instance of the BlobContainer class. @@ -26,8 +26,8 @@ public BlobContainer() /// Initializes a new instance of the BlobContainer class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -37,6 +37,10 @@ public BlobContainer() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// @@ -107,10 +111,11 @@ public BlobContainer() /// Enable NFSv3 all squash on blob container. /// - public BlobContainer(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string version = default(string), System.DateTime? deletedTime = default(System.DateTime?), PublicAccess? publicAccess = default(PublicAccess?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), bool? deleted = default(bool?), int? remainingRetentionDays = default(int?), string defaultEncryptionScope = default(string), bool? denyEncryptionScopeOverride = default(bool?), System.DateTime? lastModifiedTime = default(System.DateTime?), ImmutabilityPolicyProperties immutabilityPolicy = default(ImmutabilityPolicyProperties), LegalHoldProperties legalHold = default(LegalHoldProperties), bool? hasLegalHold = default(bool?), bool? hasImmutabilityPolicy = default(bool?), ImmutableStorageWithVersioning immutableStorageWithVersioning = default(ImmutableStorageWithVersioning), bool? enableNfsV3RootSquash = default(bool?), bool? enableNfsV3AllSquash = default(bool?)) + public BlobContainer(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string version = default(string), System.DateTime? deletedTime = default(System.DateTime?), PublicAccess? publicAccess = default(PublicAccess?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), bool? deleted = default(bool?), int? remainingRetentionDays = default(int?), string defaultEncryptionScope = default(string), bool? denyEncryptionScopeOverride = default(bool?), System.DateTime? lastModifiedTime = default(System.DateTime?), ImmutabilityPolicyProperties immutabilityPolicy = default(ImmutabilityPolicyProperties), LegalHoldProperties legalHold = default(LegalHoldProperties), bool? hasLegalHold = default(bool?), bool? hasImmutabilityPolicy = default(bool?), ImmutableStorageWithVersioning immutableStorageWithVersioning = default(ImmutableStorageWithVersioning), bool? enableNfsV3RootSquash = default(bool?), bool? enableNfsV3AllSquash = default(bool?)) - : base(id, name, type, etag) + : base(id, name, type, systemData) { + this.Etag = etag; this.Version = version; this.DeletedTime = deletedTime; this.PublicAccess = publicAccess; @@ -139,6 +144,12 @@ public BlobContainer() partial void CustomInit(); + /// + /// Gets resource Etag. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "etag")] + public string Etag {get; private set; } + /// /// Gets the version of the deleted blob container. /// diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainersObjectLevelWormHeaders.cs similarity index 50% rename from src/Storage/Storage.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs rename to src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainersObjectLevelWormHeaders.cs index 1f9b86a6f794..21eafd8b7a1b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobContainersObjectLevelWormHeaders.cs @@ -7,33 +7,30 @@ namespace Microsoft.Azure.Management.Storage.Models { using System.Linq; - /// - /// The resource management error additional info. - /// - public partial class ErrorAdditionalInfo + public partial class BlobContainersObjectLevelWormHeaders { /// - /// Initializes a new instance of the ErrorAdditionalInfo class. + /// Initializes a new instance of the BlobContainersObjectLevelWormHeaders class. /// - public ErrorAdditionalInfo() + public BlobContainersObjectLevelWormHeaders() { CustomInit(); } /// - /// Initializes a new instance of the ErrorAdditionalInfo class. + /// Initializes a new instance of the BlobContainersObjectLevelWormHeaders class. /// - /// The additional info type. + /// /// - /// The additional info. + /// /// - public ErrorAdditionalInfo(string type = default(string), object info = default(object)) + public BlobContainersObjectLevelWormHeaders(string location = default(string), int? retryAfter = default(int?)) { - this.Type = type; - this.Info = info; + this.Location = location; + this.RetryAfter = retryAfter; CustomInit(); } @@ -44,15 +41,15 @@ public ErrorAdditionalInfo() /// - /// Gets the additional info type. + /// Gets or sets /// - [Newtonsoft.Json.JsonProperty(PropertyName = "type")] - public string Type {get; private set; } + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } /// - /// Gets the additional info. + /// Gets or sets /// - [Newtonsoft.Json.JsonProperty(PropertyName = "info")] - public object Info {get; private set; } + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobInventoryPolicy.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobInventoryPolicy.cs index d328a26dd37c..19170f3a96b0 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobInventoryPolicy.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobInventoryPolicy.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The storage account blob inventory policy. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class BlobInventoryPolicy : Resource + public partial class BlobInventoryPolicy : ProxyResource { /// /// Initializes a new instance of the BlobInventoryPolicy class. @@ -25,8 +25,8 @@ public BlobInventoryPolicy() /// Initializes a new instance of the BlobInventoryPolicy class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,7 +36,8 @@ public BlobInventoryPolicy() /// "Microsoft.Storage/storageAccounts" /// - /// Metadata pertaining to creation and last modification of the resource. + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. /// /// Returns the last modified date and time of the blob inventory policy. @@ -47,9 +48,8 @@ public BlobInventoryPolicy() /// public BlobInventoryPolicy(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? lastModifiedTime = default(System.DateTime?), BlobInventoryPolicySchema policy = default(BlobInventoryPolicySchema)) - : base(id, name, type) + : base(id, name, type, systemData) { - this.SystemData = systemData; this.LastModifiedTime = lastModifiedTime; this.Policy = policy; CustomInit(); @@ -61,12 +61,6 @@ public BlobInventoryPolicy() partial void CustomInit(); - /// - /// Gets metadata pertaining to creation and last modification of the resource. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "systemData")] - public SystemData SystemData {get; private set; } - /// /// Gets returns the last modified date and time of the blob inventory policy. /// @@ -87,7 +81,6 @@ public BlobInventoryPolicy() /// public virtual void Validate() { - if (this.Policy != null) { this.Policy.Validate(); diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServiceProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServiceProperties.cs index 17e19d314b6f..0fefc1133328 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServiceProperties.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServiceProperties.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The properties of a storage account’s Blob service. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class BlobServiceProperties : Resource + public partial class BlobServiceProperties : ProxyResource { /// /// Initializes a new instance of the BlobServiceProperties class. @@ -25,8 +25,8 @@ public BlobServiceProperties() /// Initializes a new instance of the BlobServiceProperties class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public BlobServiceProperties() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Sku name and tier. /// @@ -71,9 +75,9 @@ public BlobServiceProperties() /// The blob service property to configure last access time based tracking /// policy. /// - public BlobServiceProperties(string id = default(string), string name = default(string), string type = default(string), Sku sku = default(Sku), ChangeFeed changeFeed = default(ChangeFeed), CorsRules cors = default(CorsRules), string defaultServiceVersion = default(string), DeleteRetentionPolicy deleteRetentionPolicy = default(DeleteRetentionPolicy), bool? isVersioningEnabled = default(bool?), bool? automaticSnapshotPolicyEnabled = default(bool?), RestorePolicyProperties restorePolicy = default(RestorePolicyProperties), DeleteRetentionPolicy containerDeleteRetentionPolicy = default(DeleteRetentionPolicy), LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy = default(LastAccessTimeTrackingPolicy)) + public BlobServiceProperties(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), Sku sku = default(Sku), ChangeFeed changeFeed = default(ChangeFeed), CorsRules cors = default(CorsRules), string defaultServiceVersion = default(string), DeleteRetentionPolicy deleteRetentionPolicy = default(DeleteRetentionPolicy), bool? isVersioningEnabled = default(bool?), bool? automaticSnapshotPolicyEnabled = default(bool?), RestorePolicyProperties restorePolicy = default(RestorePolicyProperties), DeleteRetentionPolicy containerDeleteRetentionPolicy = default(DeleteRetentionPolicy), LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy = default(LastAccessTimeTrackingPolicy)) - : base(id, name, type) + : base(id, name, type, systemData) { this.Sku = sku; this.ChangeFeed = changeFeed; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicePropertiesProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicePropertiesProperties.cs new file mode 100644 index 000000000000..71aba8469886 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicePropertiesProperties.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account’s Blob service. + /// + public partial class BlobServicePropertiesProperties + { + /// + /// Initializes a new instance of the BlobServicePropertiesProperties class. + /// + public BlobServicePropertiesProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the BlobServicePropertiesProperties class. + /// + + /// Specifies CORS rules for the Blob service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Blob service. + /// + + /// DefaultServiceVersion indicates the default version to use for requests to + /// the Blob service if an incoming request’s version is not specified. + /// Possible values include version 2008-10-27 and all more recent versions. + /// + + /// The blob service properties for blob soft delete. + /// + + /// Versioning is enabled if set to true. + /// + + /// Deprecated in favor of isVersioningEnabled property. + /// + + /// The blob service properties for change feed events. + /// + + /// The blob service properties for blob restore policy. + /// + + /// The blob service properties for container soft delete. + /// + + /// The blob service property to configure last access time based tracking + /// policy. + /// + public BlobServicePropertiesProperties(CorsRules cors = default(CorsRules), string defaultServiceVersion = default(string), DeleteRetentionPolicy deleteRetentionPolicy = default(DeleteRetentionPolicy), bool? isVersioningEnabled = default(bool?), bool? automaticSnapshotPolicyEnabled = default(bool?), ChangeFeed changeFeed = default(ChangeFeed), RestorePolicyProperties restorePolicy = default(RestorePolicyProperties), DeleteRetentionPolicy containerDeleteRetentionPolicy = default(DeleteRetentionPolicy), LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy = default(LastAccessTimeTrackingPolicy)) + + { + this.Cors = cors; + this.DefaultServiceVersion = defaultServiceVersion; + this.DeleteRetentionPolicy = deleteRetentionPolicy; + this.IsVersioningEnabled = isVersioningEnabled; + this.AutomaticSnapshotPolicyEnabled = automaticSnapshotPolicyEnabled; + this.ChangeFeed = changeFeed; + this.RestorePolicy = restorePolicy; + this.ContainerDeleteRetentionPolicy = containerDeleteRetentionPolicy; + this.LastAccessTimeTrackingPolicy = lastAccessTimeTrackingPolicy; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the Blob service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the Blob service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "cors")] + public CorsRules Cors {get; set; } + + /// + /// Gets or sets defaultServiceVersion indicates the default version to use for + /// requests to the Blob service if an incoming request’s version is not + /// specified. Possible values include version 2008-10-27 and all more recent + /// versions. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "defaultServiceVersion")] + public string DefaultServiceVersion {get; set; } + + /// + /// Gets or sets the blob service properties for blob soft delete. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "deleteRetentionPolicy")] + public DeleteRetentionPolicy DeleteRetentionPolicy {get; set; } + + /// + /// Gets or sets versioning is enabled if set to true. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "isVersioningEnabled")] + public bool? IsVersioningEnabled {get; set; } + + /// + /// Gets or sets deprecated in favor of isVersioningEnabled property. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "automaticSnapshotPolicyEnabled")] + public bool? AutomaticSnapshotPolicyEnabled {get; set; } + + /// + /// Gets or sets the blob service properties for change feed events. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "changeFeed")] + public ChangeFeed ChangeFeed {get; set; } + + /// + /// Gets or sets the blob service properties for blob restore policy. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "restorePolicy")] + public RestorePolicyProperties RestorePolicy {get; set; } + + /// + /// Gets or sets the blob service properties for container soft delete. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "containerDeleteRetentionPolicy")] + public DeleteRetentionPolicy ContainerDeleteRetentionPolicy {get; set; } + + /// + /// Gets or sets the blob service property to configure last access time based + /// tracking policy. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "lastAccessTimeTrackingPolicy")] + public LastAccessTimeTrackingPolicy LastAccessTimeTrackingPolicy {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + + + if (this.DeleteRetentionPolicy != null) + { + this.DeleteRetentionPolicy.Validate(); + } + if (this.ChangeFeed != null) + { + this.ChangeFeed.Validate(); + } + if (this.RestorePolicy != null) + { + this.RestorePolicy.Validate(); + } + if (this.ContainerDeleteRetentionPolicy != null) + { + this.ContainerDeleteRetentionPolicy.Validate(); + } + if (this.LastAccessTimeTrackingPolicy != null) + { + this.LastAccessTimeTrackingPolicy.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicesName.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicesName.cs deleted file mode 100644 index e50f2720a736..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/BlobServicesName.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Defines values for BlobServicesName. - /// - - - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum BlobServicesName - { - [System.Runtime.Serialization.EnumMember(Value = "default")] - Default - } - internal static class BlobServicesNameEnumExtension - { - internal static string ToSerializedValue(this BlobServicesName? value) - { - return value == null ? null : ((BlobServicesName)value).ToSerializedValue(); - } - internal static string ToSerializedValue(this BlobServicesName value) - { - switch( value ) - { - case BlobServicesName.Default: - return "default"; - } - return null; - } - internal static BlobServicesName? ParseBlobServicesName(this string value) - { - switch( value ) - { - case "default": - return BlobServicesName.Default; - } - return null; - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterCreation.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterCreation.cs index ee25a097fcd0..0da4762df2de 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterCreation.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterCreation.cs @@ -73,20 +73,12 @@ public virtual void Validate() { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterCreationGreaterThan", 0); } - if (this.DaysAfterCreationGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterCreationGreaterThan", 1); - } if (this.DaysAfterLastTierChangeGreaterThan != null) { if (this.DaysAfterLastTierChangeGreaterThan < 0) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterLastTierChangeGreaterThan", 0); } - if (this.DaysAfterLastTierChangeGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterLastTierChangeGreaterThan", 1); - } } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterModification.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterModification.cs index 5959145be7e1..27a44ad35f24 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterModification.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/DateAfterModification.cs @@ -103,10 +103,6 @@ public virtual void Validate() { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterModificationGreaterThan", 0); } - if (this.DaysAfterModificationGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterModificationGreaterThan", 1); - } } if (this.DaysAfterLastAccessTimeGreaterThan != null) { @@ -114,10 +110,6 @@ public virtual void Validate() { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterLastAccessTimeGreaterThan", 0); } - if (this.DaysAfterLastAccessTimeGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterLastAccessTimeGreaterThan", 1); - } } if (this.DaysAfterLastTierChangeGreaterThan != null) { @@ -125,10 +117,6 @@ public virtual void Validate() { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterLastTierChangeGreaterThan", 0); } - if (this.DaysAfterLastTierChangeGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterLastTierChangeGreaterThan", 1); - } } if (this.DaysAfterCreationGreaterThan != null) { @@ -136,10 +124,6 @@ public virtual void Validate() { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "DaysAfterCreationGreaterThan", 0); } - if (this.DaysAfterCreationGreaterThan % 1 != 0) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MultipleOf, "DaysAfterCreationGreaterThan", 1); - } } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/DeletedAccount.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/DeletedAccount.cs index 6e6c2efe090f..d65a059249d3 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/DeletedAccount.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/DeletedAccount.cs @@ -25,8 +25,8 @@ public DeletedAccount() /// Initializes a new instance of the DeletedAccount class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public DeletedAccount() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Full resource id of the original storage account. /// @@ -51,9 +55,9 @@ public DeletedAccount() /// Deletion time of the deleted account. /// - public DeletedAccount(string id = default(string), string name = default(string), string type = default(string), string storageAccountResourceId = default(string), string location = default(string), string restoreReference = default(string), string creationTime = default(string), string deletionTime = default(string)) + public DeletedAccount(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string storageAccountResourceId = default(string), string location = default(string), string restoreReference = default(string), string creationTime = default(string), string deletionTime = default(string)) - : base(id, name, type) + : base(id, name, type, systemData) { this.StorageAccountResourceId = storageAccountResourceId; this.Location = location; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/EncryptionScope.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/EncryptionScope.cs index 7ca14cc5eebf..3be711ede267 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/EncryptionScope.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/EncryptionScope.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The Encryption Scope resource. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class EncryptionScope : Resource + public partial class EncryptionScope : ProxyResource { /// /// Initializes a new instance of the EncryptionScope class. @@ -25,8 +25,8 @@ public EncryptionScope() /// Initializes a new instance of the EncryptionScope class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public EncryptionScope() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Gets the creation date and time of the encryption scope in UTC. /// @@ -57,9 +61,9 @@ public EncryptionScope() /// A boolean indicating whether or not the service applies a secondary layer /// of encryption with platform managed keys for data at rest. /// - public EncryptionScope(string id = default(string), string name = default(string), string type = default(string), System.DateTime? creationTime = default(System.DateTime?), string source = default(string), string state = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), EncryptionScopeKeyVaultProperties keyVaultProperties = default(EncryptionScopeKeyVaultProperties), bool? requireInfrastructureEncryption = default(bool?)) + public EncryptionScope(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? creationTime = default(System.DateTime?), string source = default(string), string state = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), EncryptionScopeKeyVaultProperties keyVaultProperties = default(EncryptionScopeKeyVaultProperties), bool? requireInfrastructureEncryption = default(bool?)) - : base(id, name, type) + : base(id, name, type, systemData) { this.CreationTime = creationTime; this.Source = source; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FailoverType.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Enum56.cs similarity index 63% rename from src/Storage/Storage.Management.Sdk/Generated/Models/FailoverType.cs rename to src/Storage/Storage.Management.Sdk/Generated/Models/Enum56.cs index 1a7475fae5c7..8c667ca3c8a0 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FailoverType.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Enum56.cs @@ -7,37 +7,37 @@ namespace Microsoft.Azure.Management.Storage.Models { /// - /// Defines values for FailoverType. + /// Defines values for Enum56. /// [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum FailoverType + public enum Enum56 { [System.Runtime.Serialization.EnumMember(Value = "Planned")] Planned } - internal static class FailoverTypeEnumExtension + internal static class Enum56EnumExtension { - internal static string ToSerializedValue(this FailoverType? value) + internal static string ToSerializedValue(this Enum56? value) { - return value == null ? null : ((FailoverType)value).ToSerializedValue(); + return value == null ? null : ((Enum56)value).ToSerializedValue(); } - internal static string ToSerializedValue(this FailoverType value) + internal static string ToSerializedValue(this Enum56 value) { switch( value ) { - case FailoverType.Planned: + case Enum56.Planned: return "Planned"; } return null; } - internal static FailoverType? ParseFailoverType(this string value) + internal static Enum56? ParseEnum56(this string value) { switch( value ) { case "Planned": - return FailoverType.Planned; + return Enum56.Planned; } return null; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListKeyExpand.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Enum70.cs similarity index 62% rename from src/Storage/Storage.Management.Sdk/Generated/Models/ListKeyExpand.cs rename to src/Storage/Storage.Management.Sdk/Generated/Models/Enum70.cs index 6e9702727e22..ad6097c5a29c 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ListKeyExpand.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Enum70.cs @@ -7,37 +7,37 @@ namespace Microsoft.Azure.Management.Storage.Models { /// - /// Defines values for ListKeyExpand. + /// Defines values for Enum70. /// [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum ListKeyExpand + public enum Enum70 { [System.Runtime.Serialization.EnumMember(Value = "kerb")] Kerb } - internal static class ListKeyExpandEnumExtension + internal static class Enum70EnumExtension { - internal static string ToSerializedValue(this ListKeyExpand? value) + internal static string ToSerializedValue(this Enum70? value) { - return value == null ? null : ((ListKeyExpand)value).ToSerializedValue(); + return value == null ? null : ((Enum70)value).ToSerializedValue(); } - internal static string ToSerializedValue(this ListKeyExpand value) + internal static string ToSerializedValue(this Enum70 value) { switch( value ) { - case ListKeyExpand.Kerb: + case Enum70.Kerb: return "kerb"; } return null; } - internal static ListKeyExpand? ParseListKeyExpand(this string value) + internal static Enum70? ParseEnum70(this string value) { switch( value ) { case "kerb": - return ListKeyExpand.Kerb; + return Enum70.Kerb; } return null; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorDetail.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorDetail.cs deleted file mode 100644 index ee9e9fccfd14..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorDetail.cs +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - using System.Linq; - - /// - /// The error detail. - /// - public partial class ErrorDetail - { - /// - /// Initializes a new instance of the ErrorDetail class. - /// - public ErrorDetail() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorDetail class. - /// - - /// The error code. - /// - - /// The error message. - /// - - /// The error target. - /// - - /// The error details. - /// - - /// The error additional info. - /// - public ErrorDetail(string code = default(string), string message = default(string), string target = default(string), System.Collections.Generic.IList details = default(System.Collections.Generic.IList), System.Collections.Generic.IList additionalInfo = default(System.Collections.Generic.IList)) - - { - this.Code = code; - this.Message = message; - this.Target = target; - this.Details = details; - this.AdditionalInfo = additionalInfo; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - - /// - /// Gets the error code. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "code")] - public string Code {get; private set; } - - /// - /// Gets the error message. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "message")] - public string Message {get; private set; } - - /// - /// Gets the error target. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "target")] - public string Target {get; private set; } - - /// - /// Gets the error details. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "details")] - public System.Collections.Generic.IList Details {get; private set; } - - /// - /// Gets the error additional info. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "additionalInfo")] - public System.Collections.Generic.IList AdditionalInfo {get; private set; } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGenerated.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGenerated.cs deleted file mode 100644 index 5bb7639666c3..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGenerated.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - using System.Linq; - - /// - /// Common error response for all Azure Resource Manager APIs to return error - /// details for failed operations. (This also follows the OData error response - /// format.). - /// - /// - /// Common error response for all Azure Resource Manager APIs to return error - /// details for failed operations. (This also follows the OData error response - /// format.). - /// - public partial class ErrorResponseAutoGenerated - { - /// - /// Initializes a new instance of the ErrorResponseAutoGenerated class. - /// - public ErrorResponseAutoGenerated() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorResponseAutoGenerated class. - /// - - /// The error object. - /// - public ErrorResponseAutoGenerated(ErrorDetail error = default(ErrorDetail)) - - { - this.Error = error; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - - /// - /// Gets or sets the error object. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "error")] - public ErrorDetail Error {get; set; } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGeneratedException.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGeneratedException.cs deleted file mode 100644 index c40ba15cfd18..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ErrorResponseAutoGeneratedException.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Exception thrown for an invalid response with ErrorResponseAutoGenerated information. - /// - public partial class ErrorResponseAutoGeneratedException : Microsoft.Rest.RestException - { - /// - /// Gets information about the associated HTTP request. - /// - public Microsoft.Rest.HttpRequestMessageWrapper Request { get; set; } - - /// - /// Gets information about the associated HTTP response. - /// - public Microsoft.Rest.HttpResponseMessageWrapper Response { get; set; } - - /// - /// Gets or sets the body object. - /// - public ErrorResponseAutoGenerated Body { get; set; } - - /// - /// Initializes a new instance of the ErrorResponseAutoGeneratedException class. - /// - public ErrorResponseAutoGeneratedException() - { - } - - /// - /// Initializes a new instance of the ErrorResponseAutoGenerated class. - /// - /// The exception message. - public ErrorResponseAutoGeneratedException(string message) - : this(message, null) - { - } - - /// - /// Initializes a new instance of the ErrorResponseAutoGenerated class. - /// - /// The exception message. - /// Inner exception. - public ErrorResponseAutoGeneratedException(string message, System.Exception innerException) - : base(message, innerException) - { - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTarget.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTarget.cs new file mode 100644 index 000000000000..1cab15bc1650 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTarget.cs @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Target helps provide filter parameters for the objects in the storage + /// account and forms the execution context for the storage task + /// + public partial class ExecutionTarget + { + /// + /// Initializes a new instance of the ExecutionTarget class. + /// + public ExecutionTarget() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ExecutionTarget class. + /// + + /// Required list of object prefixes to be included for task execution + /// + + /// List of object prefixes to be excluded from task execution. If there is a + /// conflict between include and exclude prefixes, the exclude prefix will be + /// the determining factor + /// + public ExecutionTarget(System.Collections.Generic.IList prefix = default(System.Collections.Generic.IList), System.Collections.Generic.IList excludePrefix = default(System.Collections.Generic.IList)) + + { + this.Prefix = prefix; + this.ExcludePrefix = excludePrefix; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets required list of object prefixes to be included for task + /// execution + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "prefix")] + public System.Collections.Generic.IList Prefix {get; set; } + + /// + /// Gets or sets list of object prefixes to be excluded from task execution. If + /// there is a conflict between include and exclude prefixes, the exclude + /// prefix will be the determining factor + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "excludePrefix")] + public System.Collections.Generic.IList ExcludePrefix {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTrigger.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTrigger.cs new file mode 100644 index 000000000000..8400ccabcaa6 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTrigger.cs @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Execution trigger for storage task assignment + /// + public partial class ExecutionTrigger + { + /// + /// Initializes a new instance of the ExecutionTrigger class. + /// + public ExecutionTrigger() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ExecutionTrigger class. + /// + + /// The trigger type of the storage task assignment execution + /// Possible values include: 'RunOnce', 'OnSchedule' + + /// The trigger parameters of the storage task assignment execution + /// + public ExecutionTrigger(string type, TriggerParameters parameters) + + { + this.Type = type; + this.Parameters = parameters; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the trigger type of the storage task assignment execution Possible values include: 'RunOnce', 'OnSchedule' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "type")] + public string Type {get; set; } + + /// + /// Gets or sets the trigger parameters of the storage task assignment + /// execution + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "parameters")] + public TriggerParameters Parameters {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Type == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Type"); + } + if (this.Parameters == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Parameters"); + } + + if (this.Parameters != null) + { + this.Parameters.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTriggerUpdate.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTriggerUpdate.cs new file mode 100644 index 000000000000..a914bc40bcfd --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ExecutionTriggerUpdate.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Execution trigger update for storage task assignment + /// + public partial class ExecutionTriggerUpdate + { + /// + /// Initializes a new instance of the ExecutionTriggerUpdate class. + /// + public ExecutionTriggerUpdate() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ExecutionTriggerUpdate class. + /// + + /// The trigger type of the storage task assignment execution + /// Possible values include: 'RunOnce', 'OnSchedule' + + /// The trigger parameters of the storage task assignment execution + /// + public ExecutionTriggerUpdate(string type = default(string), TriggerParametersUpdate parameters = default(TriggerParametersUpdate)) + + { + this.Type = type; + this.Parameters = parameters; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the trigger type of the storage task assignment execution Possible values include: 'RunOnce', 'OnSchedule' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "type")] + public string Type {get; set; } + + /// + /// Gets or sets the trigger parameters of the storage task assignment + /// execution + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "parameters")] + public TriggerParametersUpdate Parameters {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + + if (this.Parameters != null) + { + this.Parameters.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceProperties.cs index 981a4a8ff240..976e85f7dda6 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceProperties.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceProperties.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The properties of File services in storage account. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class FileServiceProperties : Resource + public partial class FileServiceProperties : ProxyResource { /// /// Initializes a new instance of the FileServiceProperties class. @@ -25,8 +25,8 @@ public FileServiceProperties() /// Initializes a new instance of the FileServiceProperties class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public FileServiceProperties() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Sku name and tier. /// @@ -50,9 +54,9 @@ public FileServiceProperties() /// The file service properties for share soft delete. /// - public FileServiceProperties(string id = default(string), string name = default(string), string type = default(string), Sku sku = default(Sku), ProtocolSettings protocolSettings = default(ProtocolSettings), CorsRules cors = default(CorsRules), DeleteRetentionPolicy shareDeleteRetentionPolicy = default(DeleteRetentionPolicy)) + public FileServiceProperties(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), Sku sku = default(Sku), ProtocolSettings protocolSettings = default(ProtocolSettings), CorsRules cors = default(CorsRules), DeleteRetentionPolicy shareDeleteRetentionPolicy = default(DeleteRetentionPolicy)) - : base(id, name, type) + : base(id, name, type, systemData) { this.Sku = sku; this.ProtocolSettings = protocolSettings; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicePropertiesProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicePropertiesProperties.cs new file mode 100644 index 000000000000..88cb89df790b --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicePropertiesProperties.cs @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of File services in storage account. + /// + public partial class FileServicePropertiesProperties + { + /// + /// Initializes a new instance of the FileServicePropertiesProperties class. + /// + public FileServicePropertiesProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the FileServicePropertiesProperties class. + /// + + /// Specifies CORS rules for the File service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the File service. + /// + + /// The file service properties for share soft delete. + /// + + /// Protocol settings for file service + /// + public FileServicePropertiesProperties(CorsRules cors = default(CorsRules), DeleteRetentionPolicy shareDeleteRetentionPolicy = default(DeleteRetentionPolicy), ProtocolSettings protocolSettings = default(ProtocolSettings)) + + { + this.Cors = cors; + this.ShareDeleteRetentionPolicy = shareDeleteRetentionPolicy; + this.ProtocolSettings = protocolSettings; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the File service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the File service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "cors")] + public CorsRules Cors {get; set; } + + /// + /// Gets or sets the file service properties for share soft delete. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "shareDeleteRetentionPolicy")] + public DeleteRetentionPolicy ShareDeleteRetentionPolicy {get; set; } + + /// + /// Gets or sets protocol settings for file service + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "protocolSettings")] + public ProtocolSettings ProtocolSettings {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + + if (this.ShareDeleteRetentionPolicy != null) + { + this.ShareDeleteRetentionPolicy.Validate(); + } + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsage.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsage.cs index dac002642838..ec958bc5f9d7 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsage.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsage.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// /// The usage of file service in storage account. /// - public partial class FileServiceUsage : Resource + public partial class FileServiceUsage : ProxyResource { /// /// Initializes a new instance of the FileServiceUsage class. @@ -24,8 +24,8 @@ public FileServiceUsage() /// Initializes a new instance of the FileServiceUsage class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -35,12 +35,16 @@ public FileServiceUsage() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// File service usage in storage account including account limits, file share /// limits and constants used in recommendations and bursting formula. /// - public FileServiceUsage(string id = default(string), string name = default(string), string type = default(string), FileServiceUsageProperties properties = default(FileServiceUsageProperties)) + public FileServiceUsage(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), FileServiceUsageProperties properties = default(FileServiceUsageProperties)) - : base(id, name, type) + : base(id, name, type, systemData) { this.Properties = properties; CustomInit(); @@ -53,10 +57,11 @@ public FileServiceUsage() /// - /// Gets file service usage in storage account including account limits, file - /// share limits and constants used in recommendations and bursting formula. + /// Gets or sets file service usage in storage account including account + /// limits, file share limits and constants used in recommendations and + /// bursting formula. /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] - public FileServiceUsageProperties Properties {get; private set; } + public FileServiceUsageProperties Properties {get; set; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsagesName.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsagesName.cs deleted file mode 100644 index 069388ea9ab6..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServiceUsagesName.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Defines values for FileServiceUsagesName. - /// - - - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum FileServiceUsagesName - { - [System.Runtime.Serialization.EnumMember(Value = "default")] - Default - } - internal static class FileServiceUsagesNameEnumExtension - { - internal static string ToSerializedValue(this FileServiceUsagesName? value) - { - return value == null ? null : ((FileServiceUsagesName)value).ToSerializedValue(); - } - internal static string ToSerializedValue(this FileServiceUsagesName value) - { - switch( value ) - { - case FileServiceUsagesName.Default: - return "default"; - } - return null; - } - internal static FileServiceUsagesName? ParseFileServiceUsagesName(this string value) - { - switch( value ) - { - case "default": - return FileServiceUsagesName.Default; - } - return null; - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicesName.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicesName.cs deleted file mode 100644 index 909b188c0b43..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileServicesName.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Defines values for FileServicesName. - /// - - - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum FileServicesName - { - [System.Runtime.Serialization.EnumMember(Value = "default")] - Default - } - internal static class FileServicesNameEnumExtension - { - internal static string ToSerializedValue(this FileServicesName? value) - { - return value == null ? null : ((FileServicesName)value).ToSerializedValue(); - } - internal static string ToSerializedValue(this FileServicesName value) - { - switch( value ) - { - case FileServicesName.Default: - return "default"; - } - return null; - } - internal static FileServicesName? ParseFileServicesName(this string value) - { - switch( value ) - { - case "default": - return FileServicesName.Default; - } - return null; - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShare.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShare.cs index 9ecbb466db43..8241fce64eb0 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShare.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShare.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// Etag. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class FileShare : AzureEntityResource + public partial class FileShare : ProxyResource { /// /// Initializes a new instance of the FileShare class. @@ -26,8 +26,8 @@ public FileShare() /// Initializes a new instance of the FileShare class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -37,6 +37,10 @@ public FileShare() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// @@ -142,10 +146,11 @@ public FileShare() /// File Share Paid Bursting properties. /// - public FileShare(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), string enabledProtocols = default(string), string version = default(string), System.DateTime? deletedTime = default(System.DateTime?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), System.DateTime? lastModifiedTime = default(System.DateTime?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), System.DateTime? nextAllowedQuotaDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedIopsDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedBandwidthDowngradeTime = default(System.DateTime?), string rootSquash = default(string), bool? deleted = default(bool?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) + public FileShare(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), string enabledProtocols = default(string), string version = default(string), System.DateTime? deletedTime = default(System.DateTime?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), System.DateTime? lastModifiedTime = default(System.DateTime?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), string nextAllowedQuotaDowngradeTime = default(string), string nextAllowedProvisionedIopsDowngradeTime = default(string), string nextAllowedProvisionedBandwidthDowngradeTime = default(string), string rootSquash = default(string), bool? deleted = default(bool?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) - : base(id, name, type, etag) + : base(id, name, type, systemData) { + this.Etag = etag; this.Metadata = metadata; this.ShareQuota = shareQuota; this.ProvisionedIops = provisionedIops; @@ -181,6 +186,12 @@ public FileShare() partial void CustomInit(); + /// + /// Gets resource Etag. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "etag")] + public string Etag {get; private set; } + /// /// Gets or sets a name-value pair to associate with the share as metadata. /// @@ -293,7 +304,7 @@ public FileShare() /// Provisioned v1 SSD and Files Provisioned v2 account type /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedQuotaDowngradeTime")] - public System.DateTime? NextAllowedQuotaDowngradeTime {get; private set; } + public string NextAllowedQuotaDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned IOPS downgrade time for the @@ -301,7 +312,7 @@ public FileShare() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedProvisionedIopsDowngradeTime")] - public System.DateTime? NextAllowedProvisionedIopsDowngradeTime {get; private set; } + public string NextAllowedProvisionedIopsDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned bandwidth downgrade time for the @@ -309,7 +320,7 @@ public FileShare() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedProvisionedBandwidthDowngradeTime")] - public System.DateTime? NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } + public string NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } /// /// Gets or sets the property is for NFS share only. The default is diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareItem.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareItem.cs index b787f6cef55e..955fb5f72411 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareItem.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareItem.cs @@ -25,8 +25,8 @@ public FileShareItem() /// Initializes a new instance of the FileShareItem class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public FileShareItem() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// @@ -141,9 +145,9 @@ public FileShareItem() /// File Share Paid Bursting properties. /// - public FileShareItem(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string enabledProtocols = default(string), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), System.DateTime? nextAllowedQuotaDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedIopsDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedBandwidthDowngradeTime = default(System.DateTime?), string rootSquash = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) + public FileShareItem(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string enabledProtocols = default(string), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), string nextAllowedQuotaDowngradeTime = default(string), string nextAllowedProvisionedIopsDowngradeTime = default(string), string nextAllowedProvisionedBandwidthDowngradeTime = default(string), string rootSquash = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) - : base(id, name, type, etag) + : base(id, name, type, systemData, etag) { this.EnabledProtocols = enabledProtocols; this.LeaseStatus = leaseStatus; @@ -267,7 +271,7 @@ public FileShareItem() /// Provisioned v1 SSD and Files Provisioned v2 account type /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedQuotaDowngradeTime")] - public System.DateTime? NextAllowedQuotaDowngradeTime {get; private set; } + public string NextAllowedQuotaDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned IOPS downgrade time for the @@ -275,7 +279,7 @@ public FileShareItem() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedProvisionedIopsDowngradeTime")] - public System.DateTime? NextAllowedProvisionedIopsDowngradeTime {get; private set; } + public string NextAllowedProvisionedIopsDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned bandwidth downgrade time for the @@ -283,7 +287,7 @@ public FileShareItem() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "properties.nextAllowedProvisionedBandwidthDowngradeTime")] - public System.DateTime? NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } + public string NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } /// /// Gets or sets the property is for NFS share only. The default is diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareProperties.cs index fe723226a025..4268135e5d2b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareProperties.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/FileShareProperties.cs @@ -126,7 +126,7 @@ public FileShareProperties() /// File Share Paid Bursting properties. /// - public FileShareProperties(System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), System.DateTime? nextAllowedQuotaDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedIopsDowngradeTime = default(System.DateTime?), System.DateTime? nextAllowedProvisionedBandwidthDowngradeTime = default(System.DateTime?), string enabledProtocols = default(string), string rootSquash = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) + public FileShareProperties(System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? shareQuota = default(int?), int? provisionedIops = default(int?), int? provisionedBandwidthMibps = default(int?), int? includedBurstIops = default(int?), long? maxBurstCreditsForIops = default(long?), string nextAllowedQuotaDowngradeTime = default(string), string nextAllowedProvisionedIopsDowngradeTime = default(string), string nextAllowedProvisionedBandwidthDowngradeTime = default(string), string enabledProtocols = default(string), string rootSquash = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string accessTier = default(string), System.DateTime? accessTierChangeTime = default(System.DateTime?), string accessTierStatus = default(string), long? shareUsageBytes = default(long?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.DateTime? snapshotTime = default(System.DateTime?), FileSharePropertiesFileSharePaidBursting fileSharePaidBursting = default(FileSharePropertiesFileSharePaidBursting)) { this.LastModifiedTime = lastModifiedTime; @@ -225,7 +225,7 @@ public FileShareProperties() /// Provisioned v1 SSD and Files Provisioned v2 account type /// [Newtonsoft.Json.JsonProperty(PropertyName = "nextAllowedQuotaDowngradeTime")] - public System.DateTime? NextAllowedQuotaDowngradeTime {get; private set; } + public string NextAllowedQuotaDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned IOPS downgrade time for the @@ -233,7 +233,7 @@ public FileShareProperties() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "nextAllowedProvisionedIopsDowngradeTime")] - public System.DateTime? NextAllowedProvisionedIopsDowngradeTime {get; private set; } + public string NextAllowedProvisionedIopsDowngradeTime {get; private set; } /// /// Gets returns the next allowed provisioned bandwidth downgrade time for the @@ -241,7 +241,7 @@ public FileShareProperties() /// Provisioned v2 account type. /// [Newtonsoft.Json.JsonProperty(PropertyName = "nextAllowedProvisionedBandwidthDowngradeTime")] - public System.DateTime? NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } + public string NextAllowedProvisionedBandwidthDowngradeTime {get; private set; } /// /// Gets or sets the authentication protocol that is used for the file share. diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/IPRule.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/IPRule.cs index 6350fdea9372..32d7a93f44bf 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/IPRule.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/IPRule.cs @@ -29,7 +29,7 @@ public IPRule() /// The action of IP ACL rule. /// Possible values include: 'Allow' - public IPRule(string ipAddressOrRange, Action? action = default(Action?)) + public IPRule(string ipAddressOrRange, IPRuleAction? action = default(IPRuleAction?)) { this.IPAddressOrRange = ipAddressOrRange; @@ -53,7 +53,7 @@ public IPRule() /// Gets or sets the action of IP ACL rule. Possible values include: 'Allow' /// [Newtonsoft.Json.JsonProperty(PropertyName = "action")] - public Action? Action {get; set; } + public IPRuleAction? Action {get; set; } /// /// Validate the object. /// diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Action.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/IPRuleAction.cs similarity index 62% rename from src/Storage/Storage.Management.Sdk/Generated/Models/Action.cs rename to src/Storage/Storage.Management.Sdk/Generated/Models/IPRuleAction.cs index a11a98f68845..fc602f52de81 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/Action.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/IPRuleAction.cs @@ -7,37 +7,37 @@ namespace Microsoft.Azure.Management.Storage.Models { /// - /// Defines values for Action. + /// Defines values for IPRuleAction. /// [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum Action + public enum IPRuleAction { [System.Runtime.Serialization.EnumMember(Value = "Allow")] Allow } - internal static class ActionEnumExtension + internal static class IPRuleActionEnumExtension { - internal static string ToSerializedValue(this Action? value) + internal static string ToSerializedValue(this IPRuleAction? value) { - return value == null ? null : ((Action)value).ToSerializedValue(); + return value == null ? null : ((IPRuleAction)value).ToSerializedValue(); } - internal static string ToSerializedValue(this Action value) + internal static string ToSerializedValue(this IPRuleAction value) { switch( value ) { - case Action.Allow: + case IPRuleAction.Allow: return "Allow"; } return null; } - internal static Action? ParseAction(this string value) + internal static IPRuleAction? ParseIPRuleAction(this string value) { switch( value ) { case "Allow": - return Action.Allow; + return IPRuleAction.Allow; } return null; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicy.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicy.cs index 6dc31d490b53..2386fde2ea13 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicy.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicy.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// name, resource type, Etag. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class ImmutabilityPolicy : AzureEntityResource + public partial class ImmutabilityPolicy : ProxyResource { /// /// Initializes a new instance of the ImmutabilityPolicy class. @@ -26,8 +26,8 @@ public ImmutabilityPolicy() /// Initializes a new instance of the ImmutabilityPolicy class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -37,6 +37,10 @@ public ImmutabilityPolicy() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// @@ -63,10 +67,11 @@ public ImmutabilityPolicy() /// 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties /// are mutually exclusive. /// - public ImmutabilityPolicy(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), int? immutabilityPeriodSinceCreationInDays = default(int?), string state = default(string), bool? allowProtectedAppendWrites = default(bool?), bool? allowProtectedAppendWritesAll = default(bool?)) + public ImmutabilityPolicy(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), int? immutabilityPeriodSinceCreationInDays = default(int?), string state = default(string), bool? allowProtectedAppendWrites = default(bool?), bool? allowProtectedAppendWritesAll = default(bool?)) - : base(id, name, type, etag) + : base(id, name, type, systemData) { + this.Etag = etag; this.ImmutabilityPeriodSinceCreationInDays = immutabilityPeriodSinceCreationInDays; this.State = state; this.AllowProtectedAppendWrites = allowProtectedAppendWrites; @@ -80,6 +85,12 @@ public ImmutabilityPolicy() partial void CustomInit(); + /// + /// Gets resource Etag. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "etag")] + public string Etag {get; private set; } + /// /// Gets or sets the immutability period for the blobs in the container since /// the policy creation, in days. diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicyName.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicyName.cs deleted file mode 100644 index 0dc03c8cc975..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ImmutabilityPolicyName.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Defines values for ImmutabilityPolicyName. - /// - - - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum ImmutabilityPolicyName - { - [System.Runtime.Serialization.EnumMember(Value = "default")] - Default - } - internal static class ImmutabilityPolicyNameEnumExtension - { - internal static string ToSerializedValue(this ImmutabilityPolicyName? value) - { - return value == null ? null : ((ImmutabilityPolicyName)value).ToSerializedValue(); - } - internal static string ToSerializedValue(this ImmutabilityPolicyName value) - { - switch( value ) - { - case ImmutabilityPolicyName.Default: - return "default"; - } - return null; - } - internal static ImmutabilityPolicyName? ParseImmutabilityPolicyName(this string value) - { - switch( value ) - { - case "default": - return ImmutabilityPolicyName.Default; - } - return null; - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/IntervalUnit.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/IntervalUnit.cs new file mode 100644 index 000000000000..6e3bad6d90f6 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/IntervalUnit.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for IntervalUnit. + /// + + + public static class IntervalUnit + { + public const string Days = "Days"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/IssueType.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/IssueType.cs new file mode 100644 index 000000000000..5b3cee06262e --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/IssueType.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for IssueType. + /// + + + public static class IssueType + { + public const string Unknown = "Unknown"; + public const string ConfigurationPropagationFailure = "ConfigurationPropagationFailure"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListContainerItem.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ListContainerItem.cs index afb43f75d9b7..97b5f3ed7c87 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ListContainerItem.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ListContainerItem.cs @@ -25,8 +25,8 @@ public ListContainerItem() /// Initializes a new instance of the ListContainerItem class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public ListContainerItem() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource Etag. /// @@ -106,9 +110,9 @@ public ListContainerItem() /// Enable NFSv3 all squash on blob container. /// - public ListContainerItem(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), PublicAccess? publicAccess = default(PublicAccess?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string defaultEncryptionScope = default(string), bool? denyEncryptionScopeOverride = default(bool?), System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), ImmutabilityPolicyProperties immutabilityPolicy = default(ImmutabilityPolicyProperties), LegalHoldProperties legalHold = default(LegalHoldProperties), bool? hasLegalHold = default(bool?), bool? hasImmutabilityPolicy = default(bool?), ImmutableStorageWithVersioning immutableStorageWithVersioning = default(ImmutableStorageWithVersioning), bool? enableNfsV3RootSquash = default(bool?), bool? enableNfsV3AllSquash = default(bool?)) + public ListContainerItem(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), PublicAccess? publicAccess = default(PublicAccess?), string leaseStatus = default(string), string leaseState = default(string), string leaseDuration = default(string), string version = default(string), bool? deleted = default(bool?), System.DateTime? deletedTime = default(System.DateTime?), int? remainingRetentionDays = default(int?), string defaultEncryptionScope = default(string), bool? denyEncryptionScopeOverride = default(bool?), System.DateTime? lastModifiedTime = default(System.DateTime?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), ImmutabilityPolicyProperties immutabilityPolicy = default(ImmutabilityPolicyProperties), LegalHoldProperties legalHold = default(LegalHoldProperties), bool? hasLegalHold = default(bool?), bool? hasImmutabilityPolicy = default(bool?), ImmutableStorageWithVersioning immutableStorageWithVersioning = default(ImmutableStorageWithVersioning), bool? enableNfsV3RootSquash = default(bool?), bool? enableNfsV3AllSquash = default(bool?)) - : base(id, name, type, etag) + : base(id, name, type, systemData, etag) { this.PublicAccess = publicAccess; this.LeaseStatus = leaseStatus; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueue.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueue.cs new file mode 100644 index 000000000000..784f779a3150 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueue.cs @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class ListQueue : Resource + { + /// + /// Initializes a new instance of the ListQueue class. + /// + public ListQueue() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ListQueue class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// A name-value pair that represents queue metadata. + /// + public ListQueue(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary)) + + : base(id, name, type, systemData) + { + this.Metadata = metadata; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets a name-value pair that represents queue metadata. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.metadata")] + public System.Collections.Generic.IDictionary Metadata {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueProperties.cs new file mode 100644 index 000000000000..7ed1c101dbdc --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueProperties.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class ListQueueProperties + { + /// + /// Initializes a new instance of the ListQueueProperties class. + /// + public ListQueueProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ListQueueProperties class. + /// + + /// A name-value pair that represents queue metadata. + /// + public ListQueueProperties(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary)) + + { + this.Metadata = metadata; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets a name-value pair that represents queue metadata. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "metadata")] + public System.Collections.Generic.IDictionary Metadata {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueServices.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueServices.cs new file mode 100644 index 000000000000..dba0e26ddbc9 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ListQueueServices.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class ListQueueServices + { + /// + /// Initializes a new instance of the ListQueueServices class. + /// + public ListQueueServices() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ListQueueServices class. + /// + + /// List of queue services returned. + /// + public ListQueueServices(System.Collections.Generic.IList value = default(System.Collections.Generic.IList)) + + { + this.Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets list of queue services returned. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "value")] + public System.Collections.Generic.IList Value {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ListTableServices.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ListTableServices.cs new file mode 100644 index 000000000000..44f682cc99a8 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ListTableServices.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class ListTableServices + { + /// + /// Initializes a new instance of the ListTableServices class. + /// + public ListTableServices() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ListTableServices class. + /// + + /// List of table services returned. + /// + public ListTableServices(System.Collections.Generic.IList value = default(System.Collections.Generic.IList)) + + { + this.Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets list of table services returned. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "value")] + public System.Collections.Generic.IList Value {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/LocalUser.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/LocalUser.cs index b30f497bab99..fca93495bf0a 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/LocalUser.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/LocalUser.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The local user associated with the storage accounts. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class LocalUser : Resource + public partial class LocalUser : ProxyResource { /// /// Initializes a new instance of the LocalUser class. @@ -25,8 +25,8 @@ public LocalUser() /// Initializes a new instance of the LocalUser class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,7 +36,8 @@ public LocalUser() /// "Microsoft.Storage/storageAccounts" /// - /// Metadata pertaining to creation and last modification of the resource. + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. /// /// The permission scopes of the local user. @@ -81,9 +82,8 @@ public LocalUser() /// public LocalUser(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IList permissionScopes = default(System.Collections.Generic.IList), string homeDirectory = default(string), System.Collections.Generic.IList sshAuthorizedKeys = default(System.Collections.Generic.IList), string sid = default(string), bool? hasSharedKey = default(bool?), bool? hasSshKey = default(bool?), bool? hasSshPassword = default(bool?), int? userId = default(int?), int? groupId = default(int?), bool? allowAclAuthorization = default(bool?), System.Collections.Generic.IList extendedGroups = default(System.Collections.Generic.IList), bool? isNfSv3Enabled = default(bool?)) - : base(id, name, type) + : base(id, name, type, systemData) { - this.SystemData = systemData; this.PermissionScopes = permissionScopes; this.HomeDirectory = homeDirectory; this.SshAuthorizedKeys = sshAuthorizedKeys; @@ -105,12 +105,6 @@ public LocalUser() partial void CustomInit(); - /// - /// Gets metadata pertaining to creation and last modification of the resource. - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "systemData")] - public SystemData SystemData {get; private set; } - /// /// Gets or sets the permission scopes of the local user. /// diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ManagementPolicy.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ManagementPolicy.cs index fe26844d566a..7705f1ff13b6 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ManagementPolicy.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ManagementPolicy.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The Get Storage Account ManagementPolicies operation response. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class ManagementPolicy : Resource + public partial class ManagementPolicy : ProxyResource { /// /// Initializes a new instance of the ManagementPolicy class. @@ -25,8 +25,8 @@ public ManagementPolicy() /// Initializes a new instance of the ManagementPolicy class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,15 +36,19 @@ public ManagementPolicy() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Returns the date and time the ManagementPolicies was last modified. /// /// The Storage Account ManagementPolicy, in JSON format. See more details in: /// https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. /// - public ManagementPolicy(string id = default(string), string name = default(string), string type = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), ManagementPolicySchema policy = default(ManagementPolicySchema)) + public ManagementPolicy(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.DateTime? lastModifiedTime = default(System.DateTime?), ManagementPolicySchema policy = default(ManagementPolicySchema)) - : base(id, name, type) + : base(id, name, type, systemData) { this.LastModifiedTime = lastModifiedTime; this.Policy = policy; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeter.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeter.cs new file mode 100644 index 000000000000..59b8f4b0f026 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeter.cs @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// NetworkSecurityPerimeter related information + /// + public partial class NetworkSecurityPerimeter + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeter class. + /// + public NetworkSecurityPerimeter() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeter class. + /// + + /// The ARM identifier of the resource + /// + + /// Guid of the resource + /// + + /// Location of the resource + /// + public NetworkSecurityPerimeter(string id = default(string), string perimeterGuid = default(string), string location = default(string)) + + { + this.Id = id; + this.PerimeterGuid = perimeterGuid; + this.Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the ARM identifier of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "id")] + public string Id {get; set; } + + /// + /// Gets or sets guid of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "perimeterGuid")] + public string PerimeterGuid {get; set; } + + /// + /// Gets or sets location of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "location")] + public string Location {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfiguration.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfiguration.cs new file mode 100644 index 000000000000..98f56e48bf2f --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfiguration.cs @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The Network Security Perimeter configuration resource. + /// + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class NetworkSecurityPerimeterConfiguration : ProxyResource + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfiguration class. + /// + public NetworkSecurityPerimeterConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfiguration class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// Provisioning state of Network Security Perimeter configuration propagation + /// Possible values include: 'Accepted', 'Succeeded', 'Failed', 'Deleting', + /// 'Canceled' + + /// List of Provisioning Issues if any + /// + + /// NetworkSecurityPerimeter related information + /// + + /// Information about resource association + /// + + /// Network Security Perimeter profile + /// + public NetworkSecurityPerimeterConfiguration(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), System.Collections.Generic.IList provisioningIssues = default(System.Collections.Generic.IList), NetworkSecurityPerimeter networkSecurityPerimeter = default(NetworkSecurityPerimeter), NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation resourceAssociation = default(NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation), NetworkSecurityPerimeterConfigurationPropertiesProfile profile = default(NetworkSecurityPerimeterConfigurationPropertiesProfile)) + + : base(id, name, type, systemData) + { + this.ProvisioningState = provisioningState; + this.ProvisioningIssues = provisioningIssues; + this.NetworkSecurityPerimeter = networkSecurityPerimeter; + this.ResourceAssociation = resourceAssociation; + this.Profile = profile; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets provisioning state of Network Security Perimeter configuration + /// propagation Possible values include: 'Accepted', 'Succeeded', 'Failed', 'Deleting', 'Canceled' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState {get; private set; } + + /// + /// Gets list of Provisioning Issues if any + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.provisioningIssues")] + public System.Collections.Generic.IList ProvisioningIssues {get; private set; } + + /// + /// Gets networkSecurityPerimeter related information + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.networkSecurityPerimeter")] + public NetworkSecurityPerimeter NetworkSecurityPerimeter {get; private set; } + + /// + /// Gets information about resource association + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.resourceAssociation")] + public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation {get; private set; } + + /// + /// Gets network Security Perimeter profile + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.profile")] + public NetworkSecurityPerimeterConfigurationPropertiesProfile Profile {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProperties.cs new file mode 100644 index 000000000000..47b0c8bfde0e --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProperties.cs @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of the Network Security Perimeter Configuration + /// + public partial class NetworkSecurityPerimeterConfigurationProperties + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationProperties class. + /// + public NetworkSecurityPerimeterConfigurationProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationProperties class. + /// + + /// Provisioning state of Network Security Perimeter configuration propagation + /// Possible values include: 'Accepted', 'Succeeded', 'Failed', 'Deleting', + /// 'Canceled' + + /// List of Provisioning Issues if any + /// + + /// NetworkSecurityPerimeter related information + /// + + /// Information about resource association + /// + + /// Network Security Perimeter profile + /// + public NetworkSecurityPerimeterConfigurationProperties(string provisioningState = default(string), System.Collections.Generic.IList provisioningIssues = default(System.Collections.Generic.IList), NetworkSecurityPerimeter networkSecurityPerimeter = default(NetworkSecurityPerimeter), NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation resourceAssociation = default(NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation), NetworkSecurityPerimeterConfigurationPropertiesProfile profile = default(NetworkSecurityPerimeterConfigurationPropertiesProfile)) + + { + this.ProvisioningState = provisioningState; + this.ProvisioningIssues = provisioningIssues; + this.NetworkSecurityPerimeter = networkSecurityPerimeter; + this.ResourceAssociation = resourceAssociation; + this.Profile = profile; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets provisioning state of Network Security Perimeter configuration + /// propagation Possible values include: 'Accepted', 'Succeeded', 'Failed', 'Deleting', 'Canceled' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState {get; private set; } + + /// + /// Gets list of Provisioning Issues if any + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "provisioningIssues")] + public System.Collections.Generic.IList ProvisioningIssues {get; private set; } + + /// + /// Gets networkSecurityPerimeter related information + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "networkSecurityPerimeter")] + public NetworkSecurityPerimeter NetworkSecurityPerimeter {get; private set; } + + /// + /// Gets information about resource association + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "resourceAssociation")] + public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation {get; private set; } + + /// + /// Gets network Security Perimeter profile + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "profile")] + public NetworkSecurityPerimeterConfigurationPropertiesProfile Profile {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs new file mode 100644 index 000000000000..91afb54979e0 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs @@ -0,0 +1,88 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Network Security Perimeter profile + /// + public partial class NetworkSecurityPerimeterConfigurationPropertiesProfile + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationPropertiesProfile class. + /// + public NetworkSecurityPerimeterConfigurationPropertiesProfile() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationPropertiesProfile class. + /// + + /// Name of the resource + /// + + /// Current access rules version + /// + + /// List of Access Rules + /// + + /// Diagnostic settings version + /// + + /// Enabled logging categories + /// + public NetworkSecurityPerimeterConfigurationPropertiesProfile(string name = default(string), double? accessRulesVersion = default(double?), System.Collections.Generic.IList accessRules = default(System.Collections.Generic.IList), double? diagnosticSettingsVersion = default(double?), System.Collections.Generic.IList enabledLogCategories = default(System.Collections.Generic.IList)) + + { + this.Name = name; + this.AccessRulesVersion = accessRulesVersion; + this.AccessRules = accessRules; + this.DiagnosticSettingsVersion = diagnosticSettingsVersion; + this.EnabledLogCategories = enabledLogCategories; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets name of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "name")] + public string Name {get; set; } + + /// + /// Gets or sets current access rules version + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "accessRulesVersion")] + public double? AccessRulesVersion {get; set; } + + /// + /// Gets or sets list of Access Rules + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "accessRules")] + public System.Collections.Generic.IList AccessRules {get; set; } + + /// + /// Gets or sets diagnostic settings version + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "diagnosticSettingsVersion")] + public double? DiagnosticSettingsVersion {get; set; } + + /// + /// Gets or sets enabled logging categories + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "enabledLogCategories")] + public System.Collections.Generic.IList EnabledLogCategories {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs new file mode 100644 index 000000000000..9df07e106533 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Information about resource association + /// + public partial class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation class. + /// + public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation class. + /// + + /// Name of the resource association + /// + + /// Access Mode of the resource association + /// Possible values include: 'Enforced', 'Learning', 'Audit' + public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(string name = default(string), string accessMode = default(string)) + + { + this.Name = name; + this.AccessMode = accessMode; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets name of the resource association + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "name")] + public string Name {get; set; } + + /// + /// Gets or sets access Mode of the resource association Possible values include: 'Enforced', 'Learning', 'Audit' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "accessMode")] + public string AccessMode {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProvisioningState.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProvisioningState.cs new file mode 100644 index 000000000000..e45bd3ee9ba7 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationProvisioningState.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for NetworkSecurityPerimeterConfigurationProvisioningState. + /// + + + public static class NetworkSecurityPerimeterConfigurationProvisioningState + { + public const string Accepted = "Accepted"; + public const string Succeeded = "Succeeded"; + public const string Failed = "Failed"; + public const string Deleting = "Deleting"; + public const string Canceled = "Canceled"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationsReconcileHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationsReconcileHeaders.cs new file mode 100644 index 000000000000..69813b8775cc --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NetworkSecurityPerimeterConfigurationsReconcileHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class NetworkSecurityPerimeterConfigurationsReconcileHeaders + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationsReconcileHeaders class. + /// + public NetworkSecurityPerimeterConfigurationsReconcileHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationsReconcileHeaders class. + /// + + /// + /// + + /// + /// + public NetworkSecurityPerimeterConfigurationsReconcileHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRule.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRule.cs new file mode 100644 index 000000000000..23d3a2848590 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRule.cs @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Information of Access Rule in Network Security Perimeter profile + /// + public partial class NspAccessRule + { + /// + /// Initializes a new instance of the NspAccessRule class. + /// + public NspAccessRule() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NspAccessRule class. + /// + + /// Name of the resource + /// + + /// Properties of Access Rule + /// + public NspAccessRule(string name = default(string), NspAccessRuleProperties properties = default(NspAccessRuleProperties)) + + { + this.Name = name; + this.Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets name of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "name")] + public string Name {get; set; } + + /// + /// Gets properties of Access Rule + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] + public NspAccessRuleProperties Properties {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleDirection.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleDirection.cs new file mode 100644 index 000000000000..027a95beb7ae --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleDirection.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for NspAccessRuleDirection. + /// + + + public static class NspAccessRuleDirection + { + public const string Inbound = "Inbound"; + public const string Outbound = "Outbound"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleProperties.cs new file mode 100644 index 000000000000..ebee43d54599 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRuleProperties.cs @@ -0,0 +1,88 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of Access Rule + /// + public partial class NspAccessRuleProperties + { + /// + /// Initializes a new instance of the NspAccessRuleProperties class. + /// + public NspAccessRuleProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NspAccessRuleProperties class. + /// + + /// Direction of Access Rule + /// Possible values include: 'Inbound', 'Outbound' + + /// Address prefixes in the CIDR format for inbound rules + /// + + /// Subscriptions for inbound rules + /// + + /// NetworkSecurityPerimeters for inbound rules + /// + + /// FQDN for outbound rules + /// + public NspAccessRuleProperties(string direction = default(string), System.Collections.Generic.IList addressPrefixes = default(System.Collections.Generic.IList), System.Collections.Generic.IList subscriptions = default(System.Collections.Generic.IList), System.Collections.Generic.IList networkSecurityPerimeters = default(System.Collections.Generic.IList), System.Collections.Generic.IList fullyQualifiedDomainNames = default(System.Collections.Generic.IList)) + + { + this.Direction = direction; + this.AddressPrefixes = addressPrefixes; + this.Subscriptions = subscriptions; + this.NetworkSecurityPerimeters = networkSecurityPerimeters; + this.FullyQualifiedDomainNames = fullyQualifiedDomainNames; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets direction of Access Rule Possible values include: 'Inbound', 'Outbound' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "direction")] + public string Direction {get; set; } + + /// + /// Gets or sets address prefixes in the CIDR format for inbound rules + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "addressPrefixes")] + public System.Collections.Generic.IList AddressPrefixes {get; set; } + + /// + /// Gets or sets subscriptions for inbound rules + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "subscriptions")] + public System.Collections.Generic.IList Subscriptions {get; set; } + + /// + /// Gets networkSecurityPerimeters for inbound rules + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "networkSecurityPerimeters")] + public System.Collections.Generic.IList NetworkSecurityPerimeters {get; private set; } + + /// + /// Gets fQDN for outbound rules + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "fullyQualifiedDomainNames")] + public System.Collections.Generic.IList FullyQualifiedDomainNames {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRulePropertiesSubscriptionsItem.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRulePropertiesSubscriptionsItem.cs new file mode 100644 index 000000000000..e22d9105f369 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/NspAccessRulePropertiesSubscriptionsItem.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Subscription for inbound rule + /// + public partial class NspAccessRulePropertiesSubscriptionsItem + { + /// + /// Initializes a new instance of the NspAccessRulePropertiesSubscriptionsItem class. + /// + public NspAccessRulePropertiesSubscriptionsItem() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NspAccessRulePropertiesSubscriptionsItem class. + /// + + /// The ARM identifier of subscription + /// + public NspAccessRulePropertiesSubscriptionsItem(string id = default(string)) + + { + this.Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the ARM identifier of subscription + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "id")] + public string Id {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ObjectReplicationPolicy.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ObjectReplicationPolicy.cs index 29ede20fe203..8ef665f49d84 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ObjectReplicationPolicy.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ObjectReplicationPolicy.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// defined in one policy. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class ObjectReplicationPolicy : Resource + public partial class ObjectReplicationPolicy : ProxyResource { /// /// Initializes a new instance of the ObjectReplicationPolicy class. @@ -26,8 +26,8 @@ public ObjectReplicationPolicy() /// Initializes a new instance of the ObjectReplicationPolicy class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -37,6 +37,10 @@ public ObjectReplicationPolicy() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// A unique id for object replication policy. /// @@ -60,9 +64,9 @@ public ObjectReplicationPolicy() /// Optional. The object replication policy priority replication feature /// options. /// - public ObjectReplicationPolicy(string id = default(string), string name = default(string), string type = default(string), string policyId = default(string), System.DateTime? enabledTime = default(System.DateTime?), string sourceAccount = default(string), string destinationAccount = default(string), System.Collections.Generic.IList rules = default(System.Collections.Generic.IList), ObjectReplicationPolicyPropertiesMetrics metrics = default(ObjectReplicationPolicyPropertiesMetrics), ObjectReplicationPolicyPropertiesPriorityReplication priorityReplication = default(ObjectReplicationPolicyPropertiesPriorityReplication)) + public ObjectReplicationPolicy(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string policyId = default(string), System.DateTime? enabledTime = default(System.DateTime?), string sourceAccount = default(string), string destinationAccount = default(string), System.Collections.Generic.IList rules = default(System.Collections.Generic.IList), ObjectReplicationPolicyPropertiesMetrics metrics = default(ObjectReplicationPolicyPropertiesMetrics), ObjectReplicationPolicyPropertiesPriorityReplication priorityReplication = default(ObjectReplicationPolicyPropertiesPriorityReplication)) - : base(id, name, type) + : base(id, name, type, systemData) { this.PolicyId = policyId; this.EnabledTime = enabledTime; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Page.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Page.cs index 278081c10dff..4768daebcfa5 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/Page.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Page.cs @@ -16,7 +16,7 @@ public class Page : Microsoft.Rest.Azure.IPage /// /// Gets the link to the next page. /// - [Newtonsoft.Json.JsonProperty("")] + [Newtonsoft.Json.JsonProperty("nextLink")] public System.String NextPageLink { get; private set; } [Newtonsoft.Json.JsonProperty("value")] diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Page1.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Page1.cs deleted file mode 100644 index 94e185ac216a..000000000000 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/Page1.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.Management.Storage.Models -{ - - /// - /// Defines a page in Azure responses. - /// - /// Type of the page content items - [Newtonsoft.Json.JsonObject] - public class Page1 : Microsoft.Rest.Azure.IPage - { - /// - /// Gets the link to the next page. - /// - [Newtonsoft.Json.JsonProperty("nextLink")] - public System.String NextPageLink { get; private set; } - - [Newtonsoft.Json.JsonProperty("value")] - private System.Collections.Generic.IList Items{ get; set; } - - /// - /// Returns an enumerator that iterates through the collection. - /// - /// A an enumerator that can be used to iterate through the collection. - public System.Collections.Generic.IEnumerator GetEnumerator() - { - return (Items == null) ? System.Linq.Enumerable.Empty().GetEnumerator() : Items.GetEnumerator(); - } - - /// - /// Returns an enumerator that iterates through the collection. - /// - /// A an enumerator that can be used to iterate through the collection. - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - } -} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateEndpointConnection.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateEndpointConnection.cs index 962f3a4ee972..bcded951d8e9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateEndpointConnection.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateEndpointConnection.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// The Private Endpoint Connection resource. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class PrivateEndpointConnection : Resource + public partial class PrivateEndpointConnection : ProxyResource { /// /// Initializes a new instance of the PrivateEndpointConnection class. @@ -25,8 +25,8 @@ public PrivateEndpointConnection() /// Initializes a new instance of the PrivateEndpointConnection class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public PrivateEndpointConnection() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// The resource of private end point. /// @@ -45,9 +49,9 @@ public PrivateEndpointConnection() /// The provisioning state of the private endpoint connection resource. /// Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' - public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string)) + public PrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string)) - : base(id, name, type) + : base(id, name, type, systemData) { this.PrivateEndpoint = privateEndpoint; this.PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateLinkResource.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateLinkResource.cs index 9c2ac045ed0f..f4f3298b6a8a 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateLinkResource.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/PrivateLinkResource.cs @@ -25,8 +25,8 @@ public PrivateLinkResource() /// Initializes a new instance of the PrivateLinkResource class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public PrivateLinkResource() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// The private link resource group id. /// @@ -44,9 +48,9 @@ public PrivateLinkResource() /// The private link resource Private link DNS zone name. /// - public PrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), string groupId = default(string), System.Collections.Generic.IList requiredMembers = default(System.Collections.Generic.IList), System.Collections.Generic.IList requiredZoneNames = default(System.Collections.Generic.IList)) + public PrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string groupId = default(string), System.Collections.Generic.IList requiredMembers = default(System.Collections.Generic.IList), System.Collections.Generic.IList requiredZoneNames = default(System.Collections.Generic.IList)) - : base(id, name, type) + : base(id, name, type, systemData) { this.GroupId = groupId; this.RequiredMembers = requiredMembers; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssue.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssue.cs new file mode 100644 index 000000000000..9b5bbd9f33ee --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssue.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Describes provisioning issue for given + /// NetworkSecurityPerimeterConfiguration + /// + public partial class ProvisioningIssue + { + /// + /// Initializes a new instance of the ProvisioningIssue class. + /// + public ProvisioningIssue() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ProvisioningIssue class. + /// + + /// Name of the issue + /// + + /// Properties of provisioning issue + /// + public ProvisioningIssue(string name = default(string), ProvisioningIssueProperties properties = default(ProvisioningIssueProperties)) + + { + this.Name = name; + this.Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets name of the issue + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "name")] + public string Name {get; set; } + + /// + /// Gets properties of provisioning issue + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] + public ProvisioningIssueProperties Properties {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssueProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssueProperties.cs new file mode 100644 index 000000000000..51b788a606c0 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ProvisioningIssueProperties.cs @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of provisioning issue + /// + public partial class ProvisioningIssueProperties + { + /// + /// Initializes a new instance of the ProvisioningIssueProperties class. + /// + public ProvisioningIssueProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ProvisioningIssueProperties class. + /// + + /// Type of issue + /// Possible values include: 'Unknown', 'ConfigurationPropagationFailure' + + /// Severity of the issue. + /// Possible values include: 'Warning', 'Error' + + /// Description of the issue + /// + public ProvisioningIssueProperties(string issueType = default(string), string severity = default(string), string description = default(string)) + + { + this.IssueType = issueType; + this.Severity = severity; + this.Description = description; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets type of issue Possible values include: 'Unknown', 'ConfigurationPropagationFailure' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "issueType")] + public string IssueType {get; set; } + + /// + /// Gets or sets severity of the issue. Possible values include: 'Warning', 'Error' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "severity")] + public string Severity {get; set; } + + /// + /// Gets or sets description of the issue + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "description")] + public string Description {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ProxyResource.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ProxyResource.cs index 95ee83a7bf6d..ce1d55c789bd 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/ProxyResource.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ProxyResource.cs @@ -29,8 +29,8 @@ public ProxyResource() /// Initializes a new instance of the ProxyResource class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -39,9 +39,13 @@ public ProxyResource() /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" /// - public ProxyResource(string id = default(string), string name = default(string), string type = default(string)) - : base(id, name, type) + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + public ProxyResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData)) + + : base(id, name, type, systemData) { CustomInit(); } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/QueueProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueProperties.cs new file mode 100644 index 000000000000..8b6b183d2334 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueProperties.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class QueueProperties + { + /// + /// Initializes a new instance of the QueueProperties class. + /// + public QueueProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the QueueProperties class. + /// + + /// A name-value pair that represents queue metadata. + /// + + /// Integer indicating an approximate number of messages in the queue. This + /// number is not lower than the actual number of messages in the queue, but + /// could be higher. + /// + public QueueProperties(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? approximateMessageCount = default(int?)) + + { + this.Metadata = metadata; + this.ApproximateMessageCount = approximateMessageCount; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets a name-value pair that represents queue metadata. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "metadata")] + public System.Collections.Generic.IDictionary Metadata {get; set; } + + /// + /// Gets integer indicating an approximate number of messages in the queue. + /// This number is not lower than the actual number of messages in the queue, + /// but could be higher. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "approximateMessageCount")] + public int? ApproximateMessageCount {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServiceProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServiceProperties.cs new file mode 100644 index 000000000000..f570bfd967ce --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServiceProperties.cs @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account’s Queue service. + /// + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class QueueServiceProperties : ProxyResource + { + /// + /// Initializes a new instance of the QueueServiceProperties class. + /// + public QueueServiceProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the QueueServiceProperties class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// Specifies CORS rules for the Queue service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Queue service. + /// + public QueueServiceProperties(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), CorsRules cors = default(CorsRules)) + + : base(id, name, type, systemData) + { + this.Cors = cors; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the Queue service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the Queue service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.cors")] + public CorsRules Cors {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServicePropertiesProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServicePropertiesProperties.cs new file mode 100644 index 000000000000..88f9b7f8c316 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/QueueServicePropertiesProperties.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account’s Queue service. + /// + public partial class QueueServicePropertiesProperties + { + /// + /// Initializes a new instance of the QueueServicePropertiesProperties class. + /// + public QueueServicePropertiesProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the QueueServicePropertiesProperties class. + /// + + /// Specifies CORS rules for the Queue service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Queue service. + /// + public QueueServicePropertiesProperties(CorsRules cors = default(CorsRules)) + + { + this.Cors = cors; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the Queue service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the Queue service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "cors")] + public CorsRules Cors {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Resource.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Resource.cs index 4e5cc5fc47bb..dab4bfacbff1 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/Resource.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Resource.cs @@ -29,8 +29,8 @@ public Resource() /// Initializes a new instance of the Resource class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -39,12 +39,17 @@ public Resource() /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" /// - public Resource(string id = default(string), string name = default(string), string type = default(string)) + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + public Resource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData)) { this.Id = id; this.Name = name; this.Type = type; + this.SystemData = systemData; CustomInit(); } @@ -55,8 +60,8 @@ public Resource() /// - /// Gets fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Gets fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// [Newtonsoft.Json.JsonProperty(PropertyName = "id")] public string Id {get; private set; } @@ -73,5 +78,12 @@ public Resource() /// [Newtonsoft.Json.JsonProperty(PropertyName = "type")] public string Type {get; private set; } + + /// + /// Gets azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "systemData")] + public SystemData SystemData {get; private set; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAssociationAccessMode.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAssociationAccessMode.cs new file mode 100644 index 000000000000..584745d35eb6 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAssociationAccessMode.cs @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for ResourceAssociationAccessMode. + /// + + + public static class ResourceAssociationAccessMode + { + public const string Enforced = "Enforced"; + public const string Learning = "Learning"; + public const string Audit = "Audit"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAutoGenerated.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAutoGenerated.cs new file mode 100644 index 000000000000..871ef435d916 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/ResourceAutoGenerated.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Common fields that are returned in the response for all Azure Resource + /// Manager resources + /// + public partial class ResourceAutoGenerated : Microsoft.Rest.Azure.IResource + { + /// + /// Initializes a new instance of the ResourceAutoGenerated class. + /// + public ResourceAutoGenerated() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ResourceAutoGenerated class. + /// + + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + public ResourceAutoGenerated(string id = default(string), string name = default(string), string type = default(string)) + + { + this.Id = id; + this.Name = name; + this.Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "id")] + public string Id {get; private set; } + + /// + /// Gets the name of the resource + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "name")] + public string Name {get; private set; } + + /// + /// Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "type")] + public string Type {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/RunResult.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/RunResult.cs new file mode 100644 index 000000000000..c61701d89746 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/RunResult.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for RunResult. + /// + + + public static class RunResult + { + public const string Succeeded = "Succeeded"; + public const string Failed = "Failed"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/RunStatusEnum.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/RunStatusEnum.cs new file mode 100644 index 000000000000..ccb40182165c --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/RunStatusEnum.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for RunStatusEnum. + /// + + + public static class RunStatusEnum + { + public const string InProgress = "InProgress"; + public const string Finished = "Finished"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Severity.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Severity.cs new file mode 100644 index 000000000000..2f64adb00ffa --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Severity.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for Severity. + /// + + + public static class Severity + { + public const string Warning = "Warning"; + public const string Error = "Error"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccount.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccount.cs index b7e0d48bdaae..21aa9715e290 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccount.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccount.cs @@ -25,8 +25,8 @@ public StorageAccount() /// Initializes a new instance of the StorageAccount class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -36,6 +36,10 @@ public StorageAccount() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource tags. /// @@ -55,8 +59,7 @@ public StorageAccount() /// The extendedLocation of the resource. /// - /// Optional. Gets or sets the pinned logical availability zone for the storage - /// account. + /// The availability zones. /// /// Optional. Gets or sets the zonal placement details for the storage account. @@ -232,9 +235,9 @@ public StorageAccount() /// Status indicating whether Geo Priority Replication is enabled for the /// account. /// - public StorageAccount(string location, string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), Sku sku = default(Sku), string kind = default(string), Identity identity = default(Identity), ExtendedLocation extendedLocation = default(ExtendedLocation), System.Collections.Generic.IList zones = default(System.Collections.Generic.IList), Placement placement = default(Placement), ProvisioningState? provisioningState = default(ProvisioningState?), CustomDomain customDomain = default(CustomDomain), SasPolicy sasPolicy = default(SasPolicy), KeyPolicy keyPolicy = default(KeyPolicy), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), RoutingPreference routingPreference = default(RoutingPreference), Endpoints primaryEndpoints = default(Endpoints), string primaryLocation = default(string), AccountStatus? statusOfPrimary = default(AccountStatus?), System.DateTime? lastGeoFailoverTime = default(System.DateTime?), string secondaryLocation = default(string), AccountStatus? statusOfSecondary = default(AccountStatus?), System.DateTime? creationTime = default(System.DateTime?), KeyCreationTime keyCreationTime = default(KeyCreationTime), Endpoints secondaryEndpoints = default(Endpoints), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? isSftpEnabled = default(bool?), bool? isLocalUserEnabled = default(bool?), bool? enableExtendedGroups = default(bool?), bool? isHnsEnabled = default(bool?), GeoReplicationStats geoReplicationStats = default(GeoReplicationStats), bool? failoverInProgress = default(bool?), string largeFileSharesState = default(string), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), DualStackEndpointPreference dualStackEndpointPreference = default(DualStackEndpointPreference), BlobRestoreStatus blobRestoreStatus = default(BlobRestoreStatus), bool? allowBlobPublicAccess = default(bool?), string minimumTlsVersion = default(string), bool? allowSharedKeyAccess = default(bool?), bool? enableNfsV3 = default(bool?), bool? allowCrossTenantReplication = default(bool?), bool? defaultToOAuthAuthentication = default(bool?), string publicNetworkAccess = default(string), ImmutableStorageAccount immutableStorageWithVersioning = default(ImmutableStorageAccount), string allowedCopyScope = default(string), StorageAccountSkuConversionStatus storageAccountSkuConversionStatus = default(StorageAccountSkuConversionStatus), string dnsEndpointType = default(string), bool? isSkuConversionBlocked = default(bool?), bool? accountMigrationInProgress = default(bool?), GeoPriorityReplicationStatus geoPriorityReplicationStatus = default(GeoPriorityReplicationStatus)) + public StorageAccount(string location, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), Sku sku = default(Sku), string kind = default(string), Identity identity = default(Identity), ExtendedLocation extendedLocation = default(ExtendedLocation), System.Collections.Generic.IList zones = default(System.Collections.Generic.IList), Placement placement = default(Placement), ProvisioningState? provisioningState = default(ProvisioningState?), CustomDomain customDomain = default(CustomDomain), SasPolicy sasPolicy = default(SasPolicy), KeyPolicy keyPolicy = default(KeyPolicy), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), RoutingPreference routingPreference = default(RoutingPreference), Endpoints primaryEndpoints = default(Endpoints), string primaryLocation = default(string), AccountStatus? statusOfPrimary = default(AccountStatus?), System.DateTime? lastGeoFailoverTime = default(System.DateTime?), string secondaryLocation = default(string), AccountStatus? statusOfSecondary = default(AccountStatus?), System.DateTime? creationTime = default(System.DateTime?), KeyCreationTime keyCreationTime = default(KeyCreationTime), Endpoints secondaryEndpoints = default(Endpoints), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? isSftpEnabled = default(bool?), bool? isLocalUserEnabled = default(bool?), bool? enableExtendedGroups = default(bool?), bool? isHnsEnabled = default(bool?), GeoReplicationStats geoReplicationStats = default(GeoReplicationStats), bool? failoverInProgress = default(bool?), string largeFileSharesState = default(string), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), DualStackEndpointPreference dualStackEndpointPreference = default(DualStackEndpointPreference), BlobRestoreStatus blobRestoreStatus = default(BlobRestoreStatus), bool? allowBlobPublicAccess = default(bool?), string minimumTlsVersion = default(string), bool? allowSharedKeyAccess = default(bool?), bool? enableNfsV3 = default(bool?), bool? allowCrossTenantReplication = default(bool?), bool? defaultToOAuthAuthentication = default(bool?), string publicNetworkAccess = default(string), ImmutableStorageAccount immutableStorageWithVersioning = default(ImmutableStorageAccount), string allowedCopyScope = default(string), StorageAccountSkuConversionStatus storageAccountSkuConversionStatus = default(StorageAccountSkuConversionStatus), string dnsEndpointType = default(string), bool? isSkuConversionBlocked = default(bool?), bool? accountMigrationInProgress = default(bool?), GeoPriorityReplicationStatus geoPriorityReplicationStatus = default(GeoPriorityReplicationStatus)) - : base(location, id, name, type, tags) + : base(location, id, name, type, systemData, tags) { this.Sku = sku; this.Kind = kind; @@ -319,8 +322,7 @@ public StorageAccount() public ExtendedLocation ExtendedLocation {get; set; } /// - /// Gets or sets optional. Gets or sets the pinned logical availability zone - /// for the storage account. + /// Gets or sets the availability zones. /// [Newtonsoft.Json.JsonProperty(PropertyName = "zones")] public System.Collections.Generic.IList Zones {get; set; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Type.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountCheckNameAvailabilityParametersType.cs similarity index 51% rename from src/Storage/Storage.Management.Sdk/Generated/Models/Type.cs rename to src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountCheckNameAvailabilityParametersType.cs index eee4f4cd748d..e0a224c88595 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/Type.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountCheckNameAvailabilityParametersType.cs @@ -7,37 +7,37 @@ namespace Microsoft.Azure.Management.Storage.Models { /// - /// Defines values for Type. + /// Defines values for StorageAccountCheckNameAvailabilityParametersType. /// [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public enum Type + public enum StorageAccountCheckNameAvailabilityParametersType { [System.Runtime.Serialization.EnumMember(Value = "Microsoft.Storage/storageAccounts")] MicrosoftStorageStorageAccounts } - internal static class TypeEnumExtension + internal static class StorageAccountCheckNameAvailabilityParametersTypeEnumExtension { - internal static string ToSerializedValue(this Type? value) + internal static string ToSerializedValue(this StorageAccountCheckNameAvailabilityParametersType? value) { - return value == null ? null : ((Type)value).ToSerializedValue(); + return value == null ? null : ((StorageAccountCheckNameAvailabilityParametersType)value).ToSerializedValue(); } - internal static string ToSerializedValue(this Type value) + internal static string ToSerializedValue(this StorageAccountCheckNameAvailabilityParametersType value) { switch( value ) { - case Type.MicrosoftStorageStorageAccounts: + case StorageAccountCheckNameAvailabilityParametersType.MicrosoftStorageStorageAccounts: return "Microsoft.Storage/storageAccounts"; } return null; } - internal static Type? ParseType(this string value) + internal static StorageAccountCheckNameAvailabilityParametersType? ParseStorageAccountCheckNameAvailabilityParametersType(this string value) { switch( value ) { case "Microsoft.Storage/storageAccounts": - return Type.MicrosoftStorageStorageAccounts; + return StorageAccountCheckNameAvailabilityParametersType.MicrosoftStorageStorageAccounts; } return null; } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigration.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigration.cs index b44ba2268c3e..98eb7efdbdb2 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigration.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Management.Storage.Models /// account migration in order to update its current SKU or region. /// [Microsoft.Rest.Serialization.JsonTransformation] - public partial class StorageAccountMigration + public partial class StorageAccountMigration : ProxyResource { /// /// Initializes a new instance of the StorageAccountMigration class. @@ -26,13 +26,19 @@ public StorageAccountMigration() /// Initializes a new instance of the StorageAccountMigration class. /// - /// Migration Resource Id + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// - /// current value is 'default' for customer initiated migration + /// The name of the resource /// - /// SrpAccountMigrationType in ARM contract which is 'accountMigrations' + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. /// /// Current status of migration @@ -50,12 +56,10 @@ public StorageAccountMigration() /// Reason for migration failure /// - public StorageAccountMigration(string targetSkuName, string id = default(string), string name = default(string), string type = default(string), string migrationStatus = default(string), string migrationFailedReason = default(string), string migrationFailedDetailedReason = default(string)) + public StorageAccountMigration(string targetSkuName, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string migrationStatus = default(string), string migrationFailedReason = default(string), string migrationFailedDetailedReason = default(string)) + : base(id, name, type, systemData) { - this.Id = id; - this.Name = name; - this.Type = type; this.MigrationStatus = migrationStatus; this.TargetSkuName = targetSkuName; this.MigrationFailedReason = migrationFailedReason; @@ -69,25 +73,6 @@ public StorageAccountMigration() partial void CustomInit(); - /// - /// Gets migration Resource Id - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "id")] - public string Id {get; private set; } - - /// - /// Gets or sets current value is 'default' for customer initiated migration - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "name")] - public string Name {get; set; } - - /// - /// Gets or sets srpAccountMigrationType in ARM contract which is - /// 'accountMigrations' - /// - [Newtonsoft.Json.JsonProperty(PropertyName = "type")] - public string Type {get; set; } - /// /// Gets current status of migration Possible values include: 'Invalid', 'SubmittedForConversion', 'InProgress', 'Complete', 'Failed' /// @@ -127,9 +112,6 @@ public virtual void Validate() - - - } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigrationProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigrationProperties.cs new file mode 100644 index 000000000000..ed11465801a4 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountMigrationProperties.cs @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account's ongoing or enqueued migration. + /// + public partial class StorageAccountMigrationProperties + { + /// + /// Initializes a new instance of the StorageAccountMigrationProperties class. + /// + public StorageAccountMigrationProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountMigrationProperties class. + /// + + /// Target sku name for the account + /// Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', + /// 'Standard_ZRS', 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', + /// 'Standard_RAGZRS', 'StandardV2_LRS', 'StandardV2_GRS', 'StandardV2_ZRS', + /// 'StandardV2_GZRS', 'PremiumV2_LRS', 'PremiumV2_ZRS' + + /// Current status of migration + /// Possible values include: 'Invalid', 'SubmittedForConversion', 'InProgress', + /// 'Complete', 'Failed' + + /// Error code for migration failure + /// + + /// Reason for migration failure + /// + public StorageAccountMigrationProperties(string targetSkuName, string migrationStatus = default(string), string migrationFailedReason = default(string), string migrationFailedDetailedReason = default(string)) + + { + this.TargetSkuName = targetSkuName; + this.MigrationStatus = migrationStatus; + this.MigrationFailedReason = migrationFailedReason; + this.MigrationFailedDetailedReason = migrationFailedDetailedReason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets target sku name for the account Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS', 'StandardV2_LRS', 'StandardV2_GRS', 'StandardV2_ZRS', 'StandardV2_GZRS', 'PremiumV2_LRS', 'PremiumV2_ZRS' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "targetSkuName")] + public string TargetSkuName {get; set; } + + /// + /// Gets current status of migration Possible values include: 'Invalid', 'SubmittedForConversion', 'InProgress', 'Complete', 'Failed' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "migrationStatus")] + public string MigrationStatus {get; private set; } + + /// + /// Gets error code for migration failure + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "migrationFailedReason")] + public string MigrationFailedReason {get; private set; } + + /// + /// Gets reason for migration failure + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "migrationFailedDetailedReason")] + public string MigrationFailedDetailedReason {get; private set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.TargetSkuName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "TargetSkuName"); + } + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsAbortHierarchicalNamespaceMigrationHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsAbortHierarchicalNamespaceMigrationHeaders.cs new file mode 100644 index 000000000000..d30c9f2daeb2 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsAbortHierarchicalNamespaceMigrationHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageAccountsAbortHierarchicalNamespaceMigrationHeaders + { + /// + /// Initializes a new instance of the StorageAccountsAbortHierarchicalNamespaceMigrationHeaders class. + /// + public StorageAccountsAbortHierarchicalNamespaceMigrationHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountsAbortHierarchicalNamespaceMigrationHeaders class. + /// + + /// + /// + + /// + /// + public StorageAccountsAbortHierarchicalNamespaceMigrationHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCreateHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCreateHeaders.cs new file mode 100644 index 000000000000..86ec10ca51b6 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCreateHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageAccountsCreateHeaders + { + /// + /// Initializes a new instance of the StorageAccountsCreateHeaders class. + /// + public StorageAccountsCreateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountsCreateHeaders class. + /// + + /// + /// + + /// + /// + public StorageAccountsCreateHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCustomerInitiatedMigrationHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCustomerInitiatedMigrationHeaders.cs index ad64cb5578b5..af3b98119ec6 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCustomerInitiatedMigrationHeaders.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsCustomerInitiatedMigrationHeaders.cs @@ -23,10 +23,14 @@ public StorageAccountsCustomerInitiatedMigrationHeaders() /// /// - public StorageAccountsCustomerInitiatedMigrationHeaders(string location = default(string)) + + /// + /// + public StorageAccountsCustomerInitiatedMigrationHeaders(string location = default(string), int? retryAfter = default(int?)) { this.Location = location; + this.RetryAfter = retryAfter; CustomInit(); } @@ -41,5 +45,11 @@ public StorageAccountsCustomerInitiatedMigrationHeaders() /// [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsFailoverHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsFailoverHeaders.cs new file mode 100644 index 000000000000..da598bf1f798 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsFailoverHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageAccountsFailoverHeaders + { + /// + /// Initializes a new instance of the StorageAccountsFailoverHeaders class. + /// + public StorageAccountsFailoverHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountsFailoverHeaders class. + /// + + /// + /// + + /// + /// + public StorageAccountsFailoverHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsHierarchicalNamespaceMigrationHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsHierarchicalNamespaceMigrationHeaders.cs new file mode 100644 index 000000000000..75ea2625d255 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsHierarchicalNamespaceMigrationHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageAccountsHierarchicalNamespaceMigrationHeaders + { + /// + /// Initializes a new instance of the StorageAccountsHierarchicalNamespaceMigrationHeaders class. + /// + public StorageAccountsHierarchicalNamespaceMigrationHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountsHierarchicalNamespaceMigrationHeaders class. + /// + + /// + /// + + /// + /// + public StorageAccountsHierarchicalNamespaceMigrationHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsRestoreBlobRangesHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsRestoreBlobRangesHeaders.cs new file mode 100644 index 000000000000..49f37f3f9d98 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageAccountsRestoreBlobRangesHeaders.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageAccountsRestoreBlobRangesHeaders + { + /// + /// Initializes a new instance of the StorageAccountsRestoreBlobRangesHeaders class. + /// + public StorageAccountsRestoreBlobRangesHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountsRestoreBlobRangesHeaders class. + /// + + /// + /// + + /// + /// + public StorageAccountsRestoreBlobRangesHeaders(string location = default(string), int? retryAfter = default(int?)) + + { + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageQueue.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageQueue.cs new file mode 100644 index 000000000000..dd7c3a94131a --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageQueue.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Concrete proxy resource types can be created by aliasing this type using a + /// specific property type. + /// + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class StorageQueue : ProxyResource + { + /// + /// Initializes a new instance of the StorageQueue class. + /// + public StorageQueue() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageQueue class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// A name-value pair that represents queue metadata. + /// + + /// Integer indicating an approximate number of messages in the queue. This + /// number is not lower than the actual number of messages in the queue, but + /// could be higher. + /// + public StorageQueue(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? approximateMessageCount = default(int?)) + + : base(id, name, type, systemData) + { + this.Metadata = metadata; + this.ApproximateMessageCount = approximateMessageCount; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets a name-value pair that represents queue metadata. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.metadata")] + public System.Collections.Generic.IDictionary Metadata {get; set; } + + /// + /// Gets integer indicating an approximate number of messages in the queue. + /// This number is not lower than the actual number of messages in the queue, + /// but could be higher. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.approximateMessageCount")] + public int? ApproximateMessageCount {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignment.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignment.cs new file mode 100644 index 000000000000..9311e4b46ee3 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignment.cs @@ -0,0 +1,77 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The storage task assignment. + /// + public partial class StorageTaskAssignment : ResourceAutoGenerated + { + /// + /// Initializes a new instance of the StorageTaskAssignment class. + /// + public StorageTaskAssignment() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignment class. + /// + + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Properties of the storage task assignment. + /// + public StorageTaskAssignment(StorageTaskAssignmentProperties properties, string id = default(string), string name = default(string), string type = default(string)) + + : base(id, name, type) + { + this.Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets properties of the storage task assignment. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] + public StorageTaskAssignmentProperties Properties {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Properties == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Properties"); + } + if (this.Properties != null) + { + this.Properties.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentExecutionContext.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentExecutionContext.cs new file mode 100644 index 000000000000..769c4d380715 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentExecutionContext.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Execution context of the storage task assignment. + /// + public partial class StorageTaskAssignmentExecutionContext + { + /// + /// Initializes a new instance of the StorageTaskAssignmentExecutionContext class. + /// + public StorageTaskAssignmentExecutionContext() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentExecutionContext class. + /// + + /// Execution target of the storage task assignment + /// + + /// Execution trigger of the storage task assignment + /// + public StorageTaskAssignmentExecutionContext(ExecutionTrigger trigger, ExecutionTarget target = default(ExecutionTarget)) + + { + this.Target = target; + this.Trigger = trigger; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets execution target of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "target")] + public ExecutionTarget Target {get; set; } + + /// + /// Gets or sets execution trigger of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "trigger")] + public ExecutionTrigger Trigger {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Trigger == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Trigger"); + } + + if (this.Trigger != null) + { + this.Trigger.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProperties.cs new file mode 100644 index 000000000000..3a40d378765f --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProperties.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of the storage task assignment. + /// + public partial class StorageTaskAssignmentProperties + { + /// + /// Initializes a new instance of the StorageTaskAssignmentProperties class. + /// + public StorageTaskAssignmentProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentProperties class. + /// + + /// Id of the corresponding storage task + /// + + /// Whether the storage task assignment is enabled or not + /// + + /// Text that describes the purpose of the storage task assignment + /// + + /// The storage task assignment execution context + /// + + /// The storage task assignment report + /// + + /// Represents the provisioning state of the storage task assignment. + /// Possible values include: 'ValidateSubscriptionQuotaBegin', + /// 'ValidateSubscriptionQuotaEnd', 'Accepted', 'Creating', 'Succeeded', + /// 'Deleting', 'Canceled', 'Failed' + + /// Run status of storage task assignment + /// + public StorageTaskAssignmentProperties(string taskId, bool enabled, string description, StorageTaskAssignmentExecutionContext executionContext, StorageTaskAssignmentReport report, string provisioningState = default(string), StorageTaskReportProperties runStatus = default(StorageTaskReportProperties)) + + { + this.TaskId = taskId; + this.Enabled = enabled; + this.Description = description; + this.ExecutionContext = executionContext; + this.Report = report; + this.ProvisioningState = provisioningState; + this.RunStatus = runStatus; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets id of the corresponding storage task + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "taskId")] + public string TaskId {get; set; } + + /// + /// Gets or sets whether the storage task assignment is enabled or not + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "enabled")] + public bool Enabled {get; set; } + + /// + /// Gets or sets text that describes the purpose of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "description")] + public string Description {get; set; } + + /// + /// Gets or sets the storage task assignment execution context + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "executionContext")] + public StorageTaskAssignmentExecutionContext ExecutionContext {get; set; } + + /// + /// Gets or sets the storage task assignment report + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "report")] + public StorageTaskAssignmentReport Report {get; set; } + + /// + /// Gets represents the provisioning state of the storage task assignment. Possible values include: 'ValidateSubscriptionQuotaBegin', 'ValidateSubscriptionQuotaEnd', 'Accepted', 'Creating', 'Succeeded', 'Deleting', 'Canceled', 'Failed' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState {get; private set; } + + /// + /// Gets or sets run status of storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "runStatus")] + public StorageTaskReportProperties RunStatus {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.TaskId == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "TaskId"); + } + if (this.Description == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Description"); + } + if (this.ExecutionContext == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ExecutionContext"); + } + if (this.Report == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Report"); + } + + + if (this.ExecutionContext != null) + { + this.ExecutionContext.Validate(); + } + if (this.Report != null) + { + this.Report.Validate(); + } + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProvisioningState.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProvisioningState.cs new file mode 100644 index 000000000000..27fdc04be469 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentProvisioningState.cs @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for StorageTaskAssignmentProvisioningState. + /// + + + public static class StorageTaskAssignmentProvisioningState + { + public const string ValidateSubscriptionQuotaBegin = "ValidateSubscriptionQuotaBegin"; + public const string ValidateSubscriptionQuotaEnd = "ValidateSubscriptionQuotaEnd"; + public const string Accepted = "Accepted"; + public const string Creating = "Creating"; + public const string Succeeded = "Succeeded"; + public const string Deleting = "Deleting"; + public const string Canceled = "Canceled"; + public const string Failed = "Failed"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentReport.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentReport.cs new file mode 100644 index 000000000000..d34c83a8755b --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentReport.cs @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The storage task assignment report + /// + public partial class StorageTaskAssignmentReport + { + /// + /// Initializes a new instance of the StorageTaskAssignmentReport class. + /// + public StorageTaskAssignmentReport() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentReport class. + /// + + /// The container prefix for the location of storage task assignment report + /// + public StorageTaskAssignmentReport(string prefix) + + { + this.Prefix = prefix; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the container prefix for the location of storage task + /// assignment report + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "prefix")] + public string Prefix {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Prefix == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Prefix"); + } + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateExecutionContext.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateExecutionContext.cs new file mode 100644 index 000000000000..edccc7ed0e49 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateExecutionContext.cs @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Execution context of the storage task assignment update. + /// + public partial class StorageTaskAssignmentUpdateExecutionContext + { + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateExecutionContext class. + /// + public StorageTaskAssignmentUpdateExecutionContext() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateExecutionContext class. + /// + + /// Execution target of the storage task assignment + /// + + /// Execution trigger of the storage task assignment + /// + public StorageTaskAssignmentUpdateExecutionContext(ExecutionTarget target = default(ExecutionTarget), ExecutionTriggerUpdate trigger = default(ExecutionTriggerUpdate)) + + { + this.Target = target; + this.Trigger = trigger; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets execution target of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "target")] + public ExecutionTarget Target {get; set; } + + /// + /// Gets or sets execution trigger of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "trigger")] + public ExecutionTriggerUpdate Trigger {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + + if (this.Trigger != null) + { + this.Trigger.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateParameters.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateParameters.cs new file mode 100644 index 000000000000..efd7ae808b0d --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateParameters.cs @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Parameters of the storage task assignment update request + /// + public partial class StorageTaskAssignmentUpdateParameters + { + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateParameters class. + /// + public StorageTaskAssignmentUpdateParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateParameters class. + /// + + /// Properties of the storage task assignment. + /// + public StorageTaskAssignmentUpdateParameters(StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties)) + + { + this.Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets properties of the storage task assignment. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] + public StorageTaskAssignmentUpdateProperties Properties {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Properties != null) + { + this.Properties.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateProperties.cs new file mode 100644 index 000000000000..3342f41c9290 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateProperties.cs @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of the storage task update assignment. + /// + public partial class StorageTaskAssignmentUpdateProperties + { + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateProperties class. + /// + public StorageTaskAssignmentUpdateProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateProperties class. + /// + + /// Id of the corresponding storage task + /// + + /// Whether the storage task assignment is enabled or not + /// + + /// Text that describes the purpose of the storage task assignment + /// + + /// The storage task assignment execution context + /// + + /// The storage task assignment report + /// + + /// Represents the provisioning state of the storage task assignment. + /// Possible values include: 'ValidateSubscriptionQuotaBegin', + /// 'ValidateSubscriptionQuotaEnd', 'Accepted', 'Creating', 'Succeeded', + /// 'Deleting', 'Canceled', 'Failed' + + /// Run status of storage task assignment + /// + public StorageTaskAssignmentUpdateProperties(string taskId = default(string), bool? enabled = default(bool?), string description = default(string), StorageTaskAssignmentUpdateExecutionContext executionContext = default(StorageTaskAssignmentUpdateExecutionContext), StorageTaskAssignmentUpdateReport report = default(StorageTaskAssignmentUpdateReport), string provisioningState = default(string), StorageTaskReportProperties runStatus = default(StorageTaskReportProperties)) + + { + this.TaskId = taskId; + this.Enabled = enabled; + this.Description = description; + this.ExecutionContext = executionContext; + this.Report = report; + this.ProvisioningState = provisioningState; + this.RunStatus = runStatus; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets id of the corresponding storage task + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "taskId")] + public string TaskId {get; private set; } + + /// + /// Gets or sets whether the storage task assignment is enabled or not + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "enabled")] + public bool? Enabled {get; set; } + + /// + /// Gets or sets text that describes the purpose of the storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "description")] + public string Description {get; set; } + + /// + /// Gets or sets the storage task assignment execution context + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "executionContext")] + public StorageTaskAssignmentUpdateExecutionContext ExecutionContext {get; set; } + + /// + /// Gets or sets the storage task assignment report + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "report")] + public StorageTaskAssignmentUpdateReport Report {get; set; } + + /// + /// Gets represents the provisioning state of the storage task assignment. Possible values include: 'ValidateSubscriptionQuotaBegin', 'ValidateSubscriptionQuotaEnd', 'Accepted', 'Creating', 'Succeeded', 'Deleting', 'Canceled', 'Failed' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState {get; private set; } + + /// + /// Gets or sets run status of storage task assignment + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "runStatus")] + public StorageTaskReportProperties RunStatus {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + + + if (this.ExecutionContext != null) + { + this.ExecutionContext.Validate(); + } + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateReport.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateReport.cs new file mode 100644 index 000000000000..8b300948e113 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentUpdateReport.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The storage task assignment report + /// + public partial class StorageTaskAssignmentUpdateReport + { + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateReport class. + /// + public StorageTaskAssignmentUpdateReport() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentUpdateReport class. + /// + + /// The prefix of the storage task assignment report + /// + public StorageTaskAssignmentUpdateReport(string prefix = default(string)) + + { + this.Prefix = prefix; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets the prefix of the storage task assignment report + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "prefix")] + public string Prefix {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsCreateHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsCreateHeaders.cs new file mode 100644 index 000000000000..c1f7911b2154 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsCreateHeaders.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageTaskAssignmentsCreateHeaders + { + /// + /// Initializes a new instance of the StorageTaskAssignmentsCreateHeaders class. + /// + public StorageTaskAssignmentsCreateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentsCreateHeaders class. + /// + + /// + /// + + /// + /// + + /// + /// + public StorageTaskAssignmentsCreateHeaders(int? retryAfter = default(int?), string azureAsyncOperation = default(string), string location = default(string)) + + { + this.RetryAfter = retryAfter; + this.AzureAsyncOperation = azureAsyncOperation; + this.Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Azure-AsyncOperation")] + public string AzureAsyncOperation {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsDeleteHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsDeleteHeaders.cs new file mode 100644 index 000000000000..5baecb609997 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsDeleteHeaders.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageTaskAssignmentsDeleteHeaders + { + /// + /// Initializes a new instance of the StorageTaskAssignmentsDeleteHeaders class. + /// + public StorageTaskAssignmentsDeleteHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentsDeleteHeaders class. + /// + + /// + /// + + /// + /// + + /// + /// + public StorageTaskAssignmentsDeleteHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) + + { + this.AzureAsyncOperation = azureAsyncOperation; + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Azure-AsyncOperation")] + public string AzureAsyncOperation {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsUpdateHeaders.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsUpdateHeaders.cs new file mode 100644 index 000000000000..bfadd39e0bbe --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskAssignmentsUpdateHeaders.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class StorageTaskAssignmentsUpdateHeaders + { + /// + /// Initializes a new instance of the StorageTaskAssignmentsUpdateHeaders class. + /// + public StorageTaskAssignmentsUpdateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskAssignmentsUpdateHeaders class. + /// + + /// + /// + + /// + /// + + /// + /// + public StorageTaskAssignmentsUpdateHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) + + { + this.AzureAsyncOperation = azureAsyncOperation; + this.Location = location; + this.RetryAfter = retryAfter; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Azure-AsyncOperation")] + public string AzureAsyncOperation {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Location")] + public string Location {get; set; } + + /// + /// Gets or sets + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "Retry-After")] + public int? RetryAfter {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportInstance.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportInstance.cs new file mode 100644 index 000000000000..ac8626a3a873 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportInstance.cs @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Storage Tasks run report instance + /// + public partial class StorageTaskReportInstance : ProxyResource + { + /// + /// Initializes a new instance of the StorageTaskReportInstance class. + /// + public StorageTaskReportInstance() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskReportInstance class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// Storage task execution report for a run instance. + /// + public StorageTaskReportInstance(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), StorageTaskReportProperties properties = default(StorageTaskReportProperties)) + + : base(id, name, type, systemData) + { + this.Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets storage task execution report for a run instance. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties")] + public StorageTaskReportProperties Properties {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportProperties.cs new file mode 100644 index 000000000000..fcd0703f4881 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/StorageTaskReportProperties.cs @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Storage task execution report for a run instance. + /// + public partial class StorageTaskReportProperties + { + /// + /// Initializes a new instance of the StorageTaskReportProperties class. + /// + public StorageTaskReportProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageTaskReportProperties class. + /// + + /// Represents the Storage Task Assignment Id associated with the storage task + /// that provided an execution context. + /// + + /// Represents the Storage Account Id where the storage task definition was + /// applied and executed. + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + + /// Well known Azure Storage error code that represents the error encountered + /// during execution of the run instance. + /// + + /// Represents the status of the execution. + /// Possible values include: 'InProgress', 'Finished' + + /// Full path to the verbose report stored in the reporting container as + /// specified in the assignment execution context for the storage account. + /// + + /// Storage Task Arm Id. + /// + + /// Storage Task Version + /// + + /// Represents the overall result of the execution for the run instance + /// Possible values include: 'Succeeded', 'Failed' + public StorageTaskReportProperties(string taskAssignmentId = default(string), string storageAccountId = default(string), string startTime = default(string), string finishTime = default(string), string objectsTargetedCount = default(string), string objectsOperatedOnCount = default(string), string objectFailedCount = default(string), string objectsSucceededCount = default(string), string runStatusError = default(string), string runStatusEnum = default(string), string summaryReportPath = default(string), string taskId = default(string), string taskVersion = default(string), string runResult = default(string)) + + { + this.TaskAssignmentId = taskAssignmentId; + this.StorageAccountId = storageAccountId; + this.StartTime = startTime; + this.FinishTime = finishTime; + this.ObjectsTargetedCount = objectsTargetedCount; + this.ObjectsOperatedOnCount = objectsOperatedOnCount; + this.ObjectFailedCount = objectFailedCount; + this.ObjectsSucceededCount = objectsSucceededCount; + this.RunStatusError = runStatusError; + this.RunStatusEnum = runStatusEnum; + this.SummaryReportPath = summaryReportPath; + this.TaskId = taskId; + this.TaskVersion = taskVersion; + this.RunResult = runResult; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets represents the Storage Task Assignment Id associated with the storage + /// task that provided an execution context. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "taskAssignmentId")] + public string TaskAssignmentId {get; private set; } + + /// + /// Gets represents the Storage Account Id where the storage task definition + /// was applied and executed. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "storageAccountId")] + public string StorageAccountId {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startTime")] + public string StartTime {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "finishTime")] + public string FinishTime {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "objectsTargetedCount")] + public string ObjectsTargetedCount {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "objectsOperatedOnCount")] + public string ObjectsOperatedOnCount {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "objectFailedCount")] + public string ObjectFailedCount {get; private set; } + + /// + /// Gets 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/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "objectsSucceededCount")] + public string ObjectsSucceededCount {get; private set; } + + /// + /// Gets well known Azure Storage error code that represents the error + /// encountered during execution of the run instance. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "runStatusError")] + public string RunStatusError {get; private set; } + + /// + /// Gets represents the status of the execution. Possible values include: 'InProgress', 'Finished' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "runStatusEnum")] + public string RunStatusEnum {get; private set; } + + /// + /// Gets full path to the verbose report stored in the reporting container as + /// specified in the assignment execution context for the storage account. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "summaryReportPath")] + public string SummaryReportPath {get; private set; } + + /// + /// Gets storage Task Arm Id. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "taskId")] + public string TaskId {get; private set; } + + /// + /// Gets storage Task Version + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "taskVersion")] + public string TaskVersion {get; private set; } + + /// + /// Gets represents the overall result of the execution for the run instance Possible values include: 'Succeeded', 'Failed' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "runResult")] + public string RunResult {get; private set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/Table.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/Table.cs new file mode 100644 index 000000000000..627f4e9b458e --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/Table.cs @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Properties of the table, including Id, resource name, resource type. + /// + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class Table : ProxyResource + { + /// + /// Initializes a new instance of the Table class. + /// + public Table() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Table class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// Table name under the specified account + /// + + /// List of stored access policies specified on the table. + /// + public Table(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string tableName = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList)) + + : base(id, name, type, systemData) + { + this.TableName = tableName; + this.SignedIdentifiers = signedIdentifiers; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets table name under the specified account + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.tableName")] + public string TableName {get; private set; } + + /// + /// Gets or sets list of stored access policies specified on the table. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.signedIdentifiers")] + public System.Collections.Generic.IList SignedIdentifiers {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TableAccessPolicy.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TableAccessPolicy.cs new file mode 100644 index 000000000000..755a222cb0c1 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TableAccessPolicy.cs @@ -0,0 +1,84 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Table Access Policy Properties Object. + /// + public partial class TableAccessPolicy + { + /// + /// Initializes a new instance of the TableAccessPolicy class. + /// + public TableAccessPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TableAccessPolicy class. + /// + + /// Start time of the access policy + /// + + /// Expiry time of the access policy + /// + + /// Required. List of abbreviated permissions. Supported permission values + /// include 'r','a','u','d' + /// + public TableAccessPolicy(string permission, System.DateTime? startTime = default(System.DateTime?), System.DateTime? expiryTime = default(System.DateTime?)) + + { + this.StartTime = startTime; + this.ExpiryTime = expiryTime; + this.Permission = permission; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets start time of the access policy + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startTime")] + public System.DateTime? StartTime {get; set; } + + /// + /// Gets or sets expiry time of the access policy + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "expiryTime")] + public System.DateTime? ExpiryTime {get; set; } + + /// + /// Gets or sets required. List of abbreviated permissions. Supported + /// permission values include 'r','a','u','d' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "permission")] + public string Permission {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Permission == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Permission"); + } + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TableProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TableProperties.cs new file mode 100644 index 000000000000..95e46e188d2b --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TableProperties.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + public partial class TableProperties + { + /// + /// Initializes a new instance of the TableProperties class. + /// + public TableProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TableProperties class. + /// + + /// Table name under the specified account + /// + + /// List of stored access policies specified on the table. + /// + public TableProperties(string tableName = default(string), System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList)) + + { + this.TableName = tableName; + this.SignedIdentifiers = signedIdentifiers; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets table name under the specified account + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "tableName")] + public string TableName {get; private set; } + + /// + /// Gets or sets list of stored access policies specified on the table. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "signedIdentifiers")] + public System.Collections.Generic.IList SignedIdentifiers {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TableServiceProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TableServiceProperties.cs new file mode 100644 index 000000000000..ccfd28484020 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TableServiceProperties.cs @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account’s Table service. + /// + [Microsoft.Rest.Serialization.JsonTransformation] + public partial class TableServiceProperties : ProxyResource + { + /// + /// Initializes a new instance of the TableServiceProperties class. + /// + public TableServiceProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TableServiceProperties class. + /// + + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + + /// The name of the resource + /// + + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// + + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + + /// Specifies CORS rules for the Table service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Table service. + /// + public TableServiceProperties(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), CorsRules cors = default(CorsRules)) + + : base(id, name, type, systemData) + { + this.Cors = cors; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the Table service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the Table service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "properties.cors")] + public CorsRules Cors {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TableServicePropertiesProperties.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TableServicePropertiesProperties.cs new file mode 100644 index 000000000000..f5b1ab3d48b7 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TableServicePropertiesProperties.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The properties of a storage account’s Table service. + /// + public partial class TableServicePropertiesProperties + { + /// + /// Initializes a new instance of the TableServicePropertiesProperties class. + /// + public TableServicePropertiesProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TableServicePropertiesProperties class. + /// + + /// Specifies CORS rules for the Table service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Table service. + /// + public TableServicePropertiesProperties(CorsRules cors = default(CorsRules)) + + { + this.Cors = cors; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets specifies CORS rules for the Table service. You can include up + /// to five CorsRule elements in the request. If no CorsRule elements are + /// included in the request body, all CORS rules will be deleted, and CORS will + /// be disabled for the Table service. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "cors")] + public CorsRules Cors {get; set; } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TableSignedIdentifier.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TableSignedIdentifier.cs new file mode 100644 index 000000000000..52985f7775bf --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TableSignedIdentifier.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// Object to set Table Access Policy. + /// + public partial class TableSignedIdentifier + { + /// + /// Initializes a new instance of the TableSignedIdentifier class. + /// + public TableSignedIdentifier() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TableSignedIdentifier class. + /// + + /// unique-64-character-value of the stored access policy. + /// + + /// Access policy + /// + public TableSignedIdentifier(string id, TableAccessPolicy accessPolicy = default(TableAccessPolicy)) + + { + this.Id = id; + this.AccessPolicy = accessPolicy; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets unique-64-character-value of the stored access policy. + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "id")] + public string Id {get; set; } + + /// + /// Gets or sets access policy + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "accessPolicy")] + public TableAccessPolicy AccessPolicy {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Id == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Id"); + } + + if (this.AccessPolicy != null) + { + this.AccessPolicy.Validate(); + } + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TrackedResource.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TrackedResource.cs index 55098b173de3..eb4f4230787f 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/TrackedResource.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TrackedResource.cs @@ -29,8 +29,8 @@ public TrackedResource() /// Initializes a new instance of the TrackedResource class. /// - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. E.g. + /// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" /// /// The name of the resource @@ -40,14 +40,18 @@ public TrackedResource() /// "Microsoft.Storage/storageAccounts" /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy + /// information. + /// + /// Resource tags. /// /// The geo-location where the resource lives /// - public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary)) + public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary)) - : base(id, name, type) + : base(id, name, type, systemData) { this.Tags = tags; this.Location = location; diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParameters.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParameters.cs new file mode 100644 index 000000000000..6ed6aac5c0e3 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParameters.cs @@ -0,0 +1,125 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The trigger parameters update for the storage task assignment execution + /// + public partial class TriggerParameters + { + /// + /// Initializes a new instance of the TriggerParameters class. + /// + public TriggerParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TriggerParameters class. + /// + + /// When to start task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// Run interval of task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// Run interval unit of task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// Possible values include: 'Days' + + /// When to end task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// When to start task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'RunOnce'; this property should not be + /// present when ExecutionTrigger.properties.type is 'OnSchedule' + /// + public TriggerParameters(System.DateTime? startFrom = default(System.DateTime?), int? interval = default(int?), string intervalUnit = default(string), System.DateTime? endBy = default(System.DateTime?), System.DateTime? startOn = default(System.DateTime?)) + + { + this.StartFrom = startFrom; + this.Interval = interval; + this.IntervalUnit = intervalUnit; + this.EndBy = endBy; + this.StartOn = startOn; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets when to start task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startFrom")] + public System.DateTime? StartFrom {get; set; } + + /// + /// Gets or sets run interval of task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "interval")] + public int? Interval {get; set; } + + /// + /// Gets or sets run interval unit of task execution. This is a required field + /// when ExecutionTrigger.properties.type is 'OnSchedule'; this property should + /// not be present when ExecutionTrigger.properties.type is 'RunOnce' Possible values include: 'Days' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "intervalUnit")] + public string IntervalUnit {get; set; } + + /// + /// Gets or sets when to end task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "endBy")] + public System.DateTime? EndBy {get; set; } + + /// + /// Gets or sets when to start task execution. This is a required field when + /// ExecutionTrigger.properties.type is 'RunOnce'; this property should not be + /// present when ExecutionTrigger.properties.type is 'OnSchedule' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startOn")] + public System.DateTime? StartOn {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Interval != null) + { + if (this.Interval < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "Interval", 1); + } + } + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParametersUpdate.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParametersUpdate.cs new file mode 100644 index 000000000000..e4f2a841920e --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerParametersUpdate.cs @@ -0,0 +1,125 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + using System.Linq; + + /// + /// The trigger parameters update for the storage task assignment execution + /// + public partial class TriggerParametersUpdate + { + /// + /// Initializes a new instance of the TriggerParametersUpdate class. + /// + public TriggerParametersUpdate() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TriggerParametersUpdate class. + /// + + /// When to start task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// Run interval of task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// Run interval unit of task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// Possible values include: 'Days' + + /// When to end task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + + /// When to start task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'RunOnce'; this property should not be + /// present when ExecutionTrigger.properties.type is 'OnSchedule' + /// + public TriggerParametersUpdate(System.DateTime? startFrom = default(System.DateTime?), int? interval = default(int?), string intervalUnit = default(string), System.DateTime? endBy = default(System.DateTime?), System.DateTime? startOn = default(System.DateTime?)) + + { + this.StartFrom = startFrom; + this.Interval = interval; + this.IntervalUnit = intervalUnit; + this.EndBy = endBy; + this.StartOn = startOn; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + + /// + /// Gets or sets when to start task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startFrom")] + public System.DateTime? StartFrom {get; set; } + + /// + /// Gets or sets run interval of task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "interval")] + public int? Interval {get; set; } + + /// + /// Gets or sets run interval unit of task execution. This is a mutable field + /// when ExecutionTrigger.properties.type is 'OnSchedule'; this property should + /// not be present when ExecutionTrigger.properties.type is 'RunOnce' Possible values include: 'Days' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "intervalUnit")] + public string IntervalUnit {get; set; } + + /// + /// Gets or sets when to end task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'OnSchedule'; this property should not + /// be present when ExecutionTrigger.properties.type is 'RunOnce' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "endBy")] + public System.DateTime? EndBy {get; set; } + + /// + /// Gets or sets when to start task execution. This is a mutable field when + /// ExecutionTrigger.properties.type is 'RunOnce'; this property should not be + /// present when ExecutionTrigger.properties.type is 'OnSchedule' + /// + [Newtonsoft.Json.JsonProperty(PropertyName = "startOn")] + public System.DateTime? StartOn {get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (this.Interval != null) + { + if (this.Interval < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "Interval", 1); + } + } + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerType.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerType.cs new file mode 100644 index 000000000000..c3ffa59663cf --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/TriggerType.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for TriggerType. + /// + + + public static class TriggerType + { + public const string RunOnce = "RunOnce"; + public const string OnSchedule = "OnSchedule"; + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRule.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRule.cs index 7eab4a5ff3ec..2505df8052f0 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRule.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRule.cs @@ -34,7 +34,7 @@ public VirtualNetworkRule() /// Gets the state of virtual network rule. /// Possible values include: 'Provisioning', 'Deprovisioning', 'Succeeded', /// 'Failed', 'NetworkSourceDeleted' - public VirtualNetworkRule(string virtualNetworkResourceId, Action? action = default(Action?), string state = default(string)) + public VirtualNetworkRule(string virtualNetworkResourceId, VirtualNetworkRuleAction? action = default(VirtualNetworkRuleAction?), string state = default(string)) { this.VirtualNetworkResourceId = virtualNetworkResourceId; @@ -60,7 +60,7 @@ public VirtualNetworkRule() /// Gets or sets the action of virtual network rule. Possible values include: 'Allow' /// [Newtonsoft.Json.JsonProperty(PropertyName = "action")] - public Action? Action {get; set; } + public VirtualNetworkRuleAction? Action {get; set; } /// /// Gets or sets gets the state of virtual network rule. Possible values include: 'Provisioning', 'Deprovisioning', 'Succeeded', 'Failed', 'NetworkSourceDeleted' diff --git a/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRuleAction.cs b/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRuleAction.cs new file mode 100644 index 000000000000..0b69f4bb7638 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/Models/VirtualNetworkRuleAction.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage.Models +{ + + /// + /// Defines values for VirtualNetworkRuleAction. + /// + + + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public enum VirtualNetworkRuleAction + { + [System.Runtime.Serialization.EnumMember(Value = "Allow")] + Allow + } + internal static class VirtualNetworkRuleActionEnumExtension + { + internal static string ToSerializedValue(this VirtualNetworkRuleAction? value) + { + return value == null ? null : ((VirtualNetworkRuleAction)value).ToSerializedValue(); + } + internal static string ToSerializedValue(this VirtualNetworkRuleAction value) + { + switch( value ) + { + case VirtualNetworkRuleAction.Allow: + return "Allow"; + } + return null; + } + internal static VirtualNetworkRuleAction? ParseVirtualNetworkRuleAction(this string value) + { + switch( value ) + { + case "Allow": + return VirtualNetworkRuleAction.Allow; + } + return null; + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperations.cs new file mode 100644 index 000000000000..1fd44f3f6718 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperations.cs @@ -0,0 +1,962 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// NetworkSecurityPerimeterConfigurationsOperations operations. + /// + internal partial class NetworkSecurityPerimeterConfigurationsOperations : Microsoft.Rest.IServiceOperations, INetworkSecurityPerimeterConfigurationsOperations + { + /// + /// Initializes a new instance of the NetworkSecurityPerimeterConfigurationsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NetworkSecurityPerimeterConfigurationsOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets effective NetworkSecurityPerimeterConfiguration for association + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (networkSecurityPerimeterConfigurationName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "networkSecurityPerimeterConfigurationName"); + } + if (networkSecurityPerimeterConfigurationName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(networkSecurityPerimeterConfigurationName, "^.*$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkSecurityPerimeterConfigurationName", "^.*$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("networkSecurityPerimeterConfigurationName", networkSecurityPerimeterConfigurationName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{networkSecurityPerimeterConfigurationName}", System.Uri.EscapeDataString(networkSecurityPerimeterConfigurationName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Refreshes any information about the association. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> ReconcileWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginReconcileWithHttpMessagesAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Refreshes any information about the association. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> BeginReconcileWithHttpMessagesAsync(string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (networkSecurityPerimeterConfigurationName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "networkSecurityPerimeterConfigurationName"); + } + if (networkSecurityPerimeterConfigurationName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(networkSecurityPerimeterConfigurationName, "^.*$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkSecurityPerimeterConfigurationName", "^.*$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("networkSecurityPerimeterConfigurationName", networkSecurityPerimeterConfigurationName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginReconcile", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{networkSecurityPerimeterConfigurationName}", System.Uri.EscapeDataString(networkSecurityPerimeterConfigurationName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 202) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperationsExtensions.cs new file mode 100644 index 000000000000..50404bf53d06 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/NetworkSecurityPerimeterConfigurationsOperationsExtensions.cs @@ -0,0 +1,243 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for NetworkSecurityPerimeterConfigurationsOperations + /// + public static partial class NetworkSecurityPerimeterConfigurationsOperationsExtensions + { + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static Microsoft.Rest.Azure.IPage List(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName) + { + return ((INetworkSecurityPerimeterConfigurationsOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets effective NetworkSecurityPerimeterConfiguration for association + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + public static NetworkSecurityPerimeterConfiguration Get(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName) + { + return ((INetworkSecurityPerimeterConfigurationsOperations)operations).GetAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName).GetAwaiter().GetResult(); + } + + /// + /// Gets effective NetworkSecurityPerimeterConfiguration for association + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task GetAsync(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Refreshes any information about the association. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + public static NetworkSecurityPerimeterConfigurationsReconcileHeaders Reconcile(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName) + { + return ((INetworkSecurityPerimeterConfigurationsOperations)operations).ReconcileAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName).GetAwaiter().GetResult(); + } + + /// + /// Refreshes any information about the association. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task ReconcileAsync(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ReconcileWithHttpMessagesAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// + /// Refreshes any information about the association. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + public static NetworkSecurityPerimeterConfigurationsReconcileHeaders BeginReconcile(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName) + { + return ((INetworkSecurityPerimeterConfigurationsOperations)operations).BeginReconcileAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName).GetAwaiter().GetResult(); + } + + /// + /// Refreshes any information about the association. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name for Network Security Perimeter configuration + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task BeginReconcileAsync(this INetworkSecurityPerimeterConfigurationsOperations operations, string resourceGroupName, string accountName, string networkSecurityPerimeterConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.BeginReconcileWithHttpMessagesAsync(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this INetworkSecurityPerimeterConfigurationsOperations operations, string nextPageLink) + { + return ((INetworkSecurityPerimeterConfigurationsOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets list of effective NetworkSecurityPerimeterConfiguration for storage + /// account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this INetworkSecurityPerimeterConfigurationsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperations.cs index ce516ee5b000..fbf5828502f9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperations.cs @@ -42,8 +42,7 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) /// List the object replication policies associated with the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -71,12 +70,18 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -91,10 +96,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -115,22 +116,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -149,9 +134,9 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -246,7 +231,7 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -287,8 +272,7 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) /// Get the object replication policy of the storage account by policy ID. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -329,6 +313,12 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -343,10 +333,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -367,22 +353,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (objectReplicationPolicyId == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "objectReplicationPolicyId"); @@ -413,9 +383,9 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{objectReplicationPolicyId}", System.Uri.EscapeDataString(objectReplicationPolicyId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -552,8 +522,7 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) /// Create or update the object replication policy of the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -603,6 +572,12 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "properties"); } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -617,10 +592,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -641,22 +612,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (objectReplicationPolicyId == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "objectReplicationPolicyId"); @@ -688,9 +643,9 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{objectReplicationPolicyId}", System.Uri.EscapeDataString(objectReplicationPolicyId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -834,8 +789,7 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -873,6 +827,12 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -887,10 +847,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -911,22 +867,6 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (objectReplicationPolicyId == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "objectReplicationPolicyId"); @@ -957,9 +897,9 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{objectReplicationPolicyId}", System.Uri.EscapeDataString(objectReplicationPolicyId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -1073,6 +1013,183 @@ internal ObjectReplicationPoliciesOperations (StorageManagementClient client) + } + /// + /// List the object replication policies associated with the storage account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperationsExtensions.cs index 80c03a32d634..7ed9fb034061 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/ObjectReplicationPoliciesOperationsExtensions.cs @@ -19,15 +19,14 @@ public static partial class ObjectReplicationPoliciesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static System.Collections.Generic.IEnumerable List(this IObjectReplicationPoliciesOperations operations, string resourceGroupName, string accountName) + public static Microsoft.Rest.Azure.IPage List(this IObjectReplicationPoliciesOperations operations, string resourceGroupName, string accountName) { return ((IObjectReplicationPoliciesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } @@ -39,8 +38,7 @@ public static System.Collections.Generic.IEnumerable Li /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -50,7 +48,7 @@ public static System.Collections.Generic.IEnumerable Li /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IObjectReplicationPoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IObjectReplicationPoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { @@ -64,8 +62,7 @@ public static System.Collections.Generic.IEnumerable Li /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -91,8 +88,7 @@ public static ObjectReplicationPolicy Get(this IObjectReplicationPoliciesOperati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -123,8 +119,7 @@ public static ObjectReplicationPolicy Get(this IObjectReplicationPoliciesOperati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -150,8 +145,7 @@ public static ObjectReplicationPolicy CreateOrUpdate(this IObjectReplicationPoli /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -183,8 +177,7 @@ public static ObjectReplicationPolicy CreateOrUpdate(this IObjectReplicationPoli /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -211,8 +204,7 @@ public static void Delete(this IObjectReplicationPoliciesOperations operations, /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -233,5 +225,38 @@ public static void Delete(this IObjectReplicationPoliciesOperations operations, { (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, objectReplicationPolicyId, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// List the object replication policies associated with the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IObjectReplicationPoliciesOperations operations, string nextPageLink) + { + return ((IObjectReplicationPoliciesOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// List the object replication policies associated with the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IObjectReplicationPoliciesOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/Operations.cs b/src/Storage/Storage.Management.Sdk/Generated/Operations.cs index 63d6422b71ba..7d55ebf001bb 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/Operations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/Operations.cs @@ -62,7 +62,7 @@ internal Operations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -155,14 +155,13 @@ internal Operations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -172,10 +171,183 @@ internal Operations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Lists all of the available Storage Rest API operations. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -188,7 +360,7 @@ internal Operations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; diff --git a/src/Storage/Storage.Management.Sdk/Generated/OperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/OperationsExtensions.cs index 0de87d8392fc..43c026e305af 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/OperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/OperationsExtensions.cs @@ -18,7 +18,7 @@ public static partial class OperationsExtensions /// /// The operations group for this extension method. /// - public static System.Collections.Generic.IEnumerable List(this IOperations operations) + public static Microsoft.Rest.Azure.IPage List(this IOperations operations) { return ((IOperations)operations).ListAsync().GetAwaiter().GetResult(); } @@ -32,12 +32,45 @@ public static System.Collections.Generic.IEnumerable List(this IOpera /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } + /// + /// Lists all of the available Storage Rest API operations. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IOperations operations, string nextPageLink) + { + return ((IOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all of the available Storage Rest API operations. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperations.cs index e517244d718b..6b54e7bfd91c 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperations.cs @@ -43,8 +43,7 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -72,12 +71,18 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -92,10 +97,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -116,22 +117,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150,9 +135,9 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -219,14 +204,13 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -236,10 +220,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -252,7 +232,7 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -294,8 +274,7 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -333,6 +312,12 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -347,10 +332,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -371,22 +352,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (privateEndpointConnectionName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "privateEndpointConnectionName"); @@ -411,9 +376,9 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -551,8 +516,7 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) /// the storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -597,6 +561,12 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -611,10 +581,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -635,22 +601,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (privateEndpointConnectionName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "privateEndpointConnectionName"); @@ -682,9 +632,9 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -828,8 +778,7 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) /// storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -864,6 +813,12 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -878,10 +833,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -902,22 +853,6 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (privateEndpointConnectionName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "privateEndpointConnectionName"); @@ -942,9 +877,9 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -1058,6 +993,184 @@ internal PrivateEndpointConnectionsOperations (StorageManagementClient client) + } + /// + /// List all the private endpoint connections associated with the storage + /// account. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + } } } \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperationsExtensions.cs index 5a8988c03082..d38106a4e6e7 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/PrivateEndpointConnectionsOperationsExtensions.cs @@ -20,15 +20,14 @@ public static partial class PrivateEndpointConnectionsOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static System.Collections.Generic.IEnumerable List(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName) + public static Microsoft.Rest.Azure.IPage List(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName) { return ((IPrivateEndpointConnectionsOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } @@ -41,8 +40,7 @@ public static System.Collections.Generic.IEnumerable /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -52,7 +50,7 @@ public static System.Collections.Generic.IEnumerable /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { @@ -67,8 +65,7 @@ public static System.Collections.Generic.IEnumerable /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -92,8 +89,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -122,8 +118,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -147,8 +142,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -177,8 +171,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -202,8 +195,7 @@ public static void Delete(this IPrivateEndpointConnectionsOperations operations, /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -221,5 +213,40 @@ public static void Delete(this IPrivateEndpointConnectionsOperations operations, { (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// List all the private endpoint connections associated with the storage + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IPrivateEndpointConnectionsOperations operations, string nextPageLink) + { + return ((IPrivateEndpointConnectionsOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// List all the private endpoint connections associated with the storage + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IPrivateEndpointConnectionsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperations.cs index 3108d3d21bb3..905f761ead1b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperations.cs @@ -43,8 +43,7 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) /// account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -78,6 +77,12 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -92,10 +97,6 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -116,22 +117,6 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150,9 +135,9 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -219,14 +204,13 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -236,10 +220,6 @@ internal PrivateLinkResourcesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); diff --git a/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperationsExtensions.cs index 75289a3e8763..62794b6ae8a9 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/PrivateLinkResourcesOperationsExtensions.cs @@ -20,8 +20,7 @@ public static partial class PrivateLinkResourcesOperationsExtensions /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -41,8 +40,7 @@ public static PrivateLinkResourceListResult ListByStorageAccount(this IPrivateLi /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. diff --git a/src/Storage/Storage.Management.Sdk/Generated/QueueOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/QueueOperations.cs new file mode 100644 index 000000000000..43ce212af92a --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/QueueOperations.cs @@ -0,0 +1,1540 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// QueueOperations operations. + /// + internal partial class QueueOperations : Microsoft.Rest.IServiceOperations, IQueueOperations + { + /// + /// Initializes a new instance of the QueueOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal QueueOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, a maximum number of queues that should be included in a list + /// queue response + /// + /// + /// Optional, When specified, only the queues with a name starting with the + /// given filter will be listed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + + + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("maxpagesize", maxpagesize); + tracingParameters.Add("filter", filter); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (maxpagesize != null) + { + _queryParameters.Add(string.Format("$maxpagesize={0}", System.Uri.EscapeDataString(maxpagesize))); + } + if (filter != null) + { + _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the queue with the specified queue name, under the specified account + /// if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (queueName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "queueName"); + } + if (queueName != null) + { + if (queueName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "queueName", 63); + } + if (queueName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "queueName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(queueName, "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "queueName", "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("queueName", queueName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{queueName}", System.Uri.EscapeDataString(queueName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// A name-value pair that represents queue metadata. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (queueName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "queueName"); + } + if (queueName != null) + { + if (queueName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "queueName", 63); + } + if (queueName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "queueName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(queueName, "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "queueName", "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$"); + } + } + StorageQueue queue = new StorageQueue(); + if(metadata != null) + { + queue.Metadata = metadata; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("queueName", queueName); + + tracingParameters.Add("queue", queue); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{queueName}", System.Uri.EscapeDataString(queueName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(queue != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(queue, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// A name-value pair that represents queue metadata. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (queueName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "queueName"); + } + if (queueName != null) + { + if (queueName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "queueName", 63); + } + if (queueName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "queueName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(queueName, "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "queueName", "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$"); + } + } + StorageQueue queue = new StorageQueue(); + if(metadata != null) + { + queue.Metadata = metadata; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("queueName", queueName); + + tracingParameters.Add("queue", queue); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{queueName}", System.Uri.EscapeDataString(queueName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(queue != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(queue, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Deletes the queue with the specified queue name, under the specified + /// account if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string queueName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (queueName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "queueName"); + } + if (queueName != null) + { + if (queueName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "queueName", 63); + } + if (queueName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "queueName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(queueName, "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "queueName", "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("queueName", queueName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{queueName}", System.Uri.EscapeDataString(queueName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 204) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/QueueOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/QueueOperationsExtensions.cs new file mode 100644 index 000000000000..a3bb4b9b12c0 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/QueueOperationsExtensions.cs @@ -0,0 +1,333 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for QueueOperations + /// + public static partial class QueueOperationsExtensions + { + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, a maximum number of queues that should be included in a list + /// queue response + /// + /// + /// Optional, When specified, only the queues with a name starting with the + /// given filter will be listed. + /// + public static Microsoft.Rest.Azure.IPage List(this IQueueOperations operations, string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string)) + { + return ((IQueueOperations)operations).ListAsync(resourceGroupName, accountName, maxpagesize, filter).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, a maximum number of queues that should be included in a list + /// queue response + /// + /// + /// Optional, When specified, only the queues with a name starting with the + /// given filter will be listed. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this IQueueOperations operations, string resourceGroupName, string accountName, string maxpagesize = default(string), string filter = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, maxpagesize, filter, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets the queue with the specified queue name, under the specified account + /// if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + public static StorageQueue Get(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName) + { + return ((IQueueOperations)operations).GetAsync(resourceGroupName, accountName, queueName).GetAwaiter().GetResult(); + } + + /// + /// Gets the queue with the specified queue name, under the specified account + /// if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task GetAsync(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, queueName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + public static StorageQueue Create(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary)) + { + return ((IQueueOperations)operations).CreateAsync(resourceGroupName, accountName, queueName, metadata).GetAwaiter().GetResult(); + } + + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task CreateAsync(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, queueName, metadata, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + public static StorageQueue Update(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary)) + { + return ((IQueueOperations)operations).UpdateAsync(resourceGroupName, accountName, queueName, metadata).GetAwaiter().GetResult(); + } + + /// + /// Creates a new queue with the specified queue name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task UpdateAsync(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, queueName, metadata, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Deletes the queue with the specified queue name, under the specified + /// account if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + public static void Delete(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName) + { + ((IQueueOperations)operations).DeleteAsync(resourceGroupName, accountName, queueName).GetAwaiter().GetResult(); + } + + /// + /// Deletes the queue with the specified queue name, under the specified + /// account if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A queue name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of lowercase alphanumeric and + /// dash(-) characters only, it should begin and end with an alphanumeric + /// character and it cannot have two consecutive dash(-) characters. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task DeleteAsync(this IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, queueName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IQueueOperations operations, string nextPageLink) + { + return ((IQueueOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of all the queues under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IQueueOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperations.cs new file mode 100644 index 000000000000..f47596f98838 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperations.cs @@ -0,0 +1,769 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// QueueServicesOperations operations. + /// + internal partial class QueueServicesOperations : Microsoft.Rest.IServiceOperations, IQueueServicesOperations + { + /// + /// Initializes a new instance of the QueueServicesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal QueueServicesOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// List all queue services for the storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Sets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Specifies CORS rules for the Queue service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Queue service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + QueueServiceProperties parameters = new QueueServiceProperties(); + if(cors != null) + { + parameters.Cors = cors; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperationsExtensions.cs new file mode 100644 index 000000000000..228d939c78bd --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/QueueServicesOperationsExtensions.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for QueueServicesOperations + /// + public static partial class QueueServicesOperationsExtensions + { + /// + /// List all queue services for the storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static ListQueueServices List(this IQueueServicesOperations operations, string resourceGroupName, string accountName) + { + return ((IQueueServicesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// List all queue services for the storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task ListAsync(this IQueueServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static QueueServiceProperties GetServiceProperties(this IQueueServicesOperations operations, string resourceGroupName, string accountName) + { + return ((IQueueServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Gets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this IQueueServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Sets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static QueueServiceProperties SetServiceProperties(this IQueueServicesOperations operations, string resourceGroupName, string accountName, CorsRules cors = default(CorsRules)) + { + return ((IQueueServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, cors).GetAwaiter().GetResult(); + } + + /// + /// Sets the properties of a storage account’s Queue service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this IQueueServicesOperations operations, string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, cors, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/SkusOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/SkusOperations.cs index 3b8b1529f90a..a5940349ed8c 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/SkusOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/SkusOperations.cs @@ -63,7 +63,7 @@ internal SkusOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -74,17 +74,7 @@ internal SkusOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } + // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -101,7 +91,7 @@ internal SkusOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -168,14 +158,13 @@ internal SkusOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -185,10 +174,184 @@ internal SkusOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Lists the available SKUs supported by Microsoft.Storage for given + /// subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + _httpRequest.Headers.Remove("accept-language"); } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -201,7 +364,7 @@ internal SkusOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; diff --git a/src/Storage/Storage.Management.Sdk/Generated/SkusOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/SkusOperationsExtensions.cs index 0afab167f6f5..692de508130b 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/SkusOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/SkusOperationsExtensions.cs @@ -19,7 +19,7 @@ public static partial class SkusOperationsExtensions /// /// The operations group for this extension method. /// - public static System.Collections.Generic.IEnumerable List(this ISkusOperations operations) + public static Microsoft.Rest.Azure.IPage List(this ISkusOperations operations) { return ((ISkusOperations)operations).ListAsync().GetAwaiter().GetResult(); } @@ -34,12 +34,47 @@ public static System.Collections.Generic.IEnumerable List(this I /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListAsync(this ISkusOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this ISkusOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } + /// + /// Lists the available SKUs supported by Microsoft.Storage for given + /// subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this ISkusOperations operations, string nextPageLink) + { + return ((ISkusOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists the available SKUs supported by Microsoft.Storage for given + /// subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this ISkusOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperations.cs index 2d48d14728ee..d4afc59d8a29 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperations.cs @@ -76,17 +76,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } + StorageAccountCheckNameAvailabilityParameters accountName = new StorageAccountCheckNameAvailabilityParameters(); if(name != null) { @@ -109,7 +99,7 @@ internal StorageAccountsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -182,14 +172,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -199,10 +188,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -253,49 +238,9 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Asynchronously creates a new storage account with the specified parameters. - /// If an account is already created and a subsequent create request is issued - /// with different properties, the account properties will be updated. If an - /// account is already created and a subsequent create or update request is - /// issued with the exact same set of properties, the request will succeed. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The parameters to provide for the created account. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginCreateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Deletes a storage account in Microsoft Azure. + /// Lists all the storage accounts available under the subscription. Note that + /// storage keys are not returned; use the ListKeys operation for this. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// /// /// Headers that will be added to request. /// @@ -305,6 +250,9 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -314,66 +262,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (resourceGroupName == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (accountName == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); - } - if (accountName != null) - { - if (accountName.Length > 24) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); - } - if (accountName.Length < 3) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); - } - } if (this.Client.ApiVersion == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } + // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -381,20 +281,16 @@ internal StorageAccountsOperations (StorageManagementClient client) { _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("accountName", accountName); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -408,7 +304,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -459,16 +355,15 @@ internal StorageAccountsOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 204) + if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -478,10 +373,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -494,7 +385,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -502,6 +393,24 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -514,23 +423,12 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Returns the properties for the specified storage account including but not - /// limited to name, SKU name, location, and account status. The ListKeys - /// operation should be used to retrieve storage keys. + /// Lists all the storage accounts available under the given resource group. + /// Note that storage keys are not returned; use the ListKeys operation for + /// this. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// May be used to expand the properties within account's properties. By - /// default, data is not included when fetching properties. Currently we only - /// support geoReplicationStats and blobRestoreStatus. + /// The name of the resource group. The name is case insensitive. /// /// /// Headers that will be added to request. @@ -553,12 +451,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetPropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountExpand? expand = default(StorageAccountExpand?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -573,47 +477,7 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (accountName == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); - } - if (accountName != null) - { - if (accountName.Length > 24) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); - } - if (accountName.Length < 3) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); - } - } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -622,30 +486,23 @@ internal StorageAccountsOperations (StorageManagementClient client) _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("accountName", accountName); - tracingParameters.Add("expand", expand); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetProperties", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (expand != null) - { - _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(expand, this.Client.SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -706,14 +563,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -723,10 +579,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -739,7 +591,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -753,7 +605,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -777,28 +629,22 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// The update operation can be used to update the SKU, encryption, access - /// tier, or tags for a storage account. It can also be used to map the account - /// to a custom domain. Only one custom domain is supported per storage - /// account; the replacement/change of custom domain is not supported. In order - /// to replace an old custom domain, the old value must be cleared/unregistered - /// before a new value can be set. The update of multiple properties is - /// supported. This call does not change the storage keys for the account. If - /// you want to change the storage account keys, use the regenerate keys - /// operation. The location and name of the storage account cannot be changed - /// after creation. + /// Returns the properties for the specified storage account including but not + /// limited to name, SKU name, location, and account status. The ListKeys + /// operation should be used to retrieve storage keys. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The parameters to provide for the updated account. + /// + /// May be used to expand the properties within account's properties. By + /// default, data is not included when fetching properties. Currently we only + /// support geoReplicationStats and blobRestoreStatus. /// /// /// Headers that will be added to request. @@ -821,16 +667,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetPropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountExpand? expand = default(StorageAccountExpand?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (parameters == null) + if (this.Client.ApiVersion == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -845,10 +693,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -869,22 +713,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -894,25 +723,29 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); + tracingParameters.Add("expand", expand); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetProperties", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (expand != null) + { + _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(expand, this.Client.SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -920,7 +753,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -949,12 +782,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -979,14 +806,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -996,10 +822,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1050,9 +872,59 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Lists all the storage accounts available under the subscription. Note that - /// storage keys are not returned; use the ListKeys operation for this. + /// Asynchronously creates a new storage account with the specified parameters. + /// If an account is already created and a subsequent create request is issued + /// with different properties, the account properties will be updated. If an + /// account is already created and a subsequent create or update request is + /// issued with the exact same set of properties, the request will succeed. /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The parameters to provide for the created account. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginCreateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// The update operation can be used to update the SKU, encryption, access + /// tier, or tags for a storage account. It can also be used to map the account + /// to a custom domain. Only one custom domain is supported per storage + /// account; the replacement/change of custom domain is not supported. In order + /// to replace an old custom domain, the old value must be cleared/unregistered + /// before a new value can be set. The update of multiple properties is + /// supported. This call does not change the storage keys for the account. If + /// you want to change the storage account keys, use the regenerate keys + /// operation. The location and name of the storage account cannot be changed + /// after creation. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The parameters to provide for the updated account. + /// /// /// Headers that will be added to request. /// @@ -1074,26 +946,54 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (parameters == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); + } if (this.Client.ApiVersion == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); } - if (this.Client.SubscriptionId != null) + if (accountName != null) { - if (this.Client.SubscriptionId.Length < 1) + if (accountName.Length > 24) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } // Tracing @@ -1103,16 +1003,21 @@ internal StorageAccountsOperations (StorageManagementClient client) { _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1126,7 +1031,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1155,6 +1060,12 @@ internal StorageAccountsOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -1179,14 +1090,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1196,10 +1106,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1212,7 +1118,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1226,7 +1132,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -1250,13 +1156,15 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Lists all the storage accounts available under the given resource group. - /// Note that storage keys are not returned; use the ListKeys operation for - /// this. + /// Deletes a storage account in Microsoft Azure. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. /// /// /// Headers that will be added to request. @@ -1267,9 +1175,6 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -1279,12 +1184,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1299,25 +1210,24 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - - if (this.Client.SubscriptionId == null) + if (accountName == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); } - if (this.Client.SubscriptionId != null) + if (accountName != null) { - if (this.Client.SubscriptionId.Length < 1) + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } // Tracing @@ -1328,17 +1238,19 @@ internal StorageAccountsOperations (StorageManagementClient client) _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1352,7 +1264,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1403,16 +1315,15 @@ internal StorageAccountsOperations (StorageManagementClient client) cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1422,10 +1333,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1438,7 +1345,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1446,24 +1353,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -1476,20 +1365,39 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Lists the access keys or Kerberos keys (if active directory enabled) for - /// the specified storage account. + /// Abort live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Specifies type of the key to be listed. Possible value is kerb. + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets the status of the ongoing migration for the specified storage account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. /// /// /// Headers that will be added to request. @@ -1512,12 +1420,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> ListKeysWithHttpMessagesAsync(string resourceGroupName, string accountName, ListKeyExpand? expand = default(ListKeyExpand?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + string migrationName = "default"; + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1532,10 +1446,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1556,22 +1466,6 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -1582,29 +1476,26 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("expand", expand); + tracingParameters.Add("migrationName", migrationName); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListKeys", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetCustomerInitiatedMigration", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{migrationName}", System.Uri.EscapeDataString(migrationName)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (expand != null) - { - _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(expand, this.Client.SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -1612,7 +1503,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -1665,14 +1556,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1682,10 +1572,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1698,7 +1584,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1712,7 +1598,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -1736,21 +1622,89 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Regenerates one of the access keys or Kerberos keys for the specified - /// storage account. + /// A failover request can be triggered for a storage account in the event a + /// primary endpoint becomes unavailable for any reason. The failover occurs + /// from the storage account's primary cluster to the secondary cluster for + /// RA-GRS accounts. The secondary cluster will become primary after failover + /// and the account is converted to LRS. In the case of a Planned Failover, the + /// primary and secondary clusters are swapped after failover and the account + /// remains geo-replicated. Failover should continue to be used in the event of + /// availability issues as Planned failover is only available while the primary + /// and secondary endpoints are available. The primary use case of a Planned + /// Failover is disaster recovery testing drills. This type of failover is + /// invoked by setting FailoverType parameter to 'Planned'. Learn more about + /// the failover options here- + /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The parameter is set to 'Planned' to indicate whether a Planned failover is + /// requested. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> FailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Live Migration of storage account to enable Hns + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Required. Hierarchical namespace migration type can either be a + /// hierarchical namespace validation request 'HnsOnValidationRequest' or a + /// hydration request 'HnsOnHydrationRequest'. The validation request will + /// validate the migration whereas the hydration request will migrate the + /// account. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> HierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// List SAS credentials of a storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The name of storage keys that want to be regenerated, possible values are - /// key1, key2, kerb1, kerb2. + /// + /// The parameters to provide to list SAS credentials for the storage account. /// /// /// Headers that will be added to request. @@ -1773,12 +1727,26 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ListAccountSASWithHttpMessagesAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (parameters == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1793,10 +1761,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1817,27 +1781,6 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - StorageAccountRegenerateKeyParameters regenerateKey = new StorageAccountRegenerateKeyParameters(); - if(keyName != null) - { - regenerateKey.KeyName = keyName; - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1848,18 +1791,18 @@ internal StorageAccountsOperations (StorageManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("regenerateKey", regenerateKey); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "RegenerateKey", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListAccountSAS", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listAccountSas").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -1902,9 +1845,9 @@ internal StorageAccountsOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(regenerateKey != null) + if(parameters != null) { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(regenerateKey, this.Client.SerializationSettings); + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } @@ -1932,14 +1875,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1949,10 +1891,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -1965,7 +1903,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -1979,7 +1917,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -2003,19 +1941,19 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// List SAS credentials of a storage account. + /// Lists the access keys or Kerberos keys (if active directory enabled) for + /// the specified storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The parameters to provide to list SAS credentials for the storage account. + /// + /// Specifies type of the key to be listed. Possible value is kerb. /// /// /// Headers that will be added to request. @@ -2038,20 +1976,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> ListAccountSASWithHttpMessagesAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ListKeysWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum70? expand = default(Enum70?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (parameters == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2066,10 +2002,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2090,22 +2022,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2115,25 +2032,29 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); + tracingParameters.Add("expand", expand); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListAccountSAS", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListKeys", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (expand != null) + { + _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(expand, this.Client.SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -2170,12 +2091,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (this.Client.Credentials != null) { @@ -2200,14 +2115,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2217,10 +2131,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -2233,7 +2143,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2247,7 +2157,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -2274,8 +2184,7 @@ internal StorageAccountsOperations (StorageManagementClient client) /// List service SAS credentials of a specific resource. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2320,6 +2229,12 @@ internal StorageAccountsOperations (StorageManagementClient client) { parameters.Validate(); } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2334,10 +2249,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2358,22 +2269,6 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2392,10 +2287,10 @@ internal StorageAccountsOperations (StorageManagementClient client) // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listServiceSas").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -2468,14 +2363,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2485,10 +2379,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -2531,156 +2421,29 @@ internal StorageAccountsOperations (StorageManagementClient client) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); } - return _result; - - - - - - } - /// - /// A failover request can be triggered for a storage account in the event a - /// primary endpoint becomes unavailable for any reason. The failover occurs - /// from the storage account's primary cluster to the secondary cluster for - /// RA-GRS accounts. The secondary cluster will become primary after failover - /// and the account is converted to LRS. In the case of a Planned Failover, the - /// primary and secondary clusters are swapped after failover and the account - /// remains geo-replicated. Failover should continue to be used in the event of - /// availability issues as Planned failover is only available while the primary - /// and secondary endpoints are available. The primary use case of a Planned - /// Failover is disaster recovery testing drills. This type of failover is - /// invoked by setting FailoverType parameter to 'Planned'. Learn more about - /// the failover options here- - /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The parameter is set to 'Planned' to indicate whether a Planned failover is - /// requested. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task FailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Live Migration of storage account to enable Hns - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// Required. Hierarchical namespace migration type can either be a - /// hierarchical namespace validation request 'HnsOnValidationRequest' or a - /// hydration request 'HnsOnHydrationRequest'. The validation request will - /// validate the migration whereas the hydration request will migrate the - /// account. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task HierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Abort live Migration of storage account to enable Hns - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The request parameters required to perform storage account migration. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async System.Threading.Tasks.Task> CustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // Send Request - Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } + return _result; + + + + + } /// - /// Gets the status of the ongoing migration for the specified storage account. + /// Regenerates one of the access keys or Kerberos keys for the specified + /// storage account. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// The name of storage keys that want to be regenerated, possible values are + /// key1, key2, kerb1, kerb2. + /// /// /// Headers that will be added to request. /// @@ -2702,12 +2465,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> GetCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - string migrationName = "default"; + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2722,10 +2491,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2746,22 +2511,10 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + StorageAccountRegenerateKeyParameters regenerateKey = new StorageAccountRegenerateKeyParameters(); + if(keyName != null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + regenerateKey.KeyName = keyName; } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; @@ -2772,20 +2525,19 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("migrationName", migrationName); + tracingParameters.Add("regenerateKey", regenerateKey); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetCustomerInitiatedMigration", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "RegenerateKey", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{migrationName}", System.Uri.EscapeDataString(migrationName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -2799,7 +2551,7 @@ internal StorageAccountsOperations (StorageManagementClient client) // Create HTTP transport objects var _httpRequest = new System.Net.Http.HttpRequestMessage(); System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) @@ -2828,6 +2580,12 @@ internal StorageAccountsOperations (StorageManagementClient client) } // Serialize Request string _requestContent = null; + if(regenerateKey != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(regenerateKey, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (this.Client.Credentials != null) { @@ -2852,11 +2610,11 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new ErrorResponseAutoGeneratedException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponseAutoGenerated _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -2880,7 +2638,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -2894,7 +2652,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -2921,8 +2679,7 @@ internal StorageAccountsOperations (StorageManagementClient client) /// Restore blobs in the specified blob ranges /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2941,10 +2698,10 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// The cancellation token. /// - public async System.Threading.Tasks.Task> RestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // Send Request - Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginRestoreBlobRangesWithHttpMessagesAsync(resourceGroupName, accountName, timeToRestore, blobRanges, customHeaders, cancellationToken).ConfigureAwait(false); + Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginRestoreBlobRangesWithHttpMessagesAsync(resourceGroupName, accountName, timeToRestore, blobRanges, customHeaders, cancellationToken).ConfigureAwait(false); return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -2952,8 +2709,7 @@ internal StorageAccountsOperations (StorageManagementClient client) /// Revoke user delegation keys. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -2984,6 +2740,12 @@ internal StorageAccountsOperations (StorageManagementClient client) + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2998,10 +2760,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3017,21 +2775,9 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); } - } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } // Tracing @@ -3052,9 +2798,9 @@ internal StorageAccountsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -3121,14 +2867,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3138,10 +2883,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3173,6 +2914,38 @@ internal StorageAccountsOperations (StorageManagementClient client) } + /// + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Target sku name for the account + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> CustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string targetSkuName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, targetSkuName, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Asynchronously creates a new storage account with the specified parameters. /// If an account is already created and a subsequent create request is issued @@ -3181,8 +2954,7 @@ internal StorageAccountsOperations (StorageManagementClient client) /// issued with the exact same set of properties, the request will succeed. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -3213,7 +2985,7 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -3227,6 +2999,12 @@ internal StorageAccountsOperations (StorageManagementClient client) { parameters.Validate(); } + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3241,10 +3019,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3265,22 +3039,6 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3300,9 +3058,9 @@ internal StorageAccountsOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -3375,14 +3133,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3392,10 +3149,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3408,7 +3161,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -3434,6 +3187,19 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -3446,33 +3212,16 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// A failover request can be triggered for a storage account in the event a - /// primary endpoint becomes unavailable for any reason. The failover occurs - /// from the storage account's primary cluster to the secondary cluster for - /// RA-GRS accounts. The secondary cluster will become primary after failover - /// and the account is converted to LRS. In the case of a Planned Failover, the - /// primary and secondary clusters are swapped after failover and the account - /// remains geo-replicated. Failover should continue to be used in the event of - /// availability issues as Planned failover is only available while the primary - /// and secondary endpoints are available. The primary use case of a Planned - /// Failover is disaster recovery testing drills. This type of failover is - /// invoked by setting FailoverType parameter to 'Planned'. Learn more about - /// the failover options here- - /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance + /// Abort live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The parameter is set to 'Planned' to indicate whether a Planned failover is - /// requested. - /// /// /// Headers that will be added to request. /// @@ -3491,12 +3240,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3511,10 +3266,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3535,23 +3286,6 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3561,29 +3295,24 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("failoverType", failoverType); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginFailover", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginAbortHierarchicalNamespaceMigration", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (failoverType != null) - { - _queryParameters.Add(string.Format("failoverType={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(failoverType, this.Client.SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -3644,14 +3373,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -3661,10 +3389,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -3677,7 +3401,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -3685,6 +3409,19 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -3697,23 +3434,31 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Live Migration of storage account to enable Hns + /// A failover request can be triggered for a storage account in the event a + /// primary endpoint becomes unavailable for any reason. The failover occurs + /// from the storage account's primary cluster to the secondary cluster for + /// RA-GRS accounts. The secondary cluster will become primary after failover + /// and the account is converted to LRS. In the case of a Planned Failover, the + /// primary and secondary clusters are swapped after failover and the account + /// remains geo-replicated. Failover should continue to be used in the event of + /// availability issues as Planned failover is only available while the primary + /// and secondary endpoints are available. The primary use case of a Planned + /// Failover is disaster recovery testing drills. This type of failover is + /// invoked by setting FailoverType parameter to 'Planned'. Learn more about + /// the failover options here- + /// https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Required. Hierarchical namespace migration type can either be a - /// hierarchical namespace validation request 'HnsOnValidationRequest' or a - /// hydration request 'HnsOnHydrationRequest'. The validation request will - /// validate the migration whereas the hydration request will migrate the - /// account. + /// + /// The parameter is set to 'Planned' to indicate whether a Planned failover is + /// requested. /// /// /// Headers that will be added to request. @@ -3733,12 +3478,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3753,10 +3504,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3768,34 +3515,14 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); } - if (accountName.Length < 3) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); - } - } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) + if (accountName.Length < 3) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } - } - if (requestType == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "requestType"); } // Tracing @@ -3807,28 +3534,28 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); - tracingParameters.Add("requestType", requestType); + tracingParameters.Add("failoverType", failoverType); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginHierarchicalNamespaceMigration", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginFailover", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } - if (requestType != null) + if (failoverType != null) { - _queryParameters.Add(string.Format("requestType={0}", System.Uri.EscapeDataString(requestType))); + _queryParameters.Add(string.Format("failoverType={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(failoverType, this.Client.SerializationSettings).Trim('"')))); } if (_queryParameters.Count > 0) { @@ -3918,7 +3645,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -3926,6 +3653,19 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -3938,17 +3678,23 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Abort live Migration of storage account to enable Hns + /// Live Migration of storage account to enable Hns /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// Required. Hierarchical namespace migration type can either be a + /// hierarchical namespace validation request 'HnsOnValidationRequest' or a + /// hydration request 'HnsOnHydrationRequest'. The validation request will + /// validate the migration whereas the hydration request will migrate the + /// account. + /// /// /// Headers that will be added to request. /// @@ -3967,12 +3713,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string requestType, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -3987,10 +3739,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4011,22 +3759,11 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) + if (requestType == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "requestType"); } - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4036,24 +3773,29 @@ internal StorageAccountsOperations (StorageManagementClient client) System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("accountName", accountName); + tracingParameters.Add("requestType", requestType); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginAbortHierarchicalNamespaceMigration", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginHierarchicalNamespaceMigration", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); } + if (requestType != null) + { + _queryParameters.Add(string.Format("requestType={0}", System.Uri.EscapeDataString(requestType))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -4142,7 +3884,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -4150,6 +3892,19 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); @@ -4162,24 +3917,21 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. + /// Restore blobs in the specified blob ranges /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// The request parameters required to perform storage account migration. + /// + /// Restore blob to the specified time. + /// + /// + /// Blob ranges to restore. /// /// /// Headers that will be added to request. @@ -4190,6 +3942,9 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -4199,20 +3954,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> BeginCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginRestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (parameters == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (this.Client.ApiVersion == null) { - parameters.Validate(); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -4227,10 +3980,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4251,22 +4000,12 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) + BlobRestoreParameters parameters = new BlobRestoreParameters(); + if(blobRanges != null) { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } + parameters.BlobRanges = blobRanges; } + parameters.TimeToRestore = timeToRestore; // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4280,15 +4019,15 @@ internal StorageAccountsOperations (StorageManagementClient client) tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginCustomerInitiatedMigration", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginRestoreBlobRanges", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -4361,11 +4100,11 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorResponseAutoGeneratedException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponseAutoGenerated _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -4389,7 +4128,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -4397,9 +4136,45 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } try { - _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); } catch (Newtonsoft.Json.JsonException ex) { @@ -4422,22 +4197,23 @@ internal StorageAccountsOperations (StorageManagementClient client) } /// - /// Restore blobs in the specified blob ranges + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Restore blob to the specified time. - /// - /// - /// Blob ranges to restore. + /// + /// Target sku name for the account /// /// /// Headers that will be added to request. @@ -4448,9 +4224,6 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -4460,12 +4233,18 @@ internal StorageAccountsOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task> BeginRestoreBlobRangesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BeginCustomerInitiatedMigrationWithHttpMessagesAsync(string resourceGroupName, string accountName, string targetSkuName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + if (resourceGroupName == null) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); @@ -4480,10 +4259,6 @@ internal StorageAccountsOperations (StorageManagementClient client) { throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4504,28 +4279,11 @@ internal StorageAccountsOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); } } - if (this.Client.ApiVersion == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - - if (this.Client.SubscriptionId == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (this.Client.SubscriptionId != null) - { - if (this.Client.SubscriptionId.Length < 1) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - BlobRestoreParameters parameters = new BlobRestoreParameters(); - if(blobRanges != null) + StorageAccountMigration parameters = new StorageAccountMigration(); + if(targetSkuName != null) { - parameters.BlobRanges = blobRanges; + parameters.TargetSkuName = targetSkuName; } - parameters.TimeToRestore = timeToRestore; // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4539,15 +4297,15 @@ internal StorageAccountsOperations (StorageManagementClient client) tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginRestoreBlobRanges", tracingParameters); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginCustomerInitiatedMigration", tracingParameters); } // Construct URL var _baseUrl = this.Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); if (this.Client.ApiVersion != null) @@ -4620,14 +4378,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -4637,10 +4394,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -4653,7 +4406,7 @@ internal StorageAccountsOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; @@ -4661,41 +4414,18 @@ internal StorageAccountsOperations (StorageManagementClient client) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) + try { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); - } + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); } - // Deserialize Response - if ((int)_statusCode == 202) + catch (Newtonsoft.Json.JsonException ex) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); - } - catch (Newtonsoft.Json.JsonException ex) + _httpRequest.Dispose(); + if (_httpResponse != null) { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + _httpResponse.Dispose(); } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); } if (_shouldTrace) { @@ -4821,14 +4551,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -4838,10 +4567,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -4868,7 +4593,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { @@ -5005,14 +4730,13 @@ internal StorageAccountsOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -5022,10 +4746,6 @@ internal StorageAccountsOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -5052,7 +4772,7 @@ internal StorageAccountsOperations (StorageManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); } catch (Newtonsoft.Json.JsonException ex) { diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperationsExtensions.cs index 6a3c5c2873d3..17563735a38e 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageAccountsOperationsExtensions.cs @@ -40,99 +40,70 @@ public static CheckNameAvailabilityResult CheckNameAvailability(this IStorageAcc } } /// - /// Asynchronously creates a new storage account with the specified parameters. - /// If an account is already created and a subsequent create request is issued - /// with different properties, the account properties will be updated. If an - /// account is already created and a subsequent create or update request is - /// issued with the exact same set of properties, the request will succeed. + /// Lists all the storage accounts available under the subscription. Note that + /// storage keys are not returned; use the ListKeys operation for this. /// /// /// The operations group for this extension method. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - public static StorageAccount Create(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountCreateParameters parameters) + public static Microsoft.Rest.Azure.IPage List(this IStorageAccountsOperations operations) { - return ((IStorageAccountsOperations)operations).CreateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).ListAsync().GetAwaiter().GetResult(); } /// - /// Asynchronously creates a new storage account with the specified parameters. - /// If an account is already created and a subsequent create request is issued - /// with different properties, the account properties will be updated. If an - /// account is already created and a subsequent create or update request is - /// issued with the exact same set of properties, the request will succeed. + /// Lists all the storage accounts available under the subscription. Note that + /// storage keys are not returned; use the ListKeys operation for this. /// /// /// The operations group for this extension method. /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task CreateAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListAsync(this IStorageAccountsOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Deletes a storage account in Microsoft Azure. + /// Lists all the storage accounts available under the given resource group. + /// Note that storage keys are not returned; use the ListKeys operation for + /// this. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// - /// - /// 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. - /// - public static void Delete(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) + public static Microsoft.Rest.Azure.IPage ListByResourceGroup(this IStorageAccountsOperations operations, string resourceGroupName) { - ((IStorageAccountsOperations)operations).DeleteAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult(); } /// - /// Deletes a storage account in Microsoft Azure. + /// Lists all the storage accounts available under the given resource group. + /// Note that storage keys are not returned; use the ListKeys operation for + /// this. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. + /// The name of the resource group. The name is case insensitive. /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task DeleteAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListByResourceGroupAsync(this IStorageAccountsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// /// Returns the properties for the specified storage account including but not @@ -143,8 +114,7 @@ public static void Delete(this IStorageAccountsOperations operations, string res /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -170,8 +140,7 @@ public static void Delete(this IStorageAccountsOperations operations, string res /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -194,52 +163,40 @@ public static void Delete(this IStorageAccountsOperations operations, string res } } /// - /// The update operation can be used to update the SKU, encryption, access - /// tier, or tags for a storage account. It can also be used to map the account - /// to a custom domain. Only one custom domain is supported per storage - /// account; the replacement/change of custom domain is not supported. In order - /// to replace an old custom domain, the old value must be cleared/unregistered - /// before a new value can be set. The update of multiple properties is - /// supported. This call does not change the storage keys for the account. If - /// you want to change the storage account keys, use the regenerate keys - /// operation. The location and name of the storage account cannot be changed - /// after creation. + /// Asynchronously creates a new storage account with the specified parameters. + /// If an account is already created and a subsequent create request is issued + /// with different properties, the account properties will be updated. If an + /// account is already created and a subsequent create or update request is + /// issued with the exact same set of properties, the request will succeed. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static StorageAccount Update(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters) + public static StorageAccount Create(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountCreateParameters parameters) { - return ((IStorageAccountsOperations)operations).UpdateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).CreateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// The update operation can be used to update the SKU, encryption, access - /// tier, or tags for a storage account. It can also be used to map the account - /// to a custom domain. Only one custom domain is supported per storage - /// account; the replacement/change of custom domain is not supported. In order - /// to replace an old custom domain, the old value must be cleared/unregistered - /// before a new value can be set. The update of multiple properties is - /// supported. This call does not change the storage keys for the account. If - /// you want to change the storage account keys, use the regenerate keys - /// operation. The location and name of the storage account cannot be changed - /// after creation. + /// Asynchronously creates a new storage account with the specified parameters. + /// If an account is already created and a subsequent create request is issued + /// with different properties, the account properties will be updated. If an + /// account is already created and a subsequent create or update request is + /// issued with the exact same set of properties, the request will succeed. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -249,165 +206,101 @@ public static StorageAccount Update(this IStorageAccountsOperations operations, /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task UpdateAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// - /// Lists all the storage accounts available under the subscription. Note that - /// storage keys are not returned; use the ListKeys operation for this. - /// - /// - /// The operations group for this extension method. - /// - public static Microsoft.Rest.Azure.IPage List(this IStorageAccountsOperations operations) - { - return ((IStorageAccountsOperations)operations).ListAsync().GetAwaiter().GetResult(); - } - - /// - /// Lists all the storage accounts available under the subscription. Note that - /// storage keys are not returned; use the ListKeys operation for this. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async System.Threading.Tasks.Task> ListAsync(this IStorageAccountsOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// - /// Lists all the storage accounts available under the given resource group. - /// Note that storage keys are not returned; use the ListKeys operation for - /// this. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - public static Microsoft.Rest.Azure.IPage ListByResourceGroup(this IStorageAccountsOperations operations, string resourceGroupName) - { - return ((IStorageAccountsOperations)operations).ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult(); - } - - /// - /// Lists all the storage accounts available under the given resource group. - /// Note that storage keys are not returned; use the ListKeys operation for - /// this. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// The cancellation token. - /// - public static async System.Threading.Tasks.Task> ListByResourceGroupAsync(this IStorageAccountsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task CreateAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Lists the access keys or Kerberos keys (if active directory enabled) for - /// the specified storage account. + /// The update operation can be used to update the SKU, encryption, access + /// tier, or tags for a storage account. It can also be used to map the account + /// to a custom domain. Only one custom domain is supported per storage + /// account; the replacement/change of custom domain is not supported. In order + /// to replace an old custom domain, the old value must be cleared/unregistered + /// before a new value can be set. The update of multiple properties is + /// supported. This call does not change the storage keys for the account. If + /// you want to change the storage account keys, use the regenerate keys + /// operation. The location and name of the storage account cannot be changed + /// after creation. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Specifies type of the key to be listed. Possible value is kerb. - /// - public static StorageAccountListKeysResult ListKeys(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ListKeyExpand? expand = default(ListKeyExpand?)) + public static StorageAccount Update(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters) { - return ((IStorageAccountsOperations)operations).ListKeysAsync(resourceGroupName, accountName, expand).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).UpdateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// Lists the access keys or Kerberos keys (if active directory enabled) for - /// the specified storage account. + /// The update operation can be used to update the SKU, encryption, access + /// tier, or tags for a storage account. It can also be used to map the account + /// to a custom domain. Only one custom domain is supported per storage + /// account; the replacement/change of custom domain is not supported. In order + /// to replace an old custom domain, the old value must be cleared/unregistered + /// before a new value can be set. The update of multiple properties is + /// supported. This call does not change the storage keys for the account. If + /// you want to change the storage account keys, use the regenerate keys + /// operation. The location and name of the storage account cannot be changed + /// after creation. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - /// - /// Specifies type of the key to be listed. Possible value is kerb. - /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ListKeysAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ListKeyExpand? expand = default(ListKeyExpand?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task UpdateAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListKeysWithHttpMessagesAsync(resourceGroupName, accountName, expand, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Regenerates one of the access keys or Kerberos keys for the specified - /// storage account. + /// Deletes a storage account in Microsoft Azure. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static StorageAccountListKeysResult RegenerateKey(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string keyName) + public static void Delete(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) { - return ((IStorageAccountsOperations)operations).RegenerateKeyAsync(resourceGroupName, accountName, keyName).GetAwaiter().GetResult(); + ((IStorageAccountsOperations)operations).DeleteAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// - /// Regenerates one of the access keys or Kerberos keys for the specified - /// storage account. + /// Deletes a storage account in Microsoft Azure. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -417,42 +310,37 @@ public static StorageAccountListKeysResult RegenerateKey(this IStorageAccountsOp /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task RegenerateKeyAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string keyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task DeleteAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.RegenerateKeyWithHttpMessagesAsync(resourceGroupName, accountName, keyName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// List SAS credentials of a storage account. + /// Abort live Migration of storage account to enable Hns /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static ListAccountSasResponse ListAccountSAS(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, AccountSasParameters parameters) + public static StorageAccountsAbortHierarchicalNamespaceMigrationHeaders AbortHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) { - return ((IStorageAccountsOperations)operations).ListAccountSASAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).AbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// - /// List SAS credentials of a storage account. + /// Abort live Migration of storage account to enable Hns /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -462,42 +350,40 @@ public static ListAccountSasResponse ListAccountSAS(this IStorageAccountsOperati /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ListAccountSASAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, AccountSasParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task AbortHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListAccountSASWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { - return _result.Body; + return _result.Headers; } } /// - /// List service SAS credentials of a specific resource. + /// Gets the status of the ongoing migration for the specified storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ServiceSasParameters parameters) + public static StorageAccountMigration GetCustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) { - return ((IStorageAccountsOperations)operations).ListServiceSASAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).GetCustomerInitiatedMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); } /// - /// List service SAS credentials of a specific resource. + /// Gets the status of the ongoing migration for the specified storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -507,9 +393,9 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task ListServiceSASAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ServiceSasParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task GetCustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.ListServiceSASWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -533,8 +419,7 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -545,9 +430,9 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// The parameter is set to 'Planned' to indicate whether a Planned failover is /// requested. /// - public static void Failover(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?)) + public static StorageAccountsFailoverHeaders Failover(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?)) { - ((IStorageAccountsOperations)operations).FailoverAsync(resourceGroupName, accountName, failoverType).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).FailoverAsync(resourceGroupName, accountName, failoverType).GetAwaiter().GetResult(); } /// @@ -569,8 +454,7 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -584,9 +468,12 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task FailoverAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task FailoverAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.FailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// /// Live Migration of storage account to enable Hns @@ -595,8 +482,7 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -610,9 +496,9 @@ public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperati /// validate the migration whereas the hydration request will migrate the /// account. /// - public static void HierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType) + public static StorageAccountsHierarchicalNamespaceMigrationHeaders HierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType) { - ((IStorageAccountsOperations)operations).HierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).HierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).GetAwaiter().GetResult(); } /// @@ -622,8 +508,7 @@ public static void HierarchicalNamespaceMigration(this IStorageAccountsOperation /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -640,39 +525,40 @@ public static void HierarchicalNamespaceMigration(this IStorageAccountsOperation /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task HierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task HierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.HierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.HierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// - /// Abort live Migration of storage account to enable Hns + /// List SAS credentials of a storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static void AbortHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) + public static ListAccountSasResponse ListAccountSAS(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, AccountSasParameters parameters) { - ((IStorageAccountsOperations)operations).AbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).ListAccountSASAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// Abort live Migration of storage account to enable Hns + /// List SAS credentials of a storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -682,94 +568,91 @@ public static void AbortHierarchicalNamespaceMigration(this IStorageAccountsOper /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task AbortHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ListAccountSASAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, AccountSasParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.AbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.ListAccountSASWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. + /// Lists the access keys or Kerberos keys (if active directory enabled) for + /// the specified storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static StorageAccountsCustomerInitiatedMigrationHeaders CustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountMigration parameters) + /// + /// Specifies type of the key to be listed. Possible value is kerb. + /// + public static StorageAccountListKeysResult ListKeys(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum70? expand = default(Enum70?)) { - return ((IStorageAccountsOperations)operations).CustomerInitiatedMigrationAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).ListKeysAsync(resourceGroupName, accountName, expand).GetAwaiter().GetResult(); } /// - /// Account Migration request can be triggered for a storage account to change - /// its redundancy level. The migration updates the non-zonal redundant storage - /// account to a zonal redundant account or vice-versa in order to have better - /// reliability and availability. Zone-redundant storage (ZRS) replicates your - /// storage account synchronously across three Azure availability zones in the - /// primary region. + /// Lists the access keys or Kerberos keys (if active directory enabled) for + /// the specified storage account. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// + /// + /// Specifies type of the key to be listed. Possible value is kerb. + /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task CustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ListKeysAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum70? expand = default(Enum70?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.CustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListKeysWithHttpMessagesAsync(resourceGroupName, accountName, expand, null, cancellationToken).ConfigureAwait(false)) { - return _result.Headers; + return _result.Body; } } /// - /// Gets the status of the ongoing migration for the specified storage account. + /// List service SAS credentials of a specific resource. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static StorageAccountMigration GetCustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) + public static ListServiceSasResponse ListServiceSAS(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ServiceSasParameters parameters) { - return ((IStorageAccountsOperations)operations).GetCustomerInitiatedMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).ListServiceSASAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); } /// - /// Gets the status of the ongoing migration for the specified storage account. + /// List service SAS credentials of a specific resource. /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -779,9 +662,54 @@ public static StorageAccountMigration GetCustomerInitiatedMigration(this IStorag /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task GetCustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task ListServiceSASAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, ServiceSasParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.GetCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListServiceSASWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Regenerates one of the access keys or Kerberos keys for the specified + /// storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static StorageAccountListKeysResult RegenerateKey(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string keyName) + { + return ((IStorageAccountsOperations)operations).RegenerateKeyAsync(resourceGroupName, accountName, keyName).GetAwaiter().GetResult(); + } + + /// + /// Regenerates one of the access keys or Kerberos keys for the specified + /// storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task RegenerateKeyAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string keyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.RegenerateKeyWithHttpMessagesAsync(resourceGroupName, accountName, keyName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -793,8 +721,7 @@ public static StorageAccountMigration GetCustomerInitiatedMigration(this IStorag /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -813,8 +740,7 @@ public static BlobRestoreStatus RestoreBlobRanges(this IStorageAccountsOperation /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -838,8 +764,7 @@ public static BlobRestoreStatus RestoreBlobRanges(this IStorageAccountsOperation /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -858,8 +783,7 @@ public static void RevokeUserDelegationKeys(this IStorageAccountsOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -874,6 +798,59 @@ public static void RevokeUserDelegationKeys(this IStorageAccountsOperations oper (await operations.RevokeUserDelegationKeysWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static StorageAccountsCustomerInitiatedMigrationHeaders CustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string targetSkuName) + { + return ((IStorageAccountsOperations)operations).CustomerInitiatedMigrationAsync(resourceGroupName, accountName, targetSkuName).GetAwaiter().GetResult(); + } + + /// + /// Account Migration request can be triggered for a storage account to change + /// its redundancy level. The migration updates the non-zonal redundant storage + /// account to a zonal redundant account or vice-versa in order to have better + /// reliability and availability. Zone-redundant storage (ZRS) replicates your + /// storage account synchronously across three Azure availability zones in the + /// primary region. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task CustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string targetSkuName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.CustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, targetSkuName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Asynchronously creates a new storage account with the specified parameters. /// If an account is already created and a subsequent create request is issued /// with different properties, the account properties will be updated. If an @@ -884,8 +861,7 @@ public static void RevokeUserDelegationKeys(this IStorageAccountsOperations oper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -908,8 +884,7 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -927,6 +902,49 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati } } /// + /// Abort live Migration of storage account to enable Hns + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static StorageAccountsAbortHierarchicalNamespaceMigrationHeaders BeginAbortHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) + { + return ((IStorageAccountsOperations)operations).BeginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Abort live Migration of storage account to enable Hns + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task BeginAbortHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// A failover request can be triggered for a storage account in the event a /// primary endpoint becomes unavailable for any reason. The failover occurs /// from the storage account's primary cluster to the secondary cluster for @@ -945,8 +963,7 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -957,9 +974,9 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// The parameter is set to 'Planned' to indicate whether a Planned failover is /// requested. /// - public static void BeginFailover(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?)) + public static StorageAccountsFailoverHeaders BeginFailover(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?)) { - ((IStorageAccountsOperations)operations).BeginFailoverAsync(resourceGroupName, accountName, failoverType).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).BeginFailoverAsync(resourceGroupName, accountName, failoverType).GetAwaiter().GetResult(); } /// @@ -981,8 +998,7 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -996,9 +1012,12 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task BeginFailoverAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, FailoverType? failoverType = default(FailoverType?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task BeginFailoverAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, Enum56? failoverType = default(Enum56?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, accountName, failoverType, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// /// Live Migration of storage account to enable Hns @@ -1007,8 +1026,7 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1022,9 +1040,9 @@ public static StorageAccount BeginCreate(this IStorageAccountsOperations operati /// validate the migration whereas the hydration request will migrate the /// account. /// - public static void BeginHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType) + public static StorageAccountsHierarchicalNamespaceMigrationHeaders BeginHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType) { - ((IStorageAccountsOperations)operations).BeginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).BeginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).GetAwaiter().GetResult(); } /// @@ -1034,8 +1052,7 @@ public static void BeginHierarchicalNamespaceMigration(this IStorageAccountsOper /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1052,39 +1069,40 @@ public static void BeginHierarchicalNamespaceMigration(this IStorageAccountsOper /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task BeginHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task BeginHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string requestType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, requestType, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// - /// Abort live Migration of storage account to enable Hns + /// Restore blobs in the specified blob ranges /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static void BeginAbortHierarchicalNamespaceMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName) + public static BlobRestoreStatus BeginRestoreBlobRanges(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges) { - ((IStorageAccountsOperations)operations).BeginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).BeginRestoreBlobRangesAsync(resourceGroupName, accountName, timeToRestore, blobRanges).GetAwaiter().GetResult(); } /// - /// Abort live Migration of storage account to enable Hns + /// Restore blobs in the specified blob ranges /// /// /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1094,9 +1112,12 @@ public static void BeginAbortHierarchicalNamespaceMigration(this IStorageAccount /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task BeginAbortHierarchicalNamespaceMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task BeginRestoreBlobRangesAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - (await operations.BeginAbortHierarchicalNamespaceMigrationWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginRestoreBlobRangesWithHttpMessagesAsync(resourceGroupName, accountName, timeToRestore, blobRanges, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// /// Account Migration request can be triggered for a storage account to change @@ -1110,17 +1131,16 @@ public static void BeginAbortHierarchicalNamespaceMigration(this IStorageAccount /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// 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. /// - public static StorageAccountsCustomerInitiatedMigrationHeaders BeginCustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountMigration parameters) + public static StorageAccountsCustomerInitiatedMigrationHeaders BeginCustomerInitiatedMigration(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string targetSkuName) { - return ((IStorageAccountsOperations)operations).BeginCustomerInitiatedMigrationAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult(); + return ((IStorageAccountsOperations)operations).BeginCustomerInitiatedMigrationAsync(resourceGroupName, accountName, targetSkuName).GetAwaiter().GetResult(); } /// @@ -1135,8 +1155,7 @@ public static StorageAccountsCustomerInitiatedMigrationHeaders BeginCustomerInit /// The operations group for this extension method. /// /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. + /// The name of the resource group. The name is case insensitive. /// /// /// The name of the storage account within the specified resource group. @@ -1146,59 +1165,14 @@ public static StorageAccountsCustomerInitiatedMigrationHeaders BeginCustomerInit /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task BeginCustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, StorageAccountMigration parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task BeginCustomerInitiatedMigrationAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, string targetSkuName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - using (var _result = await operations.BeginCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.BeginCustomerInitiatedMigrationWithHttpMessagesAsync(resourceGroupName, accountName, targetSkuName, null, cancellationToken).ConfigureAwait(false)) { return _result.Headers; } } /// - /// Restore blobs in the specified blob ranges - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - public static BlobRestoreStatus BeginRestoreBlobRanges(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges) - { - return ((IStorageAccountsOperations)operations).BeginRestoreBlobRangesAsync(resourceGroupName, accountName, timeToRestore, blobRanges).GetAwaiter().GetResult(); - } - - /// - /// Restore blobs in the specified blob ranges - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group within the user's subscription. The name is - /// case insensitive. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async System.Threading.Tasks.Task BeginRestoreBlobRangesAsync(this IStorageAccountsOperations operations, string resourceGroupName, string accountName, System.DateTime timeToRestore, System.Collections.Generic.IList blobRanges, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - using (var _result = await operations.BeginRestoreBlobRangesWithHttpMessagesAsync(resourceGroupName, accountName, timeToRestore, blobRanges, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Lists all the storage accounts available under the subscription. Note that /// storage keys are not returned; use the ListKeys operation for this. /// diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageManagementClient.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageManagementClient.cs index 130b38aba23a..05e16c2f195c 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/StorageManagementClient.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageManagementClient.cs @@ -38,9 +38,9 @@ public partial class StorageManagementClient : Microsoft.Rest.ServiceClient - /// The ID of the target subscription. + /// The ID of the target subscription. The value must be an UUID. /// - public string SubscriptionId { get; set;} + public System.Guid SubscriptionId { get; set;} /// /// The preferred language for the response. @@ -65,10 +65,6 @@ public partial class StorageManagementClient : Microsoft.Rest.ServiceClient public virtual IOperations Operations { get; private set; } /// - /// Gets the ISkusOperations - /// - public virtual ISkusOperations Skus { get; private set; } - /// /// Gets the IStorageAccountsOperations /// public virtual IStorageAccountsOperations StorageAccounts { get; private set; } @@ -81,14 +77,50 @@ public partial class StorageManagementClient : Microsoft.Rest.ServiceClient public virtual IUsagesOperations Usages { get; private set; } /// - /// Gets the IManagementPoliciesOperations + /// Gets the ISkusOperations /// - public virtual IManagementPoliciesOperations ManagementPolicies { get; private set; } + public virtual ISkusOperations Skus { get; private set; } + /// + /// Gets the IBlobServicesOperations + /// + public virtual IBlobServicesOperations BlobServices { get; private set; } + /// + /// Gets the IBlobContainersOperations + /// + public virtual IBlobContainersOperations BlobContainers { get; private set; } + /// + /// Gets the IEncryptionScopesOperations + /// + public virtual IEncryptionScopesOperations EncryptionScopes { get; private set; } + /// + /// Gets the IFileServicesOperations + /// + public virtual IFileServicesOperations FileServices { get; private set; } + /// + /// Gets the IFileSharesOperations + /// + public virtual IFileSharesOperations FileShares { get; private set; } /// /// Gets the IBlobInventoryPoliciesOperations /// public virtual IBlobInventoryPoliciesOperations BlobInventoryPolicies { get; private set; } /// + /// Gets the ILocalUsersOperations + /// + public virtual ILocalUsersOperations LocalUsers { get; private set; } + /// + /// Gets the IManagementPoliciesOperations + /// + public virtual IManagementPoliciesOperations ManagementPolicies { get; private set; } + /// + /// Gets the INetworkSecurityPerimeterConfigurationsOperations + /// + public virtual INetworkSecurityPerimeterConfigurationsOperations NetworkSecurityPerimeterConfigurations { get; private set; } + /// + /// Gets the IObjectReplicationPoliciesOperations + /// + public virtual IObjectReplicationPoliciesOperations ObjectReplicationPolicies { get; private set; } + /// /// Gets the IPrivateEndpointConnectionsOperations /// public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } @@ -97,33 +129,33 @@ public partial class StorageManagementClient : Microsoft.Rest.ServiceClient public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; } /// - /// Gets the IObjectReplicationPoliciesOperations + /// Gets the IQueueServicesOperations /// - public virtual IObjectReplicationPoliciesOperations ObjectReplicationPolicies { get; private set; } + public virtual IQueueServicesOperations QueueServices { get; private set; } /// - /// Gets the ILocalUsersOperations + /// Gets the IQueueOperations /// - public virtual ILocalUsersOperations LocalUsers { get; private set; } + public virtual IQueueOperations Queue { get; private set; } /// - /// Gets the IEncryptionScopesOperations + /// Gets the IStorageTaskAssignmentsInstancesReportOperations /// - public virtual IEncryptionScopesOperations EncryptionScopes { get; private set; } + public virtual IStorageTaskAssignmentsInstancesReportOperations StorageTaskAssignmentsInstancesReport { get; private set; } /// - /// Gets the IBlobServicesOperations + /// Gets the IStorageTaskAssignmentsOperations /// - public virtual IBlobServicesOperations BlobServices { get; private set; } + public virtual IStorageTaskAssignmentsOperations StorageTaskAssignments { get; private set; } /// - /// Gets the IBlobContainersOperations + /// Gets the IStorageTaskAssignmentInstancesReportOperations /// - public virtual IBlobContainersOperations BlobContainers { get; private set; } + public virtual IStorageTaskAssignmentInstancesReportOperations StorageTaskAssignmentInstancesReport { get; private set; } /// - /// Gets the IFileServicesOperations + /// Gets the ITableServicesOperations /// - public virtual IFileServicesOperations FileServices { get; private set; } + public virtual ITableServicesOperations TableServices { get; private set; } /// - /// Gets the IFileSharesOperations + /// Gets the ITableOperations /// - public virtual IFileSharesOperations FileShares { get; private set; } + public virtual ITableOperations Table { get; private set; } /// /// Initializes a new instance of the StorageManagementClient class. /// @@ -363,21 +395,29 @@ public StorageManagementClient(System.Uri baseUri, Microsoft.Rest.ServiceClientC private void Initialize() { this.Operations = new Operations(this); - this.Skus = new SkusOperations(this); this.StorageAccounts = new StorageAccountsOperations(this); this.DeletedAccounts = new DeletedAccountsOperations(this); this.Usages = new UsagesOperations(this); - this.ManagementPolicies = new ManagementPoliciesOperations(this); - this.BlobInventoryPolicies = new BlobInventoryPoliciesOperations(this); - this.PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); - this.PrivateLinkResources = new PrivateLinkResourcesOperations(this); - this.ObjectReplicationPolicies = new ObjectReplicationPoliciesOperations(this); - this.LocalUsers = new LocalUsersOperations(this); - this.EncryptionScopes = new EncryptionScopesOperations(this); + this.Skus = new SkusOperations(this); this.BlobServices = new BlobServicesOperations(this); this.BlobContainers = new BlobContainersOperations(this); + this.EncryptionScopes = new EncryptionScopesOperations(this); this.FileServices = new FileServicesOperations(this); this.FileShares = new FileSharesOperations(this); + this.BlobInventoryPolicies = new BlobInventoryPoliciesOperations(this); + this.LocalUsers = new LocalUsersOperations(this); + this.ManagementPolicies = new ManagementPoliciesOperations(this); + this.NetworkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsOperations(this); + this.ObjectReplicationPolicies = new ObjectReplicationPoliciesOperations(this); + this.PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); + this.PrivateLinkResources = new PrivateLinkResourcesOperations(this); + this.QueueServices = new QueueServicesOperations(this); + this.Queue = new QueueOperations(this); + this.StorageTaskAssignmentsInstancesReport = new StorageTaskAssignmentsInstancesReportOperations(this); + this.StorageTaskAssignments = new StorageTaskAssignmentsOperations(this); + this.StorageTaskAssignmentInstancesReport = new StorageTaskAssignmentInstancesReportOperations(this); + this.TableServices = new TableServicesOperations(this); + this.Table = new TableOperations(this); this.BaseUri = new System.Uri("https://management.azure.com"); this.ApiVersion = "2025-06-01"; this.AcceptLanguage = "en-US"; diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperations.cs new file mode 100644 index 000000000000..b4d40a0adb4c --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperations.cs @@ -0,0 +1,497 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentInstancesReportOperations operations. + /// + internal partial class StorageTaskAssignmentInstancesReportOperations : Microsoft.Rest.IServiceOperations, IStorageTaskAssignmentInstancesReportOperations + { + /// + /// Initializes a new instance of the StorageTaskAssignmentInstancesReportOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal StorageTaskAssignmentInstancesReportOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, int? maxpagesize = default(int?), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (storageTaskAssignmentName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "storageTaskAssignmentName"); + } + if (storageTaskAssignmentName != null) + { + if (storageTaskAssignmentName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "storageTaskAssignmentName", 24); + } + if (storageTaskAssignmentName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "storageTaskAssignmentName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(storageTaskAssignmentName, "^[a-z][a-z0-9]{2,23}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "storageTaskAssignmentName", "^[a-z][a-z0-9]{2,23}$"); + } + } + + + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("storageTaskAssignmentName", storageTaskAssignmentName); + tracingParameters.Add("maxpagesize", maxpagesize); + tracingParameters.Add("filter", filter); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{storageTaskAssignmentName}", System.Uri.EscapeDataString(storageTaskAssignmentName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (maxpagesize != null) + { + _queryParameters.Add(string.Format("$maxpagesize={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(maxpagesize, this.Client.SerializationSettings).Trim('"')))); + } + if (filter != null) + { + _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperationsExtensions.cs new file mode 100644 index 000000000000..3999d3eb1d02 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentInstancesReportOperationsExtensions.cs @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for StorageTaskAssignmentInstancesReportOperations + /// + public static partial class StorageTaskAssignmentInstancesReportOperationsExtensions + { + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + public static Microsoft.Rest.Azure.IPage List(this IStorageTaskAssignmentInstancesReportOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, int? maxpagesize = default(int?), string filter = default(string)) + { + return ((IStorageTaskAssignmentInstancesReportOperations)operations).ListAsync(resourceGroupName, accountName, storageTaskAssignmentName, maxpagesize, filter).GetAwaiter().GetResult(); + } + + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this IStorageTaskAssignmentInstancesReportOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, int? maxpagesize = default(int?), string filter = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, maxpagesize, filter, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IStorageTaskAssignmentInstancesReportOperations operations, string nextPageLink) + { + return ((IStorageTaskAssignmentInstancesReportOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Fetch the report summary of a single storage task assignment's instances + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IStorageTaskAssignmentInstancesReportOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperations.cs new file mode 100644 index 000000000000..0f2c5bdbf3da --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperations.cs @@ -0,0 +1,473 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentsInstancesReportOperations operations. + /// + internal partial class StorageTaskAssignmentsInstancesReportOperations : Microsoft.Rest.IServiceOperations, IStorageTaskAssignmentsInstancesReportOperations + { + /// + /// Initializes a new instance of the StorageTaskAssignmentsInstancesReportOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal StorageTaskAssignmentsInstancesReportOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + + + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("maxpagesize", maxpagesize); + tracingParameters.Add("filter", filter); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (maxpagesize != null) + { + _queryParameters.Add(string.Format("$maxpagesize={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(maxpagesize, this.Client.SerializationSettings).Trim('"')))); + } + if (filter != null) + { + _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperationsExtensions.cs new file mode 100644 index 000000000000..f6ee4c00e18b --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsInstancesReportOperationsExtensions.cs @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for StorageTaskAssignmentsInstancesReportOperations + /// + public static partial class StorageTaskAssignmentsInstancesReportOperationsExtensions + { + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + public static Microsoft.Rest.Azure.IPage List(this IStorageTaskAssignmentsInstancesReportOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string)) + { + return ((IStorageTaskAssignmentsInstancesReportOperations)operations).ListAsync(resourceGroupName, accountName, maxpagesize, filter).GetAwaiter().GetResult(); + } + + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment instances + /// to be included in the list response. + /// + /// + /// Optional. When specified, it can be used to query using reporting + /// properties. See [Constructing Filter + /// Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) + /// for details. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this IStorageTaskAssignmentsInstancesReportOperations operations, string resourceGroupName, string accountName, int? maxpagesize = default(int?), string filter = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, maxpagesize, filter, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IStorageTaskAssignmentsInstancesReportOperations operations, string nextPageLink) + { + return ((IStorageTaskAssignmentsInstancesReportOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Fetch the report summary of all the storage task assignments and instances + /// in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IStorageTaskAssignmentsInstancesReportOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperations.cs new file mode 100644 index 000000000000..0344e7bcf366 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperations.cs @@ -0,0 +1,1652 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// StorageTaskAssignmentsOperations operations. + /// + internal partial class StorageTaskAssignmentsOperations : Microsoft.Rest.IServiceOperations, IStorageTaskAssignmentsOperations + { + /// + /// Initializes a new instance of the StorageTaskAssignmentsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal StorageTaskAssignmentsOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// List all the storage task assignments in an account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment Ids to be + /// included in the list response. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? top = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("top", top); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (top != null) + { + _queryParameters.Add(string.Format("$top={0}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(top, this.Client.SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Get the storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (storageTaskAssignmentName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "storageTaskAssignmentName"); + } + if (storageTaskAssignmentName != null) + { + if (storageTaskAssignmentName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "storageTaskAssignmentName", 24); + } + if (storageTaskAssignmentName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "storageTaskAssignmentName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(storageTaskAssignmentName, "^[a-z][a-z0-9]{2,23}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "storageTaskAssignmentName", "^[a-z][a-z0-9]{2,23}$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("storageTaskAssignmentName", storageTaskAssignmentName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{storageTaskAssignmentName}", System.Uri.EscapeDataString(storageTaskAssignmentName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginCreateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Update storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async System.Threading.Tasks.Task> DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // Send Request + Microsoft.Rest.Azure.AzureOperationHeaderResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, customHeaders, cancellationToken).ConfigureAwait(false); + return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (storageTaskAssignmentName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "storageTaskAssignmentName"); + } + if (storageTaskAssignmentName != null) + { + if (storageTaskAssignmentName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "storageTaskAssignmentName", 24); + } + if (storageTaskAssignmentName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "storageTaskAssignmentName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(storageTaskAssignmentName, "^[a-z][a-z0-9]{2,23}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "storageTaskAssignmentName", "^[a-z][a-z0-9]{2,23}$"); + } + } + StorageTaskAssignment parameters = new StorageTaskAssignment(); + if(properties != null) + { + parameters.Properties = properties; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("storageTaskAssignmentName", storageTaskAssignmentName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginCreate", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{storageTaskAssignmentName}", System.Uri.EscapeDataString(storageTaskAssignmentName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Update storage task assignment properties + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Properties of the storage task assignment. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (storageTaskAssignmentName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "storageTaskAssignmentName"); + } + if (storageTaskAssignmentName != null) + { + if (storageTaskAssignmentName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "storageTaskAssignmentName", 24); + } + if (storageTaskAssignmentName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "storageTaskAssignmentName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(storageTaskAssignmentName, "^[a-z][a-z0-9]{2,23}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "storageTaskAssignmentName", "^[a-z][a-z0-9]{2,23}$"); + } + } + StorageTaskAssignmentUpdateParameters parameters = new StorageTaskAssignmentUpdateParameters(); + if(properties != null) + { + parameters.Properties = properties; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("storageTaskAssignmentName", storageTaskAssignmentName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{storageTaskAssignmentName}", System.Uri.EscapeDataString(storageTaskAssignmentName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (storageTaskAssignmentName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "storageTaskAssignmentName"); + } + if (storageTaskAssignmentName != null) + { + if (storageTaskAssignmentName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "storageTaskAssignmentName", 24); + } + if (storageTaskAssignmentName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "storageTaskAssignmentName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(storageTaskAssignmentName, "^[a-z][a-z0-9]{2,23}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "storageTaskAssignmentName", "^[a-z][a-z0-9]{2,23}$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("storageTaskAssignmentName", storageTaskAssignmentName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{storageTaskAssignmentName}", System.Uri.EscapeDataString(storageTaskAssignmentName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 202 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings)); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// List all the storage task assignments in an account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperationsExtensions.cs new file mode 100644 index 000000000000..40496bc0f140 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/StorageTaskAssignmentsOperationsExtensions.cs @@ -0,0 +1,491 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for StorageTaskAssignmentsOperations + /// + public static partial class StorageTaskAssignmentsOperationsExtensions + { + /// + /// List all the storage task assignments in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment Ids to be + /// included in the list response. + /// + public static Microsoft.Rest.Azure.IPage List(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, int? top = default(int?)) + { + return ((IStorageTaskAssignmentsOperations)operations).ListAsync(resourceGroupName, accountName, top).GetAwaiter().GetResult(); + } + + /// + /// List all the storage task assignments in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Optional, specifies the maximum number of storage task assignment Ids to be + /// included in the list response. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, top, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Get the storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignment Get(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName) + { + return ((IStorageTaskAssignmentsOperations)operations).GetAsync(resourceGroupName, accountName, storageTaskAssignmentName).GetAwaiter().GetResult(); + } + + /// + /// Get the storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task GetAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignment Create(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties) + { + return ((IStorageTaskAssignmentsOperations)operations).CreateAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties).GetAwaiter().GetResult(); + } + + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task CreateAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Update storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignment Update(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties)) + { + return ((IStorageTaskAssignmentsOperations)operations).UpdateAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties).GetAwaiter().GetResult(); + } + + /// + /// Update storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task UpdateAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignmentsDeleteHeaders Delete(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName) + { + return ((IStorageTaskAssignmentsOperations)operations).DeleteAsync(resourceGroupName, accountName, storageTaskAssignmentName).GetAwaiter().GetResult(); + } + + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task DeleteAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignment BeginCreate(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties) + { + return ((IStorageTaskAssignmentsOperations)operations).BeginCreateAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties).GetAwaiter().GetResult(); + } + + /// + /// Asynchronously creates a new storage task assignment sub-resource with the + /// specified parameters. If a storage task assignment is already created and a + /// subsequent create request is issued with different properties, the storage + /// task assignment properties will be updated. If a storage task assignment is + /// already created and a subsequent create or update request is issued with + /// the exact same set of properties, the request will succeed. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task BeginCreateAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.BeginCreateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Update storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignment BeginUpdate(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties)) + { + return ((IStorageTaskAssignmentsOperations)operations).BeginUpdateAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties).GetAwaiter().GetResult(); + } + + /// + /// Update storage task assignment properties + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task BeginUpdateAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, StorageTaskAssignmentUpdateProperties properties = default(StorageTaskAssignmentUpdateProperties), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, properties, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + public static StorageTaskAssignmentsDeleteHeaders BeginDelete(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName) + { + return ((IStorageTaskAssignmentsOperations)operations).BeginDeleteAsync(resourceGroupName, accountName, storageTaskAssignmentName).GetAwaiter().GetResult(); + } + + /// + /// Delete the storage task assignment sub-resource + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The name of the storage task assignment within the specified resource + /// group. Storage task assignment names must be between 3 and 24 characters in + /// length and use numbers and lower-case letters only. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task BeginDeleteAsync(this IStorageTaskAssignmentsOperations operations, string resourceGroupName, string accountName, string storageTaskAssignmentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, storageTaskAssignmentName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// + /// List all the storage task assignments in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListNext(this IStorageTaskAssignmentsOperations operations, string nextPageLink) + { + return ((IStorageTaskAssignmentsOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// List all the storage task assignments in an account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this IStorageTaskAssignmentsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/TableOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/TableOperations.cs new file mode 100644 index 000000000000..39246e7eac9c --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/TableOperations.cs @@ -0,0 +1,1516 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// TableOperations operations. + /// + internal partial class TableOperations : Microsoft.Rest.IServiceOperations, ITableOperations + { + /// + /// Initializes a new instance of the TableOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal TableOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the table with the specified table name, under the specified account + /// if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (tableName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "tableName"); + } + if (tableName != null) + { + if (tableName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "tableName", 63); + } + if (tableName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "tableName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tableName, "^[A-Za-z][A-Za-z0-9]{2,62}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "tableName", "^[A-Za-z][A-Za-z0-9]{2,62}$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("tableName", tableName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{tableName}", System.Uri.EscapeDataString(tableName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject
(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// List of stored access policies specified on the table. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (tableName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "tableName"); + } + if (tableName != null) + { + if (tableName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "tableName", 63); + } + if (tableName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "tableName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tableName, "^[A-Za-z][A-Za-z0-9]{2,62}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "tableName", "^[A-Za-z][A-Za-z0-9]{2,62}$"); + } + } + Table parameters = new Table(); + if(signedIdentifiers != null) + { + parameters.SignedIdentifiers = signedIdentifiers; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("tableName", tableName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{tableName}", System.Uri.EscapeDataString(tableName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse
(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject
(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// List of stored access policies specified on the table. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (tableName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "tableName"); + } + if (tableName != null) + { + if (tableName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "tableName", 63); + } + if (tableName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "tableName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tableName, "^[A-Za-z][A-Za-z0-9]{2,62}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "tableName", "^[A-Za-z][A-Za-z0-9]{2,62}$"); + } + } + Table parameters = new Table(); + if(signedIdentifiers != null) + { + parameters.SignedIdentifiers = signedIdentifiers; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("tableName", tableName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{tableName}", System.Uri.EscapeDataString(tableName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse
(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject
(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Deletes the table with the specified table name, under the specified + /// account if it exists. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task DeleteWithHttpMessagesAsync(string resourceGroupName, string accountName, string tableName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + if (tableName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "tableName"); + } + if (tableName != null) + { + if (tableName.Length > 63) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "tableName", 63); + } + if (tableName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "tableName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tableName, "^[A-Za-z][A-Za-z0-9]{2,62}$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "tableName", "^[A-Za-z][A-Za-z0-9]{2,62}$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("tableName", tableName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{tableName}", System.Uri.EscapeDataString(tableName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 204) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/TableOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/TableOperationsExtensions.cs new file mode 100644 index 000000000000..d7e0e8619bb5 --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/TableOperationsExtensions.cs @@ -0,0 +1,309 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for TableOperations + /// + public static partial class TableOperationsExtensions + { + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static Microsoft.Rest.Azure.IPage
List(this ITableOperations operations, string resourceGroupName, string accountName) + { + return ((ITableOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListAsync(this ITableOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets the table with the specified table name, under the specified account + /// if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + public static Table Get(this ITableOperations operations, string resourceGroupName, string accountName, string tableName) + { + return ((ITableOperations)operations).GetAsync(resourceGroupName, accountName, tableName).GetAwaiter().GetResult(); + } + + /// + /// Gets the table with the specified table name, under the specified account + /// if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task
GetAsync(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, accountName, tableName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + public static Table Create(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList)) + { + return ((ITableOperations)operations).CreateAsync(resourceGroupName, accountName, tableName, signedIdentifiers).GetAwaiter().GetResult(); + } + + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task
CreateAsync(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, tableName, signedIdentifiers, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + public static Table Update(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList)) + { + return ((ITableOperations)operations).UpdateAsync(resourceGroupName, accountName, tableName, signedIdentifiers).GetAwaiter().GetResult(); + } + + /// + /// Creates a new table with the specified table name, under the specified + /// account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task
UpdateAsync(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Collections.Generic.IList signedIdentifiers = default(System.Collections.Generic.IList), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, tableName, signedIdentifiers, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Deletes the table with the specified table name, under the specified + /// account if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + public static void Delete(this ITableOperations operations, string resourceGroupName, string accountName, string tableName) + { + ((ITableOperations)operations).DeleteAsync(resourceGroupName, accountName, tableName).GetAwaiter().GetResult(); + } + + /// + /// Deletes the table with the specified table name, under the specified + /// account if it exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// A table name must be unique within a storage account and must be between 3 + /// and 63 characters.The name must comprise of only alphanumeric characters + /// and it cannot begin with a numeric character. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task DeleteAsync(this ITableOperations operations, string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, accountName, tableName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage
ListNext(this ITableOperations operations, string nextPageLink) + { + return ((ITableOperations)operations).ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of all the tables under the specified storage account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListNextAsync(this ITableOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperations.cs new file mode 100644 index 000000000000..4ae43258b43f --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperations.cs @@ -0,0 +1,769 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.Management.Storage +{ + using System.Linq; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + + /// + /// TableServicesOperations operations. + /// + internal partial class TableServicesOperations : Microsoft.Rest.IServiceOperations, ITableServicesOperations + { + /// + /// Initializes a new instance of the TableServicesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal TableServicesOperations (StorageManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + this.Client = client; + } + + /// + /// Gets a reference to the StorageManagementClient + /// + public StorageManagementClient Client { get; private set; } + + /// + /// List all table services for the storage account. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> GetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetServiceProperties", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Sets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// Specifies CORS rules for the Table service. You can include up to five + /// CorsRule elements in the request. If no CorsRule elements are included in + /// the request body, all CORS rules will be deleted, and CORS will be disabled + /// for the Table service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task> SetServicePropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + + + + if (this.Client.ApiVersion == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + + + if (resourceGroupName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 24) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "accountName", 24); + } + if (accountName.Length < 3) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+$")) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "accountName", "^[a-z0-9]+$"); + } + } + TableServiceProperties parameters = new TableServiceProperties(); + if(cors != null) + { + parameters.Cors = cors; + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + + tracingParameters.Add("parameters", parameters); + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "SetServiceProperties", tracingParameters); + } + // Construct URL + + var _baseUrl = this.Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (this.Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, this.Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + } +} \ No newline at end of file diff --git a/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperationsExtensions.cs new file mode 100644 index 000000000000..f664a78b569b --- /dev/null +++ b/src/Storage/Storage.Management.Sdk/Generated/TableServicesOperationsExtensions.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. +namespace Microsoft.Azure.Management.Storage +{ + using Microsoft.Rest.Azure; + using Models; + + /// + /// Extension methods for TableServicesOperations + /// + public static partial class TableServicesOperationsExtensions + { + /// + /// List all table services for the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static ListTableServices List(this ITableServicesOperations operations, string resourceGroupName, string accountName) + { + return ((ITableServicesOperations)operations).ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// List all table services for the storage account. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task ListAsync(this ITableServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Gets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static TableServiceProperties GetServiceProperties(this ITableServicesOperations operations, string resourceGroupName, string accountName) + { + return ((ITableServicesOperations)operations).GetServicePropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult(); + } + + /// + /// Gets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task GetServicePropertiesAsync(this ITableServicesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.GetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// + /// Sets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + public static TableServiceProperties SetServiceProperties(this ITableServicesOperations operations, string resourceGroupName, string accountName, CorsRules cors = default(CorsRules)) + { + return ((ITableServicesOperations)operations).SetServicePropertiesAsync(resourceGroupName, accountName, cors).GetAwaiter().GetResult(); + } + + /// + /// Sets the properties of a storage account’s Table service, including + /// properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) + /// rules. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task SetServicePropertiesAsync(this ITableServicesOperations operations, string resourceGroupName, string accountName, CorsRules cors = default(CorsRules), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.SetServicePropertiesWithHttpMessagesAsync(resourceGroupName, accountName, cors, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } +} diff --git a/src/Storage/Storage.Management.Sdk/Generated/UsagesOperations.cs b/src/Storage/Storage.Management.Sdk/Generated/UsagesOperations.cs index 71541185b5d1..de33d3a2c4a1 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/UsagesOperations.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/UsagesOperations.cs @@ -43,7 +43,7 @@ internal UsagesOperations (StorageManagementClient client) /// location under the subscription. /// /// - /// The location of the Azure Storage resource. + /// The name of the Azure region. /// /// /// Headers that will be added to request. @@ -66,7 +66,7 @@ internal UsagesOperations (StorageManagementClient client) /// /// A response object containing the response body and response headers. /// - public async System.Threading.Tasks.Task>> ListByLocationWithHttpMessagesAsync(string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ListByLocationWithHttpMessagesAsync(string location, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -77,22 +77,18 @@ internal UsagesOperations (StorageManagementClient client) throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (this.Client.SubscriptionId == null) + + if (location == null) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "location"); } - if (this.Client.SubscriptionId != null) + if (location != null) { - if (this.Client.SubscriptionId.Length < 1) + if (location.Length < 1) { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1); + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "location", 1); } } - if (location == null) - { - throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "location"); - } - // Tracing bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -110,7 +106,7 @@ internal UsagesOperations (StorageManagementClient client) var _baseUrl = this.Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(this.Client.SubscriptionId, this.Client.SerializationSettings).Trim('"'))); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); @@ -178,14 +174,13 @@ internal UsagesOperations (StorageManagementClient client) if ((int)_statusCode != 200) { - var ex = new Microsoft.Rest.Azure.CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); if (_errorBody != null) { - ex = new Microsoft.Rest.Azure.CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -195,10 +190,184 @@ internal UsagesOperations (StorageManagementClient client) } ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + _httpResponse.Dispose(); } + throw ex; + } + // Create Result + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, this.Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + + + + + + } + /// + /// Gets the current usage count and the limit for the resources of the + /// location under the subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async System.Threading.Tasks.Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + if (nextPageLink == null) + { + throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString(); + System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + + + tracingParameters.Add("cancellationToken", cancellationToken); + Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListByLocationNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + + System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (this.Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage); + } + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + // Serialize Request + string _requestContent = null; + // Set Credentials + if (this.Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent); if (_shouldTrace) { Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex); @@ -211,7 +380,7 @@ internal UsagesOperations (StorageManagementClient client) throw ex; } // Create Result - var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); + var _result = new Microsoft.Rest.Azure.AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; diff --git a/src/Storage/Storage.Management.Sdk/Generated/UsagesOperationsExtensions.cs b/src/Storage/Storage.Management.Sdk/Generated/UsagesOperationsExtensions.cs index 56cc93b76ac8..36c3f3a1b758 100644 --- a/src/Storage/Storage.Management.Sdk/Generated/UsagesOperationsExtensions.cs +++ b/src/Storage/Storage.Management.Sdk/Generated/UsagesOperationsExtensions.cs @@ -20,9 +20,9 @@ public static partial class UsagesOperationsExtensions /// The operations group for this extension method. /// /// - /// The location of the Azure Storage resource. + /// The name of the Azure region. /// - public static System.Collections.Generic.IEnumerable ListByLocation(this IUsagesOperations operations, string location) + public static Microsoft.Rest.Azure.IPage ListByLocation(this IUsagesOperations operations, string location) { return ((IUsagesOperations)operations).ListByLocationAsync(location).GetAwaiter().GetResult(); } @@ -35,17 +35,52 @@ public static System.Collections.Generic.IEnumerable ListByLocation(this /// The operations group for this extension method. /// /// - /// The location of the Azure Storage resource. + /// The name of the Azure region. /// /// /// The cancellation token. /// - public static async System.Threading.Tasks.Task> ListByLocationAsync(this IUsagesOperations operations, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public static async System.Threading.Tasks.Task> ListByLocationAsync(this IUsagesOperations operations, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListByLocationWithHttpMessagesAsync(location, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } + /// + /// Gets the current usage count and the limit for the resources of the + /// location under the subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static Microsoft.Rest.Azure.IPage ListByLocationNext(this IUsagesOperations operations, string nextPageLink) + { + return ((IUsagesOperations)operations).ListByLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets the current usage count and the limit for the resources of the + /// location under the subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async System.Threading.Tasks.Task> ListByLocationNextAsync(this IUsagesOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + using (var _result = await operations.ListByLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } } } diff --git a/src/Storage/Storage.Management.Sdk/README.md b/src/Storage/Storage.Management.Sdk/README.md index 679819eb33bd..326141126af3 100644 --- a/src/Storage/Storage.Management.Sdk/README.md +++ b/src/Storage/Storage.Management.Sdk/README.md @@ -25,11 +25,9 @@ payload-flattening-threshold: 2 ### ``` yaml -commit: 52fc376d009c4d96b89cfc410c11a38358a18f5b +commit: ec3df311a63c6e653824b4018bb1a39d483bf9fc input-file: - - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storage.json - - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/blob.json - - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/file.json + - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json output-folder: Generated diff --git a/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageAccountTests/TestAzureStorageAccountHierarchicalNamespaceUpgrade.json b/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageAccountTests/TestAzureStorageAccountHierarchicalNamespaceUpgrade.json index 1cf1da1a091c..e6e6545d8ccb 100644 --- a/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageAccountTests/TestAzureStorageAccountHierarchicalNamespaceUpgrade.json +++ b/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageAccountTests/TestAzureStorageAccountHierarchicalNamespaceUpgrade.json @@ -523,8 +523,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourcegroups/pstestrg5751/providers/Microsoft.Storage/storageAccounts/stopstestrg5751/hnsonmigration?api-version=2025-06-01&requestType=HnsOnValidationRequest", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnNTc1MS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL3N0b3BzdGVzdHJnNTc1MS9obnNvbm1pZ3JhdGlvbj9hcGktdmVyc2lvbj0yMDI1LTA2LTAxJnJlcXVlc3RUeXBlPUhuc09uVmFsaWRhdGlvblJlcXVlc3Q=", + "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg5751/providers/Microsoft.Storage/storageAccounts/stopstestrg5751/hnsonmigration?api-version=2025-06-01&requestType=HnsOnValidationRequest", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNTc1MS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL3N0b3BzdGVzdHJnNTc1MS9obnNvbm1pZ3JhdGlvbj9hcGktdmVyc2lvbj0yMDI1LTA2LTAxJnJlcXVlc3RUeXBlPUhuc09uVmFsaWRhdGlvblJlcXVlc3Q=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { diff --git a/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageFileTests/TestShareSnapshot.json b/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageFileTests/TestShareSnapshot.json index 497d12ad2396..f43580abeb23 100644 --- a/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageFileTests/TestShareSnapshot.json +++ b/src/Storage/Storage.Management.Test/SessionRecords/Microsoft.Azure.Commands.Management.Storage.Test.ScenarioTests.StorageFileTests/TestShareSnapshot.json @@ -931,8 +931,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share1pstestrg754?$expand=snapshots&api-version=2025-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMXBzdGVzdHJnNzU0PyRleHBhbmQ9c25hcHNob3RzJmFwaS12ZXJzaW9uPTIwMjUtMDYtMDE=", + "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share1pstestrg754?api-version=2025-06-01&$expand=snapshots", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMXBzdGVzdHJnNzU0P2FwaS12ZXJzaW9uPTIwMjUtMDYtMDEmJGV4cGFuZD1zbmFwc2hvdHM=", "RequestMethod": "PUT", "RequestBody": "{}", "RequestHeaders": { @@ -1000,8 +1000,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share1pstestrg754?$expand=snapshots&api-version=2025-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMXBzdGVzdHJnNzU0PyRleHBhbmQ9c25hcHNob3RzJmFwaS12ZXJzaW9uPTIwMjUtMDYtMDE=", + "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share1pstestrg754?api-version=2025-06-01&$expand=snapshots", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMXBzdGVzdHJnNzU0P2FwaS12ZXJzaW9uPTIwMjUtMDYtMDEmJGV4cGFuZD1zbmFwc2hvdHM=", "RequestMethod": "PUT", "RequestBody": "{}", "RequestHeaders": { @@ -1069,8 +1069,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share2pstestrg754?$expand=snapshots&api-version=2025-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMnBzdGVzdHJnNzU0PyRleHBhbmQ9c25hcHNob3RzJmFwaS12ZXJzaW9uPTIwMjUtMDYtMDE=", + "RequestUri": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/pstestrg754/providers/Microsoft.Storage/storageAccounts/stopstestrg754/fileServices/default/shares/share2pstestrg754?api-version=2025-06-01&$expand=snapshots", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDViNjBkODUtZmQ3Mi00MjdhLWE3MDgtZjk5NGQyNmU1OTNlL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnNzU0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvc3RvcHN0ZXN0cmc3NTQvZmlsZVNlcnZpY2VzL2RlZmF1bHQvc2hhcmVzL3NoYXJlMnBzdGVzdHJnNzU0P2FwaS12ZXJzaW9uPTIwMjUtMDYtMDEmJGV4cGFuZD1zbmFwc2hvdHM=", "RequestMethod": "PUT", "RequestBody": "{}", "RequestHeaders": { diff --git a/src/Storage/Storage.Management/Az.Storage.psd1 b/src/Storage/Storage.Management/Az.Storage.psd1 index 708583ebea78..483136ed157a 100644 --- a/src/Storage/Storage.Management/Az.Storage.psd1 +++ b/src/Storage/Storage.Management/Az.Storage.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 11/11/2025 +# Generated on: 12/16/2025 # @{ diff --git a/src/Storage/Storage.Management/ChangeLog.md b/src/Storage/Storage.Management/ChangeLog.md index e802fa88fab1..ac79345918c8 100644 --- a/src/Storage/Storage.Management/ChangeLog.md +++ b/src/Storage/Storage.Management/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Upgraded management plane SDK and auto generated cmdlets to base on API spec generated by TSP * Updated Azure.Core from 1.47.3 to 1.50.0 ## Version 9.4.0 diff --git a/src/Storage/Storage.Management/Models/PSNetworkRule.cs b/src/Storage/Storage.Management/Models/PSNetworkRule.cs index bd3f9c51a9c4..ae549b9f89f4 100644 --- a/src/Storage/Storage.Management/Models/PSNetworkRule.cs +++ b/src/Storage/Storage.Management/Models/PSNetworkRule.cs @@ -82,24 +82,81 @@ public class PSNetworkRuleSet //Parse NetworkRule property Action in SDK to wrapped property PSNetworkRuleActionEnum - public static PSNetworkRuleActionEnum? ParsePSNetworkRuleAction(Microsoft.Azure.Management.Storage.Models.Action? action) + public static PSNetworkRuleActionEnum? ParsePSNetworkRuleAction(PSNetworkRuleActionEnum? action) { if (action == null) { return null; } - if (action.Value == Microsoft.Azure.Management.Storage.Models.Action.Allow) + if (action.Value == PSNetworkRuleActionEnum.Allow) { return PSNetworkRuleActionEnum.Allow; } return PSNetworkRuleActionEnum.Allow; } + public static PSNetworkRuleActionEnum? ParsePSNetworkRuleAction(IPRuleAction? action) + { + if (action == null) + { + return null; + } + if (action.Value == IPRuleAction.Allow) + { + return PSNetworkRuleActionEnum.Allow; + } + + return PSNetworkRuleActionEnum.Allow; + } + public static PSNetworkRuleActionEnum? ParsePSNetworkRuleAction(VirtualNetworkRuleAction? action) + { + if (action == null) + { + return null; + } + + if (action.Value == VirtualNetworkRuleAction.Allow) + { + return PSNetworkRuleActionEnum.Allow; + } + + return PSNetworkRuleActionEnum.Allow; + } + + //Parse wrapped property PSNetworkRuleActionEnum to NetworkRule rule property Action in SDK + public static PSNetworkRuleActionEnum? ParseStorageNetworkRuleAction(PSNetworkRuleActionEnum? action) + { + if (action == null) + { + return null; + } + + if (action == PSNetworkRuleActionEnum.Allow) + { + return PSNetworkRuleActionEnum.Allow; + } + return PSNetworkRuleActionEnum.Allow; + } + + //Parse wrapped property PSNetworkRuleActionEnum to NetworkRule rule property Action in SDK + public static IPRuleAction? ParseStorageIpRuleAction(PSNetworkRuleActionEnum? action) + { + if (action == null) + { + return null; + } + + if (action == PSNetworkRuleActionEnum.Allow) + { + return IPRuleAction.Allow; + } + return IPRuleAction.Allow; + } //Parse wrapped property PSNetworkRuleActionEnum to NetworkRule rule property Action in SDK - public static Microsoft.Azure.Management.Storage.Models.Action? ParseStorageNetworkRuleAction(PSNetworkRuleActionEnum? action) + public static VirtualNetworkRuleAction? ParseStorageVnetRuleAction(PSNetworkRuleActionEnum? action) { if (action == null) { @@ -108,9 +165,9 @@ public class PSNetworkRuleSet if (action == PSNetworkRuleActionEnum.Allow) { - return Microsoft.Azure.Management.Storage.Models.Action.Allow; + return VirtualNetworkRuleAction.Allow; } - return Microsoft.Azure.Management.Storage.Models.Action.Allow; + return VirtualNetworkRuleAction.Allow; } //Parse NetworkRule property Bypass in SDK to wrapped property PSNetworkRuleBypassEnum @@ -209,7 +266,7 @@ public static PSIpRule ParsePSNetworkRuleIPRule(IPRule ipRule) public static IPRule ParseStorageNetworkRuleIPRule(PSIpRule ipRule) { IPRule returnRule = new IPRule(); - returnRule.Action = ParseStorageNetworkRuleAction(ipRule.Action); + returnRule.Action = ParseStorageIpRuleAction(ipRule.Action); returnRule.IPAddressOrRange = ipRule.IPAddressOrRange; return returnRule; } @@ -247,7 +304,7 @@ public static PSVirtualNetworkRule ParsePSNetworkRuleVirtualNetworkRule(VirtualN public static VirtualNetworkRule ParseStorageNetworkRuleVirtualNetworkRule(PSVirtualNetworkRule virtualNetworkRule) { VirtualNetworkRule returnRule = new VirtualNetworkRule(); - returnRule.Action = ParseStorageNetworkRuleAction(virtualNetworkRule.Action); + returnRule.Action = ParseStorageVnetRuleAction(virtualNetworkRule.Action); returnRule.VirtualNetworkResourceId = virtualNetworkRule.VirtualNetworkResourceId; return returnRule; @@ -341,4 +398,4 @@ public static NetworkRuleSet ParseStorageNetworkRule(PSNetworkRuleSet rules) return returnRules; } } -} +} \ No newline at end of file diff --git a/src/Storage/Storage.Management/Models/PSShare.cs b/src/Storage/Storage.Management/Models/PSShare.cs index f2f268b6926b..8ef6ba5a8b54 100644 --- a/src/Storage/Storage.Management/Models/PSShare.cs +++ b/src/Storage/Storage.Management/Models/PSShare.cs @@ -50,9 +50,9 @@ public PSShare(StorageModels.FileShare share) this.ProvisionedBandwidthMibps = share.ProvisionedBandwidthMibps; this.IncludedBurstIops = share.IncludedBurstIops; this.MaxBurstCreditsForIops = share.MaxBurstCreditsForIops; - this.NextAllowedProvisionedBandwidthDowngradeTime = share.NextAllowedProvisionedBandwidthDowngradeTime; - this.NextAllowedProvisionedIopsDowngradeTime = share.NextAllowedProvisionedIopsDowngradeTime; - this.NextAllowedQuotaDowngradeTime = share.NextAllowedQuotaDowngradeTime; + this.NextAllowedProvisionedBandwidthDowngradeTime = ParseDateTimeString(share.NextAllowedProvisionedBandwidthDowngradeTime); + this.NextAllowedProvisionedIopsDowngradeTime = ParseDateTimeString(share.NextAllowedProvisionedIopsDowngradeTime); + this.NextAllowedQuotaDowngradeTime = ParseDateTimeString(share.NextAllowedQuotaDowngradeTime); this.FileSharePaidBursting = share.FileSharePaidBursting is null ? null : new PSFileSharePropertiesFileSharePaidBursting(share.FileSharePaidBursting); } @@ -84,9 +84,9 @@ public PSShare(FileShareItem share) this.ProvisionedBandwidthMibps = share.ProvisionedBandwidthMibps; this.IncludedBurstIops = share.IncludedBurstIops; this.MaxBurstCreditsForIops = share.MaxBurstCreditsForIops; - this.NextAllowedProvisionedBandwidthDowngradeTime = share.NextAllowedProvisionedBandwidthDowngradeTime; - this.NextAllowedProvisionedIopsDowngradeTime = share.NextAllowedProvisionedIopsDowngradeTime; - this.NextAllowedQuotaDowngradeTime = share.NextAllowedQuotaDowngradeTime; + this.NextAllowedProvisionedBandwidthDowngradeTime = ParseDateTimeString(share.NextAllowedProvisionedBandwidthDowngradeTime); + this.NextAllowedProvisionedIopsDowngradeTime = ParseDateTimeString(share.NextAllowedProvisionedIopsDowngradeTime); + this.NextAllowedQuotaDowngradeTime = ParseDateTimeString(share.NextAllowedQuotaDowngradeTime); this.FileSharePaidBursting = share.FileSharePaidBursting is null ? null : new PSFileSharePropertiesFileSharePaidBursting(share.FileSharePaidBursting); } @@ -140,6 +140,25 @@ public PSShare(FileShareItem share) public System.DateTime? NextAllowedProvisionedBandwidthDowngradeTime { get; private set; } public PSFileSharePropertiesFileSharePaidBursting FileSharePaidBursting { get; set; } + public DateTime? ParseDateTimeString(string dateString) + { + if (string.IsNullOrEmpty(dateString)) + { + return null; + } + + DateTime date; + if (DateTime.TryParse(dateString, out date)) + { + return date; + } + else + { + return null; + } + + } + public class PSFileSharePropertiesFileSharePaidBursting { public PSFileSharePropertiesFileSharePaidBursting() { } diff --git a/src/Storage/Storage.Management/StorageAccount/GetAzureStorageAccountKey.cs b/src/Storage/Storage.Management/StorageAccount/GetAzureStorageAccountKey.cs index c6bfc62831e9..65d456c96d6b 100644 --- a/src/Storage/Storage.Management/StorageAccount/GetAzureStorageAccountKey.cs +++ b/src/Storage/Storage.Management/StorageAccount/GetAzureStorageAccountKey.cs @@ -48,10 +48,13 @@ public override void ExecuteCmdlet() { base.ExecuteCmdlet(); - ListKeyExpand? listkeyExpend = null; + + + + Enum70? listkeyExpend = null; if (ListKerbKey.IsPresent) { - listkeyExpend = ListKeyExpand.Kerb; + listkeyExpend = Enum70.Kerb; } var storageKeys = this.StorageClient.StorageAccounts.ListKeys( diff --git a/src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountFailover.cs b/src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountFailover.cs index d85932508151..642ff2685a6f 100644 --- a/src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountFailover.cs +++ b/src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountFailover.cs @@ -96,11 +96,11 @@ public override void ExecuteCmdlet() this.Name = InputObject.StorageAccountName; } - StorageModels.FailoverType? type = null; + StorageModels.Enum56? type = null; if (!String.IsNullOrEmpty(this.FailoverType)) { if (this.FailoverType.ToLower() == AccountFailoverType.Planned.ToLower()) { - type = StorageModels.FailoverType.Planned; + type = StorageModels.Enum56.Planned; } else if (this.FailoverType.ToLower() != AccountFailoverType.Unplanned.ToLower()) { @@ -127,7 +127,7 @@ public override void ExecuteCmdlet() } } - private void ExecuteFailover(StorageModels.FailoverType? type = null) + private void ExecuteFailover(StorageModels.Enum56? type = null) { this.StorageClient.StorageAccounts.Failover( this.ResourceGroupName, diff --git a/src/Storage/Storage.Management/StorageAccount/RestoreAzStorageBlobRange.cs b/src/Storage/Storage.Management/StorageAccount/RestoreAzStorageBlobRange.cs index b8e3a9473b2c..67c90918eef2 100644 --- a/src/Storage/Storage.Management/StorageAccount/RestoreAzStorageBlobRange.cs +++ b/src/Storage/Storage.Management/StorageAccount/RestoreAzStorageBlobRange.cs @@ -120,7 +120,7 @@ public override void ExecuteCmdlet() { if (waitForComplete) { - Task> beginTask = this.StorageClient.StorageAccounts.BeginRestoreBlobRangesWithHttpMessagesAsync( + Task> beginTask = this.StorageClient.StorageAccounts.BeginRestoreBlobRangesWithHttpMessagesAsync( this.ResourceGroupName, this.StorageAccountName, this.TimeToRestore, @@ -128,11 +128,11 @@ public override void ExecuteCmdlet() beginTask.Wait(); - AzureOperationResponse response = beginTask.Result; + AzureOperationResponse response = beginTask.Result; WriteWarning(string.Format("Restore blob ranges with Id '{0}' started. Restore blob ranges time to complete is dependent on the size of the restore.", response.Body is null ? "" : response.Body.RestoreId)); - Task> waitTask = ((StorageManagementClient)this.StorageClient).GetPostOrDeleteOperationResultAsync(response, null, new System.Threading.CancellationToken()); + Task> waitTask = ((StorageManagementClient)this.StorageClient).GetPostOrDeleteOperationResultAsync(response, null, new System.Threading.CancellationToken()); try { waitTask.Wait(); @@ -142,7 +142,7 @@ public override void ExecuteCmdlet() throw new InvalidJobStateException(string.Format("Blob ranges restore failed with information: '{0}'.", ((CloudException)ex.InnerException).Response.Content)); } - AzureOperationResponse result = waitTask.Result; + AzureOperationResponse result = waitTask.Result; WriteObject(new PSBlobRestoreStatus(result.Body)); diff --git a/src/Storage/Storage.Management/help/Get-AzStorageAccountMigration.md b/src/Storage/Storage.Management/help/Get-AzStorageAccountMigration.md index e1f21cc96401..29a9c6df251a 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageAccountMigration.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageAccountMigration.md @@ -97,7 +97,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -114,6 +114,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Get-AzStorageFileServiceUsage.md b/src/Storage/Storage.Management/help/Get-AzStorageFileServiceUsage.md index 4f9ee37845cd..0d8bf1dcc789 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageFileServiceUsage.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageFileServiceUsage.md @@ -125,7 +125,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -158,6 +158,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Get-AzStorageNetworkSecurityPerimeterConfiguration.md b/src/Storage/Storage.Management/help/Get-AzStorageNetworkSecurityPerimeterConfiguration.md index 77320478116e..abb63578ba7c 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageNetworkSecurityPerimeterConfiguration.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageNetworkSecurityPerimeterConfiguration.md @@ -172,7 +172,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -204,6 +204,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Get-AzStorageSku.md b/src/Storage/Storage.Management/help/Get-AzStorageSku.md index ed8af1b05fae..c337c5c096db 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageSku.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageSku.md @@ -75,6 +75,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md index c35ae7239ea1..54983eea0e8a 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md @@ -196,6 +196,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignmentInstancesReport.md b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignmentInstancesReport.md index 40fa2ccbfc79..bdecb2605593 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignmentInstancesReport.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignmentInstancesReport.md @@ -246,6 +246,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String[] diff --git a/src/Storage/Storage.Management/help/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md b/src/Storage/Storage.Management/help/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md index e3d428a7203f..b0abf8a326eb 100644 --- a/src/Storage/Storage.Management/help/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md +++ b/src/Storage/Storage.Management/help/Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration.md @@ -157,7 +157,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group within the user's subscription. +The name of the resource group. The name is case insensitive. ```yaml @@ -189,6 +189,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Management/help/New-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/New-AzStorageTaskAssignment.md index cab47cbc1e5c..bd8d46426433 100644 --- a/src/Storage/Storage.Management/help/New-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/New-AzStorageTaskAssignment.md @@ -340,6 +340,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Management/help/Remove-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/Remove-AzStorageTaskAssignment.md index 9ad4e961db39..97e0fc086c21 100644 --- a/src/Storage/Storage.Management/help/Remove-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/Remove-AzStorageTaskAssignment.md @@ -187,6 +187,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md b/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md index 43d59b227992..e4d43baa14ef 100644 --- a/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md +++ b/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md @@ -523,4 +523,153 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [Get-AzStorageAccountManagementPolicy](./Get-AzStorageAccountManagementPolicy.md) -[Remove-AzStorageAccountManagementPolicy](./Remove-AzStorageAccountManagementPolicy.md) \ No newline at end of file +[Remove-AzStorageAccountManagementPolicy](./Remove-AzStorageAccountManagementPolicy.md) + + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Policy +Management Policy Object to Set + +```yaml +Type: Microsoft.Azure.Commands.Management.Storage.Models.PSManagementPolicy +Parameter Sets: AccountNamePolicyObject, AccountObjectPolicyObject, AccountResourceIdPolicyObject +Aliases: ManagementPolicy + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name. + +```yaml +Type: System.String +Parameter Sets: AccountNamePolicyRule, AccountNamePolicyObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Rule +The Management Policy rules. Get the object with New-AzStorageAccountManagementPolicyRule cmdlet. + +```yaml +Type: Microsoft.Azure.Commands.Management.Storage.Models.PSManagementPolicyRule[] +Parameter Sets: AccountNamePolicyRule, AccountObjectPolicyRule, AccountResourceIdPolicyRule +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -StorageAccount +Storage account object + +```yaml +Type: Microsoft.Azure.Commands.Management.Storage.Models.PSStorageAccount +Parameter Sets: AccountObjectPolicyRule, AccountObjectPolicyObject +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -StorageAccountName +Storage Account Name. + +```yaml +Type: System.String +Parameter Sets: AccountNamePolicyRule, AccountNamePolicyObject +Aliases: AccountName + +Required: True +Position: 1 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAccountResourceId +Storage Account Resource Id. + +```yaml +Type: System.String +Parameter Sets: AccountResourceIdPolicyRule, AccountResourceIdPolicyObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS \ No newline at end of file diff --git a/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md index 54688f13a799..c22eeb320429 100644 --- a/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md @@ -341,6 +341,7 @@ Accept wildcard characters: False ### -SubscriptionId The ID of the target subscription. +The value must be an UUID. ```yaml Type: System.String diff --git a/src/Storage/Storage.sln b/src/Storage/Storage.sln index a068afd5d6c3..a5e8bbc78dfb 100644 --- a/src/Storage/Storage.sln +++ b/src/Storage/Storage.sln @@ -35,7 +35,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Storage.common", "Storage.c EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Storage.Autorest", "Storage.Autorest", "{1E0B346E-62FD-A2E7-C013-81285A9FF5CA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Storage", "..\..\generated\Storage\Storage.Autorest\Az.Storage.csproj", "{349D00AD-354C-4008-A655-20DDD1894A4D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Storage", "..\..\generated\Storage\Storage.Autorest\Az.Storage.csproj", "{3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -203,18 +203,18 @@ Global {612125D7-36AF-4889-AB38-9B4D0D37CF0F}.Release|x64.Build.0 = Release|Any CPU {612125D7-36AF-4889-AB38-9B4D0D37CF0F}.Release|x86.ActiveCfg = Release|Any CPU {612125D7-36AF-4889-AB38-9B4D0D37CF0F}.Release|x86.Build.0 = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|x64.ActiveCfg = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|x64.Build.0 = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|x86.ActiveCfg = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Debug|x86.Build.0 = Debug|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|Any CPU.Build.0 = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|x64.ActiveCfg = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|x64.Build.0 = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|x86.ActiveCfg = Release|Any CPU - {349D00AD-354C-4008-A655-20DDD1894A4D}.Release|x86.Build.0 = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|x64.ActiveCfg = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|x64.Build.0 = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|x86.ActiveCfg = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Debug|x86.Build.0 = Debug|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|Any CPU.Build.0 = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|x64.ActiveCfg = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|x64.Build.0 = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|x86.ActiveCfg = Release|Any CPU + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -229,6 +229,6 @@ Global {DED0C473-64A1-4615-9CD1-776D2EB11619} = {9ADC2E4A-DFC5-4CDC-9AB7-DC5E61E10C4F} {81B2C882-F205-411B-9EEC-A387E1D7B23C} = {9ADC2E4A-DFC5-4CDC-9AB7-DC5E61E10C4F} {DDCE5245-E4F2-4F1B-B669-D81A920AAD21} = {9ADC2E4A-DFC5-4CDC-9AB7-DC5E61E10C4F} - {349D00AD-354C-4008-A655-20DDD1894A4D} = {1E0B346E-62FD-A2E7-C013-81285A9FF5CA} + {3A698A18-6EB5-4AB5-B770-0EDDC2F668E1} = {1E0B346E-62FD-A2E7-C013-81285A9FF5CA} EndGlobalSection EndGlobal diff --git a/tools/StaticAnalysis/Exceptions/Az.Storage/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Storage/BreakingChangeIssues.csv new file mode 100644 index 000000000000..b6c9de7b5237 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.Storage/BreakingChangeIssues.csv @@ -0,0 +1,34 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.Storage","Get-AzStorageAccountMigration","Get-AzStorageAccountMigration","0","3010","The property 'Id' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration' has been removed.","Add the property 'Id' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration'." +"Az.Storage","Get-AzStorageAccountMigration","Get-AzStorageAccountMigration","0","3010","The property 'Name' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration' has been removed.","Add the property 'Name' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration'." +"Az.Storage","Get-AzStorageAccountMigration","Get-AzStorageAccountMigration","0","3010","The property 'Type' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration' has been removed.","Add the property 'Type' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration'." +"Az.Storage","Get-AzStorageAccountMigration","Get-AzStorageAccountMigration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageAccountMigration","Get-AzStorageAccountMigration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageFileServiceUsage","Get-AzStorageFileServiceUsage","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageFileServiceUsage","Get-AzStorageFileServiceUsage","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageNetworkSecurityPerimeterConfiguration","Get-AzStorageNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageNetworkSecurityPerimeterConfiguration","Get-AzStorageNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageNetworkSecurityPerimeterConfiguration","Get-AzStorageNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageNetworkSecurityPerimeterConfiguration","Get-AzStorageNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignment","Get-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignment","Get-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignment","Get-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignment","Get-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignmentInstancesReport","Get-AzStorageTaskAssignmentInstancesReport","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignmentInstancesReport","Get-AzStorageTaskAssignmentInstancesReport","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignmentInstancesReport","Get-AzStorageTaskAssignmentInstancesReport","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Get-AzStorageTaskAssignmentInstancesReport","Get-AzStorageTaskAssignmentInstancesReport","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","Invoke-AzStorageReconcileNetworkSecurityPerimeterConfiguration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Remove-AzStorageTaskAssignment","Remove-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Remove-AzStorageTaskAssignment","Remove-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Remove-AzStorageTaskAssignment","Remove-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Remove-AzStorageTaskAssignment","Remove-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Start-AzStorageAccountMigration","Start-AzStorageAccountMigration","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Start-AzStorageAccountMigration","Start-AzStorageAccountMigration","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Update-AzStorageTaskAssignment","Update-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Update-AzStorageTaskAssignment","Update-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Update-AzStorageTaskAssignment","Update-AzStorageTaskAssignment","0","3010","The property 'FileServicesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServicesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'." +"Az.Storage","Update-AzStorageTaskAssignment","Update-AzStorageTaskAssignment","0","3010","The property 'FileServiceUsagesName' of type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity' has been removed.","Add the property 'FileServiceUsagesName' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity'."