Subcommands

ShareGet

Get a Resource Share from a Group

Usage

ionosctl share get [flags]

Aliases

For get command:

[g]

Description

Use this command to retrieve the details of a specific Shared Resource available to a specified Group.

Required values to run command:

  • Group Id

  • Resource Id

Options

-u, --api-url string Override default host url (default "https://api.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [ShareId EditPrivilege SharePrivilege Type] (default [ShareId,EditPrivilege,SharePrivilege,Type])
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-f, --force Force command to execute without user input
--group-id string The unique Group Id (required)
-h, --help Print usage
-o, --output string Desired output format [text|json] (default "text")
-q, --quiet Quiet output
-i, --resource-id string The unique Resource Id (required)
-v, --verbose Print step-by-step process when running command

Examples

ionosctl share get --group-id GROUP_ID --resource-id RESOURCE_ID