This directory contains the PowerShell module for the Qumulo service.
- Modifiable: yes
- Generated: all
- Committed: yes
- Packaged: yes
This module was primarily generated via AutoRest using the PowerShell extension.
- Az.Accounts module, version 2.7.5 or greater
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
For information on how to develop for Az.Qumulo
, see how-to.md.
# pin the swagger version by using the commit id instead of branch name
commit: b56524cc505fc6605c9d62d913a974af63e43112
tag: package-2022-10-12-preview
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
- $(repo)/specification/liftrqumulo/resource-manager/readme.md
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
# - (this-folder)/relative-path-to-your-local-readme.md
try-require:
- $(repo)/specification/liftrqumulo/resource-manager/readme.powershell.md
# For new RP, the version is 0.1.0
module-version: 0.1.0
# Normally, title is the service name
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$
remove: true
# don't support updation of resource
- where:
verb: Update
hide: true
# Remove the set-* cmdlet
- where:
verb: Set
remove: true
# Set adminPassword to secure string
- from: swagger-document
where: $.definitions.FileSystemResourceProperties.properties.adminPassword
transform: >-
return {
"type": "string",
"x-ms-secret": true,
"description": "Initial administrator password of the resource",
"format": "password"
}
# Rename FileSystemResource to file system resource
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems"].get.description
transform: >-
return "List file system resources by resource group"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}"].get.description
transform: >-
return "Get a file system resource"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}"].put.description
transform: >-
return "Create a file system resource"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}"].patch.description
transform: >-
return "Update a file system resource"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}"].delete.description
transform: >-
return "Delete a file system resource"
# rename parameters
- where:
parameter-name: IdentityUserAssignedIdentity #Useless parameter
set:
parameter-name: UserAssignedIdentity
- where:
parameter-name: MarketplaceDetailOfferId
set:
parameter-name: MarketplaceOfferId
- where:
parameter-name: MarketplaceDetailMarketplaceSubscriptionId
set:
parameter-name: MarketplaceSubscriptionId
- where:
parameter-name: MarketplaceDetailPlanId
set:
parameter-name: MarketplacePlanId
- where:
parameter-name: MarketplaceDetailPublisherId
set:
parameter-name: MarketplacePublisherId
- where:
parameter-name: UserDetailEmail
set:
parameter-name: UserEmail