mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed May 8 09:17:12 UTC 2024
This commit is contained in:
parent
48fac7efd4
commit
e8259d86b1
110 changed files with 1686 additions and 651 deletions
|
|
@ -9,33 +9,35 @@ SYNOPSIS
|
|||
--entitlement-file=ENTITLEMENT_FILE [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a new Privileged Access Manager (PAM) entitlement under a
|
||||
(ALPHA) Create a new Privileged Access Manager (PAM) entitlement in a
|
||||
project/folder/organization location.
|
||||
|
||||
EXAMPLES
|
||||
The following command creates a new entitlement with the name
|
||||
sample-entitlement, under a project sample-project, location global and the
|
||||
entitlement body present in the sample-entitlement.yaml file:
|
||||
The following command creates a new entitlement with a name of
|
||||
sample-entitlement, in a project named sample-project, in location global,
|
||||
and the entitlement configuration stored in a file named
|
||||
sample-entitlement.yaml:
|
||||
|
||||
$ gcloud alpha pam entitlements create sample-entitlement \
|
||||
--project=sample-project --location=global \
|
||||
--entitlement-file=sample-entitlement.yaml
|
||||
|
||||
The following command creates a new entitlement with the name
|
||||
sample-entitlement, under a folder sample-folder, location global and the
|
||||
entitlement body present in the sample-entitlement.yaml file:
|
||||
The following command creates a new entitlement with a name of
|
||||
sample-entitlement, in a folder with ID FOLDER_ID, in location global, and
|
||||
the entitlement configuration stored in a file named
|
||||
sample-entitlement.yaml:
|
||||
|
||||
$ gcloud alpha pam entitlements create sample-entitlement \
|
||||
--folder=sample-folder --location=global \
|
||||
--folder=FOLDER_ID --location=global \
|
||||
--entitlement-file=sample-entitlement.yaml
|
||||
|
||||
The following command creates a new entitlement with the name
|
||||
sample-entitlement, under an organization sample-organization, location
|
||||
global and the entitlement body present in the sample-entitlement.yaml
|
||||
file:
|
||||
The following command creates a new entitlement with a name of
|
||||
sample-entitlement, in an organization with ID ORGANIZATION_ID, in location
|
||||
global, and the entitlement configuration stored in a file named
|
||||
sample-entitlement.yaml:
|
||||
|
||||
$ gcloud alpha pam entitlements create sample-entitlement \
|
||||
--organization=sample-organization --location=global \
|
||||
--organization=ORGANIZATION_ID --location=global \
|
||||
--entitlement-file=sample-entitlement.yaml
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
@ -96,7 +98,7 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
REQUIRED FLAGS
|
||||
--entitlement-file=ENTITLEMENT_FILE
|
||||
YAML file containing the body of the entitlement to be created.
|
||||
YAML file containing the configuration of the entitlement.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue