Skip to content

Files

Latest commit

88aa1be · Dec 5, 2023

History

History

Maps.Autorest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Dec 5, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023

README.md

Az.Maps

This directory contains the PowerShell module for the Maps service.


Status

Az.Maps

Info

  • Modifiable: yes
  • Generated: all
  • Committed: yes
  • Packaged: yes

Detail

This module was primarily generated via AutoRest using the PowerShell extension.

Module Requirements

Authentication

AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.

Development

For information on how to develop for Az.Maps, see how-to.md.

AutoRest Configuration

see https://aka.ms/autorest

commit: 34f09c2b143dc50acc8905a415b8d6c959c9e142
require:
  - $(this-folder)/../../readme.azure.noprofile.md
input-file:
  - $(repo)/specification/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/maps-management.json

module-version: 1.0.0
title: Maps
subject-prefix: $(service-name)
identity-correction-for-post: 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:

  # remove cmdlet
  - where:
      verb: Set
    remove: true

  - where: 
      verb: Get
      subject: MapOperation
    remove: true
  
  # rename cmdlet
  - where:
      verb: Get
      subject: MapSubscriptionOperation
    set:
      subject: SubscriptionOperation

  # remove variant
  - where:
      verb: New|Update
      subject: Account
      variant: ^CreateViaIdentityExpanded$|^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
    remove: true

  - where:
      verb: New|Update
      subject: Creator
      variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
    remove: true
  
  # Only one creator is allowed for a Maps account.
  # - where:
  #     verb: Get
  #     subject: Creator
  #     variant: ^List$
  #   remove: true
  
  - where:
      verb: New
      subject: AccountKey
      variant: ^Regenerate$|^RegenerateViaIdentity$
    remove: true

  # rename parameter
  - where:
      verb: Get|New
      subject: AccountKey
      parameter-name: AccountName 
    set:
      parameter-name: Name