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 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
- Repository
Id string - Project string
- Location string
- Repository
Id string - Project string
- location String
- repository
Id String - project String
- location string
- repository
Id string - project string
- location str
- repository_
id str - project str
- location String
- repository
Id String - project String
getRepository Result
The following output properties are available:
- Display
Name string - Optional. The repository's user-friendly name.
- Git
Remote 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.
- Npmrc
Environment 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. - Service
Account string - 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 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.
- Display
Name string - 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 map[string]string
- Optional. Repository user labels.
- Name string
- The repository's name.
- Npmrc
Environment 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. - Service
Account string - 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.
- display
Name String - 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 Map<String,String>
- Optional. Repository user labels.
- name String
- The repository's name.
- npmrc
Environment 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. - service
Account String - Optional. The service account to run workflow invocations under.
- set
Authenticated 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
- 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.
- display
Name string - 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 {[key: string]: string}
- Optional. Repository user labels.
- name string
- The repository's name.
- npmrc
Environment 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. - service
Account string - Optional. The service account to run workflow invocations under.
- set
Authenticated 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
- 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.
- 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.
- display
Name String - Optional. The repository's user-friendly name.
- git
Remote 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.
- npmrc
Environment 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. - service
Account String - Optional. The service account to run workflow invocations under.
- set
Authenticated 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
- workspace
Compilation 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
- Authentication
Token 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/*. - Default
Branch string - The Git remote's default branch name.
- Ssh
Authentication Pulumi.Config Google Native. Dataform. V1Beta1. Inputs. Ssh Authentication Config Response - Optional. Authentication fields for remote uris using SSH protocol.
- Token
Status 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 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/*. - Default
Branch string - The Git remote's default branch name.
- Ssh
Authentication SshConfig Authentication Config Response - Optional. Authentication fields for remote uris using SSH protocol.
- Token
Status 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 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/*. - default
Branch String - The Git remote's default branch name.
- ssh
Authentication SshConfig Authentication Config Response - Optional. Authentication fields for remote uris using SSH protocol.
- token
Status 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 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/*. - default
Branch string - The Git remote's default branch name.
- ssh
Authentication SshConfig Authentication Config Response - Optional. Authentication fields for remote uris using SSH protocol.
- token
Status 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.
- authentication
Token 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/*. - default
Branch String - The Git remote's default branch name.
- ssh
Authentication Property MapConfig - Optional. Authentication fields for remote uris using SSH protocol.
- token
Status 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
- Host
Public stringKey - Content of a public SSH key to verify an identity of a remote Git host.
- User
Private 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 stringKey - Content of a public SSH key to verify an identity of a remote Git host.
- User
Private 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 StringKey - Content of a public SSH key to verify an identity of a remote Git host.
- user
Private 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 stringKey - Content of a public SSH key to verify an identity of a remote Git host.
- user
Private 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/*.
- host
Public StringKey - Content of a public SSH key to verify an identity of a remote Git host.
- user
Private 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
- Default
Database string - Optional. The default database (Google Cloud project ID).
- Schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- Table
Prefix string - Optional. The prefix that should be prepended to all table names.
- Default
Database string - Optional. The default database (Google Cloud project ID).
- Schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- Table
Prefix string - Optional. The prefix that should be prepended to all table names.
- default
Database String - Optional. The default database (Google Cloud project ID).
- schema
Suffix String - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- table
Prefix String - Optional. The prefix that should be prepended to all table names.
- default
Database string - Optional. The default database (Google Cloud project ID).
- schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- table
Prefix 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.
- default
Database String - Optional. The default database (Google Cloud project ID).
- schema
Suffix String - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
- table
Prefix 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
