Project API Reference (0.26.75)
Project API Reference (0.26.75)
note
This is archived documentation for version 0.26.75. For the current documentation, see current documentation.
Customer-hosted cloud features
note
Some features are only available on customer-hosted clouds. Reach out to support@anyscale.com for info.
Project CLI
anyscale project get
Usage
anyscale project get [OPTIONS]
Get details of a project.
Options
--id/-i: ID of the project.--json/-j: Output the details in a structured JSON format.
Examples
- CLI
$ anyscale project get --id my-project-id
anyscale project list
Usage
anyscale project list [OPTIONS]
List all projects with optional filters.
Options
--name/-n: A string to filter projects by name.--creator/-u: The ID of a creator to filter projects.--cloud/-c: The ID of a parent cloud to filter projects.--include-defaults/--exclude-defaults: Whether to include default projects.--max-items: The maximum number of projects to return.--page-size: The number of projects to return per page.--sort: Sort by FIELD (prefix with '-' for desc). Allowed: NAME--interactive/--no-interactive: Use interactive paging.--json/-j: Output the list in a structured JSON format.
Examples
- CLI
$ anyscale project list --include-defaults --non-interactive --max-items 2
anyscale project create
Usage
anyscale project create [OPTIONS]
Create a new project.
Options
--name/-n: Name of the project.--cloud/-c: Parent cloud ID for the project.--description/-d: Description of the project.--initial-cluster-config/-f: Initial cluster config for the project.
Examples
- CLI
$ anyscale project create --name "my-project" --cloud "my-cloud-id"
anyscale project delete
Usage
anyscale project delete [OPTIONS]
Delete a project.
Options
--id/-i: ID of the project to delete.
Examples
- CLI
$ anyscale project delete --id project-id
anyscale project get-default
Usage
anyscale project get-default [OPTIONS]
Get the default project for a cloud.
Options
--cloud/-c: Parent cloud ID for the project.--json/-j: Output the project in a structured JSON format.