4.11. 서비스 생성
3scale toolbox를 사용하여 개발자 포털에서 서비스를 생성, 적용, 나열, 표시 또는 삭제합니다.
4.11.1. 새 서비스 생성 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 새 서비스를 생성합니다.
3scale service create [options] <remote> <service-name>
서비스를 생성하는 동안 다음 옵션을 사용합니다.
Options
-a --authentication-mode=<value> Specify authentication mode of
the service:
- '1' for API key
- '2' for App Id/App Key
- 'oauth' for OAuth mode
- 'oidc' for OpenID Connect
-d --deployment-mode=<value> Specify the deployment mode of
the service
--description=<value> Specify the description of the
service
-o --output=<value> Output format on stdout:
one of json|yaml
-s --system-name=<value> Specify the system-name of the
service
--support-email=<value> Specify the support email of the
service
Options for service
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for
server connections otherwise
considered insecure
-v --version Print the version of this command
--verbose Verbose mode
4.11.2. 서비스 생성 또는 업데이트 링크 복사링크가 클립보드에 복사되었습니다!
다음을 사용하여 새 서비스를 생성하거나 기존 서비스를 업데이트합니다.
service-id_or_system-name위치 인수는 서비스 참조입니다.-
서비스 ID 또는 서비스
system_name일 수 있습니다. - 툴박스가 이 문제를 자동으로 해결합니다.
-
서비스 ID 또는 서비스
-
이 명령은
멱등입니다.
다음 명령은 서비스를 업데이트합니다.
3scale service apply <remote> <service-id_or_system-name>
서비스를 업데이트하는 동안 다음 옵션을 사용합니다.
Options
-a --authentication-mode=<value> Specify authentication mode of
the service:
- '1' for API key
- '2' for App Id/App Key
- 'oauth' for OAuth mode
- 'oidc' for OpenID Connect
-d --deployment-mode=<value> Specify the deployment mode of
the service
--description=<value> Specify the description of the
service
-n --name=<value> Specify the name of the metric
--support-email=<value> Specify the support email of the
service
-o --output=<value> Output format on stdout:
one of json|yaml
Options for services
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for
server connections otherwise
considered insecure
-v --version Print the version of this command
--verbose Verbose mode
4.11.3. 서비스 나열 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 서비스를 나열합니다.
3scale service list <remote>
서비스를 나열하는 동안 다음 옵션을 사용합니다.
Options
-o --output=<value> Output format on stdout:
one of json|yaml
Options for services
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode
4.11.4. 서비스 표시 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 서비스를 표시합니다.
3scale service show <remote> <service-id_or_system-name>
서비스를 보여주는 동안 다음 옵션을 사용합니다.
Options
-o --output=<value> Output format on stdout:
one of json|yaml
Options for services
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode
4.11.5. 서비스 삭제 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 서비스를 삭제합니다.
3scale service delete <remote> <service-id_or_system-name>
서비스를 삭제하는 동안 다음 옵션을 사용합니다.
Options for services
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode