2.15. 애플리케이션
3scale toolbox를 사용하여 애플리케이션 개발자 포털을 나열, 생성, 표시, 적용 또는 삭제합니다.
2.15.1. 애플리케이션 나열
다음 명령은 애플리케이션을 나열합니다.
3scale application list [opts] <remote>
애플리케이션을 나열하는 동안 다음 옵션을 사용합니다.
OPTIONS
--account=<value> Filter by account
--plan=<value> Filter by application plan.
Service option required.
--service=<value> Filter by service2.15.2. 애플리케이션 생성
create 명령을 사용하여 지정된 3scale 계정 및 애플리케이션 계획에 연결된 하나의 애플리케이션을 생성합니다.
필요한 위치 매개 변수는 다음과 같습니다.
-
&
lt;service> 참조. 서비스 ID 또는 서비스일 수 있습니다.system_name &
lt;account> 참조 다음 중 하나일 수 있습니다.-
계정
ID -
계정의 admin 사용자의 사용자
이름,이메일또는user_id -
provider_key
-
계정
-
<application plan> 참조 계획 ID 중 하나이거나system_name을 계획할 수 있습니다. -
&
lt;name> 애플리케이션 이름입니다.
다음 명령은 애플리케이션을 생성합니다.
3scale application create [opts] <remote> <account> <service> <application-plan> <name>
애플리케이션을 생성하는 동안 다음 옵션을 사용합니다.
Options
--application-id=<value> App ID or Client ID (for OAuth and
OpenID Connect authentication modes) of
the application to be created.
--application-key=<value> App Key(s) or Client Secret (for OAuth
and OpenID Connect authentication
modes) of the application to be
created.
--description=<value> Application description
--redirect-url=<value> OpenID Connect redirect url
--user-key=<value> User Key (API Key) of the application
to be created.2.15.3. 애플리케이션 표시
다음 명령은 애플리케이션을 보여줍니다.
3scale application show [opts] <remote> <application>
애플리케이션 매개변수는 다음을 허용합니다.
-
user_key- API 키 -
app_id- app_id/app_key 쌍 또는 OAuth 및 OpenID Connect (OIDC) 인증 모드의 클라이언트 ID -
애플리케이션 내부
ID
2.15.4. 애플리케이션 생성 또는 업데이트
다음 명령을 사용하여 새 애플리케이션을 생성하거나 기존 애플리케이션을 업데이트합니다.
3scale application apply [opts] <remote> <application>
애플리케이션 매개변수는 다음을 허용합니다.
-
user_key- API 키 -
app_id- app_id/app_key 쌍 또는 OAuth 및 OIDC 인증 모드의 클라이언트 ID -
애플리케이션 내부
ID 애플리케이션을 찾을 수 없는 경우
계정선택적 인수가 필요합니다. 다음 중 하나일 수 있습니다.-
계정
ID -
3scale 계정의 관리자 사용자
이름,이메일또는user_id -
provider_key
-
계정
-
애플리케이션
이름은3scale에서 고유하지 않으므로 name을 고유 식별자로 사용할 수 없습니다. -
--resume플래그로 일시 중지된 애플리케이션을 다시 시작합니다. -
애플리케이션을 일시 중단 -
--suspend플래그에 의해 일시 중지된 상태를 변경합니다.
애플리케이션을 업데이트하는 동안 다음 옵션을 사용합니다.
OPTIONS
--account=<value> Application's account. Required when
creating
--application-key=<value> App Key(s) or Client Secret (for OAuth
and OpenID Connect authentication
modes) of the application to be
created. Only used when application
does not exist.
--description=<value> Application description
--name=<value> Application name
--plan=<value> Application's plan. Required when
creating
--redirect-url=<value> OpenID Connect redirect url
--resume Resume a suspended application
--service=<value> Application's service. Required when
creating
--suspend Suspends an application (changes the
state to suspended)
--user-key=<value> User Key (API Key) of the application
to be created.2.15.5. 애플리케이션 삭제
다음 명령은 애플리케이션을 삭제합니다.
3scale application delete [opts] <remote> <application>
애플리케이션 매개변수는 다음을 허용합니다.
-
user_key- API 키 -
app_id- app_id/app_key 쌍 또는 OAuth 및 OIDC 인증 모드의 클라이언트 ID -
애플리케이션 내부
ID