Azion CLI list

With the azion list [resource] command you can list your:


Edge applications

Usage

Terminal window
azion list edge-application [flags]

Optional flags

details

The --details flag displays all relevant fields when listing.

page

The --page option returns a page of the list according to its number. By default, it’s 1.

page_size

The --page_size option defines how many items should be returned per page. By default, it’s 10.

help

The --help option displays more information about the azion list edge-application action.


Edge functions

Usage

Terminal window
azion list edge-function

Optional flags

details

The --details flag displays all relevant fields when listing.

filter

The --filter flag filters items by their name.

order-by

The --order-by flag sorts the output based on the selected field.

page

The --page flag returns a page of the list according to its number. Default is 1.

page-size

The --page-size flag defines how many items should be returned per page. Default is 10.

sort

The --sort flag defines the order of the items on the list. The value should be either asc or desc.

help

The --help option displays more information about the azion list edge-function command.


Rules engine

Usage

Terminal window
azion list rules-engine --application-id <application-id> --phase <phase>

Required flags

application-id

The --application-id flag specifies the unique identifier for the edge application that implements these rules.

phase

The --phase flag specifies the Rules Engine phase. It’s either request or response.

Optional flags

details

The --details flag displays all relevant fields when listing.

filter

The --filter flag filters items by their name.

order-by

The --order-by flag sorts the output based on the selected field.

page

The --page flag returns a specific page of the list according to its number. By default, it’s 1.

page-size

The --page-size flag defines how many items should be returned per page. By default, it’s 10.

sort

The --sort flag defines the order of the items on the list and can be set to either asc or desc.

help

The -h or --help flag displays more information about the azion list rules-engine command.


Cache settings

Usage

Terminal window
azion list cache-setting --application-id 16736354321

Optional flags

application-id

The --application-id flag sets the unique identifier for the edge application.

details

The --details flag displays all relevant fields when listing.

filter

The --filter option filters items by their name.

help

The --help option displays more information about the azion list cache-setting command.

order-by

The --order-by option sorts the output based on the selected field.

page

The --page option returns a page of the list according to its number. The default value is 1.

page-size

The --page-size option defines how many items should be returned per page. The default value is 10.

sort

The --sort option defines the order of the items on the list. The value should be either asc or desc.


Domains

Description

Displays all your domains.

Usage

Terminal window
azion list domain

Optional flags

details

The --details option displays all relevant fields when listing.

filter

The --filter option filters items by their name.

order-by

The --order-by option sorts the output based on the selected field.

page

The --page option returns a specific page of the list according to its number. The default is 1.

page-size

The --page-size option defines how many items should be returned per page. The default is 10.

sort

The --sort option defines the order of the items on the list. Options are asc or desc.

help

The -h or --help option displays more information about the azion list domain command.


Origins

Usage

Terminal window
azion list origin --application-id <application-id>

Required flags

application-id

The --application-id flag sets the unique identifier for the edge application. It’s a required field.

Optional flags

details

The --details flag displays all relevant fields when listing origin.

filter

The --filter flag filters items by their name.

order-by

The --order-by flag sorts the output based on the selected field.

page

The --page flag returns a specific page of the list according to its number. The default is 1.

page-size

The --page-size flag defines how many items should be returned per page. The default is 10.

sort

The --sort flag defines the order of the items on the list. The value should be either asc or desc.

help

The -h or --help option displays more information about the azion list origin action.


Variables

Usage

Terminal window
azion list variables

Optional flags

details

The --details option displays all relevant fields when listing.

help

The --help option displays more information about the list subcommand.


Personal tokens

Usage

Terminal window
azion list personal-token [flags]

Optional flags

details

The --details option displays all relevant fields when listing.

help

The --help option displays more information about the list subcommand.


Edge Storage bucket

Usage

Terminal window
azion list edge-storage bucket

Flags

Optional flags

page

The --page option returns a page from the list according to its number. The default is 1.

page size

The --page-size option defines how many items should return per page. The default is 10.

help

The --help option displays more information about the ‘list edge-storage bucket’ command.


Edge Storage object

Usage

Terminal window
azion list edge-storage object --bucket-name 'balde'
azion list edge-storage object --page 1 --page-size 3 --details
azion list edge-storage object --help

Required flags

bucket-name

The --bucket-name flag specifies the name of the Edge Storage bucket whose objects you want to list.

Optional flags

details

The --details option outputs all relevant fields when listing objects in Edge Storage.

help

The -h or --help option displays more detailed information about the azion list edge-storage object command.

page-size

The --page-size option defines how many items should be returned per page. The default value is 50.

Watch the video below about managing buckets and objects with Azion CLI.


Contributors