Adds a specific resource share to a group and optionally allows the setting of permissions for that resource. As an example, you might use this to grant permissions to use an image or snapshot to a specific group.
knife ionoscloud share create (options)
Available options:
Required options:
group_id
resource_id
ionoscloud_url: --url URL
the Ionoscloud API URL
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
path to the additional config file
group_id: --group-id GROUP_ID, -G GROUP_ID
iD of the group. (required)
resource_id: --resource-id RESOURCE_ID, -R RESOURCE_ID
the ID of the resource. (required)
edit_privilege: --edit, -e
the group has permission to edit privileges on this resource.
share_privilege: --share, -s
the group has permission to share this resource.
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password
ionoscloud_token: --token PASSWORD
your Ionoscloud access token