Update Template Sync Config
proton_update_template_sync_config | R Documentation |
Update template sync configuration parameters, except for the templateName and templateType¶
Description¶
Update template sync configuration parameters, except for the
templateName
and templateType
. Repository details (branch, name, and
provider) should be of a linked repository. A linked repository is a
repository that has been registered with Proton. For more information,
see create_repository
.
Usage¶
proton_update_template_sync_config(branch, repositoryName,
repositoryProvider, subdirectory, templateName, templateType)
Arguments¶
branch |
[required] The repository branch for your template. |
repositoryName |
[required] The repository name (for example,
|
repositoryProvider |
[required] The repository provider. |
subdirectory |
A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory. |
templateName |
[required] The synced template name. |
templateType |
[required] The synced template type. |
Value¶
A list with the following syntax:
list(
templateSyncConfig = list(
branch = "string",
repositoryName = "string",
repositoryProvider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET",
subdirectory = "string",
templateName = "string",
templateType = "ENVIRONMENT"|"SERVICE"
)
)
Request syntax¶
svc$update_template_sync_config(
branch = "string",
repositoryName = "string",
repositoryProvider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET",
subdirectory = "string",
templateName = "string",
templateType = "ENVIRONMENT"|"SERVICE"
)