-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
ibmcloud-{api,config,logout,regions,target}: add pages #18484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kekwlboy12469
wants to merge
2
commits into
tldr-pages:main
Choose a base branch
from
kekwlboy12469:ibmcloud-part-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+100
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# ibmcloud api | ||
|
||
> Set or view the IBM Cloud API endpoint. | ||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_api>. | ||
|
||
- View the current API endpoint: | ||
|
||
`ibmcloud api` | ||
|
||
- Set the API endpoint to `cloud.ibm.com`: | ||
|
||
`ibmcloud api cloud.ibm.com` | ||
|
||
- Set a private API endpoint: | ||
|
||
`ibmcloud api private.cloud.ibm.com` | ||
|
||
- Use a VPC connection for a private endpoint: | ||
|
||
`ibmcloud api private.cloud.ibm.com --vpc` | ||
|
||
- Bypass SSL validation of HTTP requests: | ||
|
||
`ibmcloud api https://cloud.ibm.com --skip-ssl-validation` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- Remove the API endpoint setting: | ||
|
||
`ibmcloud api --unset` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# ibmcloud config | ||
|
||
> Modify or read out values in the IBM Cloud CLI configuration. | ||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_config>. | ||
|
||
- Set HTTP request timeout to 30 seconds: | ||
|
||
`ibmcloud config --http-timeout 30` | ||
|
||
- Enable trace output for HTTP requests: | ||
|
||
`ibmcloud config --trace true` | ||
|
||
- Trace HTTP requests to a specific file: | ||
|
||
`ibmcloud config --trace {{path/to/trace_file}}` | ||
|
||
- Disable color output: | ||
|
||
`ibmcloud config --color false` | ||
|
||
- Set the locale to a specific language: | ||
|
||
`ibmcloud config --locale {{zh_Hans}}` | ||
|
||
- Enable automatic SSO one-time passcode acceptance: | ||
|
||
`ibmcloud config --sso-otp auto` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# ibmcloud logout | ||
|
||
> Log out of the IBM Cloud CLI. | ||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_logout>. | ||
|
||
- Log out of the current session: | ||
|
||
`ibmcloud logout` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# ibmcloud regions | ||
|
||
> List all available regions on IBM Cloud. | ||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_regions>. | ||
|
||
- View information for all regions: | ||
|
||
`ibmcloud regions` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# ibmcloud target | ||
|
||
> Set or view the target account, region, or resource group. | ||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_target>. | ||
|
||
- View the current target account and region: | ||
|
||
`ibmcloud target` | ||
|
||
- Set the target account: | ||
|
||
`ibmcloud target -c {{account_id}}` | ||
|
||
- Switch to a specific region: | ||
|
||
`ibmcloud target -r {{region_name}}` | ||
|
||
- Set the target resource group: | ||
|
||
`ibmcloud target -g {{resource_group_name}}` | ||
|
||
- Clear the targeted region: | ||
|
||
`ibmcloud target --unset-region` | ||
|
||
- Clear the targeted resource group: | ||
|
||
`ibmcloud target --unset-resource-group` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.