Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dataform/v1beta1.getRepository
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Fetches a single Repository.
Using getRepository
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>def get_repository(location: Optional[str] = None,
                   project: Optional[str] = None,
                   repository_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(location: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   repository_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput> Note: This function is named LookupRepository in the Go SDK.
public static class GetRepository 
{
    public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
    public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dataform/v1beta1:getRepository
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- RepositoryId string
- Project string
- Location string
- RepositoryId string
- Project string
- location String
- repositoryId String
- project String
- location string
- repositoryId string
- project string
- location str
- repository_id str
- project str
- location String
- repositoryId String
- project String
getRepository Result
The following output properties are available:
- DisplayName string
- Optional. The repository's user-friendly name.
- GitRemote Pulumi.Settings Google Native. Dataform. V1Beta1. Outputs. Git Remote Settings Response 
- Optional. If set, configures this repository to be linked to a Git remote.
- Labels Dictionary<string, string>
- Optional. Repository user labels.
- Name string
- The repository's name.
- NpmrcEnvironment stringVariables Secret Version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- ServiceAccount string
- Optional. The service account to run workflow invocations under.
- SetAuthenticated boolUser Admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- WorkspaceCompilation Pulumi.Overrides Google Native. Dataform. V1Beta1. Outputs. Workspace Compilation Overrides Response 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
- DisplayName string
- Optional. The repository's user-friendly name.
- GitRemote GitSettings Remote Settings Response 
- Optional. If set, configures this repository to be linked to a Git remote.
- Labels map[string]string
- Optional. Repository user labels.
- Name string
- The repository's name.
- NpmrcEnvironment stringVariables Secret Version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- ServiceAccount string
- Optional. The service account to run workflow invocations under.
- SetAuthenticated boolUser Admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- WorkspaceCompilation WorkspaceOverrides Compilation Overrides Response 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
- displayName String
- Optional. The repository's user-friendly name.
- gitRemote GitSettings Remote Settings Response 
- Optional. If set, configures this repository to be linked to a Git remote.
- labels Map<String,String>
- Optional. Repository user labels.
- name String
- The repository's name.
- npmrcEnvironment StringVariables Secret Version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- serviceAccount String
- Optional. The service account to run workflow invocations under.
- setAuthenticated BooleanUser Admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- workspaceCompilation WorkspaceOverrides Compilation Overrides Response 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
- displayName string
- Optional. The repository's user-friendly name.
- gitRemote GitSettings Remote Settings Response 
- Optional. If set, configures this repository to be linked to a Git remote.
- labels {[key: string]: string}
- Optional. Repository user labels.
- name string
- The repository's name.
- npmrcEnvironment stringVariables Secret Version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- serviceAccount string
- Optional. The service account to run workflow invocations under.
- setAuthenticated booleanUser Admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- workspaceCompilation WorkspaceOverrides Compilation Overrides Response 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
- display_name str
- Optional. The repository's user-friendly name.
- git_remote_ Gitsettings Remote Settings Response 
- Optional. If set, configures this repository to be linked to a Git remote.
- labels Mapping[str, str]
- Optional. Repository user labels.
- name str
- The repository's name.
- npmrc_environment_ strvariables_ secret_ version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- service_account str
- Optional. The service account to run workflow invocations under.
- set_authenticated_ booluser_ admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- workspace_compilation_ Workspaceoverrides Compilation Overrides Response 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
- displayName String
- Optional. The repository's user-friendly name.
- gitRemote Property MapSettings 
- Optional. If set, configures this repository to be linked to a Git remote.
- labels Map<String>
- Optional. Repository user labels.
- name String
- The repository's name.
- npmrcEnvironment StringVariables Secret Version 
- Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be in a JSON format.
- serviceAccount String
- Optional. The service account to run workflow invocations under.
- setAuthenticated BooleanUser Admin 
- Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
- workspaceCompilation Property MapOverrides 
- Optional. If set, fields of workspace_compilation_overridesoverride the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation forWorkspaceCompilationOverridesfor more information.
Supporting Types
GitRemoteSettingsResponse   
- AuthenticationToken stringSecret Version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- DefaultBranch string
- The Git remote's default branch name.
- SshAuthentication Pulumi.Config Google Native. Dataform. V1Beta1. Inputs. Ssh Authentication Config Response 
- Optional. Authentication fields for remote uris using SSH protocol.
- TokenStatus string
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- Url string
- The Git remote's URL.
- AuthenticationToken stringSecret Version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- DefaultBranch string
- The Git remote's default branch name.
- SshAuthentication SshConfig Authentication Config Response 
- Optional. Authentication fields for remote uris using SSH protocol.
- TokenStatus string
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- Url string
- The Git remote's URL.
- authenticationToken StringSecret Version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- defaultBranch String
- The Git remote's default branch name.
- sshAuthentication SshConfig Authentication Config Response 
- Optional. Authentication fields for remote uris using SSH protocol.
- tokenStatus String
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- url String
- The Git remote's URL.
- authenticationToken stringSecret Version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- defaultBranch string
- The Git remote's default branch name.
- sshAuthentication SshConfig Authentication Config Response 
- Optional. Authentication fields for remote uris using SSH protocol.
- tokenStatus string
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- url string
- The Git remote's URL.
- authentication_token_ strsecret_ version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- default_branch str
- The Git remote's default branch name.
- ssh_authentication_ Sshconfig Authentication Config Response 
- Optional. Authentication fields for remote uris using SSH protocol.
- token_status str
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- url str
- The Git remote's URL.
- authenticationToken StringSecret Version 
- Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- defaultBranch String
- The Git remote's default branch name.
- sshAuthentication Property MapConfig 
- Optional. Authentication fields for remote uris using SSH protocol.
- tokenStatus String
- Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
- url String
- The Git remote's URL.
SshAuthenticationConfigResponse   
- HostPublic stringKey 
- Content of a public SSH key to verify an identity of a remote Git host.
- UserPrivate stringKey Secret Version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- HostPublic stringKey 
- Content of a public SSH key to verify an identity of a remote Git host.
- UserPrivate stringKey Secret Version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- hostPublic StringKey 
- Content of a public SSH key to verify an identity of a remote Git host.
- userPrivate StringKey Secret Version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- hostPublic stringKey 
- Content of a public SSH key to verify an identity of a remote Git host.
- userPrivate stringKey Secret Version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- host_public_ strkey 
- Content of a public SSH key to verify an identity of a remote Git host.
- user_private_ strkey_ secret_ version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
- hostPublic StringKey 
- Content of a public SSH key to verify an identity of a remote Git host.
- userPrivate StringKey Secret Version 
- The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
WorkspaceCompilationOverridesResponse   
- DefaultDatabase string
- Optional. The default database (Google Cloud project ID).
- SchemaSuffix string
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- TablePrefix string
- Optional. The prefix that should be prepended to all table names.
- DefaultDatabase string
- Optional. The default database (Google Cloud project ID).
- SchemaSuffix string
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- TablePrefix string
- Optional. The prefix that should be prepended to all table names.
- defaultDatabase String
- Optional. The default database (Google Cloud project ID).
- schemaSuffix String
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- tablePrefix String
- Optional. The prefix that should be prepended to all table names.
- defaultDatabase string
- Optional. The default database (Google Cloud project ID).
- schemaSuffix string
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- tablePrefix string
- Optional. The prefix that should be prepended to all table names.
- default_database str
- Optional. The default database (Google Cloud project ID).
- schema_suffix str
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- table_prefix str
- Optional. The prefix that should be prepended to all table names.
- defaultDatabase String
- Optional. The default database (Google Cloud project ID).
- schemaSuffix String
- Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- tablePrefix String
- Optional. The prefix that should be prepended to all table names.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi