Orgs¶
-
class
terrasnek.orgs.TFCOrgs(instance_url, org_name, headers, well_known_paths, verify, log_level)¶ -
-
create(payload)¶ POST /organizations
-
destroy(org_name)¶ DELETE /organizations/:organization_name
-
entitlements(org_name)¶ GET /organizations/:organization_name/entitlement-set
-
list()¶ GET /organizations
-
required_entitlements()¶ Terraform Cloud Entitlements required for endpoint to work.
-
show(org_name)¶ GET /organizations/:organization_name
-
show_module_producers(org_name)¶ GET /organizations/:organization_name/relationships/module-producersOrgs Show Module Producers API Doc Reference
# NOTE: this endpoint is not available in Terraform Cloud
-
subscription(org_name)¶ GET /organizations/:organization_name/subscriptionThis endpoint is not currently documented in the TFC API docs, but it can be used to pull detailed subscription information for a TFC organization.
-
terraform_cloud_only()¶ Return
Trueif this endpoint is only for Terraform Cloud, elseFalse.
-
terraform_enterprise_only()¶ Return
Trueif this endpoint is only for Terraform Enterprise, elseFalse.
-
update(org_name, payload)¶ PATCH /organizations/:organization_name
-