diff --git a/doc/cli-reference/generated/ch_cli_glance_commands.xml b/doc/cli-reference/generated/ch_cli_glance_commands.xml index 7e1e22b9ef..ce23ea192d 100644 --- a/doc/cli-reference/generated/ch_cli_glance_commands.xml +++ b/doc/cli-reference/generated/ch_cli_glance_commands.xml @@ -330,57 +330,27 @@
Image service API v1 commands -
- glance explain - usage: glance explain <MODEL> - -Describe a specific model. - - Positional arguments - - <MODEL> - - - Name of model to describe. - - - - -
-
- glance image-create - usage: glance image-create [--architecture <ARCHITECTURE>] - [--protected [True|False]] [--name <NAME>] - [--instance-uuid <INSTANCE_UUID>] - [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] - [--kernel-id <KERNEL_ID>] - [--tags <TAGS> [<TAGS> ...]] - [--os-version <OS_VERSION>] - [--disk-format <DISK_FORMAT>] [--self <SELF>] - [--os-distro <OS_DISTRO>] [--id <ID>] - [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>] - [--min-ram <MIN_RAM>] +
+ glance image-create (v1) + usage: glance --os-image-api-version 1 image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>] + [--disk-format <DISK_FORMAT>] [--container-format <CONTAINER_FORMAT>] - [--property <key=value>] [--file <FILE>] + [--owner <TENANT_ID>] [--size <SIZE>] + [--min-disk <DISK_GB>] [--min-ram <DISK_RAM>] + [--location <IMAGE_URL>] [--file <FILE>] + [--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>] + [--is-public {True,False}] + [--is-protected {True,False}] + [--property <key=value>] [--human-readable] [--progress] Optional arguments - --architecture <ARCHITECTURE> + --id <IMAGE_ID> - Operating system architecture as specified in - http://docs.openstack.org/trunk/openstack- - compute/admin/content/adding-images.html - - - - - --protected [True|False] - - - If true, image will not be deletable. + ID of image to reserve. @@ -388,58 +358,15 @@ Describe a specific model. --name <NAME> - Descriptive name for the image + Name of image. - --instance-uuid <INSTANCE_UUID> + --store <STORE> - ID of instance used to create this image. - - - - - --min-disk <MIN_DISK> - - - Amount of disk space (in GB) required to boot image. - - - - - --visibility <VISIBILITY> - - - Scope of image accessibility Valid values: public, - private - - - - - --kernel-id <KERNEL_ID> - - - ID of image stored in Glance that should be used as - the kernel when booting an AMI-style image. - - - - - --tags <TAGS> [<TAGS> ...] - - - List of strings related to the image - - - - - --os-version <OS_VERSION> - - - Operating system version as specified by the - distributor + Store to upload image to. @@ -447,59 +374,8 @@ Describe a specific model. --disk-format <DISK_FORMAT> - Format of the disk Valid values: ami, ari, aki, vhd, - vmdk, raw, qcow2, vdi, iso - - - - - --self <SELF> - - - (READ-ONLY) - - - - - --os-distro <OS_DISTRO> - - - Common name of operating system distribution as - specified in http://docs.openstack.org/trunk - /openstack-compute/admin/content/adding-images.html - - - - - --id <ID> - - - An identifier for the image - - - - - --owner <OWNER> - - - Owner of the image - - - - - --ramdisk-id <RAMDISK_ID> - - - ID of image stored in Glance that should be used as - the ramdisk when booting an AMI-style image. - - - - - --min-ram <MIN_RAM> - - - Amount of ram (in MB) required to boot image. + Disk format of image. Acceptable formats: ami, ari, + aki, vhd, vmdk, raw, qcow2, vdi, and iso. @@ -507,8 +383,100 @@ Describe a specific model. --container-format <CONTAINER_FORMAT> - Format of the container Valid values: ami, ari, aki, - bare, ovf, ova + Container format of image. Acceptable formats: ami, + ari, aki, bare, and ovf. + + + + + --owner <TENANT_ID> + + + Tenant who should own image. + + + + + --size <SIZE> + + + Size of image data (in bytes). Only used with '-- + location' and '--copy_from'. + + + + + --min-disk <DISK_GB> + + + Minimum size of disk needed to boot image (in + gigabytes). + + + + + --min-ram <DISK_RAM> + + + Minimum amount of ram needed to boot image (in + megabytes). + + + + + --location <IMAGE_URL> + + + URL where the data for this image already resides. For + example, if the image data is stored in swift, you + could specify 'swift+http://tenant%3Aaccount:key@auth_ + url/v2.0/container/obj'. (Note: '%3A' is ':' URL + encoded.) + + + + + --file <FILE> + + + Local file that contains disk image to be uploaded + during creation. Alternatively, images can be passed + to the client via stdin. + + + + + --checksum <CHECKSUM> + + + Hash of image data used Glance can use for + verification. Provide a md5 checksum here. + + + + + --copy-from <IMAGE_URL> + + + Similar to '--location' in usage, but this indicates + that the Glance server should immediately copy the + data and store it in its configured image store. + + + + + --is-public {True,False} + + + Make image accessible to the public. + + + + + --is-protected {True,False} + + + Prevent image from being deleted. @@ -522,12 +490,10 @@ Describe a specific model. - --file <FILE> + --human-readable - Local file that contains disk image to be uploaded - during creation. Must be present if images are not - passed to the client via stdin. + Print image size in a human-friendly format. @@ -541,35 +507,35 @@ Describe a specific model.
-
- glance image-delete - usage: glance image-delete <IMAGE_ID> +
+ glance image-delete (v1) + usage: glance --os-image-api-version 1 image-delete <IMAGE> [<IMAGE> ...] -Delete specified image. +Delete specified image(s). Positional arguments - <IMAGE_ID> + <IMAGE> - ID of image to delete. + Name or ID of image(s) to delete.
-
- glance image-download - usage: glance image-download [--file <FILE>] [--progress] <IMAGE_ID> +
+ glance image-download (v1) + usage: glance --os-image-api-version 1 image-download [--file <FILE>] [--progress] <IMAGE> Download a specific image. Positional arguments - <IMAGE_ID> + <IMAGE> - ID of image to download. + Name or ID of image to download. @@ -596,56 +562,79 @@ Download a specific image.
-
- glance image-list - usage: glance image-list [--limit <LIMIT>] [--page-size <SIZE>] - [--visibility <VISIBILITY>] - [--member-status <MEMBER_STATUS>] [--owner <OWNER>] - [--property-filter <KEY=VALUE>] - [--checksum <CHECKSUM>] [--tag <TAG>] +
+ glance image-list (v1) + usage: glance --os-image-api-version 1 image-list [--name <NAME>] [--status <STATUS>] + [--changes-since <CHANGES_SINCE>] + [--container-format <CONTAINER_FORMAT>] + [--disk-format <DISK_FORMAT>] [--size-min <SIZE>] + [--size-max <SIZE>] [--property-filter <KEY=VALUE>] + [--page-size <SIZE>] [--human-readable] [--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}] - [--sort-dir {asc,desc}] [--sort <key>[:<direction>]] + [--sort-dir {asc,desc}] [--is-public {True,False}] + [--owner <TENANT_ID>] [--all-tenants] List images you can access. Optional arguments - --limit <LIMIT> + --name <NAME> - Maximum number of images to get. + Filter images to those that have this name. - --page-size <SIZE> + --status <STATUS> - Number of images to request in each paginated request. + Filter images to those that have this status. - --visibility <VISIBILITY> + --changes-since <CHANGES_SINCE> - The visibility of the images to display. + Filter images to those that changed since the given + time, which will include the deleted images. - --member-status <MEMBER_STATUS> + --container-format <CONTAINER_FORMAT> - The status of images to display. + Filter images to those that have this container + format. Acceptable formats: ami, ari, aki, bare, and + ovf. - --owner <OWNER> + --disk-format <DISK_FORMAT> - Display images owned by <OWNER>. + Filter images to those that have this disk format. + Acceptable formats: ami, ari, aki, vhd, vmdk, raw, + qcow2, vdi, and iso. + + + + + --size-min <SIZE> + + + Filter images to those with a size greater than this. + + + + + --size-max <SIZE> + + + Filter images to those with a size less than this. @@ -658,18 +647,18 @@ List images you can access. - --checksum <CHECKSUM> + --page-size <SIZE> - Displays images that match the checksum. + Number of images to request in each paginated request. - --tag <TAG> + --human-readable - Filter images by a user-defined tag. + Print image size in a human-friendly format. @@ -677,7 +666,7 @@ List images you can access. --sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at} - Sort image list by specified fields. + Sort image list by specified field. @@ -685,36 +674,57 @@ List images you can access. --sort-dir {asc,desc} - Sort image list in specified directions. + Sort image list in specified direction. - --sort <key>[:<direction>] + --is-public {True,False} - Comma-separated list of sort keys and directions in - the form of <key>[:<asc|desc>]. Valid keys: name, - status, container_format, disk_format, size, id, - created_at, updated_at. OPTIONAL. + Allows the user to select a listing of public or non + public images. + + + + + --owner <TENANT_ID> + + + Display only images owned by this tenant id. Filtering + occurs on the client side so may be inefficient. This + option is mainly intended for admin use. Use an empty + string ('') to list images with no owner. Note: This + option overrides the --is-public argument if present. + Note: the v2 API supports more efficient server-side + owner based filtering. + + + + + --all-tenants + + + Allows the admin user to list all images irrespective + of the image's owner or is_public value.
-
- glance image-show - usage: glance image-show [--human-readable] [--max-column-width <integer>] - <IMAGE_ID> +
+ glance image-show (v1) + usage: glance --os-image-api-version 1 image-show [--human-readable] [--max-column-width <integer>] + <IMAGE> Describe a specific image. Positional arguments - <IMAGE_ID> + <IMAGE> - ID of image to describe. + Name or ID of image to describe. @@ -739,151 +749,39 @@ Describe a specific image.
-
- glance image-tag-delete - usage: glance image-tag-delete <IMAGE_ID> <TAG_VALUE> - -Delete the tag associated with the given image. - - Positional arguments - - <IMAGE_ID> - - - ID of the image from which to delete tag. - - - - - <TAG_VALUE> - - - Value of the tag. - - - - -
-
- glance image-tag-update - usage: glance image-tag-update <IMAGE_ID> <TAG_VALUE> - -Update an image with the given tag. - - Positional arguments - - <IMAGE_ID> - - - Image to be updated with the given tag. - - - - - <TAG_VALUE> - - - Value of the tag. - - - - -
-
- glance image-update - usage: glance image-update [--architecture <ARCHITECTURE>] - [--protected [True|False]] [--name <NAME>] - [--instance-uuid <INSTANCE_UUID>] - [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] - [--kernel-id <KERNEL_ID>] - [--os-version <OS_VERSION>] - [--disk-format <DISK_FORMAT>] [--self <SELF>] - [--os-distro <OS_DISTRO>] [--owner <OWNER>] - [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>] +
+ glance image-update (v1) + usage: glance --os-image-api-version 1 image-update [--name <NAME>] [--disk-format <DISK_FORMAT>] [--container-format <CONTAINER_FORMAT>] - [--property <key=value>] [--remove-property key] - <IMAGE_ID> + [--owner <TENANT_ID>] [--size <SIZE>] + [--min-disk <DISK_GB>] [--min-ram <DISK_RAM>] + [--location <IMAGE_URL>] [--file <FILE>] + [--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>] + [--is-public {True,False}] + [--is-protected {True,False}] + [--property <key=value>] [--purge-props] + [--human-readable] [--progress] + <IMAGE> -Update an existing image. +Update a specific image. Positional arguments - <IMAGE_ID> + <IMAGE> - ID of image to update. + Name or ID of image to modify. Optional arguments - - --architecture <ARCHITECTURE> - - - Operating system architecture as specified in - http://docs.openstack.org/trunk/openstack- - compute/admin/content/adding-images.html - - - - - --protected [True|False] - - - If true, image will not be deletable. - - - --name <NAME> - Descriptive name for the image - - - - - --instance-uuid <INSTANCE_UUID> - - - ID of instance used to create this image. - - - - - --min-disk <MIN_DISK> - - - Amount of disk space (in GB) required to boot image. - - - - - --visibility <VISIBILITY> - - - Scope of image accessibility Valid values: public, - private - - - - - --kernel-id <KERNEL_ID> - - - ID of image stored in Glance that should be used as - the kernel when booting an AMI-style image. - - - - - --os-version <OS_VERSION> - - - Operating system version as specified by the - distributor + Name of image. @@ -891,51 +789,8 @@ Update an existing image. --disk-format <DISK_FORMAT> - Format of the disk Valid values: ami, ari, aki, vhd, - vmdk, raw, qcow2, vdi, iso - - - - - --self <SELF> - - - (READ-ONLY) - - - - - --os-distro <OS_DISTRO> - - - Common name of operating system distribution as - specified in http://docs.openstack.org/trunk - /openstack-compute/admin/content/adding-images.html - - - - - --owner <OWNER> - - - Owner of the image - - - - - --ramdisk-id <RAMDISK_ID> - - - ID of image stored in Glance that should be used as - the ramdisk when booting an AMI-style image. - - - - - --min-ram <MIN_RAM> - - - Amount of ram (in MB) required to boot image. + Disk format of image. Acceptable formats: ami, ari, + aki, vhd, vmdk, raw, qcow2, vdi, and iso. @@ -943,8 +798,101 @@ Update an existing image. --container-format <CONTAINER_FORMAT> - Format of the container Valid values: ami, ari, aki, - bare, ovf, ova + Container format of image. Acceptable formats: ami, + ari, aki, bare, and ovf. + + + + + --owner <TENANT_ID> + + + Tenant who should own image. + + + + + --size <SIZE> + + + Size of image data (in bytes). + + + + + --min-disk <DISK_GB> + + + Minimum size of disk needed to boot image (in + gigabytes). + + + + + --min-ram <DISK_RAM> + + + Minimum amount of ram needed to boot image (in + megabytes). + + + + + --location <IMAGE_URL> + + + URL where the data for this image already resides. For + example, if the image data is stored in swift, you + could specify 'swift+http://tenant%3Aaccount:key@auth_ + url/v2.0/container/obj'. (Note: '%3A' is ':' URL + encoded.) This option only works for images in + 'queued' status. + + + + + --file <FILE> + + + Local file that contains disk image to be uploaded + during update. Alternatively, images can be passed to + the client via stdin. + + + + + --checksum <CHECKSUM> + + + Hash of image data used Glance can use for + verification. + + + + + --copy-from <IMAGE_URL> + + + Similar to '--location' in usage, but this indicates + that the Glance server should immediately copy the + data and store it in its configured image store. This + option only works for images in 'queued' status. + + + + + --is-public {True,False} + + + Make image accessible to the public. + + + + + --is-protected {True,False} + + + Prevent image from being deleted. @@ -958,52 +906,20 @@ Update an existing image. - --remove-property + --purge-props - key - Name of arbitrary property to remove from the image. - - - - -
-
- glance image-upload - usage: glance image-upload [--file <FILE>] [--size <IMAGE_SIZE>] [--progress] - <IMAGE_ID> - -Upload data for a specific image. - - Positional arguments - - <IMAGE_ID> - - - ID of image to upload data to. - - - - - - Optional arguments - - --file <FILE> - - - Local file that contains disk image to be uploaded. - Alternatively, images can be passed to the client via - stdin. + If this flag is present, delete all image properties + not explicitly set in the update request. Otherwise, + those properties not referenced are preserved. - --size <IMAGE_SIZE> + --human-readable - Size in bytes of image to be uploaded. Default is to - get size from provided data object but this is - supported in case where size cannot be inferred. + Print image size in a human-friendly format. @@ -1017,18 +933,26 @@ Upload data for a specific image.
-
- glance location-add - usage: glance location-add --url <URL> [--metadata <STRING>] <ID> +
+ glance member-create (v1) + usage: glance --os-image-api-version 1 member-create [--can-share] <IMAGE> <TENANT_ID> -Add a location (and related metadata) to an image. +Share a specific image with a tenant. Positional arguments - <ID> + <IMAGE> - ID of image to which the location is to be added. + Image to add member to. + + + + + <TENANT_ID> + + + Tenant to add as member @@ -1036,967 +960,24 @@ Add a location (and related metadata) to an image. Optional arguments - --url <URL> + --can-share - URL of location to add. - - - - - --metadata <STRING> - - - Metadata associated with the location. Must be a valid - JSON object (default: {}) + Allow the specified tenant to share this image.
-
- glance location-delete - usage: glance location-delete --url <URL> <ID> +
+ glance member-delete (v1) + usage: glance --os-image-api-version 1 member-delete <IMAGE> <TENANT_ID> -Remove locations (and related metadata) from an image. +Remove a shared image from a tenant. Positional arguments - <ID> - - - ID of image whose locations are to be removed. - - - - - - Optional arguments - - --url <URL> - - - URL of location to remove. May be used multiple times. - - - - -
-
- glance location-update - usage: glance location-update --url <URL> [--metadata <STRING>] <ID> - -Update metadata of an image's location. - - Positional arguments - - <ID> - - - ID of image whose location is to be updated. - - - - - - Optional arguments - - --url <URL> - - - URL of location to update. - - - - - --metadata <STRING> - - - Metadata associated with the location. Must be a valid - JSON object (default: {}) - - - - -
-
- glance md-namespace-create - usage: glance md-namespace-create <NAMESPACE> <unavailable> - -Create a new metadata definitions namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace. - - - - - <unavailable> - - - Please run with connection parameters set to retrieve the - schema for generating help for this command - - - - -
-
- glance md-namespace-delete - usage: glance md-namespace-delete <NAMESPACE> - -Delete specified metadata definitions namespace with its contents. - - Positional arguments - - <NAMESPACE> - - - Name of namespace to delete. - - - - -
-
- glance md-namespace-import - usage: glance md-namespace-import [--file <FILEPATH>] - -Import a metadata definitions namespace from file or standard input. - - Optional arguments - - --file <FILEPATH> - - - Path to file with namespace schema to import. - Alternatively, namespaces schema can be passed to the - client via stdin. - - - - -
-
- glance md-namespace-list - usage: glance md-namespace-list [--resource-types <RESOURCE_TYPES>] - [--visibility <VISIBILITY>] - [--page-size <SIZE>] - -List metadata definitions namespaces. - - Optional arguments - - --resource-types <RESOURCE_TYPES> - - - Resource type to filter namespaces. - - - - - --visibility <VISIBILITY> - - - Visibility parameter to filter namespaces. - - - - - --page-size <SIZE> - - - Number of namespaces to request in each paginated - request. - - - - -
-
- glance md-namespace-objects-delete - usage: glance md-namespace-objects-delete <NAMESPACE> - -Delete all metadata definitions objects inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-namespace-properties-delete - usage: glance md-namespace-properties-delete <NAMESPACE> - -Delete all metadata definitions property inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-namespace-resource-type-list - usage: glance md-namespace-resource-type-list <NAMESPACE> - -List resource types associated to specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-namespace-show - usage: glance md-namespace-show [--resource-type <RESOURCE_TYPE>] - [--max-column-width <integer>] - <NAMESPACE> - -Describe a specific metadata definitions namespace. Lists also the namespace -properties, objects and resource type associations. - - Positional arguments - - <NAMESPACE> - - - Name of namespace to describe. - - - - - - Optional arguments - - --resource-type <RESOURCE_TYPE> - - - Applies prefix of given resource type associated to a - namespace to all properties of a namespace. - - - - - --max-column-width <integer> - - - The max column width of the printed table. - - - - -
-
- glance md-namespace-tags-delete - usage: glance md-namespace-tags-delete <NAMESPACE> - -Delete all metadata definitions tags inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-namespace-update - usage: glance md-namespace-update <NAMESPACE> <unavailable> - -Update an existing metadata definitions namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace to update. - - - - - <unavailable> - - - Please run with connection parameters set to retrieve the - schema for generating help for this command - - - - -
-
- glance md-object-create - usage: glance md-object-create --name <NAME> --schema <SCHEMA> <NAMESPACE> - -Create a new metadata definitions object inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the object will belong. - - - - - - Optional arguments - - --name <NAME> - - - Internal name of an object. - - - - - --schema <SCHEMA> - - - Valid JSON schema of an object. - - - - -
-
- glance md-object-delete - usage: glance md-object-delete <NAMESPACE> <OBJECT> - -Delete a specific metadata definitions object inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the object belongs. - - - - - <OBJECT> - - - Name of an object. - - - - -
-
- glance md-object-list - usage: glance md-object-list <NAMESPACE> - -List metadata definitions objects inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-object-property-show - usage: glance md-object-property-show [--max-column-width <integer>] - <NAMESPACE> <OBJECT> <PROPERTY> - -Describe a specific metadata definitions property inside an object. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the object belongs. - - - - - <OBJECT> - - - Name of an object. - - - - - <PROPERTY> - - - Name of a property. - - - - - - Optional arguments - - --max-column-width <integer> - - - The max column width of the printed table. - - - - -
-
- glance md-object-show - usage: glance md-object-show [--max-column-width <integer>] - <NAMESPACE> <OBJECT> - -Describe a specific metadata definitions object inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the object belongs. - - - - - <OBJECT> - - - Name of an object. - - - - - - Optional arguments - - --max-column-width <integer> - - - The max column width of the printed table. - - - - -
-
- glance md-object-update - usage: glance md-object-update [--name <NAME>] [--schema <SCHEMA>] - <NAMESPACE> <OBJECT> - -Update metadata definitions object inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the object belongs. - - - - - <OBJECT> - - - Name of an object. - - - - - - Optional arguments - - --name <NAME> - - - New name of an object. - - - - - --schema <SCHEMA> - - - Valid JSON schema of an object. - - - - -
-
- glance md-property-create - usage: glance md-property-create --name <NAME> --title <TITLE> --schema - <SCHEMA> - <NAMESPACE> - -Create a new metadata definitions property inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the property will belong. - - - - - - Optional arguments - - --name <NAME> - - - Internal name of a property. - - - - - --title <TITLE> - - - Property name displayed to the user. - - - - - --schema <SCHEMA> - - - Valid JSON schema of a property. - - - - -
-
- glance md-property-delete - usage: glance md-property-delete <NAMESPACE> <PROPERTY> - -Delete a specific metadata definitions property inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the property belongs. - - - - - <PROPERTY> - - - Name of a property. - - - - -
-
- glance md-property-list - usage: glance md-property-list <NAMESPACE> - -List metadata definitions properties inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-property-show - usage: glance md-property-show [--max-column-width <integer>] - <NAMESPACE> <PROPERTY> - -Describe a specific metadata definitions property inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the property belongs. - - - - - <PROPERTY> - - - Name of a property. - - - - - - Optional arguments - - --max-column-width <integer> - - - The max column width of the printed table. - - - - -
-
- glance md-property-update - usage: glance md-property-update [--name <NAME>] [--title <TITLE>] - [--schema <SCHEMA>] - <NAMESPACE> <PROPERTY> - -Update metadata definitions property inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace the property belongs. - - - - - <PROPERTY> - - - Name of a property. - - - - - - Optional arguments - - --name <NAME> - - - New name of a property. - - - - - --title <TITLE> - - - Property name displayed to the user. - - - - - --schema <SCHEMA> - - - Valid JSON schema of a property. - - - - -
-
- glance md-resource-type-associate - usage: glance md-resource-type-associate <NAMESPACE> <unavailable> - -Associate resource type with a metadata definitions namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - - <unavailable> - - - Please run with connection parameters set to retrieve the - schema for generating help for this command - - - - -
-
- glance md-resource-type-deassociate - usage: glance md-resource-type-deassociate <NAMESPACE> <RESOURCE_TYPE> - -Deassociate resource type with a metadata definitions namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - - <RESOURCE_TYPE> - - - Name of resource type. - - - - -
-
- glance md-resource-type-list - usage: glance md-resource-type-list - -List available resource type names. -Run `glance --os-image-api-version 1 help md-resource-type-list` for v1 help - -
-
- glance md-tag-create - usage: glance md-tag-create --name <NAME> <NAMESPACE> - -Add a new metadata definitions tag inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace the tag will belong to. - - - - - - Optional arguments - - --name <NAME> - - - The name of the new tag to add. - - - - -
-
- glance md-tag-create-multiple - usage: glance md-tag-create-multiple --names <NAMES> [--delim <DELIM>] - <NAMESPACE> - -Create new metadata definitions tags inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace the tags will belong to. - - - - - - Optional arguments - - --names <NAMES> - - - A comma separated list of tag names. - - - - - --delim <DELIM> - - - The delimiter used to separate the names (if none is - provided then the default is a comma). - - - - -
-
- glance md-tag-delete - usage: glance md-tag-delete <NAMESPACE> <TAG> - -Delete a specific metadata definitions tag inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace to which the tag belongs. - - - - - <TAG> - - - Name of the tag. - - - - -
-
- glance md-tag-list - usage: glance md-tag-list <NAMESPACE> - -List metadata definitions tags inside a specific namespace. - - Positional arguments - - <NAMESPACE> - - - Name of namespace. - - - - -
-
- glance md-tag-show - usage: glance md-tag-show <NAMESPACE> <TAG> - -Describe a specific metadata definitions tag inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace to which the tag belongs. - - - - - <TAG> - - - Name of the tag. - - - - -
-
- glance md-tag-update - usage: glance md-tag-update --name <NAME> <NAMESPACE> <TAG> - -Rename a metadata definitions tag inside a namespace. - - Positional arguments - - <NAMESPACE> - - - Name of the namespace to which the tag belongs. - - - - - <TAG> - - - Name of the old tag. - - - - - - Optional arguments - - --name <NAME> - - - New name of the new tag. - - - - -
-
- glance member-create - usage: glance member-create <IMAGE_ID> <MEMBER_ID> - -Create member for a given image. - - Positional arguments - - <IMAGE_ID> - - - Image with which to create member. - - - - - <MEMBER_ID> - - - Tenant to add as member. - - - - -
-
- glance member-delete - usage: glance member-delete <IMAGE_ID> <MEMBER_ID> - -Delete image member. - - Positional arguments - - <IMAGE_ID> + <IMAGE> Image from which to remove member. @@ -2004,7 +985,7 @@ Delete image member. - <MEMBER_ID> + <TENANT_ID> Tenant to remove as member. @@ -2013,146 +994,26 @@ Delete image member.
-
- glance member-list - usage: glance member-list --image-id <IMAGE_ID> +
+ glance member-list (v1) + usage: glance --os-image-api-version 1 member-list [--image-id <IMAGE_ID>] [--tenant-id <TENANT_ID>] -Describe sharing permissions by image. +Describe sharing permissions by image or tenant. Optional arguments --image-id <IMAGE_ID> - Image to display members of. - - - - -
-
- glance member-update - usage: glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS> - -Update the status of a member for a given image. - - Positional arguments - - <IMAGE_ID> - - - Image from which to update member. + Filter results by an image ID. - <MEMBER_ID> + --tenant-id <TENANT_ID> - Tenant to update. - - - - - <MEMBER_STATUS> - - - Updated status of member. Valid Values: accepted, rejected, - pending - - - - -
-
- glance task-create - usage: glance task-create [--type <TYPE>] [--input <STRING>] - -Create a new task. - - Optional arguments - - --type <TYPE> - - - Type of Task. Please refer to Glance schema or - documentation to see which tasks are supported. - - - - - --input <STRING> - - - Parameters of the task to be launched - - - - -
-
- glance task-list - usage: glance task-list [--sort-key {id,type,status}] [--sort-dir {asc,desc}] - [--page-size <SIZE>] [--type <TYPE>] - [--status <STATUS>] - -List tasks you can access. - - Optional arguments - - --sort-key {id,type,status} - - - Sort task list by specified field. - - - - - --sort-dir {asc,desc} - - - Sort task list in specified direction. - - - - - --page-size <SIZE> - - - Number of tasks to request in each paginated request. - - - - - --type <TYPE> - - - Filter tasks to those that have this type. - - - - - --status <STATUS> - - - Filter tasks to those that have this status. - - - - -
-
- glance task-show - usage: glance task-show <TASK_ID> - -Describe a specific task. - - Positional arguments - - <TASK_ID> - - - ID of task to describe. + Filter results by a tenant ID.