vcf_vcfa_organization

Execution module for VCF Automation tenants / organizations.

Thin passthrough around saltext.vcf.clients.vcfa_organization.

saltext.vcf.modules.vcf_vcfa_organization.list_(profile=None)[source]

List all orgs visible to the caller.

CLI Example:

salt '*' vcf_vcfa_organization.list_
saltext.vcf.modules.vcf_vcfa_organization.get(org_id, profile=None)[source]

Get one org by id.

CLI Example:

salt '*' vcf_vcfa_organization.get <org_id>
saltext.vcf.modules.vcf_vcfa_organization.get_or_none(org_id, profile=None)[source]

Get one org by id, or None on 404.

saltext.vcf.modules.vcf_vcfa_organization.create(spec, profile=None)[source]

Create a new tenant / organization.

CLI Example:

salt '*' vcf_vcfa_organization.create '{"displayName": "Acme", "description": "..."}'
saltext.vcf.modules.vcf_vcfa_organization.update(org_id, spec, profile=None)[source]

Patch an existing org.

saltext.vcf.modules.vcf_vcfa_organization.delete(org_id, profile=None)[source]

Delete an org.

saltext.vcf.modules.vcf_vcfa_organization.list_services(org_id, profile=None)[source]

List service definitions attached to the org.

saltext.vcf.modules.vcf_vcfa_organization.enable_service(org_id, service_definition_id, profile=None)[source]

Enable a service definition on the org.

CLI Example:

salt '*' vcf_vcfa_organization.enable_service <org_id> <service_definition_id>
saltext.vcf.modules.vcf_vcfa_organization.disable_service(org_id, service_definition_id, profile=None)[source]

Disable / detach a service definition from the org.