4.15. アプリケーションの一覧表示
3scale toolbox を使用して、デベロッパーポータルのアプリケーションの一覧表示、作成、表示、適用、または削除を行います。
以下のコマンドにより、アプリケーションが一覧表示されます。
3scale application list [opts] <remote>
アプリケーションの一覧表示時に、以下のオプションを使用します。
OPTIONS
--account=<value> Filter by account
-o --output=<value> Output format on stdout:
one of json|yaml
--plan=<value> Filter by application plan. Service
option required.
--service=<value> Filter by service
OPTIONS FOR APPLICATION
-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.15.1. アプリケーションの作成 リンクのコピーリンクがクリップボードにコピーされました!
特定の 3scale アカウントおよびアプリケーションプランにリンクされたアプリケーションを 1 つ作成するには、create コマンドを使用します。
必要な位置パラメーターは以下のとおりです。
-
<service>参照。サービスのidまたはサービスのsystem_nameのどちらかです。 <account>参照。次のいずれかです。-
アカウント
id -
アカウントの管理ユーザーの
username、email、またはuser_id -
provider_key
-
アカウント
-
<application plan>参照。プランのidまたはプランのsystem_nameのどちらかです。 -
<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 created.
--description=<value> Application description
-o --output=<value> Output format on stdout:
one of json|yaml
--redirect-url=<value> OpenID Connect redirect url
--user-key=<value> User Key (API Key) of the application
to be created.
OPTIONS FOR APPLICATION
-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.15.2. アプリケーションの表示 リンクのコピーリンクがクリップボードにコピーされました!
以下のコマンドにより、アプリケーションが表示されます。
3scale application show [opts] <remote> <application>
アプリケーションパラメーターは以下のいずれかです。
-
user_key: API キー -
App_id: app_id/app_key ペアから、または OAuth および OpenID Connect (OIDC) 認証モードの Client ID -
アプリケーションの内部
id
OPTIONS
-o --output=<value> Output format on stdout:
one of json|yaml
OPTIONS FOR APPLICATION
-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.15.3. アプリケーションの作成または更新 リンクのコピーリンクがクリップボードにコピーされました!
アプリケーションが存在しない場合に新しく作成する、または既存のアプリケーションを更新するには、以下のコマンドを使用します。
3scale application apply [opts] <remote> <application>
アプリケーションパラメーターは以下のいずれかです。
-
user_key: API キー -
App_id: app_id/app_key ペアから、または OAuth および OIDC 認証モードの Client ID -
アプリケーションの内部
id アプリケーションが見つからず作成する必要がある場合は、オプションの
account引数が必要です。次のいずれかです。-
アカウント
id -
3scale アカウントの管理ユーザーの
username、email、または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
-o --output=<value> Output format on stdout:
one of json|yaml
--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.
OPTIONS FOR APPLICATION
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Show 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.15.4. アプリケーションの削除 リンクのコピーリンクがクリップボードにコピーされました!
以下のコマンドにより、アプリケーションが削除されます。
3scale application delete [opts] <remote> <application>
アプリケーションパラメーターは以下のいずれかです。
-
user_key: API キー -
App_id: app_id/app_key ペアから、または OAuth および OIDC 認証モードの Client ID -
アプリケーションの内部
id