GitConfig
class resources.git_config.GitConfig
Base class: Resource
Configuration of a git repository which is used to synchronize content (records) to Cloudomation.
See the corresponding Flow Api class at GitConfig
Property | Description | Type | Import/Export |
---|---|---|---|
branch_name | The name of the branch to checkout. | String(length=128) | both |
bundle_id | Reference to the bundle this record is associated with. Allowed for CONNECTOR, FILE, FLOW, PLUGIN, ROLE, SCHEDULER, SCHEMA, SETTING, TAG, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, EXECUTION, GIT_CONFIG, MESSAGE, OAUTH, ORGANIZATION, PROCESS, PROJECT, SCHEDULE, SYNC_CONFIG, USER, VAULT_CONFIG, WEBHOOK, WORKSPACE. Mutually exclusive with project_id | UUID() | both |
created_at | DateTime(timezone=True) | export only | |
created_by | UUID() | export only | |
deleted_at | DateTime(timezone=True) | export only | |
deleted_by | UUID() | export only | |
description | Text() | both | |
has_password | Boolean() | neither | |
has_ssh_key | Boolean() | neither | |
id | UUID() | neither | |
identity_type | Enum('EXECUTION', 'GIT_CONFIG', 'SCHEDULE', 'SYNC_CONFIG', 'USER', 'WEBHOOK', 'WORKSPACE', name='identitytype') | neither | |
is_archived | Boolean() | both | |
is_bundle_readonly | Boolean() | neither | |
is_deleted | Boolean() | export only | |
is_enabled | Flag to control if the configuration should be used. | Boolean() | both |
is_project_readonly | Boolean() | neither | |
is_readonly | A flag to control if the record can be modified. Allowed for BUNDLE, BUNDLE_REPOSITORY, CONNECTOR, FILE, FLOW, GIT_CONFIG, OAUTH, PLUGIN, PROJECT, ROLE, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for EXECUTION, MESSAGE, ORGANIZATION, PROCESS, USER, WORKSPACE | Boolean() | both |
last_activity | The last time the identity was active in Cloudomation. Output only. | DateTime(timezone=True) | export only |
last_sync_at | The timestamp of the last successfuĺ sync. Output only. | DateTime(timezone=True) | neither |
modified_at | DateTime(timezone=True) | export only | |
modified_by | UUID() | export only | |
name | String(length=128) | both | |
organization_id | UUID() | export only | |
password | The password used to authenticate. | String(length=128) | import only |
path_mapping | A mapping of record types to globs. All files in the repo matching a glob will be loaded to the specified record type. | JSONB(astext_type=Text()) | both |
priority | If several git_config records are enabled, they will be applied in descending priority. If there are conflicting files in several git_configs the one with the lowest priority number will be used. | Integer() | both |
project_id | Reference to the project this record is associated with. Allowed for CONNECTOR, EXECUTION, FILE, FLOW, GIT_CONFIG, MESSAGE, OAUTH, PLUGIN, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, ORGANIZATION, PROCESS, PROJECT, ROLE, USER, WORKSPACE. Mutually exclusive with bundle_id. | UUID() | both |
record_type | Enum('BUNDLE', 'BUNDLE_REPOSITORY', 'CONNECTOR', 'EXECUTION', 'FILE', 'FLOW', 'GIT_CONFIG', 'MESSAGE', 'OAUTH', 'ORGANIZATION', 'PLUGIN', 'PROCESS', 'PROJECT', 'ROLE', 'SCHEDULE', 'SCHEDULER', 'SCHEMA', 'SETTING', 'SYNC_CONFIG', 'TAG', 'USER', 'VAULT_CONFIG', 'WEBHOOK', 'WORKSPACE', 'WRAPPER', name='recordtype') | neither | |
remote_url | The URL of the git repository. Special characters must be %-encoded! | String(length=1024) | both |
resource_type | Enum('BUNDLE', 'BUNDLE_REPOSITORY', 'CONNECTOR', 'FILE', 'FLOW', 'GIT_CONFIG', 'OAUTH', 'ORGANIZATION', 'PLUGIN', 'PROJECT', 'ROLE', 'SCHEDULE', 'SCHEDULER', 'SCHEMA', 'SETTING', 'SYNC_CONFIG', 'TAG', 'USER', 'VAULT_CONFIG', 'WEBHOOK', 'WORKSPACE', 'WRAPPER', name='resourcetype') | neither | |
roles | Text() | import only | |
schema_version | String(length=128) | neither | |
ssh_hostkey | The SSH hostkey to verify the remote host. Content formatted as [host] [type] [key] - or [type] [key], a [comment] may be present after the [key]. | String(length=2048) | both |
ssh_key | The SSH private-key to authenticate. Currently only works with non-password protected keyfiles and in PEM format | String(length=4096) | import only |
status_message | Contains error messages if the synchronization failed. Output only. | String(length=1024) | export only |
username | The username used to authenticate. | String(length=128) | both |
workspace_id | UUID() | export only |