diff --git a/.goreleaser.yaml b/.goreleaser.yaml
deleted file mode 100644
index 1c4c229..0000000
--- a/.goreleaser.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
-before:
- hooks:
- - go mod tidy
-builds:
- - env:
- - CGO_ENABLED=0
- goos:
- - windows
-
- ldflags:
- - -s -w -X github.com/cpendery/clac/cmd.version={{.Version}}
-
-archives:
- - format: tar.gz
- name_template: >-
- {{ .ProjectName }}_
- {{- title .Os }}_
- {{- if eq .Arch "amd64" }}x86_64
- {{- else if eq .Arch "386" }}i386
- {{- else }}{{ .Arch }}{{ end }}
- {{- if .Arm }}v{{ .Arm }}{{ end }}
- format_overrides:
- - goos: windows
- format: zip
-checksum:
- name_template: 'checksums.txt'
-snapshot:
- name_template: "{{ incpatch .Version }}-next"
-changelog:
- sort: asc
- filters:
- exclude:
- - '^docs:'
- - '^test:'
- - '^ci:'
-
-winget:
- - name: clac
- publisher: cpendery
- short_description: IDE style command line auto complete
- license: "apache 2.0"
- publisher_url: https://github.com/cpendery
- publisher_support_url: "https://github.com/cpendery/clac/issues/new"
- package_identifier: cpendery.clac
- goamd64: v1
- commit_author:
- name: cpendery
- email: cpendery@vt.edu
- commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}"
- path: manifests/g/goreleaser/1.19
- homepage: "https://github.com/cpendery/clac"
- skip_upload: true
- release_notes: "{{.Changelog}}"
- tags:
- - golang
- - cli
- repository:
- owner: cpendery
- name: clac
- branch: main
-chocolateys:
- - name: clac
- owners: cpendery
- title: Clac
- authors: cpendery
- project_url: https://github.com/cpendery/clac
- require_license_acceptance: false
- project_source_url: https://github.com/cpendery/clac
- bug_tracker_url: https://github.com/cpendery/clac/issues
- summary: IDE style command line auto complete
- description: IDE style command line auto complete
- api_key: '{{ .Env.CHOCOLATEY_API_KEY }}'
- source_repo: "https://push.chocolatey.org/"
- skip_publish: false
- goamd64: v1
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..f9ba8cf
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,9 @@
+# Microsoft Open Source Code of Conduct
+
+This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+
+Resources:
+
+- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
+- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
+- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
diff --git a/LICENSE b/LICENSE
index 261eeb9..9e841e7 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,201 +1,21 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
+ MIT License
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+ Copyright (c) Microsoft Corporation.
- 1. Definitions.
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE
diff --git a/Makefile b/Makefile
index b002f87..81862f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
.PHONY: codegen
codegen:
cd autocomplete/extract && npm test
+ python autocomplete/extract/tools/scrapers/azure.py
.PHONY: clean
clean:
diff --git a/README.md b/README.md
index eb49b5d..bd547a9 100644
--- a/README.md
+++ b/README.md
@@ -2,19 +2,19 @@
clac provides IDE style autocomplete aka `inshellisense` in every shell
-

+
clac is built on Fig's [autocomplete specs](https://github.com/withfig/autocomplete) which
provide support for 600+ command line tools.
## Supported Integrations
-| Shells | IDEs | OS |
-| ------------------ | ------------------ | -------- |
-| zsh | Visual Studio Code | Mac |
-| bash | JetBrains Suite | Windows |
-| pwsh (Powershell) | Android Studio | Linux |
-| Windows Powershell | | |
+| Shells | IDEs | OS |
+| ------------------ | ------------------ | ------- |
+| zsh | Visual Studio Code | Mac |
+| bash | JetBrains Suite | Windows |
+| pwsh (Powershell) | Android Studio | Linux |
+| Windows Powershell | | |
## Getting Started
@@ -23,7 +23,7 @@ provide support for 600+ command line tools.
#### MacOS, Linux, & Windows
```shell
-go install github.com/cpendery/clac@latest
+go install github.com/microsoft/clac@latest
```
### Quickstart
@@ -39,3 +39,25 @@ for `CTRL+a` to trigger the autocomplete session & execution.
- [warp](https://www.warp.dev/)
- [fzf](https://github.com/junegunn/fzf)
- [bubbletea](https://github.com/charmbracelet/bubbletea)
+
+## Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to agree to a
+Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
+the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
+
+When you submit a pull request, a CLA bot will automatically determine whether you need to provide
+a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
+provided by the bot. You will only need to do this once across all repos using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
+contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
+
+## Trademarks
+
+This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
+trademarks or logos is subject to and must follow
+[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
+Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
+Any use of third-party trademarks or logos are subject to those third-party's policies.
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..b3c89ef
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,41 @@
+
+
+## Security
+
+Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin).
+
+If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below.
+
+## Reporting Security Issues
+
+**Please do not report security vulnerabilities through public GitHub issues.**
+
+Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).
+
+If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
+
+You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
+
+Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
+
+ * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
+ * Full paths of source file(s) related to the manifestation of the issue
+ * The location of the affected source code (tag/branch/commit or direct URL)
+ * Any special configuration required to reproduce the issue
+ * Step-by-step instructions to reproduce the issue
+ * Proof-of-concept or exploit code (if possible)
+ * Impact of the issue, including how an attacker might exploit the issue
+
+This information will help us triage your report more quickly.
+
+If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs.
+
+## Preferred Languages
+
+We prefer all communications to be in English.
+
+## Policy
+
+Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).
+
+
diff --git a/SUPPORT.md b/SUPPORT.md
new file mode 100644
index 0000000..1cc96b9
--- /dev/null
+++ b/SUPPORT.md
@@ -0,0 +1,13 @@
+# Support
+
+## How to file issues and get help
+
+This project uses GitHub Issues to track bugs and feature requests. Please search the existing
+issues before filing new issues to avoid duplicates. For new issues, file your bug or
+feature request as a new Issue.
+
+For help and questions about using this project, create a new Github Discussion.
+
+## Microsoft Support Policy
+
+Support for this project is limited to the resources listed above.
diff --git a/autocomplete/completion.go b/autocomplete/completion.go
index 98c35b3..0c45448 100644
--- a/autocomplete/completion.go
+++ b/autocomplete/completion.go
@@ -1,11 +1,14 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package autocomplete
import (
"log/slog"
"regexp"
- "github.com/cpendery/clac/autocomplete/model"
- "github.com/cpendery/clac/autocomplete/specs"
+ "github.com/microsoft/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/specs"
)
var (
diff --git a/autocomplete/completion_test.go b/autocomplete/completion_test.go
index feddf18..aba58a6 100644
--- a/autocomplete/completion_test.go
+++ b/autocomplete/completion_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package autocomplete
import (
diff --git a/autocomplete/extract/extract.ts b/autocomplete/extract/extract.ts
index 9449691..1707a33 100644
--- a/autocomplete/extract/extract.ts
+++ b/autocomplete/extract/extract.ts
@@ -317,11 +317,14 @@ const generateGolang = (
filenameWithoutExtension: string
) => {
return `// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+ //
+ // Copyright (c) Microsoft Corporation.
+ // Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/extract/tools/scrapers/model.py b/autocomplete/extract/tools/scrapers/model.py
index ad38bc6..bf7aa31 100644
--- a/autocomplete/extract/tools/scrapers/model.py
+++ b/autocomplete/extract/tools/scrapers/model.py
@@ -124,11 +124,14 @@ class Subcommand(BaseModel):
def gen_golang_file(subcommand: Subcommand, scraper_filename: str) -> str:
return f"""// Code generated by {scraper_filename}. DO NOT EDIT.
+ //
+ // Copyright (c) Microsoft Corporation.
+ // Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {{
diff --git a/autocomplete/generators/ai.go b/autocomplete/generators/ai.go
index 551c2d0..9fd3d7d 100644
--- a/autocomplete/generators/ai.go
+++ b/autocomplete/generators/ai.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package generators
import (
@@ -11,8 +14,8 @@ import (
"os/exec"
"strings"
- "github.com/cpendery/clac/autocomplete/model"
"github.com/google/uuid"
+ "github.com/microsoft/clac/autocomplete/model"
)
const (
diff --git a/autocomplete/generators/azure/azure.go b/autocomplete/generators/azure/azure.go
index e1f6f33..c78fa1c 100644
--- a/autocomplete/generators/azure/azure.go
+++ b/autocomplete/generators/azure/azure.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package azure
import (
@@ -6,8 +9,8 @@ import (
"os/exec"
"strings"
- "github.com/cpendery/clac/autocomplete/model"
"github.com/google/uuid"
+ "github.com/microsoft/clac/autocomplete/model"
)
type azListKeyvaultsResponse struct {
diff --git a/autocomplete/generators/generator.go b/autocomplete/generators/generator.go
index 184f4cf..0d40150 100644
--- a/autocomplete/generators/generator.go
+++ b/autocomplete/generators/generator.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package generators
import (
@@ -5,8 +8,8 @@ import (
"os/exec"
"strings"
- "github.com/cpendery/clac/autocomplete/model"
"github.com/google/uuid"
+ "github.com/microsoft/clac/autocomplete/model"
)
var (
diff --git a/autocomplete/generators/git/git.go b/autocomplete/generators/git/git.go
index 70f05eb..b252d27 100644
--- a/autocomplete/generators/git/git.go
+++ b/autocomplete/generators/git/git.go
@@ -1,11 +1,14 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package git
import (
"strings"
- "github.com/cpendery/clac/autocomplete/generators"
- "github.com/cpendery/clac/autocomplete/model"
"github.com/google/uuid"
+ "github.com/microsoft/clac/autocomplete/generators"
+ "github.com/microsoft/clac/autocomplete/model"
)
func CommitMessageGenerator() *model.Generator {
diff --git a/autocomplete/generators/templates.go b/autocomplete/generators/templates.go
index fc3d932..3d1dbb4 100644
--- a/autocomplete/generators/templates.go
+++ b/autocomplete/generators/templates.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package generators
import (
@@ -5,7 +8,7 @@ import (
"os"
"slices"
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
// * - filepaths: show folders and filepaths. Allow autoexecute on filepaths
diff --git a/autocomplete/model/getters.go b/autocomplete/model/getters.go
index 503549a..89e3348 100644
--- a/autocomplete/model/getters.go
+++ b/autocomplete/model/getters.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package model
func (t TermSuggestion) GetName() []string {
diff --git a/autocomplete/model/model.go b/autocomplete/model/model.go
index 31dd28b..7747b90 100644
--- a/autocomplete/model/model.go
+++ b/autocomplete/model/model.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package model
import "github.com/google/uuid"
diff --git a/autocomplete/parse.go b/autocomplete/parse.go
index 51bd1f7..4a3bcfa 100644
--- a/autocomplete/parse.go
+++ b/autocomplete/parse.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package autocomplete
import (
diff --git a/autocomplete/parse_test.go b/autocomplete/parse_test.go
index 9edd2dd..e7eb4c3 100644
--- a/autocomplete/parse_test.go
+++ b/autocomplete/parse_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package autocomplete
import (
diff --git a/autocomplete/result.go b/autocomplete/result.go
index 84dee46..deb41a3 100644
--- a/autocomplete/result.go
+++ b/autocomplete/result.go
@@ -1,3 +1,6 @@
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
package autocomplete
import (
diff --git a/autocomplete/specs/act.go b/autocomplete/specs/act.go
index 61faa6f..a995f65 100644
--- a/autocomplete/specs/act.go
+++ b/autocomplete/specs/act.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/adb.go b/autocomplete/specs/adb.go
index 30599cd..2eec41c 100644
--- a/autocomplete/specs/adb.go
+++ b/autocomplete/specs/adb.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/adr.go b/autocomplete/specs/adr.go
index 9b090b4..6a703b9 100644
--- a/autocomplete/specs/adr.go
+++ b/autocomplete/specs/adr.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/afplay.go b/autocomplete/specs/afplay.go
index a7f3b1c..d9f0c9d 100644
--- a/autocomplete/specs/afplay.go
+++ b/autocomplete/specs/afplay.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/aftman.go b/autocomplete/specs/aftman.go
index 78af7bd..5bdd514 100644
--- a/autocomplete/specs/aftman.go
+++ b/autocomplete/specs/aftman.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ag.go b/autocomplete/specs/ag.go
index 4ade148..a825ee8 100644
--- a/autocomplete/specs/ag.go
+++ b/autocomplete/specs/ag.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/agrippa.go b/autocomplete/specs/agrippa.go
index 786d235..0b652af 100644
--- a/autocomplete/specs/agrippa.go
+++ b/autocomplete/specs/agrippa.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/airflow.go b/autocomplete/specs/airflow.go
index 57d400e..67ef79f 100644
--- a/autocomplete/specs/airflow.go
+++ b/autocomplete/specs/airflow.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/aliases.go b/autocomplete/specs/aliases.go
index 32ef79b..d5a65d9 100644
--- a/autocomplete/specs/aliases.go
+++ b/autocomplete/specs/aliases.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/amplify.go b/autocomplete/specs/amplify.go
index ffaa4d4..5c7dab8 100644
--- a/autocomplete/specs/amplify.go
+++ b/autocomplete/specs/amplify.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible-config.go b/autocomplete/specs/ansible-config.go
index 3819071..62366ea 100644
--- a/autocomplete/specs/ansible-config.go
+++ b/autocomplete/specs/ansible-config.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible-doc.go b/autocomplete/specs/ansible-doc.go
index 46dc397..0e58adf 100644
--- a/autocomplete/specs/ansible-doc.go
+++ b/autocomplete/specs/ansible-doc.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible-galaxy.go b/autocomplete/specs/ansible-galaxy.go
index 5a735c4..082d98e 100644
--- a/autocomplete/specs/ansible-galaxy.go
+++ b/autocomplete/specs/ansible-galaxy.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible-lint.go b/autocomplete/specs/ansible-lint.go
index 21d86b1..d9720d2 100644
--- a/autocomplete/specs/ansible-lint.go
+++ b/autocomplete/specs/ansible-lint.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible-playbook.go b/autocomplete/specs/ansible-playbook.go
index 5d4ae70..e3cc9d2 100644
--- a/autocomplete/specs/ansible-playbook.go
+++ b/autocomplete/specs/ansible-playbook.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ansible.go b/autocomplete/specs/ansible.go
index be7d10b..cbb94cf 100644
--- a/autocomplete/specs/ansible.go
+++ b/autocomplete/specs/ansible.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/ant.go b/autocomplete/specs/ant.go
index c4d7e9a..980cbff 100644
--- a/autocomplete/specs/ant.go
+++ b/autocomplete/specs/ant.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/appwrite.go b/autocomplete/specs/appwrite.go
index 2451a94..f294326 100644
--- a/autocomplete/specs/appwrite.go
+++ b/autocomplete/specs/appwrite.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/apt.go b/autocomplete/specs/apt.go
index 0347113..064dcc3 100644
--- a/autocomplete/specs/apt.go
+++ b/autocomplete/specs/apt.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/arch.go b/autocomplete/specs/arch.go
index 229fdc0..011de16 100644
--- a/autocomplete/specs/arch.go
+++ b/autocomplete/specs/arch.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/argo.go b/autocomplete/specs/argo.go
index b9f81db..0afd2db 100644
--- a/autocomplete/specs/argo.go
+++ b/autocomplete/specs/argo.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/asar.go b/autocomplete/specs/asar.go
index 0b87363..094e425 100644
--- a/autocomplete/specs/asar.go
+++ b/autocomplete/specs/asar.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/asciinema.go b/autocomplete/specs/asciinema.go
index bec5a04..c82029c 100644
--- a/autocomplete/specs/asciinema.go
+++ b/autocomplete/specs/asciinema.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/asdf.go b/autocomplete/specs/asdf.go
index ce3bf0a..e09bfc4 100644
--- a/autocomplete/specs/asdf.go
+++ b/autocomplete/specs/asdf.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/asr.go b/autocomplete/specs/asr.go
index 036f6d5..3d70155 100644
--- a/autocomplete/specs/asr.go
+++ b/autocomplete/specs/asr.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/assimp.go b/autocomplete/specs/assimp.go
index 5468ae1..a4fdbc5 100644
--- a/autocomplete/specs/assimp.go
+++ b/autocomplete/specs/assimp.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/astro.go b/autocomplete/specs/astro.go
index fbe718b..fcb2710 100644
--- a/autocomplete/specs/astro.go
+++ b/autocomplete/specs/astro.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/atlas.go b/autocomplete/specs/atlas.go
index d28708e..d446a52 100644
--- a/autocomplete/specs/atlas.go
+++ b/autocomplete/specs/atlas.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/authchanger.go b/autocomplete/specs/authchanger.go
index c490423..ea31fde 100644
--- a/autocomplete/specs/authchanger.go
+++ b/autocomplete/specs/authchanger.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/autojump.go b/autocomplete/specs/autojump.go
index cc9ef06..e082113 100644
--- a/autocomplete/specs/autojump.go
+++ b/autocomplete/specs/autojump.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/aws-vault.go b/autocomplete/specs/aws-vault.go
index 919f715..9c2f311 100644
--- a/autocomplete/specs/aws-vault.go
+++ b/autocomplete/specs/aws-vault.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/aws.go b/autocomplete/specs/aws.go
index 673d993..d43d524 100644
--- a/autocomplete/specs/aws.go
+++ b/autocomplete/specs/aws.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/awsume.go b/autocomplete/specs/awsume.go
index 08270ef..6d13e22 100644
--- a/autocomplete/specs/awsume.go
+++ b/autocomplete/specs/awsume.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/extract.ts. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
diff --git a/autocomplete/specs/azure.go b/autocomplete/specs/azure.go
index 04dd94c..ea41c6b 100644
--- a/autocomplete/specs/azure.go
+++ b/autocomplete/specs/azure.go
@@ -1,9 +1,12 @@
// Code generated by autocomplete/extract/tools/scrapers/azure.py. DO NOT EDIT.
+//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
package specs
import (
- "github.com/cpendery/clac/autocomplete/model"
+ "github.com/microsoft/clac/autocomplete/model"
)
func init() {
@@ -150,14 +153,48 @@ func init() {
Name: []string{"management-group"},
Description: `Manage Azure Management Groups.`,
Subcommands: []model.Subcommand{{
- Name: []string{"tenant-backfill"},
- Description: `Backfill Tenant Subscription Operations for Management Groups.`,
+ Name: []string{"hierarchy-settings"},
+ Description: `Provide operations for hierarchy settings defined at the management group level. Settings can only be set on the root Management Group of the hierarchy.`,
Subcommands: []model.Subcommand{{
- Name: []string{"get"},
- Description: `Get the backfill status for a tenant.`,
+ Name: []string{"create"},
+ Description: `Create hierarchy settings defined at the Management Group level.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name of the management group.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
}, {
- Name: []string{"start"},
- Description: `Start backfilling subscriptions for a tenant.`,
+ Name: []string{"delete"},
+ Description: `Delete the hierarchy settings defined at the Management Group level.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name of the management group.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `Get all the hierarchy settings defined at the Management Group level.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name of the management group.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update the hierarchy settings defined at the Management Group level.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name of the management group.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
}},
}, {
Name: []string{"entities"},
@@ -286,48 +323,14 @@ func init() {
}},
}},
}, {
- Name: []string{"hierarchy-settings"},
- Description: `Provide operations for hierarchy settings defined at the management group level. Settings can only be set on the root Management Group of the hierarchy.`,
+ Name: []string{"tenant-backfill"},
+ Description: `Backfill Tenant Subscription Operations for Management Groups.`,
Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create hierarchy settings defined at the Management Group level.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name of the management group.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
+ Name: []string{"get"},
+ Description: `Get the backfill status for a tenant.`,
}, {
- Name: []string{"delete"},
- Description: `Delete the hierarchy settings defined at the Management Group level.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name of the management group.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Get all the hierarchy settings defined at the Management Group level.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name of the management group.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the hierarchy settings defined at the Management Group level.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name of the management group.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
+ Name: []string{"start"},
+ Description: `Start backfilling subscriptions for a tenant.`,
}},
}},
}, {
@@ -433,6 +436,477 @@ func init() {
Name: []string{"acr"},
Description: `Manage private registries with Azure Container Registries.`,
Subcommands: []model.Subcommand{{
+ Name: []string{"task"},
+ Description: `Manage a collection of steps for building, testing and OS & Framework patching container images using Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"identity"},
+ Description: `Managed Identities for Task. Please see https://aka.ms/acr/tasks/task-create-managed-identity for more information.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"assign"},
+ Description: `Update the managed identity for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove managed identities for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Display the managed identities for task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"credential"},
+ Description: `Manage credentials for a task. Please see https://aka.ms/acr/tasks/cross-registry-authentication for more information.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Add a custom registry login credential to the task.`,
+ Options: []model.Option{{
+ Name: []string{"--login-server"},
+ Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
+ Args: []model.Arg{{
+ Name: "login-server",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all the custom registry credentials for task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove credential for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--login-server"},
+ Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
+ Args: []model.Arg{{
+ Name: "login-server",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update the registry login credential for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--login-server"},
+ Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
+ Args: []model.Arg{{
+ Name: "login-server",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"cancel-run"},
+ Description: `Cancel a specified run of an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--run-id"},
+ Description: `The unique run identifier.`,
+ Args: []model.Arg{{
+ Name: "run-id",
+ }},
+ }},
+ }, {
+ Name: []string{"create"},
+ Description: `Create a series of steps for building, testing and OS & Framework patching containers. Tasks support triggers from git commits and base image updates.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete a task from an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List the tasks for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list-runs"},
+ Description: `List all of the executed runs for an Azure Container Registry, with the ability to filter by a specific Task.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"logs"},
+ Description: `Show logs for a particular run. If no run-id is supplied, show logs for the last created run.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"run"},
+ Description: `Manually trigger a task that might otherwise be waiting for git commits or base image update triggers.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the properties of a named task for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show-run"},
+ Description: `Get the properties of a specified run of an Azure Container Registry Task.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--run-id"},
+ Description: `The unique run identifier.`,
+ Args: []model.Arg{{
+ Name: "run-id",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update a task for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update-run"},
+ Description: `Patch the run properties of an Azure Container Registry Task.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--run-id"},
+ Description: `The unique run identifier.`,
+ Args: []model.Arg{{
+ Name: "run-id",
+ }},
+ }},
+ }, {
+ Name: []string{"timer"},
+ Description: `Manage timer triggers for a task.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Add a timer trigger to a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--schedule"},
+ Description: `The schedule of the timer trigger represented as a cron expression.`,
+ Args: []model.Arg{{
+ Name: "schedule",
+ }},
+ }, {
+ Name: []string{"--timer-name"},
+ Description: `The name of the timer trigger.`,
+ Args: []model.Arg{{
+ Name: "timer-name",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all timer triggers for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove a timer trigger from a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--timer-name"},
+ Description: `The name of the timer trigger.`,
+ Args: []model.Arg{{
+ Name: "timer-name",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update the timer trigger for a task.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the task.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--timer-name"},
+ Description: `The name of the timer trigger.`,
+ Args: []model.Arg{{
+ Name: "timer-name",
+ }},
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"private-endpoint-connection"},
+ Description: `Manage container registry private endpoint connections.
+To create a private endpoint connection use "az network private-endpoint create". For more information see https://aka.ms/acr/private-link.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"approve"},
+ Description: `Approve a private endpoint connection request for a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the private endpoint connection.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry-name", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry-name",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete a private endpoint connection request for a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the private endpoint connection.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry-name", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry-name",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all private endpoint connections to a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry-name", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry-name",
+ }},
+ }},
+ }, {
+ Name: []string{"reject"},
+ Description: `Reject a private endpoint connection request for a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the private endpoint connection.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry-name", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry-name",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show details of a container registry's private endpoint connection.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the private endpoint connection.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry-name", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry-name",
+ }},
+ }},
+ }},
+ }, {
Name: []string{"helm"},
Description: `Manage helm charts for Azure Container Registries.`,
Subcommands: []model.Subcommand{{
@@ -509,10 +983,513 @@ func init() {
}},
}},
}},
+ }, {
+ Name: []string{"token"},
+ Description: `Manage tokens for an Azure Container Registry.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"credential"},
+ Description: `Manage credentials of a token for an Azure Container Registry.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"delete"},
+ Description: `Delete a token credential.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"generate"},
+ Description: `Generate or replace one or both passwords of a token for an Azure Container Registry. For using token and password to access a container registry, see https://aka.ms/acr/repo-permissions.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"create"},
+ Description: `Create a token associated with a scope map for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete a token for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all tokens for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show details and attributes of a token for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update a token (replace associated scope map) for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the token.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"private-link-resource"},
+ Description: `Manage registry private link resources.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `List the private link resources supported for a registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"pack"},
+ Description: `Manage Azure Container Registry Tasks that use Cloud Native Buildpacks.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"build"},
+ Description: `Command group 'acr pack' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--builder", "-b"},
+ Description: `The name and tag of a Buildpack builder image.`,
+ Args: []model.Arg{{
+ Name: "builder",
+ }},
+ }, {
+ Name: []string{"--image", "-t"},
+ Description: `The name and tag of the image using the format: '-t repo/image:tag'.`,
+ Args: []model.Arg{{
+ Name: "image",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"agentpool"},
+ Description: `Manage private Tasks agent pools with Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the agent pool.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the agent pool.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the agent pool.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the agent pool.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"replication"},
+ Description: `Manage geo-replicated regions of Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create a replicated region for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--location", "-l"},
+ Description: `Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=.`,
+ Args: []model.Arg{{
+ Name: "location",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete a replicated region from an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the replication.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all of the regions for a geo-replicated Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the details of a replicated region.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the replication.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Updates a replication.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the replication.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"config"},
+ Description: `Configure policies for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"authentication-as-arm"},
+ Description: `Manage 'Azure AD authenticate as ARM' policy for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"show"},
+ Description: `Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"soft-delete"},
+ Description: `Manage soft-delete policy for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"show"},
+ Description: `Command group 'acr config soft-delete' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'acr config soft-delete' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"content-trust"},
+ Description: `Manage content-trust policy for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"show"},
+ Description: `Show the configured content-trust policy for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update content-trust policy for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"retention"},
+ Description: `Manage retention policy for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"show"},
+ Description: `Command group 'acr config retention' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'acr config retention' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--type"},
+ Description: `The type of retention policy.`,
+ Args: []model.Arg{{
+ Name: "type",
+ Suggestions: []model.Suggestion{{Name: []string{"UntaggedManifests"}}},
+ }},
+ }},
+ }},
+ }},
}, {
Name: []string{"connected-registry"},
Description: `Manage connected registry resources with Azure Container Registries.`,
Subcommands: []model.Subcommand{{
+ Name: []string{"permissions"},
+ Description: `Manage the repository permissions accross multiple connected registries. Please see https://aka.ms/acr/connected-registry for more information.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"show"},
+ Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"install"},
+ Description: `Help to access the necessary information for installing a connected registry. Please see https://aka.ms/acr/connected-registry for more information.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"info"},
+ Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--parent-protocol"},
+ Description: `Specify the protocol used to communicate with its parent.`,
+ Args: []model.Arg{{
+ Name: "parent-protocol",
+ Suggestions: []model.Suggestion{{Name: []string{"http"}}, {Name: []string{"https"}}},
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"renew-credentials"},
+ Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--parent-protocol"},
+ Description: `Specify the protocol used to communicate with its parent.`,
+ Args: []model.Arg{{
+ Name: "parent-protocol",
+ Suggestions: []model.Suggestion{{Name: []string{"http"}}, {Name: []string{"https"}}},
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
Name: []string{"create"},
Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Options: []model.Option{{
@@ -657,90 +1634,131 @@ func init() {
Name: "registry",
}},
}},
- }, {
- Name: []string{"install"},
- Description: `Help to access the necessary information for installing a connected registry. Please see https://aka.ms/acr/connected-registry for more information.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"info"},
- Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--parent-protocol"},
- Description: `Specify the protocol used to communicate with its parent.`,
- Args: []model.Arg{{
- Name: "parent-protocol",
- Suggestions: []model.Suggestion{{Name: []string{"http"}}, {Name: []string{"https"}}},
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
+ }},
+ }, {
+ Name: []string{"credential-set"},
+ Description: `Manage credential sets in Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create a credential set.`,
+ Options: []model.Option{{
+ Name: []string{"--login-server", "-l"},
+ Description: `The login server address of the upstream registry such as 'docker.io'.`,
+ Args: []model.Arg{{
+ Name: "login-server",
}},
}, {
- Name: []string{"renew-credentials"},
- Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--parent-protocol"},
- Description: `Specify the protocol used to communicate with its parent.`,
- Args: []model.Arg{{
- Name: "parent-protocol",
- Suggestions: []model.Suggestion{{Name: []string{"http"}}, {Name: []string{"https"}}},
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
+ Name: []string{"--name", "-n"},
+ Description: `The name of the credential set.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--password-id", "-p"},
+ Description: `The Azure Key Vault secret ID of the secret containing the password to the upstream registry.`,
+ Args: []model.Arg{{
+ Name: "password-id",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--username-id", "-u"},
+ Description: `The Azure Key Vault secret ID of the secret containing the username to the upstream registry.`,
+ Args: []model.Arg{{
+ Name: "username-id",
}},
}},
}, {
- Name: []string{"permissions"},
- Description: `Manage the repository permissions accross multiple connected registries. Please see https://aka.ms/acr/connected-registry for more information.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"show"},
- Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
+ Name: []string{"delete"},
+ Description: `Delete a credential set.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the credential set.`,
+ Args: []model.Arg{{
+ Name: "name",
}},
}, {
- Name: []string{"update"},
- Description: `Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List the credential sets in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show a credential set.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the credential set.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update the username or password Azure Key Vault secret ID on a credential set.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the credential set.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"credential"},
+ Description: `Manage login credentials for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"renew"},
+ Description: `Regenerate login credentials for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--password-name"},
+ Description: `The name of password to regenerate.`,
+ Args: []model.Arg{{
+ Name: "password-name",
+ Suggestions: []model.Suggestion{{Name: []string{"password"}}, {Name: []string{"password2"}}},
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the login credentials for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
}},
}},
}},
@@ -748,168 +1766,6 @@ func init() {
Name: []string{"manifest"},
Description: `Manage artifact manifests in Azure Container Registries.`,
Subcommands: []model.Subcommand{{
- Name: []string{"metadata"},
- Description: `Manage artifact manifest metadata in Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Args: []model.Arg{{
- Name: "",
- Description: `A fully qualified repository specifier such as 'myregistry.azurecr.io/hello-world'.`,
- IsOptional: true,
- }},
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the repository.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--orderby"},
- Description: `Order the items in the results. Default to alphabetical order of names.`,
- Args: []model.Arg{{
- Name: "orderby",
- Suggestions: []model.Suggestion{{Name: []string{"time_asc"}}, {Name: []string{"time_desc"}}},
- }},
- }, {
- Name: []string{"--password", "-p"},
- Description: `The password used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "password",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--suffix"},
- Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
- Args: []model.Arg{{
- Name: "suffix",
- }},
- }, {
- Name: []string{"--top"},
- Description: `Limit the number of items in the results.`,
- Args: []model.Arg{{
- Name: "top",
- }},
- }, {
- Name: []string{"--username", "-u"},
- Description: `The username used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "username",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Args: []model.Arg{{
- Name: "",
- Description: `A fully qualified manifest specifier such as 'myregistry.azurecr.io/hello-world:latest'.`,
- IsOptional: true,
- }},
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the artifact. May include a tag in the format 'name:tag' or digest in the format 'name@digest'.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--password", "-p"},
- Description: `The password used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "password",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--suffix"},
- Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
- Args: []model.Arg{{
- Name: "suffix",
- }},
- }, {
- Name: []string{"--username", "-u"},
- Description: `The username used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "username",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Args: []model.Arg{{
- Name: "",
- Description: `A fully qualified manifest specifier such as 'myregistry.azurecr.io/hello-world:latest'.`,
- IsOptional: true,
- }},
- Options: []model.Option{{
- Name: []string{"--delete-enabled"},
- Description: `Indicate whether delete operation is allowed.`,
- Args: []model.Arg{{
- Name: "delete-enabled",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }, {
- Name: []string{"--list-enabled"},
- Description: `Indicate whether this item shows in list operation results.`,
- Args: []model.Arg{{
- Name: "list-enabled",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the artifact. May include a tag in the format 'name:tag' or digest in the format 'name@digest'.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--password", "-p"},
- Description: `The password used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "password",
- }},
- }, {
- Name: []string{"--read-enabled"},
- Description: `Indicate whether read operation is allowed.`,
- Args: []model.Arg{{
- Name: "read-enabled",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--suffix"},
- Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
- Args: []model.Arg{{
- Name: "suffix",
- }},
- }, {
- Name: []string{"--username", "-u"},
- Description: `The username used to log into a container registry.`,
- Args: []model.Arg{{
- Name: "username",
- }},
- }, {
- Name: []string{"--write-enabled"},
- Description: `Indicate whether write or delete operation is allowed.`,
- Args: []model.Arg{{
- Name: "write-enabled",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }},
- }},
- }, {
Name: []string{"delete"},
Description: `Command group 'acr manifest' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Args: []model.Arg{{
@@ -1383,307 +2239,203 @@ func init() {
Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
}},
}},
- }},
- }, {
- Name: []string{"config"},
- Description: `Configure policies for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"soft-delete"},
- Description: `Manage soft-delete policy for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"show"},
- Description: `Command group 'acr config soft-delete' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'acr config soft-delete' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
}, {
- Name: []string{"retention"},
- Description: `Manage retention policy for Azure Container Registries.`,
+ Name: []string{"metadata"},
+ Description: `Manage artifact manifest metadata in Azure Container Registries.`,
Subcommands: []model.Subcommand{{
- Name: []string{"show"},
- Description: `Command group 'acr config retention' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'acr config retention' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--type"},
- Description: `The type of retention policy.`,
- Args: []model.Arg{{
- Name: "type",
- Suggestions: []model.Suggestion{{Name: []string{"UntaggedManifests"}}},
- }},
- }},
- }},
- }, {
- Name: []string{"content-trust"},
- Description: `Manage content-trust policy for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"show"},
- Description: `Show the configured content-trust policy for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update content-trust policy for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"authentication-as-arm"},
- Description: `Manage 'Azure AD authenticate as ARM' policy for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"show"},
- Description: `Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }},
- }, {
- Name: []string{"private-link-resource"},
- Description: `Manage registry private link resources.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `List the private link resources supported for a registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"task"},
- Description: `Manage a collection of steps for building, testing and OS & Framework patching container images using Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"credential"},
- Description: `Manage credentials for a task. Please see https://aka.ms/acr/tasks/cross-registry-authentication for more information.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Add a custom registry login credential to the task.`,
- Options: []model.Option{{
- Name: []string{"--login-server"},
- Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
- Args: []model.Arg{{
- Name: "login-server",
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
Name: []string{"list"},
- Description: `List all the custom registry credentials for task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
+ Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Args: []model.Arg{{
+ Name: "",
+ Description: `A fully qualified repository specifier such as 'myregistry.azurecr.io/hello-world'.`,
+ IsOptional: true,
}},
- }, {
- Name: []string{"remove"},
- Description: `Remove credential for a task.`,
Options: []model.Option{{
- Name: []string{"--login-server"},
- Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
- Args: []model.Arg{{
- Name: "login-server",
- }},
- }, {
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the repository.`,
Args: []model.Arg{{
Name: "name",
}},
}, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Name: []string{"--orderby"},
+ Description: `Order the items in the results. Default to alphabetical order of names.`,
Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the registry login credential for a task.`,
- Options: []model.Option{{
- Name: []string{"--login-server"},
- Description: `The login server of the custom registry. For instance, 'myregistry.azurecr.io'.`,
- Args: []model.Arg{{
- Name: "login-server",
+ Name: "orderby",
+ Suggestions: []model.Suggestion{{Name: []string{"time_asc"}}, {Name: []string{"time_desc"}}},
}},
}, {
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Name: []string{"--password", "-p"},
+ Description: `The password used to log into a container registry.`,
Args: []model.Arg{{
- Name: "name",
+ Name: "password",
}},
}, {
Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
Args: []model.Arg{{
Name: "registry",
}},
- }},
- }},
- }, {
- Name: []string{"identity"},
- Description: `Managed Identities for Task. Please see https://aka.ms/acr/tasks/task-create-managed-identity for more information.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"assign"},
- Description: `Update the managed identity for a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
}, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Name: []string{"--suffix"},
+ Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Remove managed identities for a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
+ Name: "suffix",
}},
}, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Name: []string{"--top"},
+ Description: `Limit the number of items in the results.`,
Args: []model.Arg{{
- Name: "registry",
+ Name: "top",
+ }},
+ }, {
+ Name: []string{"--username", "-u"},
+ Description: `The username used to log into a container registry.`,
+ Args: []model.Arg{{
+ Name: "username",
}},
}},
}, {
Name: []string{"show"},
- Description: `Display the managed identities for task.`,
+ Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Args: []model.Arg{{
+ Name: "",
+ Description: `A fully qualified manifest specifier such as 'myregistry.azurecr.io/hello-world:latest'.`,
+ IsOptional: true,
+ }},
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the artifact. May include a tag in the format 'name:tag' or digest in the format 'name@digest'.`,
Args: []model.Arg{{
Name: "name",
}},
+ }, {
+ Name: []string{"--password", "-p"},
+ Description: `The password used to log into a container registry.`,
+ Args: []model.Arg{{
+ Name: "password",
+ }},
}, {
Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
Args: []model.Arg{{
Name: "registry",
}},
- }},
- }},
- }, {
- Name: []string{"cancel-run"},
- Description: `Cancel a specified run of an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
+ }, {
+ Name: []string{"--suffix"},
+ Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
+ Args: []model.Arg{{
+ Name: "suffix",
+ }},
+ }, {
+ Name: []string{"--username", "-u"},
+ Description: `The username used to log into a container registry.`,
+ Args: []model.Arg{{
+ Name: "username",
+ }},
}},
}, {
- Name: []string{"--run-id"},
- Description: `The unique run identifier.`,
+ Name: []string{"update"},
+ Description: `Command group 'acr manifest metadata' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Args: []model.Arg{{
- Name: "run-id",
+ Name: "",
+ Description: `A fully qualified manifest specifier such as 'myregistry.azurecr.io/hello-world:latest'.`,
+ IsOptional: true,
+ }},
+ Options: []model.Option{{
+ Name: []string{"--delete-enabled"},
+ Description: `Indicate whether delete operation is allowed.`,
+ Args: []model.Arg{{
+ Name: "delete-enabled",
+ Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
+ }},
+ }, {
+ Name: []string{"--list-enabled"},
+ Description: `Indicate whether this item shows in list operation results.`,
+ Args: []model.Arg{{
+ Name: "list-enabled",
+ Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the artifact. May include a tag in the format 'name:tag' or digest in the format 'name@digest'.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--password", "-p"},
+ Description: `The password used to log into a container registry.`,
+ Args: []model.Arg{{
+ Name: "password",
+ }},
+ }, {
+ Name: []string{"--read-enabled"},
+ Description: `Indicate whether read operation is allowed.`,
+ Args: []model.Arg{{
+ Name: "read-enabled",
+ Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--suffix"},
+ Description: `The tenant suffix in registry login server. You may specify '--suffix tenant' if your registry login server is in the format 'registry-tenant.azurecr.io'. Applicable if you're accessing the registry from a different subscription or you have permission to access images but not the permission to manage the registry resource.`,
+ Args: []model.Arg{{
+ Name: "suffix",
+ }},
+ }, {
+ Name: []string{"--username", "-u"},
+ Description: `The username used to log into a container registry.`,
+ Args: []model.Arg{{
+ Name: "username",
+ }},
+ }, {
+ Name: []string{"--write-enabled"},
+ Description: `Indicate whether write or delete operation is allowed.`,
+ Args: []model.Arg{{
+ Name: "write-enabled",
+ Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
+ }},
}},
}},
- }, {
- Name: []string{"create"},
- Description: `Create a series of steps for building, testing and OS & Framework patching containers. Tasks support triggers from git commits and base image updates.`,
+ }},
+ }, {
+ Name: []string{"encryption"},
+ Description: `Manage container registry encryption.
+For more information, see http://aka.ms/acr/cmk.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"rotate-key"},
+ Description: `Rotate (update) the container registry's encryption key.`,
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
Args: []model.Arg{{
Name: "name",
}},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
}},
}, {
- Name: []string{"delete"},
- Description: `Delete a task from an Azure Container Registry.`,
+ Name: []string{"show"},
+ Description: `Show the container registry's encryption details.`,
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"taskrun"},
+ Description: `Manage taskruns using Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"delete"},
+ Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the taskrun.`,
Args: []model.Arg{{
Name: "name",
}},
@@ -1696,17 +2448,7 @@ func init() {
}},
}, {
Name: []string{"list"},
- Description: `List the tasks for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list-runs"},
- Description: `List all of the executed runs for an Azure Container Registry, with the ability to filter by a specific Task.`,
+ Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Options: []model.Option{{
Name: []string{"--registry", "-r"},
Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
@@ -1716,20 +2458,10 @@ func init() {
}},
}, {
Name: []string{"logs"},
- Description: `Show logs for a particular run. If no run-id is supplied, show logs for the last created run.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"run"},
- Description: `Manually trigger a task that might otherwise be waiting for git commits or base image update triggers.`,
+ Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the taskrun.`,
Args: []model.Arg{{
Name: "name",
}},
@@ -1742,10 +2474,110 @@ func init() {
}},
}, {
Name: []string{"show"},
- Description: `Get the properties of a named task for an Azure Container Registry.`,
+ Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the taskrun.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"identity"},
+ Description: `Manage service (managed) identities for a container registry.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"assign"},
+ Description: `Assign a managed identity to a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--identities"},
+ Description: `Space-separated identities. Use '[system]' to refer to the system assigned identity.`,
+ Args: []model.Arg{{
+ Name: "identities",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove a managed identity from a container registry.`,
+ Options: []model.Option{{
+ Name: []string{"--identities"},
+ Description: `Space-separated identities. Use '[system]' to refer to the system assigned identity.`,
+ Args: []model.Arg{{
+ Name: "identities",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show the container registry's identity details.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"network-rule"},
+ Description: `Manage network rules for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Add a network rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List network rules.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove a network rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"scope-map"},
+ Description: `Manage scope access maps for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create a scope map for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the scope map.`,
Args: []model.Arg{{
Name: "name",
}},
@@ -1757,27 +2589,203 @@ func init() {
}},
}},
}, {
- Name: []string{"show-run"},
- Description: `Get the properties of a specified run of an Azure Container Registry Task.`,
+ Name: []string{"delete"},
+ Description: `Delete a scope map for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the scope map.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List all scope maps for an Azure Container Registry.`,
Options: []model.Option{{
Name: []string{"--registry", "-r"},
Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
Args: []model.Arg{{
Name: "registry",
}},
- }, {
- Name: []string{"--run-id"},
- Description: `The unique run identifier.`,
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show details and attributes of a scope map for an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the scope map.`,
Args: []model.Arg{{
- Name: "run-id",
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
}},
}},
}, {
Name: []string{"update"},
- Description: `Update a task for an Azure Container Registry.`,
+ Description: `Update a scope map for an Azure Container Registry.`,
Options: []model.Option{{
Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
+ Description: `The name of the scope map.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"repository"},
+ Description: `Manage repositories (image names) for Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"delete"},
+ Description: `Delete a repository or image in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List repositories in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"list-deleted"},
+ Description: `This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the attributes of a repository or image in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"show-manifests"},
+ Description: `This command has been deprecated and will be removed in a future release. Use 'acr manifest list-metadata' instead.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--repository"},
+ Description: `The name of the repository.`,
+ Args: []model.Arg{{
+ Name: "repository",
+ }},
+ }},
+ }, {
+ Name: []string{"show-tags"},
+ Description: `Show tags for a repository in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--repository"},
+ Description: `The name of the repository.`,
+ Args: []model.Arg{{
+ Name: "repository",
+ }},
+ }},
+ }, {
+ Name: []string{"untag"},
+ Description: `Untag an image in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--image", "-t"},
+ Description: `The name of the image. May include a tag in the format 'name:tag'.`,
+ Args: []model.Arg{{
+ Name: "image",
+ }},
+ }, {
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update the attributes of a repository or image in an Azure Container Registry.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"cache"},
+ Description: `Manage cache rules in Azure Container Registries.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create a cache rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the cache rule.`,
+ Args: []model.Arg{{
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
+ }},
+ }, {
+ Name: []string{"--source-repo", "-s"},
+ Description: `The full source repository path such as 'docker.io/library/ubuntu'.`,
+ Args: []model.Arg{{
+ Name: "source-repo",
+ }},
+ }, {
+ Name: []string{"--target-repo", "-t"},
+ Description: `The target repository namespace such as 'ubuntu'.`,
+ Args: []model.Arg{{
+ Name: "target-repo",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete a cache rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the cache rule.`,
Args: []model.Arg{{
Name: "name",
}},
@@ -1789,111 +2797,45 @@ func init() {
}},
}},
}, {
- Name: []string{"update-run"},
- Description: `Patch the run properties of an Azure Container Registry Task.`,
+ Name: []string{"list"},
+ Description: `List the cache rules in an Azure Container Registry.`,
Options: []model.Option{{
Name: []string{"--registry", "-r"},
Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
Args: []model.Arg{{
Name: "registry",
}},
- }, {
- Name: []string{"--run-id"},
- Description: `The unique run identifier.`,
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show a cache rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the cache rule.`,
Args: []model.Arg{{
- Name: "run-id",
+ Name: "name",
+ }},
+ }, {
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
}},
}},
}, {
- Name: []string{"timer"},
- Description: `Manage timer triggers for a task.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Add a timer trigger to a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--schedule"},
- Description: `The schedule of the timer trigger represented as a cron expression.`,
- Args: []model.Arg{{
- Name: "schedule",
- }},
- }, {
- Name: []string{"--timer-name"},
- Description: `The name of the timer trigger.`,
- Args: []model.Arg{{
- Name: "timer-name",
- }},
+ Name: []string{"update"},
+ Description: `Update the credential set on a cache rule.`,
+ Options: []model.Option{{
+ Name: []string{"--name", "-n"},
+ Description: `The name of the cache rule.`,
+ Args: []model.Arg{{
+ Name: "name",
}},
}, {
- Name: []string{"list"},
- Description: `List all timer triggers for a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Remove a timer trigger from a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--timer-name"},
- Description: `The name of the timer trigger.`,
- Args: []model.Arg{{
- Name: "timer-name",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the timer trigger for a task.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the task.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--timer-name"},
- Description: `The name of the timer trigger.`,
- Args: []model.Arg{{
- Name: "timer-name",
- }},
+ Name: []string{"--registry", "-r"},
+ Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
+ Args: []model.Arg{{
+ Name: "registry",
}},
}},
}},
@@ -2074,945 +3016,6 @@ func init() {
Name: "name",
}},
}},
- }, {
- Name: []string{"pack"},
- Description: `Manage Azure Container Registry Tasks that use Cloud Native Buildpacks.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"build"},
- Description: `Command group 'acr pack' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--builder", "-b"},
- Description: `The name and tag of a Buildpack builder image.`,
- Args: []model.Arg{{
- Name: "builder",
- }},
- }, {
- Name: []string{"--image", "-t"},
- Description: `The name and tag of the image using the format: '-t repo/image:tag'.`,
- Args: []model.Arg{{
- Name: "image",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"private-endpoint-connection"},
- Description: `Manage container registry private endpoint connections.
-To create a private endpoint connection use "az network private-endpoint create". For more information see https://aka.ms/acr/private-link.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"approve"},
- Description: `Approve a private endpoint connection request for a container registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the private endpoint connection.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry-name", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry-name",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a private endpoint connection request for a container registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the private endpoint connection.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry-name", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry-name",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List all private endpoint connections to a container registry.`,
- Options: []model.Option{{
- Name: []string{"--registry-name", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry-name",
- }},
- }},
- }, {
- Name: []string{"reject"},
- Description: `Reject a private endpoint connection request for a container registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the private endpoint connection.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry-name", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry-name",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show details of a container registry's private endpoint connection.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the private endpoint connection.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry-name", "-r"},
- Description: `The name of the container registry. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry-name",
- }},
- }},
- }},
- }, {
- Name: []string{"taskrun"},
- Description: `Manage taskruns using Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"delete"},
- Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the taskrun.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"logs"},
- Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the taskrun.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'acr taskrun' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the taskrun.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"token"},
- Description: `Manage tokens for an Azure Container Registry.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"credential"},
- Description: `Manage credentials of a token for an Azure Container Registry.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"delete"},
- Description: `Delete a token credential.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"generate"},
- Description: `Generate or replace one or both passwords of a token for an Azure Container Registry. For using token and password to access a container registry, see https://aka.ms/acr/repo-permissions.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"create"},
- Description: `Create a token associated with a scope map for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a token for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List all tokens for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show details and attributes of a token for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update a token (replace associated scope map) for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the token.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"cache"},
- Description: `Manage cache rules in Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create a cache rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the cache rule.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--source-repo", "-s"},
- Description: `The full source repository path such as 'docker.io/library/ubuntu'.`,
- Args: []model.Arg{{
- Name: "source-repo",
- }},
- }, {
- Name: []string{"--target-repo", "-t"},
- Description: `The target repository namespace such as 'ubuntu'.`,
- Args: []model.Arg{{
- Name: "target-repo",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a cache rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the cache rule.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List the cache rules in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show a cache rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the cache rule.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the credential set on a cache rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the cache rule.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"agentpool"},
- Description: `Manage private Tasks agent pools with Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the agent pool.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the agent pool.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the agent pool.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the agent pool.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"network-rule"},
- Description: `Manage network rules for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Add a network rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List network rules.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Remove a network rule.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"credential"},
- Description: `Manage login credentials for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"renew"},
- Description: `Regenerate login credentials for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--password-name"},
- Description: `The name of password to regenerate.`,
- Args: []model.Arg{{
- Name: "password-name",
- Suggestions: []model.Suggestion{{Name: []string{"password"}}, {Name: []string{"password2"}}},
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Get the login credentials for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"repository"},
- Description: `Manage repositories (image names) for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"delete"},
- Description: `Delete a repository or image in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List repositories in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"list-deleted"},
- Description: `This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Get the attributes of a repository or image in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"show-manifests"},
- Description: `This command has been deprecated and will be removed in a future release. Use 'acr manifest list-metadata' instead.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--repository"},
- Description: `The name of the repository.`,
- Args: []model.Arg{{
- Name: "repository",
- }},
- }},
- }, {
- Name: []string{"show-tags"},
- Description: `Show tags for a repository in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--repository"},
- Description: `The name of the repository.`,
- Args: []model.Arg{{
- Name: "repository",
- }},
- }},
- }, {
- Name: []string{"untag"},
- Description: `Untag an image in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--image", "-t"},
- Description: `The name of the image. May include a tag in the format 'name:tag'.`,
- Args: []model.Arg{{
- Name: "image",
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the attributes of a repository or image in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"encryption"},
- Description: `Manage container registry encryption.
-For more information, see http://aka.ms/acr/cmk.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"rotate-key"},
- Description: `Rotate (update) the container registry's encryption key.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show the container registry's encryption details.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"credential-set"},
- Description: `Manage credential sets in Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create a credential set.`,
- Options: []model.Option{{
- Name: []string{"--login-server", "-l"},
- Description: `The login server address of the upstream registry such as 'docker.io'.`,
- Args: []model.Arg{{
- Name: "login-server",
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the credential set.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--password-id", "-p"},
- Description: `The Azure Key Vault secret ID of the secret containing the password to the upstream registry.`,
- Args: []model.Arg{{
- Name: "password-id",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }, {
- Name: []string{"--username-id", "-u"},
- Description: `The Azure Key Vault secret ID of the secret containing the username to the upstream registry.`,
- Args: []model.Arg{{
- Name: "username-id",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a credential set.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the credential set.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List the credential sets in an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show a credential set.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the credential set.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update the username or password Azure Key Vault secret ID on a credential set.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the credential set.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"identity"},
- Description: `Manage service (managed) identities for a container registry.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"assign"},
- Description: `Assign a managed identity to a container registry.`,
- Options: []model.Option{{
- Name: []string{"--identities"},
- Description: `Space-separated identities. Use '[system]' to refer to the system assigned identity.`,
- Args: []model.Arg{{
- Name: "identities",
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Remove a managed identity from a container registry.`,
- Options: []model.Option{{
- Name: []string{"--identities"},
- Description: `Space-separated identities. Use '[system]' to refer to the system assigned identity.`,
- Args: []model.Arg{{
- Name: "identities",
- }},
- }, {
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show the container registry's identity details.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }},
- }},
- }, {
- Name: []string{"replication"},
- Description: `Manage geo-replicated regions of Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create a replicated region for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--location", "-l"},
- Description: `Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=.`,
- Args: []model.Arg{{
- Name: "location",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a replicated region from an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the replication.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List all of the regions for a geo-replicated Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Get the details of a replicated region.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the replication.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Updates a replication.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the replication.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
- }, {
- Name: []string{"scope-map"},
- Description: `Manage scope access maps for Azure Container Registries.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create a scope map for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the scope map.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete a scope map for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the scope map.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List all scope maps for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show details and attributes of a scope map for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the scope map.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update a scope map for an Azure Container Registry.`,
- Options: []model.Option{{
- Name: []string{"--name", "-n"},
- Description: `The name of the scope map.`,
- Args: []model.Arg{{
- Name: "name",
- }},
- }, {
- Name: []string{"--registry", "-r"},
- Description: `The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=.`,
- Args: []model.Arg{{
- Name: "registry",
- }},
- }},
- }},
}, {
Name: []string{"webhook"},
Description: `Manage webhooks for Azure Container Registries.`,
@@ -3160,60 +3163,6 @@ For more information, see http://aka.ms/acr/cmk.`,
Name: []string{"sp"},
Description: `Manage Azure Active Directory service principals for automation authentication.`,
Subcommands: []model.Subcommand{{
- Name: []string{"credential"},
- Description: `Manage a service principal's password or certificate credentials.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"delete"},
- Description: `Delete a service principal's password or certificate credentials.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Service principal name, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--key-id"},
- Description: `Credential key id.`,
- Args: []model.Arg{{
- Name: "key-id",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List a service principal's password or certificate credential metadata. (The content of the password or certificate credential is not retrievable.).`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Service principal name, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"reset"},
- Description: `Reset a service principal's password or certificate credentials.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Service principal name, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }},
- }, {
- Name: []string{"owner"},
- Description: `Manage service principal owners.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `List service principal owners.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Service principal name, or object id or the service principal.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }},
- }, {
Name: []string{"create"},
Description: `Create a service principal.`,
Options: []model.Option{{
@@ -3339,277 +3288,29 @@ Output service principal credential along with cloud endpoints in JSON format.`,
Name: "id",
}},
}},
- }},
- }, {
- Name: []string{"user"},
- Description: `Manage Azure Active Directory users and user authentication.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create an Azure Active Directory user.`,
- Options: []model.Option{{
- Name: []string{"--display-name"},
- Description: `Object's display name or its prefix.`,
- Args: []model.Arg{{
- Name: "display-name",
- }},
- }, {
- Name: []string{"--password"},
- Description: `The password that should be assigned to the user for authentication.`,
- Args: []model.Arg{{
- Name: "password",
- }},
- }, {
- Name: []string{"--user-principal-name"},
- Description: `The user principal name (someuser@contoso.com). It must contain one of the verified domains for the tenant.`,
- Args: []model.Arg{{
- Name: "user-principal-name",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete Azure Active Directory user.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `The object ID or principal name of the user for which to get information.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"get-member-groups"},
- Description: `Get groups of which the user is a member.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `The object ID or principal name of the user for which to get information.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List Azure Active Directory users.`,
- Options: []model.Option{{
- Name: []string{"--display-name"},
- Description: `Object's display name or its prefix.`,
- Args: []model.Arg{{
- Name: "display-name",
- }},
- }, {
- Name: []string{"--filter"},
- Description: `OData filter, e.g. --filter "displayname eq 'test' and servicePrincipalType eq 'Application'".`,
- Args: []model.Arg{{
- Name: "filter",
- }},
- }, {
- Name: []string{"--upn"},
- Description: `User principal name, e.g. john.doe@contoso.com.`,
- Args: []model.Arg{{
- Name: "upn",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show details for a Azure Active Directory user.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `The object ID or principal name of the user for which to get information.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update Azure Active Directory users.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `The object ID or principal name of the user for which to get information.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }},
- }, {
- Name: []string{"signed-in-user"},
- Description: `Show graph information about current signed-in user in CLI.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list-owned-objects"},
- Description: `Get the list of directory objects that are owned by the user.`,
- Options: []model.Option{{
- Name: []string{"--type", "-t"},
- Description: `Object type filter, e.g. "application", "servicePrincipal" "group", etc.`,
- Args: []model.Arg{{
- Name: "type",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Get the details for the currently logged-in user.`,
- }},
- }, {
- Name: []string{"app"},
- Description: `Manage applications with AAD Graph.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"permission"},
- Description: `Manage an application's OAuth2 permissions.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Add an API permission.`,
- Options: []model.Option{{
- Name: []string{"--api"},
- Description: `RequiredResourceAccess.resourceAppId - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.`,
- Args: []model.Arg{{
- Name: "api",
- }},
- }, {
- Name: []string{"--api-permissions"},
- Description: `Space-separated list of {id}={type}. {id} is resourceAccess.id - The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes. {type} is resourceAccess.type - Specifies whether the id property references an oauth2PermissionScopes or an appRole. The possible values are: Scope (for OAuth 2.0 permission scopes) or Role (for app roles).`,
- Args: []model.Arg{{
- Name: "api-permissions",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"admin-consent"},
- Description: `Grant Application & Delegated permissions through admin-consent.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Remove an API permission.`,
- Options: []model.Option{{
- Name: []string{"--api"},
- Description: `RequiredResourceAccess.resourceAppId - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.`,
- Args: []model.Arg{{
- Name: "api",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"grant"},
- Description: `Grant the app an API Delegated permissions.`,
- Options: []model.Option{{
- Name: []string{"--api,", "--resource-id"},
- Description: `The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user.`,
- Args: []model.Arg{{
- Name: "resource-id",
- }},
- }, {
- Name: []string{"--id,", "--client-id"},
- Description: `The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API.`,
- Args: []model.Arg{{
- Name: "client-id",
- }},
- }, {
- Name: []string{"--scope"},
- Description: `A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the oauth2PermissionScopes property of the resource service principal.`,
- Args: []model.Arg{{
- Name: "scope",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List API permissions the application has requested.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id of the associated application.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"list-grants"},
- Description: `List Oauth2 permission grants.`,
- Options: []model.Option{{
- Name: []string{"--filter"},
- Description: `OData filter, e.g. --filter "displayname eq 'test' and servicePrincipalType eq 'Application'".`,
- Args: []model.Arg{{
- Name: "filter",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--show-resource-name", "-r"},
- Description: `Show resource's display name.`,
- Args: []model.Arg{{
- Name: "show-resource-name",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }},
- }},
}, {
Name: []string{"owner"},
- Description: `Manage application owners.`,
+ Description: `Manage service principal owners.`,
Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Add an application owner.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--owner-object-id"},
- Description: `Owner's object id.`,
- Args: []model.Arg{{
- Name: "owner-object-id",
- }},
- }},
- }, {
Name: []string{"list"},
- Description: `List application owners.`,
+ Description: `List service principal owners.`,
Options: []model.Option{{
Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id of the application.`,
+ Description: `Service principal name, or object id or the service principal.`,
Args: []model.Arg{{
Name: "id",
}},
}},
- }, {
- Name: []string{"remove"},
- Description: `Remove an application owner.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--owner-object-id"},
- Description: `Owner's object id.`,
- Args: []model.Arg{{
- Name: "owner-object-id",
- }},
- }},
}},
}, {
Name: []string{"credential"},
- Description: `Manage an application's password or certificate credentials.`,
+ Description: `Manage a service principal's password or certificate credentials.`,
Subcommands: []model.Subcommand{{
Name: []string{"delete"},
- Description: `Delete an application's password or certificate credentials.`,
+ Description: `Delete a service principal's password or certificate credentials.`,
Options: []model.Option{{
Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
+ Description: `Service principal name, or object id.`,
Args: []model.Arg{{
Name: "id",
}},
@@ -3622,147 +3323,71 @@ Output service principal credential along with cloud endpoints in JSON format.`,
}},
}, {
Name: []string{"list"},
- Description: `List an application's password or certificate credential metadata. (The content of the password or certificate credential is not retrievable.).`,
+ Description: `List a service principal's password or certificate credential metadata. (The content of the password or certificate credential is not retrievable.).`,
Options: []model.Option{{
Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
+ Description: `Service principal name, or object id.`,
Args: []model.Arg{{
Name: "id",
}},
}},
}, {
Name: []string{"reset"},
- Description: `Reset an application's password or certificate credentials.`,
+ Description: `Reset a service principal's password or certificate credentials.`,
Options: []model.Option{{
Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
+ Description: `Service principal name, or object id.`,
Args: []model.Arg{{
Name: "id",
}},
}},
}},
- }, {
- Name: []string{"federated-credential"},
- Description: `Manage application federated identity credentials.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Create application federated identity credential.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--parameters"},
- Description: `Parameters for creating federated identity credential. Should be JSON file path or in-line JSON string. See examples for details.`,
- Args: []model.Arg{{
- Name: "parameters",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Delete application federated identity credential.`,
- Options: []model.Option{{
- Name: []string{"--federated-credential-id"},
- Description: `ID or name of the federated identity credential.`,
- Args: []model.Arg{{
- Name: "federated-credential-id",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `List application federated identity credentials.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Show application federated identity credential.`,
- Options: []model.Option{{
- Name: []string{"--federated-credential-id"},
- Description: `ID or name of the federated identity credential.`,
- Args: []model.Arg{{
- Name: "federated-credential-id",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update application federated identity credential.`,
- Options: []model.Option{{
- Name: []string{"--federated-credential-id"},
- Description: `ID or name of the federated identity credential.`,
- Args: []model.Arg{{
- Name: "federated-credential-id",
- }},
- }, {
- Name: []string{"--id"},
- Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }, {
- Name: []string{"--parameters"},
- Description: `Parameters for creating federated identity credential. Should be JSON file path or in-line JSON string. See examples for details.`,
- Args: []model.Arg{{
- Name: "parameters",
- }},
- }},
- }},
- }, {
+ }},
+ }, {
+ Name: []string{"group"},
+ Description: `Manage Azure Active Directory groups.`,
+ Subcommands: []model.Subcommand{{
Name: []string{"create"},
- Description: `Create a web application, web API or native application.`,
+ Description: `Create a group in the directory.`,
Options: []model.Option{{
Name: []string{"--display-name"},
- Description: `The display name of the application.`,
+ Description: `Object's display name or its prefix.`,
Args: []model.Arg{{
Name: "display-name",
}},
+ }, {
+ Name: []string{"--mail-nickname"},
+ Description: `Mail nickname.`,
+ Args: []model.Arg{{
+ Name: "mail-nickname",
+ }},
}},
}, {
Name: []string{"delete"},
- Description: `Delete an application.`,
+ Description: `Delete a group from the directory.`,
Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
+ Name: []string{"--group", "-g"},
+ Description: `Group's object id or display name(prefix also works if there is a unique match).`,
Args: []model.Arg{{
- Name: "id",
+ Name: "group",
+ }},
+ }},
+ }, {
+ Name: []string{"get-member-groups"},
+ Description: `Get a collection of object IDs of groups of which the specified group is a member.`,
+ Options: []model.Option{{
+ Name: []string{"--group", "-g"},
+ Description: `Group's object id or display name(prefix also works if there is a unique match).`,
+ Args: []model.Arg{{
+ Name: "group",
}},
}},
}, {
Name: []string{"list"},
- Description: `List applications.`,
+ Description: `List groups in the directory.`,
Options: []model.Option{{
- Name: []string{"--all"},
- Description: `List all entities, expect long delay if under a big organization.`,
- Args: []model.Arg{{
- Name: "all",
- }},
- }, {
- Name: []string{"--app-id"},
- Description: `Application id.`,
- Args: []model.Arg{{
- Name: "app-id",
- }},
- }, {
Name: []string{"--display-name"},
- Description: `The display name of the application.`,
+ Description: `Object's display name or its prefix.`,
Args: []model.Arg{{
Name: "display-name",
}},
@@ -3772,44 +3397,18 @@ Output service principal credential along with cloud endpoints in JSON format.`,
Args: []model.Arg{{
Name: "filter",
}},
- }, {
- Name: []string{"--identifier-uri"},
- Description: `Graph application identifier, must be in uri format.`,
- Args: []model.Arg{{
- Name: "identifier-uri",
- }},
- }, {
- Name: []string{"--show-mine"},
- Description: `List entities owned by the current user.`,
- Args: []model.Arg{{
- Name: "show-mine",
- }},
}},
}, {
Name: []string{"show"},
- Description: `Get the details of an application.`,
+ Description: `Get group information from the directory.`,
Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
+ Name: []string{"--group", "-g"},
+ Description: `Group's object id or display name(prefix also works if there is a unique match).`,
Args: []model.Arg{{
- Name: "id",
+ Name: "group",
}},
}},
}, {
- Name: []string{"update"},
- Description: `Update an application.`,
- Options: []model.Option{{
- Name: []string{"--id"},
- Description: `Identifier uri, application id, or object id.`,
- Args: []model.Arg{{
- Name: "id",
- }},
- }},
- }},
- }, {
- Name: []string{"group"},
- Description: `Manage Azure Active Directory groups.`,
- Subcommands: []model.Subcommand{{
Name: []string{"member"},
Description: `Manage Azure Active Directory group members.`,
Subcommands: []model.Subcommand{{
@@ -3917,9 +3516,391 @@ Output service principal credential along with cloud endpoints in JSON format.`,
}},
}},
}},
+ }},
+ }, {
+ Name: []string{"app"},
+ Description: `Manage applications with AAD Graph.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"credential"},
+ Description: `Manage an application's password or certificate credentials.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"delete"},
+ Description: `Delete an application's password or certificate credentials.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--key-id"},
+ Description: `Credential key id.`,
+ Args: []model.Arg{{
+ Name: "key-id",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List an application's password or certificate credential metadata. (The content of the password or certificate credential is not retrievable.).`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"reset"},
+ Description: `Reset an application's password or certificate credentials.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }},
}, {
Name: []string{"create"},
- Description: `Create a group in the directory.`,
+ Description: `Create a web application, web API or native application.`,
+ Options: []model.Option{{
+ Name: []string{"--display-name"},
+ Description: `The display name of the application.`,
+ Args: []model.Arg{{
+ Name: "display-name",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete an application.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List applications.`,
+ Options: []model.Option{{
+ Name: []string{"--all"},
+ Description: `List all entities, expect long delay if under a big organization.`,
+ Args: []model.Arg{{
+ Name: "all",
+ }},
+ }, {
+ Name: []string{"--app-id"},
+ Description: `Application id.`,
+ Args: []model.Arg{{
+ Name: "app-id",
+ }},
+ }, {
+ Name: []string{"--display-name"},
+ Description: `The display name of the application.`,
+ Args: []model.Arg{{
+ Name: "display-name",
+ }},
+ }, {
+ Name: []string{"--filter"},
+ Description: `OData filter, e.g. --filter "displayname eq 'test' and servicePrincipalType eq 'Application'".`,
+ Args: []model.Arg{{
+ Name: "filter",
+ }},
+ }, {
+ Name: []string{"--identifier-uri"},
+ Description: `Graph application identifier, must be in uri format.`,
+ Args: []model.Arg{{
+ Name: "identifier-uri",
+ }},
+ }, {
+ Name: []string{"--show-mine"},
+ Description: `List entities owned by the current user.`,
+ Args: []model.Arg{{
+ Name: "show-mine",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the details of an application.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update an application.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"owner"},
+ Description: `Manage application owners.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Add an application owner.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--owner-object-id"},
+ Description: `Owner's object id.`,
+ Args: []model.Arg{{
+ Name: "owner-object-id",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List application owners.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id of the application.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"remove"},
+ Description: `Remove an application owner.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--owner-object-id"},
+ Description: `Owner's object id.`,
+ Args: []model.Arg{{
+ Name: "owner-object-id",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"federated-credential"},
+ Description: `Manage application federated identity credentials.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create application federated identity credential.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--parameters"},
+ Description: `Parameters for creating federated identity credential. Should be JSON file path or in-line JSON string. See examples for details.`,
+ Args: []model.Arg{{
+ Name: "parameters",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Delete application federated identity credential.`,
+ Options: []model.Option{{
+ Name: []string{"--federated-credential-id"},
+ Description: `ID or name of the federated identity credential.`,
+ Args: []model.Arg{{
+ Name: "federated-credential-id",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List application federated identity credentials.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Show application federated identity credential.`,
+ Options: []model.Option{{
+ Name: []string{"--federated-credential-id"},
+ Description: `ID or name of the federated identity credential.`,
+ Args: []model.Arg{{
+ Name: "federated-credential-id",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update application federated identity credential.`,
+ Options: []model.Option{{
+ Name: []string{"--federated-credential-id"},
+ Description: `ID or name of the federated identity credential.`,
+ Args: []model.Arg{{
+ Name: "federated-credential-id",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Application's appId, identifierUri, or id (formerly known as objectId).`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--parameters"},
+ Description: `Parameters for creating federated identity credential. Should be JSON file path or in-line JSON string. See examples for details.`,
+ Args: []model.Arg{{
+ Name: "parameters",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"permission"},
+ Description: `Manage an application's OAuth2 permissions.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Add an API permission.`,
+ Options: []model.Option{{
+ Name: []string{"--api"},
+ Description: `RequiredResourceAccess.resourceAppId - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.`,
+ Args: []model.Arg{{
+ Name: "api",
+ }},
+ }, {
+ Name: []string{"--api-permissions"},
+ Description: `Space-separated list of {id}={type}. {id} is resourceAccess.id - The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes. {type} is resourceAccess.type - Specifies whether the id property references an oauth2PermissionScopes or an appRole. The possible values are: Scope (for OAuth 2.0 permission scopes) or Role (for app roles).`,
+ Args: []model.Arg{{
+ Name: "api-permissions",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"admin-consent"},
+ Description: `Grant Application & Delegated permissions through admin-consent.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Remove an API permission.`,
+ Options: []model.Option{{
+ Name: []string{"--api"},
+ Description: `RequiredResourceAccess.resourceAppId - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.`,
+ Args: []model.Arg{{
+ Name: "api",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"grant"},
+ Description: `Grant the app an API Delegated permissions.`,
+ Options: []model.Option{{
+ Name: []string{"--api,", "--resource-id"},
+ Description: `The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user.`,
+ Args: []model.Arg{{
+ Name: "resource-id",
+ }},
+ }, {
+ Name: []string{"--id,", "--client-id"},
+ Description: `The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API.`,
+ Args: []model.Arg{{
+ Name: "client-id",
+ }},
+ }, {
+ Name: []string{"--scope"},
+ Description: `A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the oauth2PermissionScopes property of the resource service principal.`,
+ Args: []model.Arg{{
+ Name: "scope",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `List API permissions the application has requested.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id of the associated application.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"list-grants"},
+ Description: `List Oauth2 permission grants.`,
+ Options: []model.Option{{
+ Name: []string{"--filter"},
+ Description: `OData filter, e.g. --filter "displayname eq 'test' and servicePrincipalType eq 'Application'".`,
+ Args: []model.Arg{{
+ Name: "filter",
+ }},
+ }, {
+ Name: []string{"--id"},
+ Description: `Identifier uri, application id, or object id.`,
+ Args: []model.Arg{{
+ Name: "id",
+ }},
+ }, {
+ Name: []string{"--show-resource-name", "-r"},
+ Description: `Show resource's display name.`,
+ Args: []model.Arg{{
+ Name: "show-resource-name",
+ Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
+ }},
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"signed-in-user"},
+ Description: `Show graph information about current signed-in user in CLI.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list-owned-objects"},
+ Description: `Get the list of directory objects that are owned by the user.`,
+ Options: []model.Option{{
+ Name: []string{"--type", "-t"},
+ Description: `Object type filter, e.g. "application", "servicePrincipal" "group", etc.`,
+ Args: []model.Arg{{
+ Name: "type",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Get the details for the currently logged-in user.`,
+ }},
+ }, {
+ Name: []string{"user"},
+ Description: `Manage Azure Active Directory users and user authentication.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Create an Azure Active Directory user.`,
Options: []model.Option{{
Name: []string{"--display-name"},
Description: `Object's display name or its prefix.`,
@@ -3927,35 +3908,41 @@ Output service principal credential along with cloud endpoints in JSON format.`,
Name: "display-name",
}},
}, {
- Name: []string{"--mail-nickname"},
- Description: `Mail nickname.`,
+ Name: []string{"--password"},
+ Description: `The password that should be assigned to the user for authentication.`,
Args: []model.Arg{{
- Name: "mail-nickname",
+ Name: "password",
+ }},
+ }, {
+ Name: []string{"--user-principal-name"},
+ Description: `The user principal name (someuser@contoso.com). It must contain one of the verified domains for the tenant.`,
+ Args: []model.Arg{{
+ Name: "user-principal-name",
}},
}},
}, {
Name: []string{"delete"},
- Description: `Delete a group from the directory.`,
+ Description: `Delete Azure Active Directory user.`,
Options: []model.Option{{
- Name: []string{"--group", "-g"},
- Description: `Group's object id or display name(prefix also works if there is a unique match).`,
+ Name: []string{"--id"},
+ Description: `The object ID or principal name of the user for which to get information.`,
Args: []model.Arg{{
- Name: "group",
+ Name: "id",
}},
}},
}, {
Name: []string{"get-member-groups"},
- Description: `Get a collection of object IDs of groups of which the specified group is a member.`,
+ Description: `Get groups of which the user is a member.`,
Options: []model.Option{{
- Name: []string{"--group", "-g"},
- Description: `Group's object id or display name(prefix also works if there is a unique match).`,
+ Name: []string{"--id"},
+ Description: `The object ID or principal name of the user for which to get information.`,
Args: []model.Arg{{
- Name: "group",
+ Name: "id",
}},
}},
}, {
Name: []string{"list"},
- Description: `List groups in the directory.`,
+ Description: `List Azure Active Directory users.`,
Options: []model.Option{{
Name: []string{"--display-name"},
Description: `Object's display name or its prefix.`,
@@ -3968,15 +3955,31 @@ Output service principal credential along with cloud endpoints in JSON format.`,
Args: []model.Arg{{
Name: "filter",
}},
+ }, {
+ Name: []string{"--upn"},
+ Description: `User principal name, e.g. john.doe@contoso.com.`,
+ Args: []model.Arg{{
+ Name: "upn",
+ }},
}},
}, {
Name: []string{"show"},
- Description: `Get group information from the directory.`,
+ Description: `Show details for a Azure Active Directory user.`,
Options: []model.Option{{
- Name: []string{"--group", "-g"},
- Description: `Group's object id or display name(prefix also works if there is a unique match).`,
+ Name: []string{"--id"},
+ Description: `The object ID or principal name of the user for which to get information.`,
Args: []model.Arg{{
- Name: "group",
+ Name: "id",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update Azure Active Directory users.`,
+ Options: []model.Option{{
+ Name: []string{"--id"},
+ Description: `The object ID or principal name of the user for which to get information.`,
+ Args: []model.Arg{{
+ Name: "id",
}},
}},
}},
@@ -3985,6 +3988,79 @@ Output service principal credential along with cloud endpoints in JSON format.`,
Name: []string{"advisor"},
Description: `Manage Azure Advisor.`,
Subcommands: []model.Subcommand{{
+ Name: []string{"configuration"},
+ Description: `Manage Azure Advisor configuration.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `List Azure Advisor configuration for the entire subscription.`,
+ }, {
+ Name: []string{"show"},
+ Description: `Show Azure Advisor configuration for the given subscription or resource group.`,
+ Options: []model.Option{{
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Update Azure Advisor configuration.`,
+ Options: []model.Option{{
+ Name: []string{"--add"},
+ Description: `Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .`,
+ Args: []model.Arg{{
+ Name: "add",
+ }},
+ }, {
+ Name: []string{"--configuration-name"},
+ Description: `Advisor configuration name. Value must be "default".`,
+ Args: []model.Arg{{
+ Name: "configuration-name",
+ }},
+ }, {
+ Name: []string{"--exclude", "-e"},
+ Description: `Exclude from recommendation generation.`,
+ Args: []model.Arg{{
+ Name: "exclude",
+ }},
+ }, {
+ Name: []string{"--force-string"},
+ Description: `When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.`,
+ }, {
+ Name: []string{"--include", "-i"},
+ Description: `Include in recommendation generation.`,
+ Args: []model.Arg{{
+ Name: "include",
+ }},
+ }, {
+ Name: []string{"--low-cpu-threshold", "-l"},
+ Description: `Value for low CPU threshold.`,
+ Args: []model.Arg{{
+ Name: "low-cpu-threshold",
+ Suggestions: []model.Suggestion{{Name: []string{"10"}}, {Name: []string{"15"}}, {Name: []string{"20"}}, {Name: []string{"5"}}},
+ }},
+ }, {
+ Name: []string{"--remove"},
+ Description: `Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.`,
+ Args: []model.Arg{{
+ Name: "remove",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--set"},
+ Description: `Update an object by specifying a property path and value to set. Example: --set property1.property2=.`,
+ Args: []model.Arg{{
+ Name: "set",
+ }},
+ }},
+ }},
+ }, {
Name: []string{"recommendation"},
Description: `Review Azure Advisor recommendations.`,
Subcommands: []model.Subcommand{{
@@ -4067,1303 +4143,14 @@ Output service principal credential along with cloud endpoints in JSON format.`,
}},
}},
}},
- }, {
- Name: []string{"configuration"},
- Description: `Manage Azure Advisor configuration.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `List Azure Advisor configuration for the entire subscription.`,
- }, {
- Name: []string{"show"},
- Description: `Show Azure Advisor configuration for the given subscription or resource group.`,
- Options: []model.Option{{
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Update Azure Advisor configuration.`,
- Options: []model.Option{{
- Name: []string{"--add"},
- Description: `Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .`,
- Args: []model.Arg{{
- Name: "add",
- }},
- }, {
- Name: []string{"--configuration-name"},
- Description: `Advisor configuration name. Value must be "default".`,
- Args: []model.Arg{{
- Name: "configuration-name",
- }},
- }, {
- Name: []string{"--exclude", "-e"},
- Description: `Exclude from recommendation generation.`,
- Args: []model.Arg{{
- Name: "exclude",
- }},
- }, {
- Name: []string{"--force-string"},
- Description: `When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.`,
- }, {
- Name: []string{"--include", "-i"},
- Description: `Include in recommendation generation.`,
- Args: []model.Arg{{
- Name: "include",
- }},
- }, {
- Name: []string{"--low-cpu-threshold", "-l"},
- Description: `Value for low CPU threshold.`,
- Args: []model.Arg{{
- Name: "low-cpu-threshold",
- Suggestions: []model.Suggestion{{Name: []string{"10"}}, {Name: []string{"15"}}, {Name: []string{"20"}}, {Name: []string{"5"}}},
- }},
- }, {
- Name: []string{"--remove"},
- Description: `Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.`,
- Args: []model.Arg{{
- Name: "remove",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--set"},
- Description: `Update an object by specifying a property path and value to set. Example: --set property1.property2=.`,
- Args: []model.Arg{{
- Name: "set",
- }},
- }},
- }},
}},
}, {
Name: []string{"afd"},
Description: `Manage Azure Front Door Standard/Premium. For classical Azure Front Door, please refer https://docs.microsoft.com/en-us/cli/azure/network/front-door?view=azure-cli-latest.`,
Subcommands: []model.Subcommand{{
- Name: []string{"log-analytic"},
- Description: `Manage afd log analytic results.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"ranking"},
- Description: `Manage ranking statistics for AFD profile.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--date-time-begin"},
- Description: `The start datetime.`,
- Args: []model.Arg{{
- Name: "date-time-begin",
- }},
- }, {
- Name: []string{"--date-time-end"},
- Description: `The end datetime.`,
- Args: []model.Arg{{
- Name: "date-time-end",
- }},
- }, {
- Name: []string{"--max-ranking"},
- Description: `The maximum number of rows to return based on the ranking.`,
- Args: []model.Arg{{
- Name: "max-ranking",
- }},
- }, {
- Name: []string{"--metrics"},
- Description: `Metric types to include.`,
- Args: []model.Arg{{
- Name: "metrics",
- Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}, {Name: []string{"clientRequestTraffic"}}, {Name: []string{"errorCount"}}, {Name: []string{"hitCount"}}, {Name: []string{"missCount"}}, {Name: []string{"userErrorCount"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--rankings"},
- Description: `The dimemsions to be included for ranking.`,
- Args: []model.Arg{{
- Name: "rankings",
- Suggestions: []model.Suggestion{{Name: []string{"browser"}}, {Name: []string{"countryOrRegion"}}, {Name: []string{"referrer"}}, {Name: []string{"url"}}, {Name: []string{"userAgent"}}},
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }, {
- Name: []string{"resource"},
- Description: `Manage endpoints and custom domains available for AFD log analysis.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }, {
- Name: []string{"location"},
- Description: `Manage available location names for AFD log analysis.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }, {
- Name: []string{"metric"},
- Description: `Manage metric statistics for AFD profile.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--custom-domains"},
- Description: `The domains to be included.`,
- Args: []model.Arg{{
- Name: "custom-domains",
- }},
- }, {
- Name: []string{"--date-time-begin"},
- Description: `The start datetime.`,
- Args: []model.Arg{{
- Name: "date-time-begin",
- }},
- }, {
- Name: []string{"--date-time-end"},
- Description: `The end datetime.`,
- Args: []model.Arg{{
- Name: "date-time-end",
- }},
- }, {
- Name: []string{"--granularity"},
- Description: `The interval granularity.`,
- Args: []model.Arg{{
- Name: "granularity",
- Suggestions: []model.Suggestion{{Name: []string{"P1D"}}, {Name: []string{"PT1H"}}, {Name: []string{"PT5M"}}},
- }},
- }, {
- Name: []string{"--metrics"},
- Description: `Metric types to include.`,
- Args: []model.Arg{{
- Name: "metrics",
- Suggestions: []model.Suggestion{{Name: []string{"clientRequestBandwidth"}}, {Name: []string{"clientRequestCount"}}, {Name: []string{"clientRequestTraffic"}}, {Name: []string{"originRequestBandwidth"}}, {Name: []string{"originRequestTraffic"}}, {Name: []string{"totalLatency"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--protocols"},
- Description: `The protocols to be included.`,
- Args: []model.Arg{{
- Name: "protocols",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }},
- }, {
- Name: []string{"custom-domain"},
- Description: `Manage custom domains within the specified profile.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--certificate-type"},
- Description: `Defines the source of the SSL certificate.`,
- Args: []model.Arg{{
- Name: "certificate-type",
- Suggestions: []model.Suggestion{{Name: []string{"AzureFirstPartyManagedCertificate"}}, {Name: []string{"CustomerCertificate"}}, {Name: []string{"ManagedCertificate"}}},
- }},
- }, {
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--host-name"},
- Description: `The host name of the domain. Must be a domain name.`,
- Args: []model.Arg{{
- Name: "host-name",
- }},
- }, {
- Name: []string{"--minimum-tls-version"},
- Description: `TLS protocol version that will be used for Https.`,
- Args: []model.Arg{{
- Name: "minimum-tls-version",
- Suggestions: []model.Suggestion{{Name: []string{"TLS10"}}, {Name: []string{"TLS12"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"regenerate-validation-token"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--azure-dns-zone"},
- Description: `ID of the Azure DNS zone.`,
- Args: []model.Arg{{
- Name: "azure-dns-zone",
- }},
- }, {
- Name: []string{"--certificate-type"},
- Description: `Defines the source of the SSL certificate.`,
- Args: []model.Arg{{
- Name: "certificate-type",
- Suggestions: []model.Suggestion{{Name: []string{"AzureFirstPartyManagedCertificate"}}, {Name: []string{"CustomerCertificate"}}, {Name: []string{"ManagedCertificate"}}},
- }},
- }, {
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--minimum-tls-version"},
- Description: `TLS protocol version that will be used for Https.`,
- Args: []model.Arg{{
- Name: "minimum-tls-version",
- Suggestions: []model.Suggestion{{Name: []string{"TLS10"}}, {Name: []string{"TLS12"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--secret"},
- Description: `Name of the azure front door secret.`,
- Args: []model.Arg{{
- Name: "secret",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"wait"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--created"},
- Description: `Wait until created with 'provisioningState' at 'Succeeded'.`,
- }, {
- Name: []string{"--custom"},
- Description: `Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].`,
- Args: []model.Arg{{
- Name: "custom",
- }},
- }, {
- Name: []string{"--custom-domain-name"},
- Description: `Name of the custom domain.`,
- Args: []model.Arg{{
- Name: "custom-domain-name",
- }},
- }, {
- Name: []string{"--deleted"},
- Description: `Wait until deleted.`,
- }, {
- Name: []string{"--exists"},
- Description: `Wait until the resource exists.`,
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--interval"},
- Description: `Polling interval in seconds.`,
- Args: []model.Arg{{
- Name: "interval",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--timeout"},
- Description: `Maximum wait in seconds.`,
- Args: []model.Arg{{
- Name: "timeout",
- }},
- }, {
- Name: []string{"--updated"},
- Description: `Wait until updated with provisioningState at 'Succeeded'.`,
- }},
- }},
- }, {
- Name: []string{"origin"},
- Description: `Manage origins within the specified origin group.
-Origins are the application servers where Front Door will route your client requests. Utilize any publicly accessible application server, including App Service, Traffic Manager, Private Link, and many others.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--enabled-state"},
- Description: `Whether to enable this origin.`,
- Args: []model.Arg{{
- Name: "enabled-state",
- Suggestions: []model.Suggestion{{Name: []string{"Disabled"}}, {Name: []string{"Enabled"}}},
- }},
- }, {
- Name: []string{"--host-name"},
- Description: `The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in a origin group.`,
- Args: []model.Arg{{
- Name: "host-name",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group which is unique within the endpoint.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--origin-name"},
- Description: `Name of the origin.`,
- Args: []model.Arg{{
- Name: "origin-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group which is unique within the endpoint.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--origin-name"},
- Description: `Name of the origin.`,
- Args: []model.Arg{{
- Name: "origin-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group which is unique within the endpoint.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group which is unique within the endpoint.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--origin-name"},
- Description: `Name of the origin.`,
- Args: []model.Arg{{
- Name: "origin-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--enable-private-link"},
- Description: `Indicates whether private link is enanbled on that origin.`,
- Args: []model.Arg{{
- Name: "enable-private-link",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }, {
- Name: []string{"--enabled-state"},
- Description: `Whether to enable this origin.`,
- Args: []model.Arg{{
- Name: "enabled-state",
- Suggestions: []model.Suggestion{{Name: []string{"Disabled"}}, {Name: []string{"Enabled"}}},
- }},
- }, {
- Name: []string{"--enforce-certificate-name-check"},
- Description: `"Whether to enable certificate name check at origin level.`,
- Args: []model.Arg{{
- Name: "enforce-certificate-name-check",
- Suggestions: []model.Suggestion{{Name: []string{"false"}}, {Name: []string{"true"}}},
- }},
- }, {
- Name: []string{"--host-name"},
- Description: `The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in a origin group.`,
- Args: []model.Arg{{
- Name: "host-name",
- }},
- }, {
- Name: []string{"--http-port"},
- Description: `The port used for http requests to the origin.`,
- Args: []model.Arg{{
- Name: "http-port",
- }},
- }, {
- Name: []string{"--https-port"},
- Description: `The port used for https requests to the origin.`,
- Args: []model.Arg{{
- Name: "https-port",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group which is unique within the endpoint.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--origin-host-header"},
- Description: `The Host header to send for requests to this origin. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.`,
- Args: []model.Arg{{
- Name: "origin-host-header",
- }},
- }, {
- Name: []string{"--origin-name"},
- Description: `Name of the origin.`,
- Args: []model.Arg{{
- Name: "origin-name",
- }},
- }, {
- Name: []string{"--priority"},
- Description: `Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5.`,
- Args: []model.Arg{{
- Name: "priority",
- }},
- }, {
- Name: []string{"--private-link-location"},
- Description: `The location of origin that will be connected to using the private link.`,
- Args: []model.Arg{{
- Name: "private-link-location",
- }},
- }, {
- Name: []string{"--private-link-request-message"},
- Description: `The message that is shown to the approver of the private link request.`,
- Args: []model.Arg{{
- Name: "private-link-request-message",
- }},
- }, {
- Name: []string{"--private-link-resource"},
- Description: `The resource ID of the origin that will be connected to using the private link.`,
- Args: []model.Arg{{
- Name: "private-link-resource",
- }},
- }, {
- Name: []string{"--private-link-sub-resource-type"},
- Description: `The sub-resource type of the origin that will be connected to using the private link.You can use "az network private-link-resource list" to obtain the supported sub-resource types.`,
- Args: []model.Arg{{
- Name: "private-link-sub-resource-type",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--weight"},
- Description: `Weight of the origin in given origin group for load balancing. Must be between 1 and 1000.`,
- Args: []model.Arg{{
- Name: "weight",
- }},
- }},
- }},
- }, {
- Name: []string{"waf-log-analytic"},
- Description: `Manage afd WAF related log analytic results.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"ranking"},
- Description: `Manage WAF related ranking statistics for AFD profile.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--date-time-begin"},
- Description: `The start datetime.`,
- Args: []model.Arg{{
- Name: "date-time-begin",
- }},
- }, {
- Name: []string{"--date-time-end"},
- Description: `The end datetime.`,
- Args: []model.Arg{{
- Name: "date-time-end",
- }},
- }, {
- Name: []string{"--max-ranking"},
- Description: `The maximum number of rows to return based on the ranking.`,
- Args: []model.Arg{{
- Name: "max-ranking",
- }},
- }, {
- Name: []string{"--metrics"},
- Description: `Metric types to be included.`,
- Args: []model.Arg{{
- Name: "metrics",
- Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--rankings"},
- Description: `The dimemsions to be included for ranking.`,
- Args: []model.Arg{{
- Name: "rankings",
- Suggestions: []model.Suggestion{{Name: []string{"action"}}, {Name: []string{"clientIp"}}, {Name: []string{"country"}}, {Name: []string{"ruleGroup"}}, {Name: []string{"ruleId"}}, {Name: []string{"ruleType"}}, {Name: []string{"url"}}, {Name: []string{"userAgent"}}},
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }, {
- Name: []string{"metric"},
- Description: `Manage WAF related metric statistics for AFD profile.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--date-time-begin"},
- Description: `The start datetime.`,
- Args: []model.Arg{{
- Name: "date-time-begin",
- }},
- }, {
- Name: []string{"--date-time-end"},
- Description: `The end datetime.`,
- Args: []model.Arg{{
- Name: "date-time-end",
- }},
- }, {
- Name: []string{"--granularity"},
- Description: `The interval granularity.`,
- Args: []model.Arg{{
- Name: "granularity",
- Suggestions: []model.Suggestion{{Name: []string{"P1D"}}, {Name: []string{"PT1H"}}, {Name: []string{"PT5M"}}},
- }},
- }, {
- Name: []string{"--metrics"},
- Description: `Metric types to be included.`,
- Args: []model.Arg{{
- Name: "metrics",
- Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }},
- }},
- }, {
- Name: []string{"rule-set"},
- Description: `Manage rule set for the specified profile.
-Rules Set allows you to customize how HTTP requests are handled at the edge and provides more controls of the behaviors of your web application.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--rule-set-name"},
- Description: `Name of the rule set.`,
- Args: []model.Arg{{
- Name: "rule-set-name",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--rule-set-name"},
- Description: `Name of the rule set.`,
- Args: []model.Arg{{
- Name: "rule-set-name",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--rule-set-name"},
- Description: `Name of the rule set.`,
- Args: []model.Arg{{
- Name: "rule-set-name",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }},
- }, {
- Name: []string{"endpoint"},
- Description: `Manage AFD endpoints within the specified profile.
-An endpoint is a logical grouping of domains and their associated configurations.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--endpoint-name"},
- Description: `Name of the endpoint under the profile which is unique globally.`,
- Args: []model.Arg{{
- Name: "endpoint-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--endpoint-name"},
- Description: `Name of the endpoint under the profile which is unique globally.`,
- Args: []model.Arg{{
- Name: "endpoint-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"purge"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--content-paths"},
- Description: `The path to the content to be purged. Can describe a file path or a wildcard directory.`,
- Args: []model.Arg{{
- Name: "content-paths",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--endpoint-name"},
- Description: `Name of the endpoint under the profile which is unique globally.`,
- Args: []model.Arg{{
- Name: "endpoint-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--enabled-state"},
- Description: `Whether to enable this endpoint.`,
- Args: []model.Arg{{
- Name: "enabled-state",
- Suggestions: []model.Suggestion{{Name: []string{"Disabled"}}, {Name: []string{"Enabled"}}},
- }},
- }, {
- Name: []string{"--endpoint-name"},
- Description: `Name of the endpoint under the profile which is unique globally.`,
- Args: []model.Arg{{
- Name: "endpoint-name",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--tags"},
- Description: `Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.`,
- Args: []model.Arg{{
- Name: "tags",
- }},
- }},
- }},
- }, {
Name: []string{"rule"},
Description: `Manage delivery rules within the specified rule set.`,
Subcommands: []model.Subcommand{{
- Name: []string{"action"},
- Description: `Manage delivery rule actions for a rule.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--action-name"},
- Description: `The name of the action for the delivery rule: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-rules-engine-actions.`,
- Args: []model.Arg{{
- Name: "action-name",
- Suggestions: []model.Suggestion{{Name: []string{"ModifyRequestHeader"}}, {Name: []string{"ModifyResponseHeader"}}, {Name: []string{"RouteConfigurationOverride"}}, {Name: []string{"UrlRedirect"}}, {Name: []string{"UrlRewrite"}}},
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--rule-name"},
- Description: `Name of the rule.`,
- Args: []model.Arg{{
- Name: "rule-name",
- }},
- }, {
- Name: []string{"--rule-set-name"},
- Description: `Name of the rule set.`,
- Args: []model.Arg{{
- Name: "rule-set-name",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--index"},
- Description: `The index of the condition/action.`,
- Args: []model.Arg{{
- Name: "index",
- }},
- }},
- }},
- }, {
- Name: []string{"condition"},
- Description: `Manage delivery rule conditions for a rule.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"add"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--match-variable"},
- Description: `Name of the match condition: https://docs.microsoft.com/en-us/azure/frontdoor/rules-match-conditions.`,
- Args: []model.Arg{{
- Name: "match-variable",
- Suggestions: []model.Suggestion{{Name: []string{"ClientPort"}}, {Name: []string{"Cookies"}}, {Name: []string{"HostName"}}, {Name: []string{"HttpVersion"}}, {Name: []string{"IsDevice"}}, {Name: []string{"PostArgs"}}, {Name: []string{"QueryString"}}, {Name: []string{"RemoteAddress"}}, {Name: []string{"RequestBody"}}, {Name: []string{"RequestHeader"}}, {Name: []string{"RequestMethod"}}, {Name: []string{"RequestScheme"}}, {Name: []string{"RequestUri"}}, {Name: []string{"ServerPort"}}, {Name: []string{"SocketAddr"}}, {Name: []string{"SslProtocol"}}, {Name: []string{"UrlFileExtension"}}, {Name: []string{"UrlFileName"}}, {Name: []string{"UrlPath"}}},
- }},
- }, {
- Name: []string{"--operator"},
- Description: `Operator of the match condition.`,
- Args: []model.Arg{{
- Name: "operator",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--rule-name"},
- Description: `Name of the rule.`,
- Args: []model.Arg{{
- Name: "rule-name",
- }},
- }, {
- Name: []string{"--rule-set-name"},
- Description: `Name of the rule set.`,
- Args: []model.Arg{{
- Name: "rule-set-name",
- }},
- }},
- }, {
- Name: []string{"remove"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--index"},
- Description: `The index of the condition/action.`,
- Args: []model.Arg{{
- Name: "index",
- }},
- }},
- }},
- }, {
Name: []string{"create"},
Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
Options: []model.Option{{
@@ -5509,567 +4296,116 @@ An endpoint is a logical grouping of domains and their associated configurations
Name: "subscription",
}},
}},
- }},
- }, {
- Name: []string{"origin-group"},
- Description: `Manage origin groups under the specified profile.
-An origin group is a set of origins to which Front Door load balances your client requests.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--additional-latency-in-milliseconds"},
- Description: `The additional latency in milliseconds for probes to fall into the lowest latency bucket.`,
- Args: []model.Arg{{
- Name: "additional-latency-in-milliseconds",
+ }, {
+ Name: []string{"action"},
+ Description: `Manage delivery rule actions for a rule.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--action-name"},
+ Description: `The name of the action for the delivery rule: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-rules-engine-actions.`,
+ Args: []model.Arg{{
+ Name: "action-name",
+ Suggestions: []model.Suggestion{{Name: []string{"ModifyRequestHeader"}}, {Name: []string{"ModifyResponseHeader"}}, {Name: []string{"RouteConfigurationOverride"}}, {Name: []string{"UrlRedirect"}}, {Name: []string{"UrlRewrite"}}},
+ }},
}},
}, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--rule-name"},
+ Description: `Name of the rule.`,
+ Args: []model.Arg{{
+ Name: "rule-name",
+ }},
+ }, {
+ Name: []string{"--rule-set-name"},
+ Description: `Name of the rule set.`,
+ Args: []model.Arg{{
+ Name: "rule-set-name",
+ }},
}},
}, {
- Name: []string{"--probe-path"},
- Description: `The path relative to the origin that is used to determine the health of the origin.`,
- Args: []model.Arg{{
- Name: "probe-path",
- }},
- }, {
- Name: []string{"--probe-protocol"},
- Description: `Protocol to use for health probe.`,
- Args: []model.Arg{{
- Name: "probe-protocol",
- Suggestions: []model.Suggestion{{Name: []string{"Http"}}, {Name: []string{"Https"}}, {Name: []string{"NotSet"}}},
- }},
- }, {
- Name: []string{"--probe-request-type"},
- Description: `The type of health probe request that is made.`,
- Args: []model.Arg{{
- Name: "probe-request-type",
- Suggestions: []model.Suggestion{{Name: []string{"GET"}}, {Name: []string{"HEAD"}}, {Name: []string{"NotSet"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--sample-size"},
- Description: `The number of samples to consider for load balancing decisions.`,
- Args: []model.Arg{{
- Name: "sample-size",
- }},
- }, {
- Name: []string{"--successful-samples-required"},
- Description: `The number of samples within the sample period that must succeed.`,
- Args: []model.Arg{{
- Name: "successful-samples-required",
+ Name: []string{"remove"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--index"},
+ Description: `The index of the condition/action.`,
+ Args: []model.Arg{{
+ Name: "index",
+ }},
}},
}},
}, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
+ Name: []string{"condition"},
+ Description: `Manage delivery rule conditions for a rule.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"add"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--match-variable"},
+ Description: `Name of the match condition: https://docs.microsoft.com/en-us/azure/frontdoor/rules-match-conditions.`,
+ Args: []model.Arg{{
+ Name: "match-variable",
+ Suggestions: []model.Suggestion{{Name: []string{"ClientPort"}}, {Name: []string{"Cookies"}}, {Name: []string{"HostName"}}, {Name: []string{"HttpVersion"}}, {Name: []string{"IsDevice"}}, {Name: []string{"PostArgs"}}, {Name: []string{"QueryString"}}, {Name: []string{"RemoteAddress"}}, {Name: []string{"RequestBody"}}, {Name: []string{"RequestHeader"}}, {Name: []string{"RequestMethod"}}, {Name: []string{"RequestScheme"}}, {Name: []string{"RequestUri"}}, {Name: []string{"ServerPort"}}, {Name: []string{"SocketAddr"}}, {Name: []string{"SslProtocol"}}, {Name: []string{"UrlFileExtension"}}, {Name: []string{"UrlFileName"}}, {Name: []string{"UrlPath"}}},
+ }},
+ }, {
+ Name: []string{"--operator"},
+ Description: `Operator of the match condition.`,
+ Args: []model.Arg{{
+ Name: "operator",
+ }},
}},
}, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--rule-name"},
+ Description: `Name of the rule.`,
+ Args: []model.Arg{{
+ Name: "rule-name",
+ }},
+ }, {
+ Name: []string{"--rule-set-name"},
+ Description: `Name of the rule set.`,
+ Args: []model.Arg{{
+ Name: "rule-set-name",
+ }},
}},
}, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--additional-latency-in-milliseconds"},
- Description: `The additional latency in milliseconds for probes to fall into the lowest latency bucket.`,
- Args: []model.Arg{{
- Name: "additional-latency-in-milliseconds",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-group-name"},
- Description: `Name of the origin group.`,
- Args: []model.Arg{{
- Name: "origin-group-name",
- }},
- }, {
- Name: []string{"--probe-interval-in-seconds"},
- Description: `The number of seconds between health probes.`,
- Args: []model.Arg{{
- Name: "probe-interval-in-seconds",
- }},
- }, {
- Name: []string{"--probe-path"},
- Description: `The path relative to the origin that is used to determine the health of the origin.`,
- Args: []model.Arg{{
- Name: "probe-path",
- }},
- }, {
- Name: []string{"--probe-protocol"},
- Description: `Protocol to use for health probe.`,
- Args: []model.Arg{{
- Name: "probe-protocol",
- Suggestions: []model.Suggestion{{Name: []string{"Http"}}, {Name: []string{"Https"}}, {Name: []string{"NotSet"}}},
- }},
- }, {
- Name: []string{"--probe-request-type"},
- Description: `The type of health probe request that is made.`,
- Args: []model.Arg{{
- Name: "probe-request-type",
- Suggestions: []model.Suggestion{{Name: []string{"GET"}}, {Name: []string{"HEAD"}}, {Name: []string{"NotSet"}}},
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--sample-size"},
- Description: `The number of samples to consider for load balancing decisions.`,
- Args: []model.Arg{{
- Name: "sample-size",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--successful-samples-required"},
- Description: `The number of samples within the sample period that must succeed.`,
- Args: []model.Arg{{
- Name: "successful-samples-required",
- }},
- }},
- }},
- }, {
- Name: []string{"security-policy"},
- Description: `Manage security policies within the specified profile.
-Security policies could be used to apply a web application firewall policy to protect your web applications against OWASP top-10 vulnerabilities and block malicious bots.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--domains"},
- Description: `The domains to associate with the WAF policy. Could either be the ID of an endpoint (default domain will be used in that case) or ID of a custom domain.`,
- Args: []model.Arg{{
- Name: "domains",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--security-policy-name"},
- Description: `Name of the security policy.`,
- Args: []model.Arg{{
- Name: "security-policy-name",
- }},
- }, {
- Name: []string{"--waf-policy"},
- Description: `The ID of Front Door WAF policy.`,
- Args: []model.Arg{{
- Name: "waf-policy",
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--security-policy-name"},
- Description: `Name of the security policy.`,
- Args: []model.Arg{{
- Name: "security-policy-name",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--yes", "-y"},
- Description: `Do not prompt for confirmation.`,
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--security-policy-name"},
- Description: `Name of the security policy.`,
- Args: []model.Arg{{
- Name: "security-policy-name",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--domains"},
- Description: `The domains to associate with the WAF policy. Could either be the ID of an endpoint (default domain will be used in that case) or ID of a custom domain.`,
- Args: []model.Arg{{
- Name: "domains",
- }},
- }, {
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--security-policy-name"},
- Description: `Name of the security policy.`,
- Args: []model.Arg{{
- Name: "security-policy-name",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--waf-policy"},
- Description: `The ID of Front Door WAF policy.`,
- Args: []model.Arg{{
- Name: "waf-policy",
- }},
- }},
- }},
- }, {
- Name: []string{"profile"},
- Description: `Manage AFD profiles.`,
- Subcommands: []model.Subcommand{{
- Name: []string{"create"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--sku"},
- Description: `The pricing tier of the AFD profile.`,
- Args: []model.Arg{{
- Name: "sku",
- Suggestions: []model.Suggestion{{Name: []string{"Premium_AzureFrontDoor"}}, {Name: []string{"Standard_AzureFrontDoor"}}},
- }},
- }},
- }, {
- Name: []string{"delete"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"list"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }},
- }, {
- Name: []string{"show"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }},
- }, {
- Name: []string{"update"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--origin-response-timeout-seconds"},
- Description: `Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.`,
- Args: []model.Arg{{
- Name: "origin-response-timeout-seconds",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
- }},
- }, {
- Name: []string{"--tags"},
- Description: `Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.`,
- Args: []model.Arg{{
- Name: "tags",
- }},
- }},
- }, {
- Name: []string{"usage"},
- Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
- Options: []model.Option{{
- Name: []string{"--ids"},
- Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
- Args: []model.Arg{{
- Name: "ids",
- }},
- }, {
- Name: []string{"--profile-name"},
- Description: `Name of the CDN profile which is unique within the resource group.`,
- Args: []model.Arg{{
- Name: "profile-name",
- }},
- }, {
- Name: []string{"--resource-group", "-g"},
- Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
- Args: []model.Arg{{
- Name: "resource-group",
- }},
- }, {
- Name: []string{"--subscription"},
- Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
- Args: []model.Arg{{
- Name: "subscription",
+ Name: []string{"remove"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--index"},
+ Description: `The index of the condition/action.`,
+ Args: []model.Arg{{
+ Name: "index",
+ }},
}},
}},
}},
@@ -6376,6 +4712,423 @@ A route maps your domains and matching URL path patterns to a specific origin gr
}},
}},
}},
+ }, {
+ Name: []string{"waf-log-analytic"},
+ Description: `Manage afd WAF related log analytic results.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"metric"},
+ Description: `Manage WAF related metric statistics for AFD profile.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--date-time-begin"},
+ Description: `The start datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-begin",
+ }},
+ }, {
+ Name: []string{"--date-time-end"},
+ Description: `The end datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-end",
+ }},
+ }, {
+ Name: []string{"--granularity"},
+ Description: `The interval granularity.`,
+ Args: []model.Arg{{
+ Name: "granularity",
+ Suggestions: []model.Suggestion{{Name: []string{"P1D"}}, {Name: []string{"PT1H"}}, {Name: []string{"PT5M"}}},
+ }},
+ }, {
+ Name: []string{"--metrics"},
+ Description: `Metric types to be included.`,
+ Args: []model.Arg{{
+ Name: "metrics",
+ Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}},
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"ranking"},
+ Description: `Manage WAF related ranking statistics for AFD profile.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--date-time-begin"},
+ Description: `The start datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-begin",
+ }},
+ }, {
+ Name: []string{"--date-time-end"},
+ Description: `The end datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-end",
+ }},
+ }, {
+ Name: []string{"--max-ranking"},
+ Description: `The maximum number of rows to return based on the ranking.`,
+ Args: []model.Arg{{
+ Name: "max-ranking",
+ }},
+ }, {
+ Name: []string{"--metrics"},
+ Description: `Metric types to be included.`,
+ Args: []model.Arg{{
+ Name: "metrics",
+ Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}},
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--rankings"},
+ Description: `The dimemsions to be included for ranking.`,
+ Args: []model.Arg{{
+ Name: "rankings",
+ Suggestions: []model.Suggestion{{Name: []string{"action"}}, {Name: []string{"clientIp"}}, {Name: []string{"country"}}, {Name: []string{"ruleGroup"}}, {Name: []string{"ruleId"}}, {Name: []string{"ruleType"}}, {Name: []string{"url"}}, {Name: []string{"userAgent"}}},
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"log-analytic"},
+ Description: `Manage afd log analytic results.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"resource"},
+ Description: `Manage endpoints and custom domains available for AFD log analysis.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"metric"},
+ Description: `Manage metric statistics for AFD profile.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--custom-domains"},
+ Description: `The domains to be included.`,
+ Args: []model.Arg{{
+ Name: "custom-domains",
+ }},
+ }, {
+ Name: []string{"--date-time-begin"},
+ Description: `The start datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-begin",
+ }},
+ }, {
+ Name: []string{"--date-time-end"},
+ Description: `The end datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-end",
+ }},
+ }, {
+ Name: []string{"--granularity"},
+ Description: `The interval granularity.`,
+ Args: []model.Arg{{
+ Name: "granularity",
+ Suggestions: []model.Suggestion{{Name: []string{"P1D"}}, {Name: []string{"PT1H"}}, {Name: []string{"PT5M"}}},
+ }},
+ }, {
+ Name: []string{"--metrics"},
+ Description: `Metric types to include.`,
+ Args: []model.Arg{{
+ Name: "metrics",
+ Suggestions: []model.Suggestion{{Name: []string{"clientRequestBandwidth"}}, {Name: []string{"clientRequestCount"}}, {Name: []string{"clientRequestTraffic"}}, {Name: []string{"originRequestBandwidth"}}, {Name: []string{"originRequestTraffic"}}, {Name: []string{"totalLatency"}}},
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--protocols"},
+ Description: `The protocols to be included.`,
+ Args: []model.Arg{{
+ Name: "protocols",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"ranking"},
+ Description: `Manage ranking statistics for AFD profile.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--date-time-begin"},
+ Description: `The start datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-begin",
+ }},
+ }, {
+ Name: []string{"--date-time-end"},
+ Description: `The end datetime.`,
+ Args: []model.Arg{{
+ Name: "date-time-end",
+ }},
+ }, {
+ Name: []string{"--max-ranking"},
+ Description: `The maximum number of rows to return based on the ranking.`,
+ Args: []model.Arg{{
+ Name: "max-ranking",
+ }},
+ }, {
+ Name: []string{"--metrics"},
+ Description: `Metric types to include.`,
+ Args: []model.Arg{{
+ Name: "metrics",
+ Suggestions: []model.Suggestion{{Name: []string{"clientRequestCount"}}, {Name: []string{"clientRequestTraffic"}}, {Name: []string{"errorCount"}}, {Name: []string{"hitCount"}}, {Name: []string{"missCount"}}, {Name: []string{"userErrorCount"}}},
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--rankings"},
+ Description: `The dimemsions to be included for ranking.`,
+ Args: []model.Arg{{
+ Name: "rankings",
+ Suggestions: []model.Suggestion{{Name: []string{"browser"}}, {Name: []string{"countryOrRegion"}}, {Name: []string{"referrer"}}, {Name: []string{"url"}}, {Name: []string{"userAgent"}}},
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"location"},
+ Description: `Manage available location names for AFD log analysis.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }},
+ }},
+ }, {
+ Name: []string{"profile"},
+ Description: `Manage AFD profiles.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--sku"},
+ Description: `The pricing tier of the AFD profile.`,
+ Args: []model.Arg{{
+ Name: "sku",
+ Suggestions: []model.Suggestion{{Name: []string{"Premium_AzureFrontDoor"}}, {Name: []string{"Standard_AzureFrontDoor"}}},
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--subscription"},
+ Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
+ Args: []model.Arg{{
+ Name: "subscription",
+ }},
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--subscription"},
+ Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
+ Args: []model.Arg{{
+ Name: "subscription",
+ }},
+ }},
+ }, {
+ Name: []string{"update"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--origin-response-timeout-seconds"},
+ Description: `Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.`,
+ Args: []model.Arg{{
+ Name: "origin-response-timeout-seconds",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--subscription"},
+ Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
+ Args: []model.Arg{{
+ Name: "subscription",
+ }},
+ }, {
+ Name: []string{"--tags"},
+ Description: `Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.`,
+ Args: []model.Arg{{
+ Name: "tags",
+ }},
+ }},
+ }, {
+ Name: []string{"usage"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--subscription"},
+ Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
+ Args: []model.Arg{{
+ Name: "subscription",
+ }},
+ }},
+ }},
}, {
Name: []string{"secret"},
Description: `Manage secrets within the specified profile.
@@ -6549,607 +5302,1261 @@ Secrets are used to reference your own certificate stored in Azure Key Vault. Yo
}},
}},
}},
+ }, {
+ Name: []string{"rule-set"},
+ Description: `Manage rule set for the specified profile.
+Rules Set allows you to customize how HTTP requests are handled at the edge and provides more controls of the behaviors of your web application.`,
+ Subcommands: []model.Subcommand{{
+ Name: []string{"create"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--rule-set-name"},
+ Description: `Name of the rule set.`,
+ Args: []model.Arg{{
+ Name: "rule-set-name",
+ }},
+ }},
+ }, {
+ Name: []string{"delete"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }, {
+ Name: []string{"--rule-set-name"},
+ Description: `Name of the rule set.`,
+ Args: []model.Arg{{
+ Name: "rule-set-name",
+ }},
+ }, {
+ Name: []string{"--subscription"},
+ Description: `Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.`,
+ Args: []model.Arg{{
+ Name: "subscription",
+ }},
+ }, {
+ Name: []string{"--yes", "-y"},
+ Description: `Do not prompt for confirmation.`,
+ }},
+ }, {
+ Name: []string{"list"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=.`,
+ Args: []model.Arg{{
+ Name: "resource-group",
+ }},
+ }},
+ }, {
+ Name: []string{"show"},
+ Description: `Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus`,
+ Options: []model.Option{{
+ Name: []string{"--ids"},
+ Description: `One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.`,
+ Args: []model.Arg{{
+ Name: "ids",
+ }},
+ }, {
+ Name: []string{"--profile-name"},
+ Description: `Name of the CDN profile which is unique within the resource group.`,
+ Args: []model.Arg{{
+ Name: "profile-name",
+ }},
+ }, {
+ Name: []string{"--resource-group", "-g"},
+ Description: `Name of resource group. You can configure the default group using az configure --defaults group=