diff --git a/src/Qumulo/Qumulo.Autorest/Properties/AssemblyInfo.cs b/src/Qumulo/Qumulo.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..46bc06cf5125 --- /dev/null +++ b/src/Qumulo/Qumulo.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Qumulo")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.3")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Qumulo/Qumulo.Autorest/README.md b/src/Qumulo/Qumulo.Autorest/README.md index 5377689f2671..390ad971f51b 100644 --- a/src/Qumulo/Qumulo.Autorest/README.md +++ b/src/Qumulo/Qumulo.Autorest/README.md @@ -46,16 +46,6 @@ module-version: 0.1.0 title: Qumulo subject-prefix: $(service-name) -# If there are post APIs for some kinds of actions in the RP, you may need to -# uncomment following line to support viaIdentity for these post APIs -# identity-correction-for-post: true -resourcegroup-append: true -nested-object-to-string: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: - where: variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ diff --git a/src/Qumulo/Qumulo.Autorest/custom/Update-AzQumuloFileSystem.ps1 b/src/Qumulo/Qumulo.Autorest/custom/Update-AzQumuloFileSystem.ps1 index d2f59341f73e..88e0a573621a 100644 --- a/src/Qumulo/Qumulo.Autorest/custom/Update-AzQumuloFileSystem.ps1 +++ b/src/Qumulo/Qumulo.Autorest/custom/Update-AzQumuloFileSystem.ps1 @@ -25,7 +25,7 @@ Update-AzQumuloFileSystem -ResourceGroupName ps-joyer-test -Name qumulo-resource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.qumulo/update-azqumulofilesystem #> function Update-AzQumuloFileSystem { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -73,7 +73,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResourceUpdateTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResourceUpdateTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, diff --git a/src/Qumulo/Qumulo.Autorest/docs/Az.Qumulo.md b/src/Qumulo/Qumulo.Autorest/docs/Az.Qumulo.md index 3a13b7d2e183..a52bd40686df 100644 --- a/src/Qumulo/Qumulo.Autorest/docs/Az.Qumulo.md +++ b/src/Qumulo/Qumulo.Autorest/docs/Az.Qumulo.md @@ -1,6 +1,6 @@ --- Module Name: Az.Qumulo -Module Guid: 181af76f-3704-40ce-9fa9-c5826313916c +Module Guid: ae816842-9c94-407e-b5ca-567ce7d027ce Download Help Link: https://learn.microsoft.com/powershell/module/az.qumulo Help Version: 1.0.0.0 Locale: en-US @@ -15,7 +15,7 @@ Microsoft Azure PowerShell: Qumulo cmdlets Get a file system resource ### [New-AzQumuloFileSystem](New-AzQumuloFileSystem.md) -Create a file system resource +create a file system resource ### [Remove-AzQumuloFileSystem](Remove-AzQumuloFileSystem.md) Delete a file system resource diff --git a/src/Qumulo/Qumulo.Autorest/docs/Get-AzQumuloFileSystem.md b/src/Qumulo/Qumulo.Autorest/docs/Get-AzQumuloFileSystem.md index 160c90995bb4..ce6d3291e548 100644 --- a/src/Qumulo/Qumulo.Autorest/docs/Get-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo.Autorest/docs/Get-AzQumuloFileSystem.md @@ -105,7 +105,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity @@ -174,7 +173,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES diff --git a/src/Qumulo/Qumulo.Autorest/docs/New-AzQumuloFileSystem.md b/src/Qumulo/Qumulo.Autorest/docs/New-AzQumuloFileSystem.md index 975ca5b2a417..7e4f36e46577 100644 --- a/src/Qumulo/Qumulo.Autorest/docs/New-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo.Autorest/docs/New-AzQumuloFileSystem.md @@ -8,22 +8,37 @@ schema: 2.0.0 # New-AzQumuloFileSystem ## SYNOPSIS -Create a file system resource +create a file system resource ## SYNTAX +### CreateExpanded (Default) ``` New-AzQumuloFileSystem -Name -ResourceGroupName -AdminPassword -DelegatedSubnetId -InitialCapacity -Location -MarketplaceOfferId - -MarketplacePlanId -MarketplacePublisherId -StorageSku -UserEmail + -MarketplacePlanId -MarketplacePublisherId -StorageSku -UserEmail [-SubscriptionId ] [-AvailabilityZone ] [-ClusterLoginUrl ] - [-IdentityType ] [-MarketplaceSubscriptionId ] [-PrivateIP ] - [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-EnableSystemAssignedIdentity] [-MarketplaceSubscriptionId ] [-PrivateIP ] + [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzQumuloFileSystem -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzQumuloFileSystem -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Create a file system resource +create a file system resource ## EXAMPLES @@ -65,7 +80,7 @@ Initial administrator password of the resource ```yaml Type: System.Security.SecureString -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -95,7 +110,7 @@ Availability zone ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +125,7 @@ File system Id of the resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -141,7 +156,7 @@ Delegated subnet id for Vnet injection ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -151,12 +166,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Support.ManagedServiceIdentityType -Parameter Sets: (All) +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded Aliases: Required: False @@ -171,7 +186,37 @@ Storage capacity in TB ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -186,7 +231,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -201,7 +246,7 @@ Offer Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -216,7 +261,7 @@ Plan Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -231,7 +276,7 @@ Publisher Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -246,7 +291,7 @@ Marketplace Subscription Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -291,7 +336,7 @@ Private IPs of the resource ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -321,8 +366,8 @@ Accept wildcard characters: False Storage Sku ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Support.StorageSku -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: True @@ -352,7 +397,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -363,13 +408,12 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -384,7 +428,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -432,7 +476,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES diff --git a/src/Qumulo/Qumulo.Autorest/docs/Remove-AzQumuloFileSystem.md b/src/Qumulo/Qumulo.Autorest/docs/Remove-AzQumuloFileSystem.md index 675996a274bc..05e5d949796d 100644 --- a/src/Qumulo/Qumulo.Autorest/docs/Remove-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo.Autorest/docs/Remove-AzQumuloFileSystem.md @@ -71,7 +71,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity diff --git a/src/Qumulo/Qumulo.Autorest/docs/Update-AzQumuloFileSystem.md b/src/Qumulo/Qumulo.Autorest/docs/Update-AzQumuloFileSystem.md index b47e2c293c97..42690141b7bc 100644 --- a/src/Qumulo/Qumulo.Autorest/docs/Update-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo.Autorest/docs/Update-AzQumuloFileSystem.md @@ -178,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES diff --git a/src/Qumulo/Qumulo.Autorest/generate-info.json b/src/Qumulo/Qumulo.Autorest/generate-info.json index 259ed9c39866..ed03dfb7e7d4 100644 --- a/src/Qumulo/Qumulo.Autorest/generate-info.json +++ b/src/Qumulo/Qumulo.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "829c2068-3711-4b10-8582-65aabac4323d" + "generate_Id": "84f5cb94-24b7-43cb-a719-8818a37bd0a8" } diff --git a/src/Qumulo/Qumulo.Autorest/resources/README.md b/src/Qumulo/Qumulo.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Qumulo/Qumulo.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/Qumulo/Qumulo.sln b/src/Qumulo/Qumulo.sln index be91e39bf2ae..77894937c729 100644 --- a/src/Qumulo/Qumulo.sln +++ b/src/Qumulo/Qumulo.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,7 +19,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qumulo", "Qumulo\Qumulo.csproj", "{9049EF79-C784-47C4-A2AE-98455948895C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Qumulo", "..\..\generated\Qumulo\Qumulo.Autorest\Az.Qumulo.csproj", "{1C79ADA5-F064-4697-AEB5-0C3912628454}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Qumulo", "..\..\generated\Qumulo\Qumulo.Autorest\Az.Qumulo.csproj", "{31A0475D-68BC-4C4C-A48F-6C851B4DF44B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -58,10 +58,10 @@ Global {9049EF79-C784-47C4-A2AE-98455948895C}.Debug|Any CPU.Build.0 = Debug|Any CPU {9049EF79-C784-47C4-A2AE-98455948895C}.Release|Any CPU.ActiveCfg = Release|Any CPU {9049EF79-C784-47C4-A2AE-98455948895C}.Release|Any CPU.Build.0 = Release|Any CPU - {1C79ADA5-F064-4697-AEB5-0C3912628454}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1C79ADA5-F064-4697-AEB5-0C3912628454}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1C79ADA5-F064-4697-AEB5-0C3912628454}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1C79ADA5-F064-4697-AEB5-0C3912628454}.Release|Any CPU.Build.0 = Release|Any CPU + {31A0475D-68BC-4C4C-A48F-6C851B4DF44B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {31A0475D-68BC-4C4C-A48F-6C851B4DF44B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {31A0475D-68BC-4C4C-A48F-6C851B4DF44B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {31A0475D-68BC-4C4C-A48F-6C851B4DF44B}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution {5A05389D-78DD-4200-A9B9-872D5F6957C5} = {C1C7E04B-8A79-4341-8401-D87FB9393AD8} diff --git a/src/Qumulo/Qumulo/Az.Qumulo.psd1 b/src/Qumulo/Qumulo/Az.Qumulo.psd1 index fc275457fd68..3a58019eb4df 100644 --- a/src/Qumulo/Qumulo/Az.Qumulo.psd1 +++ b/src/Qumulo/Qumulo/Az.Qumulo.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 3/26/2025 # @{ @@ -51,16 +51,16 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Qumulo.Autorest/bin/Az.Qumulo.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'Qumulo.Autorest/Az.Qumulo.format.ps1xml' @@ -96,7 +96,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Qumulo' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Qumulo' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -121,7 +121,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Qumulo/Qumulo/help/Get-AzQumuloFileSystem.md b/src/Qumulo/Qumulo/help/Get-AzQumuloFileSystem.md index 75a978d9e4f2..016d925a47e7 100644 --- a/src/Qumulo/Qumulo/help/Get-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo/help/Get-AzQumuloFileSystem.md @@ -107,7 +107,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity @@ -176,7 +175,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES diff --git a/src/Qumulo/Qumulo/help/New-AzQumuloFileSystem.md b/src/Qumulo/Qumulo/help/New-AzQumuloFileSystem.md index b4b13e40fe22..c8cdeeda3d23 100644 --- a/src/Qumulo/Qumulo/help/New-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo/help/New-AzQumuloFileSystem.md @@ -8,28 +8,43 @@ schema: 2.0.0 # New-AzQumuloFileSystem ## SYNOPSIS -Create a file system resource +create a file system resource ## SYNTAX +### CreateExpanded (Default) ``` New-AzQumuloFileSystem -Name -ResourceGroupName [-SubscriptionId ] -AdminPassword -DelegatedSubnetId -InitialCapacity -Location - -MarketplaceOfferId -MarketplacePlanId -MarketplacePublisherId - -StorageSku -UserEmail [-AvailabilityZone ] [-ClusterLoginUrl ] - [-IdentityType ] [-MarketplaceSubscriptionId ] [-PrivateIP ] - [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait] + -MarketplaceOfferId -MarketplacePlanId -MarketplacePublisherId -StorageSku + -UserEmail [-AvailabilityZone ] [-ClusterLoginUrl ] [-EnableSystemAssignedIdentity] + [-MarketplaceSubscriptionId ] [-PrivateIP ] [-Tag ] + [-UserAssignedIdentity ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzQumuloFileSystem -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzQumuloFileSystem -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Create a file system resource +create a file system resource ## EXAMPLES ### Example 1: Create a minimum set file system resource ```powershell -$password = ConvertTo-SecureString -String "****" -AsPlainText -Force +$password = ConvertTo-SecureString -String $password -AsPlainText -Force New-AzQumuloFileSystem -Name qumulo01 -ResourceGroupName ps-joyer-test -DelegatedSubnetId /subscriptions/fc35d936-3b89-41f8-8110-a24b56826c37/resourceGroups/ps-joyer-test/providers/Microsoft.Network/virtualNetworks/eastus-ps-virtualnetwork/subnets/qumulo-vn -InitialCapacity 50 -Location eastus -MarketplaceOfferId "qumulo-saas-mpp" -MarketplacePlanId "qumulo-on-azure-v1%%gmz7xq9ge3py%%P1M" -MarketplacePublisherId qumulo1584033880660 -StorageSku Standard -UserEmail user@organization.com -AdminPassword $password ``` @@ -45,7 +60,7 @@ The password must contain at least 8 characters and have at least 1 letter, 1 nu ### Example 2: Create a file system resource with other settings ```powershell -$password = ConvertTo-SecureString -String "****" -AsPlainText -Force +$password = ConvertTo-SecureString -String $password -AsPlainText -Force New-AzQumuloFileSystem -Name qumulo02 -ResourceGroupName ps-joyer-test -AdminPassword $password -DelegatedSubnetId /subscriptions/fc35d936-3b89-41f8-8110-a24b56826c37/resourceGroups/ps-joyer-test/providers/Microsoft.Network/virtualNetworks/eastus-ps-virtualnetwork/subnets/qumulo-vn -InitialCapacity 50 -Location eastus -MarketplaceOfferId "qumulo-saas-mpp" -MarketplacePlanId "qumulo-on-azure-v1%%gmz7xq9ge3py%%P1M" -MarketplacePublisherId qumulo1584033880660 -StorageSku Standard -UserEmail user@organization.com -AvailabilityZone 1 -Tag @{"123"="abc"} ``` @@ -65,7 +80,7 @@ Initial administrator password of the resource ```yaml Type: System.Security.SecureString -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -95,7 +110,7 @@ Availability zone ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +125,7 @@ File system Id of the resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -141,7 +156,7 @@ Delegated subnet id for Vnet injection ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -151,12 +166,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Support.ManagedServiceIdentityType -Parameter Sets: (All) +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded Aliases: Required: False @@ -171,7 +186,37 @@ Storage capacity in TB ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -186,7 +231,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -201,7 +246,7 @@ Offer Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -216,7 +261,7 @@ Plan Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -231,7 +276,7 @@ Publisher Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -246,7 +291,7 @@ Marketplace Subscription Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -291,7 +336,7 @@ Private IPs of the resource ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -321,8 +366,8 @@ Accept wildcard characters: False Storage Sku ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Support.StorageSku -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: True @@ -352,7 +397,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -363,13 +408,12 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -384,7 +428,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -432,7 +476,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES diff --git a/src/Qumulo/Qumulo/help/Remove-AzQumuloFileSystem.md b/src/Qumulo/Qumulo/help/Remove-AzQumuloFileSystem.md index d4e56ff86748..af14b2a6c8cb 100644 --- a/src/Qumulo/Qumulo/help/Remove-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo/help/Remove-AzQumuloFileSystem.md @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity diff --git a/src/Qumulo/Qumulo/help/Update-AzQumuloFileSystem.md b/src/Qumulo/Qumulo/help/Update-AzQumuloFileSystem.md index 47889527d182..324bf27cecba 100644 --- a/src/Qumulo/Qumulo/help/Update-AzQumuloFileSystem.md +++ b/src/Qumulo/Qumulo/help/Update-AzQumuloFileSystem.md @@ -179,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource +### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource ## NOTES