PARALLAX

objects_user

Manages objects users on the cloudscale.ch IaaS service

Collection: cloudscale_ch.cloud

Full Name: cloudscale_ch.cloud.objects_user

Synopsis

Manages objects users on the cloudscale.ch IaaS service

Parameters

NameTypeRequiredDefaultDescription
api_urlstrCloudscale API URL; defaults from CLOUDSCALE_API_URL or https://api.cloudscale.ch/v1.
api_tokenstrAPI bearer token; defaults from CLOUDSCALE_API_TOKEN.
api_timeoutintRequest timeout seconds; defaults from CLOUDSCALE_API_TIMEOUT or 45.
display_namestrDisplay name of the objects user. Either I(display_name) or I(id) is required.
idstrName of the objects user. Either I(display_name) or I(id) is required.
statestrpresentState of the objects user.
tagsdictTags associated with the objects user. Set this to C({}) to clear any tags.

Example

yaml
- name: Create an objects user
  cloudscale_ch.cloud.objects_user:
    display_name: alan
    tags:
        project: luna
    api_token: xxxxxx
  register: object_user

- name: Update an objects user
  cloudscale_ch.cloud.objects_user:
    display_name: alan
    tags:
        project: gemini
    api_token: xxxxxx

- name: Remove an objects user
  cloudscale_ch.cloud.objects_user:
    display_name: alan
    state: absent
    api_token: xxxxxx
Search
    ↑ ↓ move↵ openesc close