프로젝트의 Atlas Stream Processing 인스턴스를 업데이트합니다.
Atlas Streams Processing 인스턴스 업데이트하기 전에 먼저 연결된 모든 프로세스를 중지해야 합니다. 이 명령을 사용하려면 사용자 계정, 서비스 계정 또는 프로젝트 소유자 역할 있는 API 키로 인증해야 합니다.
구문
atlas streams instances update <name> [options]
arguments
이름 | 유형 | 필수 사항 | 설명 |
|---|---|---|---|
이름 | 문자열 | true | Atlas Stream Processing 인스턴스의 이름입니다. 생성 후에는 인스턴스의 이름을 변경할 수 없습니다. 이름에는 ASCII 문자, 숫자, 하이픈을 포함할 수 있습니다. |
옵션
이름 | 유형 | 필수 사항 | 설명 |
|---|---|---|---|
-h, --help | 거짓 | 업데이트 도움말 | |
-o, --output | 문자열 | 거짓 | 출력 형식입니다. 유효한 값은 json, json-path, go-템플릿 또는 go-템플릿 파일입니다. 전체 출력을 보려면 -o json 옵션을 사용합니다. |
--projectId | 문자열 | 거짓 | 사용할 프로젝트를 식별하는 16진수 문자열입니다. 이 옵션은 구성 파일 또는 환경 변수의 설정을 재정의합니다. |
--provider | 문자열 | true | 프로비저닝된 Atlas Stream Processing 인스턴스 에 적용되는 클라우드 서비스 제공자 . 유효한 값은 Amazon Web Services 또는 Azure 입니다. 이 값의 기본값은 ' Amazon Web Services'입니다. |
-r, --region | 문자열 | true | Human-readable label that identifies the physical location of your Atlas Stream Processing instance. The region can affect network latency and performance if it is far from your source or sink. For AWS, region name must be in the following format: VIRGINIA_USA. For a list of valid values, see https://www.mongodb.com/ko-kr/docs/atlas/reference/amazon-aws/#stream-processing-workspaces. For Azure, region name must be in the following format: eastus. For a list of valid values, see https://www.mongodb.com/ko-kr/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces. For GCP, region name must be in the following format: us-central1. For a list of valid values, see https://www.mongodb.com/ko-kr/docs/atlas/reference/google-gcp/#stream-processing-workspaces. |
상속된 옵션
이름 | 유형 | 필수 사항 | 설명 |
|---|---|---|---|
-P, --profile | 문자열 | 거짓 | 구성 파일 에서 사용할 프로필의 이름입니다. Atlas CLI 의 프로필에 대해 학습 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings를 참조하세요. |
출력
명령이 성공하면 Atlas CLI는 다음 샘플과 유사한 출력을 반환합니다. 괄호 안의 값은 사용자의 값을 나타냅니다.
Atlas Streams Processor Instance '<Name>' successfully updated.
예시
# Modify the Atlas Stream Processing instance configuration with the name MyInstance: atlas streams instance update MyInstance --provider AWS --region VIRGINIA_USA