다음을 통해 공유


az sphere product

리소스 그룹 및 카탈로그에서 제품을 관리합니다.

작업 설명
az sphere product create 리소스 그룹 및 카탈로그에서 새 제품을 만듭니다.
az sphere product update 리소스 그룹 및 카탈로그에서 제품의 세부 정보를 업데이트합니다.
az sphere product delete 지정된 제품을 삭제합니다.
az sphere product list 리소스 그룹 및 카탈로그의 모든 제품을 나열합니다.
az sphere product show 리소스 그룹 및 카탈로그에 제품의 세부 정보를 표시합니다.

명령을

az sphere product create

리소스 그룹 및 카탈로그에서 새 제품을 만듭니다.

필수 매개 변수

매개 변수 설명
--name -n 다운로드할 인증서입니다. 이름을 지정합니다. 이름이 제공되지 않으면 활성 인증서가 다운로드됩니다. 값: az sphere ca
--description -d 제품에 대한 설명입니다.
--no-default-device-groups 설정하면 이 제품에 대한 기본 디바이스 그룹이 만들어지지 않습니다.
--catalog -c 이 작업을 수행할 Azure Sphere 카탈로그입니다. Azure Sphere 카탈로그 이름을 지정합니다. 를 사용하여 기본 Azure Sphere 카탈로그를 az config set defaults.sphere.catalog=<name>구성할 수 있습니다. 값: az sphere catalog list.
--resource-group -r Azure 리소스 그룹의 이름입니다. 를 사용하여 az config set defaults.group=<name>기본 그룹을 구성할 수 있습니다. 값: az group list.

예제

리소스 그룹 MyResourceGroup 및 카탈로그 MyCatalog에서 새 제품 MyProduct를 만듭니다.

az sphere product create --resource-group MyResourceGroup --catalog MyCatalog --name MyProduct --description MyDescription

리소스 그룹 MyResourceGroup 및 카탈로그 MyCatalog에서 기본 디바이스 그룹 없이 새 제품 MyProduct를 만듭니다.

az sphere product create --resource-group MyResourceGroup --catalog MyCatalog --name MyProduct --description MyDescription --no-default-device-groups

az sphere product update

리소스 그룹 및 카탈로그에서 제품의 세부 정보를 업데이트합니다.

필수 매개 변수

매개 변수 설명
--product -p 제품 이름입니다. 값: az sphere product list
--description -d 제품을 업데이트할 새 제품 설명입니다.
--catalog -c 이 작업을 수행할 Azure Sphere 카탈로그입니다. Azure Sphere 카탈로그 이름을 지정합니다. 를 사용하여 기본 Azure Sphere 카탈로그를 az config set defaults.sphere.catalog=<name>구성할 수 있습니다. 값: az sphere catalog list.
--resource-group -r Azure 리소스 그룹의 이름입니다. 를 사용하여 az config set defaults.group=<name>기본 그룹을 구성할 수 있습니다. 값: az group list.

예제

제품의 속성을 업데이트합니다.

az sphere product update --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --description MyDescription

az sphere product delete

지정된 제품을 삭제합니다.

필수 매개 변수

매개 변수 설명
--product -p 제품 이름입니다. 값: az sphere product list
--catalog -c 이 작업을 수행할 Azure Sphere 카탈로그입니다. Azure Sphere 카탈로그 이름을 지정합니다. 를 사용하여 기본 Azure Sphere 카탈로그를 az config set defaults.sphere.catalog=<name>구성할 수 있습니다. 값: az sphere catalog list.
--resource-group -r Azure 리소스 그룹의 이름입니다. 를 사용하여 az config set defaults.group=<name>기본 그룹을 구성할 수 있습니다. 값: az group list.

예제

리소스 그룹, 카탈로그 이름 및 제품 이름을 사용하여 제품을 삭제합니다.

az sphere product delete --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct

az sphere product list

리소스 그룹 및 카탈로그의 모든 제품을 나열합니다.

필수 매개 변수

매개 변수 설명
--catalog -c 이 작업을 수행할 Azure Sphere 카탈로그입니다. Azure Sphere 카탈로그 이름을 지정합니다. 를 사용하여 기본 Azure Sphere 카탈로그를 az config set defaults.sphere.catalog=<name>구성할 수 있습니다. 값: az sphere catalog list.
--resource-group -r Azure 리소스 그룹의 이름입니다. 를 사용하여 az config set defaults.group=<name>기본 그룹을 구성할 수 있습니다. 값: az group list.

예제

리소스 그룹 및 카탈로그의 모든 제품을 나열합니다.

az sphere product list --resource-group MyResourceGroup --catalog MyCatalog

az sphere product show

리소스 그룹 및 카탈로그에 제품의 세부 정보를 표시합니다.

필수 매개 변수

매개 변수 설명
--product -p 제품 이름입니다. 값: az sphere product list
--catalog -c 이 작업을 수행할 Azure Sphere 카탈로그입니다. Azure Sphere 카탈로그 이름을 지정합니다. 를 사용하여 기본 Azure Sphere 카탈로그를 az config set defaults.sphere.catalog=<name>구성할 수 있습니다. 값: az sphere catalog list.
--resource-group -r Azure 리소스 그룹의 이름입니다. 를 사용하여 az config set defaults.group=<name>기본 그룹을 구성할 수 있습니다. 값: az group list.

예제

리소스 그룹, 카탈로그 이름 및 제품 이름을 사용하여 제품의 세부 정보를 표시합니다.

az sphere product show --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct