Skip to content

Latest commit

 

History

History
82 lines (68 loc) · 2.83 KB

File metadata and controls

82 lines (68 loc) · 2.83 KB

Az.Confluent

This directory contains the PowerShell module for the Confluent service.


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.Confluent, see how-to.md.


Generation Requirements

Use of the beta version of autorest.powershell generator requires the following:

  • NodeJS LTS (10.15.x LTS preferred)
    • Note: It will not work with Node < 10.x. Using 11.x builds may cause issues as they may introduce instability or breaking changes.

If you want an easy way to install and update Node, NVS - Node Version Switcher or NVM - Node Version Manager is recommended.

  • AutoRest v3 beta
    npm install -g autorest@autorest
     
  • PowerShell 6.0 or greater
    • If you don't have it installed, you can use the cross-platform npm package
      npm install -g pwsh
       
  • .NET Core SDK 2.0 or greater
    • If you don't have it installed, you can use the cross-platform npm package
      npm install -g dotnet-sdk-2.2
       

Run Generation

In this directory, run AutoRest:

autorest


AutoRest Configuration

see https://aka.ms/autorest

commit: da3e3a42110d96609505c4bcb5b4d768341203a8
require:
  - $(this-folder)/../../readme.azure.noprofile.md
  - $(repo)/specification/confluent/resource-manager/readme.md

try-require:
  - $(repo)/specification/confluent/resource-manager/readme.powershell.md

module-version: 0.2.0
title: Confluent
subject-prefix: $(service-name)

directive:
  # New-AzConfluentMarketplaceAgreeemt has  be removed, because it cand be replace by Set-AzMarketplaceTerms (Az.MarketplaceOrdering).
  - where:
      verb: New
      subject: MarketplaceAgreement$
    remove: true

  - where:
      subject: OrganizationOperation
    hide: true
  # Remove the unexpanded parameter set
  - where:
      variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
    remove: true
  - where:
      variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
    remove: true

  # Hide the Remove-AzConfluentOrganization for ask user confirmation before Remove-AzConfluentOrganization been invoken
  - where:
      verb: Remove
      subject: Organization$
    hide: true