diff --git a/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs b/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs index 4f0aeeec5d96..080d0804b519 100644 --- a/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs +++ b/src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs @@ -20,8 +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.0.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("9.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.1.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 9f7a655b26c5..7204c2d7842a 100644 --- a/src/Storage/Storage.Autorest/README.md +++ b/src/Storage/Storage.Autorest/README.md @@ -28,14 +28,14 @@ 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: 2219e4e4e0409bcb88a2b82e8febe1a3baecaf18 +commit: 04b87408ba3b8afed159b3d3059bd1594c7f2dd3 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/2024-01-01/storage.json - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2024-01-01/file.json - - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2024-01-01/storageTaskAssignments.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 # For new RP, the version is 0.1.0 module-version: 5.9.1 @@ -43,12 +43,7 @@ module-version: 5.9.1 title: Storage subject-prefix: $(service-name) nested-object-to-string: true -identity-correction-for-post: true - -# Pin to an old version to workaround a regression issue of generator. link to the issue - blabla -use-extension: - "@autorest/powershell": "4.0.734" - +identity-correction-for-post: true directive: - where: @@ -77,6 +72,12 @@ directive: parameter-name: StorageAccountMigrationDetailTargetSkuName set: parameter-name: TargetSku + - where: + verb: Get + subject: ^StorageTaskAssignment$ + parameter-name: Top + set: + alias: Maxpagesize - where: subject: ^FileServiceUsage$ parameter-name: AccountName @@ -111,7 +112,7 @@ directive: set: property-name: StorageAccountLimitMaxProvisionedIops - where: - subject: ^StorageAccount$|^StorageAccountKey$|^StorageAccountProperty$|^StorageAccountSas$|^StorageAccountServiceSas$|BlobInventoryPolicy$|^DeletedAccount$|^EncryptionScope$|^LocalUser$|^LocalUserKey$|^ManagementPolicy$|^ObjectReplicationPolicy$|^Sku$|^Usage$|^LocalUserPassword$|^AccountUserDelegationKey$|^AbortStorageAccountHierarchicalNamespaceMigration$|^HierarchicalStorageAccountNamespaceMigration$|^StorageAccountBlobRange$|^StorageAccountUserDelegationKey$|^StorageAccountNameAvailability$|^FileShare$|^FileServiceProperty$|^FileService$ + subject: ^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 @@ -170,4 +171,8 @@ directive: model-name: StorageTaskReportInstance set: suppress-format: true + - where: + model-name: ^SkuInformation$ + set: + suppress-format: true ``` 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 be22ddbabe9f..f6d27e29bef8 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": "2024-01-01", + "apiVersion": "2025-01-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-fileServices-usages.json index fefd53b37fbc..b98f10f72f40 100644 --- a/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-fileServices-usages.json +++ b/src/Storage/Storage.Autorest/UX/Microsoft.Storage/storageAccounts-fileServices-usages.json @@ -1,6 +1,6 @@ { "resourceType": "storageAccounts/fileServices/usages", - "apiVersion": "2024-01-01", + "apiVersion": "2025-01-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 62a3493c801d..5c08b9af5ede 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": "2024-01-01", + "apiVersion": "2025-01-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storage" }, diff --git a/src/Storage/Storage.Autorest/docs/Az.Storage.md b/src/Storage/Storage.Autorest/docs/Az.Storage.md index 68db75737dc3..4e48830dc97c 100644 --- a/src/Storage/Storage.Autorest/docs/Az.Storage.md +++ b/src/Storage/Storage.Autorest/docs/Az.Storage.md @@ -1,6 +1,6 @@ --- Module Name: Az.Storage -Module Guid: f586bd97-8cde-45be-883a-cf5716cc062d +Module Guid: 4deee175-f94f-4dfd-80d5-fd7c43018494 Download Help Link: https://learn.microsoft.com/powershell/module/az.storage Help Version: 1.0.0.0 Locale: en-US @@ -17,6 +17,9 @@ Gets the status of the ongoing migration for the specified storage account. ### [Get-AzStorageFileServiceUsage](Get-AzStorageFileServiceUsage.md) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula. +### [Get-AzStorageSku](Get-AzStorageSku.md) +Lists the available SKUs supported by Microsoft.Storage for given subscription. + ### [Get-AzStorageTaskAssignment](Get-AzStorageTaskAssignment.md) Get the storage task assignment properties @@ -37,5 +40,5 @@ The migration updates the non-zonal redundant storage account to a zonal redunda Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region. ### [Update-AzStorageTaskAssignment](Update-AzStorageTaskAssignment.md) -update storage task assignment properties +Update storage task assignment properties diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md new file mode 100644 index 000000000000..366b47748b76 --- /dev/null +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md @@ -0,0 +1,102 @@ +--- +external help file: +Module Name: Az.Storage +online version: https://learn.microsoft.com/powershell/module/az.storage/get-azstoragesku +schema: 2.0.0 +--- + +# Get-AzStorageSku + +## SYNOPSIS +Lists the available SKUs supported by Microsoft.Storage for given subscription. + +## SYNTAX + +``` +Get-AzStorageSku [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the available SKUs supported by Microsoft.Storage for given subscription. + +## EXAMPLES + +### Example 1: List SKUs under a subscription +```powershell +Get-AzStorageSku -SubscriptionId $mysubid +``` + +```output +Capability : {{ + "name": "supportsAccountHnsOnMigration", + "value": "true" + }, { + "name": "supportsaccountvlw", + "value": "true" + }, { + "name": "supportsadlsgen2snapshot", + "value": "true" + }, { + "name": "supportsadlsgen2staticwebsite", + "value": "true" + }…} +Kind : StorageV2 +Location : {westus2} +LocationInfo : {{ + "location": "westus2", + "zones": [ ] + }} +Name : Standard_ZRS +ResourceType : storageAccounts +Restriction : {} +Tier : Standard +``` + +This command lists all SKUs under a specified subscription. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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 + +### Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ISkuInformation + +## NOTES + +## RELATED LINKS + diff --git a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md index 7402fdbd8c30..82ff65ead316 100644 --- a/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/Get-AzStorageTaskAssignment.md @@ -15,7 +15,7 @@ Get the storage task assignment properties ### List (Default) ``` Get-AzStorageTaskAssignment -AccountName -ResourceGroupName [-SubscriptionId ] - [-Maxpagesize ] [-DefaultProfile ] [] + [-Top ] [-DefaultProfile ] [] ``` ### Get @@ -145,21 +145,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -Maxpagesize -Optional, specifies the maximum number of storage task assignment Ids to be included in the list response. - -```yaml -Type: System.Int32 -Parameter Sets: List -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Name 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. @@ -222,6 +207,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Top +Optional, specifies the maximum number of storage task assignment Ids to be included in the list response. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: Maxpagesize + +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). diff --git a/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md b/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md index 879c0758b9bf..0ee983904a24 100644 --- a/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzStorageTaskAssignment ## SYNOPSIS -update storage task assignment properties +Update storage task assignment properties ## SYNTAX @@ -40,7 +40,7 @@ Update-AzStorageTaskAssignment -Name -StorageAccountInputObject ## Upcoming Release +* Supported listing Storage SKU + - `Get-AzStorageSku` * Supported enabling SMB Oauth on Storage accounts - `New-AzStorageAccount` - `Set-AzStorageAccount` diff --git a/src/Storage/Storage.Management/help/Az.Storage.md b/src/Storage/Storage.Management/help/Az.Storage.md index 21644d81f874..a215e67f1121 100644 --- a/src/Storage/Storage.Management/help/Az.Storage.md +++ b/src/Storage/Storage.Management/help/Az.Storage.md @@ -185,6 +185,9 @@ Gets a list of file shares. ### [Get-AzStorageShareStoredAccessPolicy](Get-AzStorageShareStoredAccessPolicy.md) Gets stored access policies for a Storage share. +### [Get-AzStorageSku](Get-AzStorageSku.md) +Lists the available SKUs supported by Microsoft.Storage for given subscription. + ### [Get-AzStorageTable](Get-AzStorageTable.md) Lists the storage tables. diff --git a/src/Storage/Storage.Management/help/Get-AzStorageSku.md b/src/Storage/Storage.Management/help/Get-AzStorageSku.md new file mode 100644 index 000000000000..ed8af1b05fae --- /dev/null +++ b/src/Storage/Storage.Management/help/Get-AzStorageSku.md @@ -0,0 +1,102 @@ +--- +external help file: Az.Storage-help.xml +Module Name: Az.Storage +online version: https://learn.microsoft.com/powershell/module/az.storage/get-azstoragesku +schema: 2.0.0 +--- + +# Get-AzStorageSku + +## SYNOPSIS +Lists the available SKUs supported by Microsoft.Storage for given subscription. + +## SYNTAX + +``` +Get-AzStorageSku [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Lists the available SKUs supported by Microsoft.Storage for given subscription. + +## EXAMPLES + +### Example 1: List SKUs under a subscription +```powershell +Get-AzStorageSku -SubscriptionId $mysubid +``` + +```output +Capability : {{ + "name": "supportsAccountHnsOnMigration", + "value": "true" + }, { + "name": "supportsaccountvlw", + "value": "true" + }, { + "name": "supportsadlsgen2snapshot", + "value": "true" + }, { + "name": "supportsadlsgen2staticwebsite", + "value": "true" + }…} +Kind : StorageV2 +Location : {westus2} +LocationInfo : {{ + "location": "westus2", + "zones": [ ] + }} +Name : Standard_ZRS +ResourceType : storageAccounts +Restriction : {} +Tier : Standard +``` + +This command lists all SKUs under a specified subscription. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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 + +### Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ISkuInformation + +## NOTES + +## RELATED LINKS diff --git a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md index 16cb707dbe88..c35ae7239ea1 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageTaskAssignment.md @@ -15,7 +15,7 @@ Get the storage task assignment properties ### List (Default) ``` Get-AzStorageTaskAssignment -AccountName -ResourceGroupName [-SubscriptionId ] - [-Maxpagesize ] [-DefaultProfile ] [] + [-Top ] [-DefaultProfile ] [] ``` ### Get @@ -147,21 +147,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -Maxpagesize -Optional, specifies the maximum number of storage task assignment Ids to be included in the list response. - -```yaml -Type: System.Int32 -Parameter Sets: List -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Name 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. @@ -224,6 +209,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Top +Optional, specifies the maximum number of storage task assignment Ids to be included in the list response. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: Maxpagesize + +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). diff --git a/src/Storage/Storage.Management/help/New-AzStorageAccount.md b/src/Storage/Storage.Management/help/New-AzStorageAccount.md index 7a93588db5b2..f6fd8b8b2a3c 100644 --- a/src/Storage/Storage.Management/help/New-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/New-AzStorageAccount.md @@ -30,7 +30,7 @@ New-AzStorageAccount [-ResourceGroupName] [-Name] [-SkuName] < [-DefaultSharePermission ] [-EdgeZone ] [-PublicNetworkAccess ] [-EnableAccountLevelImmutability] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-AllowedCopyScope ] [-DnsEndpointType ] [-DefaultProfile ] - [-RoutingChoice ] [-ProgressAction ] [] + [-RoutingChoice ] [] ``` ### AzureActiveDirectoryKerberosForFile @@ -51,7 +51,7 @@ New-AzStorageAccount [-ResourceGroupName] [-Name] [-SkuName] < [-EdgeZone ] [-PublicNetworkAccess ] [-EnableAccountLevelImmutability] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-AllowedCopyScope ] [-DnsEndpointType ] [-DefaultProfile ] [-RoutingChoice ] - [-ProgressAction ] [] + [] ``` ### ActiveDirectoryDomainServicesForFile @@ -75,7 +75,7 @@ New-AzStorageAccount [-ResourceGroupName] [-Name] [-SkuName] < [-EdgeZone ] [-PublicNetworkAccess ] [-EnableAccountLevelImmutability] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-AllowedCopyScope ] [-DnsEndpointType ] [-DefaultProfile ] [-RoutingChoice ] - [-ProgressAction ] [] + [] ``` ## DESCRIPTION @@ -1138,21 +1138,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -PublicNetworkAccess Allow or disallow public network access to Storage Account.Possible values include: 'Enabled', 'Disabled'. diff --git a/src/Storage/Storage.Management/help/Rename-AzStorageDirectory.md b/src/Storage/Storage.Management/help/Rename-AzStorageDirectory.md index 6083da2d9752..4e71956ac553 100644 --- a/src/Storage/Storage.Management/help/Rename-AzStorageDirectory.md +++ b/src/Storage/Storage.Management/help/Rename-AzStorageDirectory.md @@ -28,7 +28,7 @@ Rename-AzStorageDirectory [-ShareClient] [-SourcePath] [[ [-Confirm] [] ``` -### DirectoryObject +### DirecotryObject ``` Rename-AzStorageDirectory [-ShareDirectoryClient] [[-DestinationPath] ] [-Permission ] [-Force] [-AsJob] [-Context ] @@ -232,7 +232,7 @@ Source directory instance ```yaml Type: Azure.Storage.Files.Shares.ShareDirectoryClient -Parameter Sets: DirectoryObject +Parameter Sets: DirecotryObject Aliases: Required: True diff --git a/src/Storage/Storage.Management/help/Rename-AzStorageFile.md b/src/Storage/Storage.Management/help/Rename-AzStorageFile.md index 919141e13219..79c394b5547d 100644 --- a/src/Storage/Storage.Management/help/Rename-AzStorageFile.md +++ b/src/Storage/Storage.Management/help/Rename-AzStorageFile.md @@ -36,7 +36,7 @@ Rename-AzStorageFile [-ShareClient] [-SourcePath] [[-Dest [-Confirm] [] ``` -### DirectoryObject +### DirecotryObject ``` Rename-AzStorageFile [-ShareDirectoryClient] [-SourcePath] [[-DestinationPath] ] [-ContentType ] [-Permission ] [-Force] [-AsJob] @@ -256,7 +256,7 @@ ShareDirectoryClient indicated the share where the file would be listed. ```yaml Type: Azure.Storage.Files.Shares.ShareDirectoryClient -Parameter Sets: DirectoryObject +Parameter Sets: DirecotryObject Aliases: Required: True @@ -301,7 +301,7 @@ Path to an existing file. ```yaml Type: System.String -Parameter Sets: ShareName, ShareObject, DirectoryObject +Parameter Sets: ShareName, ShareObject, DirecotryObject Aliases: Required: True diff --git a/src/Storage/Storage.Management/help/Set-AzStorageAccount.md b/src/Storage/Storage.Management/help/Set-AzStorageAccount.md index 79d037f685f2..fabdfe7f4655 100644 --- a/src/Storage/Storage.Management/help/Set-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/Set-AzStorageAccount.md @@ -27,7 +27,7 @@ Set-AzStorageAccount [-ResourceGroupName] [-Name] [-Force] [-S [-AllowCrossTenantReplication ] [-DefaultSharePermission ] [-PublicNetworkAccess ] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-EnableSftp ] [-EnableLocalUser ] [-AllowedCopyScope ] [-AsJob] [-DefaultProfile ] - [-RoutingChoice ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-RoutingChoice ] [-WhatIf] [-Confirm] [] ``` ### KeyvaultEncryption @@ -45,7 +45,7 @@ Set-AzStorageAccount [-ResourceGroupName] [-Name] [-Force] [-S [-AllowCrossTenantReplication ] [-DefaultSharePermission ] [-PublicNetworkAccess ] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-EnableSftp ] [-EnableLocalUser ] [-AllowedCopyScope ] [-AsJob] [-DefaultProfile ] - [-RoutingChoice ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-RoutingChoice ] [-WhatIf] [-Confirm] [] ``` ### AzureActiveDirectoryKerberosForFile @@ -63,7 +63,7 @@ Set-AzStorageAccount [-ResourceGroupName] [-Name] [-Force] [-S [-DefaultSharePermission ] [-PublicNetworkAccess ] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-EnableSftp ] [-EnableLocalUser ] [-AllowedCopyScope ] [-AsJob] [-DefaultProfile ] [-RoutingChoice ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### ActiveDirectoryDomainServicesForFile @@ -84,7 +84,7 @@ Set-AzStorageAccount [-ResourceGroupName] [-Name] [-Force] [-S [-DefaultSharePermission ] [-PublicNetworkAccess ] [-ImmutabilityPeriod ] [-ImmutabilityPolicyState ] [-EnableSftp ] [-EnableLocalUser ] [-AllowedCopyScope ] [-AsJob] [-DefaultProfile ] [-RoutingChoice ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -461,6 +461,7 @@ $account.AzureFilesIdentityBasedAuth.SmbOAuthSettings.IsSmbOAuthEnabled ```output True ``` + This command updates a Storage account by setting EnableSmbOAuth to true, then shows the updated account related properties. ## PARAMETERS @@ -1084,21 +1085,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -PublicNetworkAccess Allow or disallow public network access to Storage Account.Possible values include: 'Enabled', 'Disabled'. diff --git a/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md b/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md index d669bb4f7db9..b5dcc2fe2f9e 100644 --- a/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md +++ b/src/Storage/Storage.Management/help/Set-AzStorageAccountManagementPolicy.md @@ -1120,3 +1120,152 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS + + +## 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 diff --git a/src/Storage/Storage.Management/help/Set-AzStorageObjectReplicationPolicy.md b/src/Storage/Storage.Management/help/Set-AzStorageObjectReplicationPolicy.md index 6c6052ae9f5b..e694f67844a5 100644 --- a/src/Storage/Storage.Management/help/Set-AzStorageObjectReplicationPolicy.md +++ b/src/Storage/Storage.Management/help/Set-AzStorageObjectReplicationPolicy.md @@ -16,23 +16,23 @@ Creates or updates the specified object replication policy in a Storage account. ``` Set-AzStorageObjectReplicationPolicy [-ResourceGroupName] [-StorageAccountName] [-PolicyId ] -SourceAccount [-DestinationAccount ] [-EnableMetric ] - -Rule [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + -Rule [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### PolicyObject ``` Set-AzStorageObjectReplicationPolicy [-ResourceGroupName] [-StorageAccountName] - -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + -InputObject [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### AccountObject ``` Set-AzStorageObjectReplicationPolicy -StorageAccount [-PolicyId ] -SourceAccount [-DestinationAccount ] [-EnableMetric ] - -Rule [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + -Rule [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md b/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md index 58297ec7ca32..54688f13a799 100644 --- a/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md +++ b/src/Storage/Storage.Management/help/Update-AzStorageTaskAssignment.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzStorageTaskAssignment ## SYNOPSIS -update storage task assignment properties +Update storage task assignment properties ## SYNTAX @@ -41,7 +41,7 @@ Update-AzStorageTaskAssignment -InputObject [-Description