az redisenterprise

참고 항목

이 참조는 Azure CLI(버전 2.45.0 이상)에 대한 redisenterprise 확장의 일부입니다. az redisenterprise 명령을 처음 실행할 때 확장이 자동으로 설치됩니다. 확장 프로그램에 대해 자세히 알아보세요.

redisenterprise 캐시를 관리합니다.

명령

Name Description 형식 상태
az redisenterprise create

기존(잠재적 가동 중지 시간으로 덮어쓰기/다시 만들기) 캐시 클러스터를 만듭니다.

내선 번호 GA
az redisenterprise database

Redis Enterprise 데이터베이스를 관리합니다.

내선 번호 GA
az redisenterprise database create

데이터베이스 만들기

내선 번호 GA
az redisenterprise database delete

단일 데이터베이스를 삭제합니다.

내선 번호 GA
az redisenterprise database export

대상 데이터베이스에서 데이터베이스 파일을 내보냅니다.

내선 번호 GA
az redisenterprise database flush

이 데이터베이스의 모든 키와 연결된 데이터베이스에서 플러시합니다.

내선 번호 GA
az redisenterprise database force-unlink

지정된 데이터베이스 리소스에 대한 링크를 강제로 제거합니다.

내선 번호 GA
az redisenterprise database import

데이터베이스 파일을 대상 데이터베이스로 가져옵니다.

내선 번호 GA
az redisenterprise database list

지정된 RedisEnterprise 클러스터의 모든 데이터베이스를 나열합니다.

내선 번호 GA
az redisenterprise database list-keys

RedisEnterprise 데이터베이스에 대한 액세스 키를 검색합니다.

내선 번호 GA
az redisenterprise database regenerate-key

RedisEnterprise 데이터베이스의 액세스 키를 다시 생성합니다.

내선 번호 GA
az redisenterprise database show

RedisEnterprise 클러스터의 데이터베이스에 대한 정보를 가져옵니다.

내선 번호 GA
az redisenterprise database update

데이터베이스를 업데이트합니다.

내선 번호 GA
az redisenterprise database wait

조건이 충족될 때까지 CLI를 대기 상태로 유지합니다.

내선 번호 GA
az redisenterprise delete

RedisEnterprise 캐시 클러스터를 삭제합니다.

내선 번호 GA
az redisenterprise list

지정된 구독의 모든 RedisEnterprise 클러스터를 나열합니다.

내선 번호 GA
az redisenterprise operation-status

작업의 상태 가져옵니다.

내선 번호 GA
az redisenterprise operation-status show

작업의 상태 가져옵니다.

내선 번호 GA
az redisenterprise show

RedisEnterprise 클러스터에 대한 정보를 가져옵니다.

내선 번호 GA
az redisenterprise update

기존(잠재적 가동 중지 시간으로 덮어쓰기/다시 만들기) 캐시 클러스터를 업데이트합니다.

내선 번호 GA
az redisenterprise wait

조건이 충족될 때까지 CLI를 대기 상태로 유지합니다.

내선 번호 GA

az redisenterprise create

기존(잠재적 가동 중지 시간으로 덮어쓰기/다시 만들기) 캐시 클러스터를 만듭니다.

az redisenterprise create --cluster-name
                          --resource-group
                          --sku {EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50}
                          [--assigned-identities]
                          [--capacity]
                          [--client-protocol {Encrypted, Plaintext}]
                          [--clustering-policy {EnterpriseCluster, OSSCluster}]
                          [--eviction-policy {AllKeysLFU, AllKeysLRU, AllKeysRandom, NoEviction, VolatileLFU, VolatileLRU, VolatileRandom, VolatileTTL}]
                          [--group-nickname]
                          [--identity-resource-id]
                          [--identity-type {None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned}]
                          [--key-encryption-identity-type {systemAssignedIdentity, userAssignedIdentity}]
                          [--key-encryption-key-url]
                          [--linked-databases]
                          [--location]
                          [--minimum-tls-version {1.0, 1.1, 1.2}]
                          [--module]
                          [--no-database]
                          [--no-wait]
                          [--persistence]
                          [--port]
                          [--tags]
                          [--zones]

예제

캐시 만들기

az redisenterprise create --cluster-name "cache1" --location "East US" --minimum-tls-version "1.2" --sku "Enterprise_E20" --capacity 4 --tags tag1="value1" --zones "1" "2" "3" --client-protocol "Encrypted" --clustering-policy "EnterpriseCluster" --eviction-policy "NoEviction" --modules name="RedisBloom" args="ERROR_RATE 0.02 INITIAL_SIZE 400" --persistence aof-enabled=true aof-frequency="1s" --port 10000 --resource-group "rg1"

필수 매개 변수

--cluster-name --name -n

RedisEnterprise 클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--sku

배포할 RedisEnterprise 클러스터의 형식입니다. 가능한 값: (Enterprise_E10, EnterpriseFlash_F300 등).

허용되는 값: EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50

선택적 매개 변수

--assigned-identities --user-assigned-identities

리소스와 연결된 사용자 할당 ID 집합입니다. userAssignedIdentities 사전 키는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. 사전 값은 요청에서 빈 개체({})일 수 있습니다.

--capacity

RedisEnterprise 클러스터의 크기입니다. SKU에 따라 기본값은 2 또는 3입니다. 유효한 값은 엔터프라이즈 SKU의 경우 (2, 4, 6, ...) 및 Flash SKU의 경우 (3, 9, 15, ...)입니다.

--client-protocol

redis 클라이언트가 TLS 암호화 또는 일반 텍스트 redis 프로토콜을 사용하여 연결할 수 있는지 여부를 지정합니다. 기본값은 TLS 암호화입니다.

허용되는 값: Encrypted, Plaintext
--clustering-policy

클러스터링 정책 - 기본값은 OSSCluster입니다. 생성 시 지정됩니다.

허용되는 값: EnterpriseCluster, OSSCluster
--eviction-policy

Redis 제거 정책 - 기본값은 VolatileLRU입니다.

허용되는 값: AllKeysLFU, AllKeysLRU, AllKeysRandom, NoEviction, VolatileLFU, VolatileLRU, VolatileRandom, VolatileTTL
--group-nickname

연결된 데이터베이스 리소스 그룹의 이름입니다.

--identity-resource-id --user-assigned-identity-resource-id

키 암호화 키 URL에 액세스하는 데 사용할 사용자 할당 ID입니다. 예: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId.

--identity-type

관리 서비스 ID의 유형입니다(SystemAssigned 및 UserAssigned 형식이 모두 허용되는 경우).

허용되는 값: None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned
--key-encryption-identity-type --key-identity-type

이 API 버전에서는 userAssignedIdentity만 지원됩니다. 다른 형식은 나중에 지원될 수 있습니다.

허용되는 값: systemAssignedIdentity, userAssignedIdentity
--key-encryption-key-url
--linked-databases

이 데이터베이스와 연결할 데이터베이스 리소스 목록입니다.

--location -l

위치. 값: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--minimum-tls-version

지원할 클러스터의 최소 TLS 버전(예: '1.2')입니다.

허용되는 값: 1.0, 1.1, 1.2
--module --modules

이 데이터베이스에서 사용하도록 설정하는 선택적 redis 모듈 집합 - 모듈은 생성 시에만 추가할 수 있습니다.

--no-database

고급. 기본 데이터베이스를 자동으로 만들지 마세요. 경고: 데이터베이스를 만들 때까지 캐시를 사용할 수 없습니다.

기본값: False
--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

기본값: False
--persistence

지속성 설정입니다.

--port

데이터베이스 엔드포인트의 TCP 포트입니다. 생성 시 지정됩니다. 기본값은 사용 가능한 포트입니다.

--tags

공백으로 구분된 태그: key[=value] [key[=value] ...]. ""를 사용하여 기존 태그를 지웁니다.

--zones -z

이 클러스터를 배포할 가용성 영역.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az redisenterprise delete

RedisEnterprise 캐시 클러스터를 삭제합니다.

az redisenterprise delete [--cluster-name]
                          [--ids]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--resource-group]
                          [--subscription]
                          [--yes]

선택적 매개 변수

--cluster-name --name -n

RedisEnterprise 클러스터의 이름입니다.

--ids

하나 이상의 리소스 ID(공백으로 구분)입니다. '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

허용되는 값: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--yes -y

확인 메시지를 표시하지 않습니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az redisenterprise list

지정된 구독의 모든 RedisEnterprise 클러스터를 나열합니다.

az redisenterprise list [--resource-group]

선택적 매개 변수

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az redisenterprise show

RedisEnterprise 클러스터에 대한 정보를 가져옵니다.

az redisenterprise show [--cluster-name]
                        [--ids]
                        [--resource-group]
                        [--subscription]

선택적 매개 변수

--cluster-name --name -n

RedisEnterprise 클러스터의 이름입니다.

--ids

하나 이상의 리소스 ID(공백으로 구분)입니다. '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az redisenterprise update

기존(잠재적 가동 중지 시간으로 덮어쓰기/다시 만들기) 캐시 클러스터를 업데이트합니다.

az redisenterprise update [--add]
                          [--assigned-identities]
                          [--capacity]
                          [--cluster-name]
                          [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                          [--identity-resource-id]
                          [--identity-type {None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned}]
                          [--ids]
                          [--key-encryption-identity-type {systemAssignedIdentity, userAssignedIdentity}]
                          [--key-encryption-key-url]
                          [--minimum-tls-version {1.0, 1.1, 1.2}]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--remove]
                          [--resource-group]
                          [--set]
                          [--sku {EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50}]
                          [--subscription]
                          [--tags]
                          [--zones]

선택적 매개 변수

--add

경로 및 키 값 쌍을 지정하여 개체 목록에 개체를 추가합니다. 예: --add property.listProperty <key=value, string 또는 JSON 문자열>.

--assigned-identities --user-assigned-identities

리소스와 연결된 사용자 할당 ID 집합입니다. userAssignedIdentities 사전 키는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. 사전 값은 요청에서 빈 개체({})일 수 있습니다. 약식 구문, json-file 및 yaml-file을 지원합니다. 더 많은 것을 표시하려면 "??"를 시도해 보세요.

--capacity

RedisEnterprise 클러스터의 크기입니다. SKU에 따라 기본값은 2 또는 3입니다. 유효한 값은 엔터프라이즈 SKU의 경우 (2, 4, 6, ...) 및 Flash SKU의 경우 (3, 9, 15, ...)입니다.

--cluster-name --name -n

RedisEnterprise 클러스터의 이름입니다.

--force-string

'set' 또는 'add'를 사용하는 경우 JSON으로 변환하는 대신 문자열 리터럴을 유지합니다.

허용되는 값: 0, 1, f, false, n, no, t, true, y, yes
--identity-resource-id --user-assigned-identity-resource-id

키 암호화 키 URL에 액세스하는 데 사용할 사용자 할당 ID입니다. 예: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId.

--identity-type

관리 서비스 ID의 유형입니다(SystemAssigned 및 UserAssigned 형식이 모두 허용되는 경우).

허용되는 값: None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned
--ids

하나 이상의 리소스 ID(공백으로 구분)입니다. '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--key-encryption-identity-type --key-identity-type

이 API 버전에서는 userAssignedIdentity만 지원됩니다. 다른 형식은 나중에 지원될 수 있습니다.

허용되는 값: systemAssignedIdentity, userAssignedIdentity
--key-encryption-key-url
--minimum-tls-version

지원할 클러스터의 최소 TLS 버전(예: '1.2')입니다.

허용되는 값: 1.0, 1.1, 1.2
--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

허용되는 값: 0, 1, f, false, n, no, t, true, y, yes
--remove

목록에서 속성 또는 요소를 제거합니다. 예: --remove property.list OR --remove propertyToRemove.

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--set

설정할 속성 경로와 값을 지정하여 개체를 업데이트합니다. 예: --set property1.property2=.

--sku

배포할 RedisEnterprise 클러스터의 형식입니다. 가능한 값: (Enterprise_E10, EnterpriseFlash_F300 등).

허용되는 값: EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50
--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--tags

리소스 태그. 약식 구문, json-file 및 yaml-file을 지원합니다. 더 많은 것을 표시하려면 "??"를 시도해 보세요.

--zones

이 클러스터를 배포할 가용성 영역. 약식 구문, json-file 및 yaml-file을 지원합니다. 더 많은 것을 표시하려면 "??"를 시도해 보세요.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az redisenterprise wait

조건이 충족될 때까지 CLI를 대기 상태로 유지합니다.

az redisenterprise wait [--cluster-name]
                        [--created]
                        [--custom]
                        [--deleted]
                        [--exists]
                        [--ids]
                        [--interval]
                        [--resource-group]
                        [--subscription]
                        [--timeout]
                        [--updated]

선택적 매개 변수

--cluster-name --name -n

RedisEnterprise 클러스터의 이름입니다.

--created

'Succeeded'에서 'provisioningState'를 사용하여 생성될 때까지 기다립니다.

기본값: False
--custom

조건이 사용자 지정 JMESPath 쿼리를 충족할 때까지 기다립니다. 예: provisioningState!='InProgress', instanceView. 상태es[?code=='PowerState/running'].

--deleted

삭제될 때까지 기다립니다.

기본값: False
--exists

리소스가 존재할 때까지 기다립니다.

기본값: False
--ids

하나 이상의 리소스 ID(공백으로 구분)입니다. '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--interval

폴링 간격(초)입니다.

기본값: 30
--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--timeout

최대 대기 시간(초)입니다.

기본값: 3600
--updated

'Succeeded'에서 provisioningState로 업데이트될 때까지 기다립니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.