az blueprint artifact role

참고

이 참조는 Azure CLI 청사진 확장의 일부이며 버전 2.3.0 이상이 필요합니다. az blueprint artifact role 명령을 처음 실행할 때 확장이 자동으로 설치됩니다. 확장에 대해 자세히 알아보세요.

청사진 역할 할당 아티팩트 관리를 위한 명령입니다.

명령

az blueprint artifact role create

청사진 역할 아티팩트 만들기

az blueprint artifact role update

청사진 역할 아티팩트 업데이트

az blueprint artifact role create

청사진 역할 아티팩트 만들기

az blueprint artifact role create --artifact-name
                                  --blueprint-name
                                  --principal-ids
                                  --role-definition-id
                                  [--depends-on]
                                  [--description]
                                  [--display-name]
                                  [--management-group]
                                  [--resource-group-art]
                                  [--subscription]

예제

역할 아티팩트 만들기

az blueprint artifact role create \
--blueprint-name MyBlueprint --artifact-name MyRole --role-definition-id \
"/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000" \
--principal-ids "[parameters('[Usergrouporapplicationname]:MyRoleAssignmentName')]"

필수 매개 변수

--artifact-name

청사진 아티팩트 이름입니다.

--blueprint-name

청사진 정의의 이름입니다.

--principal-ids

Azure Active Directory 사용자 또는 그룹 ID의 배열 또는 청사진 정의의 해당 매개 변수에 대한 참조입니다. roleDefinition은 각 ID에 적용됩니다.

--role-definition-id

전체 역할 정의 ID입니다. 기본 제공 역할만 지원됩니다.

선택적 매개 변수

--depends-on

지정된 아티팩트 앞에 배포해야 하는 Artifacts.

--description

청사진 아티팩트 설명입니다.

--display-name

이 아티팩트 표시 이름입니다.

--management-group -m

청사진의 범위에 관리 그룹을 사용합니다.

--resource-group-art

정책을 할당할 리소스 그룹 아티팩트 이름입니다.

--subscription -s

청사진의 범위에 구독을 사용합니다. --management-group을 지정하지 않으면 --subscription 값 또는 기본 구독이 범위로 사용됩니다.

az blueprint artifact role update

청사진 역할 아티팩트 업데이트

az blueprint artifact role update --artifact-name
                                  --blueprint-name
                                  [--depends-on]
                                  [--description]
                                  [--display-name]
                                  [--management-group]
                                  [--resource-group-art]
                                  [--subscription]

예제

역할 아티팩트 업데이트

az blueprint artifact role update \
--blueprint-name MyBlueprint --artifact-name MyRole --display-name "My Big Role"

필수 매개 변수

--artifact-name

청사진 아티팩트 이름입니다.

--blueprint-name

청사진 정의의 이름입니다.

선택적 매개 변수

--depends-on

지정된 아티팩트 앞에 배포해야 하는 Artifacts. 값 없이 '--depends-on'을 사용하여 의존성을 제거합니다.

--description

청사진 아티팩트 설명입니다.

--display-name

이 아티팩트 표시 이름입니다.

--management-group -m

청사진의 범위에 관리 그룹을 사용합니다.

--resource-group-art

정책을 할당할 리소스 그룹 아티팩트 이름입니다.

--subscription -s

청사진의 범위에 구독을 사용합니다. --management-group을 지정하지 않으면 --subscription 값 또는 기본 구독이 범위로 사용됩니다.