1. Packages
  2. Packages
  3. Grafana Cloud
  4. API Docs
  5. apps
  6. apps/v0alpha1
  7. ProvisioningConnection
Viewing docs for Grafana v2.28.0
published on Wednesday, Apr 29, 2026 by pulumiverse
grafana logo
Viewing docs for Grafana v2.28.0
published on Wednesday, Apr 29, 2026 by pulumiverse

    Manages Grafana Git Sync connections used by repositories for provider authentication.

    Create ProvisioningConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProvisioningConnection(name: string, args?: ProvisioningConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def ProvisioningConnection(resource_name: str,
                               args: Optional[ProvisioningConnectionArgs] = None,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProvisioningConnection(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               metadata: Optional[ProvisioningConnectionMetadataArgs] = None,
                               options: Optional[ProvisioningConnectionOptionsArgs] = None,
                               secure: Optional[ProvisioningConnectionSecureArgs] = None,
                               secure_version: Optional[int] = None,
                               spec: Optional[ProvisioningConnectionSpecArgs] = None)
    func NewProvisioningConnection(ctx *Context, name string, args *ProvisioningConnectionArgs, opts ...ResourceOption) (*ProvisioningConnection, error)
    public ProvisioningConnection(string name, ProvisioningConnectionArgs? args = null, CustomResourceOptions? opts = null)
    public ProvisioningConnection(String name, ProvisioningConnectionArgs args)
    public ProvisioningConnection(String name, ProvisioningConnectionArgs args, CustomResourceOptions options)
    
    type: grafana:apps/v0alpha1/provisioningConnection:ProvisioningConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProvisioningConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProvisioningConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProvisioningConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProvisioningConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProvisioningConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ProvisioningConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProvisioningConnection resource accepts the following input properties:

    Metadata Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionMetadata
    The metadata of the resource.
    Options Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionOptions
    Options for applying the resource.
    Secure Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    SecureVersion int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    Spec Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionSpec
    The spec of the resource.
    Metadata ProvisioningConnectionMetadataArgs
    The metadata of the resource.
    Options ProvisioningConnectionOptionsArgs
    Options for applying the resource.
    Secure ProvisioningConnectionSecureArgs
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    SecureVersion int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    Spec ProvisioningConnectionSpecArgs
    The spec of the resource.
    metadata ProvisioningConnectionMetadata
    The metadata of the resource.
    options ProvisioningConnectionOptions
    Options for applying the resource.
    secure ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion Integer
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpec
    The spec of the resource.
    metadata ProvisioningConnectionMetadata
    The metadata of the resource.
    options ProvisioningConnectionOptions
    Options for applying the resource.
    secure ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion number
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpec
    The spec of the resource.
    metadata ProvisioningConnectionMetadataArgs
    The metadata of the resource.
    options ProvisioningConnectionOptionsArgs
    Options for applying the resource.
    secure ProvisioningConnectionSecureArgs
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secure_version int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    secure Property Map
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion Number
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec Property Map
    The spec of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProvisioningConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ProvisioningConnection Resource

    Get an existing ProvisioningConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProvisioningConnectionState, opts?: CustomResourceOptions): ProvisioningConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            metadata: Optional[ProvisioningConnectionMetadataArgs] = None,
            options: Optional[ProvisioningConnectionOptionsArgs] = None,
            secure: Optional[ProvisioningConnectionSecureArgs] = None,
            secure_version: Optional[int] = None,
            spec: Optional[ProvisioningConnectionSpecArgs] = None) -> ProvisioningConnection
    func GetProvisioningConnection(ctx *Context, name string, id IDInput, state *ProvisioningConnectionState, opts ...ResourceOption) (*ProvisioningConnection, error)
    public static ProvisioningConnection Get(string name, Input<string> id, ProvisioningConnectionState? state, CustomResourceOptions? opts = null)
    public static ProvisioningConnection get(String name, Output<String> id, ProvisioningConnectionState state, CustomResourceOptions options)
    resources:  _:    type: grafana:apps/v0alpha1/provisioningConnection:ProvisioningConnection    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Metadata Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionMetadata
    The metadata of the resource.
    Options Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionOptions
    Options for applying the resource.
    Secure Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    SecureVersion int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    Spec Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionSpec
    The spec of the resource.
    Metadata ProvisioningConnectionMetadataArgs
    The metadata of the resource.
    Options ProvisioningConnectionOptionsArgs
    Options for applying the resource.
    Secure ProvisioningConnectionSecureArgs
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    SecureVersion int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    Spec ProvisioningConnectionSpecArgs
    The spec of the resource.
    metadata ProvisioningConnectionMetadata
    The metadata of the resource.
    options ProvisioningConnectionOptions
    Options for applying the resource.
    secure ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion Integer
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpec
    The spec of the resource.
    metadata ProvisioningConnectionMetadata
    The metadata of the resource.
    options ProvisioningConnectionOptions
    Options for applying the resource.
    secure ProvisioningConnectionSecure
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion number
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpec
    The spec of the resource.
    metadata ProvisioningConnectionMetadataArgs
    The metadata of the resource.
    options ProvisioningConnectionOptionsArgs
    Options for applying the resource.
    secure ProvisioningConnectionSecureArgs
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secure_version int
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec ProvisioningConnectionSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    secure Property Map
    Sensitive credentials. Values are write-only and never stored in Terraform state.
    secureVersion Number
    Set this to 1 when using secure, then increment it to trigger re-application of secure values.
    spec Property Map
    The spec of the resource.

    Supporting Types

    ProvisioningConnectionMetadata, ProvisioningConnectionMetadataArgs

    Uid string
    The unique identifier of the resource.
    Annotations Dictionary<string, string>
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    Uid string
    The unique identifier of the resource.
    Annotations map[string]string
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String,String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.
    uid string
    The unique identifier of the resource.
    annotations {[key: string]: string}
    Annotations of the resource.
    folderUid string
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    url string
    The full URL of the resource.
    uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    version string
    The version of the resource.
    uid str
    The unique identifier of the resource.
    annotations Mapping[str, str]
    Annotations of the resource.
    folder_uid str
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    url str
    The full URL of the resource.
    uuid str
    The globally unique identifier of a resource, used by the API for tracking.
    version str
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.

    ProvisioningConnectionOptions, ProvisioningConnectionOptionsArgs

    ManagerIdentity string
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    ManagerIdentity string
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    managerIdentity String
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    managerIdentity string
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    overwrite boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    manager_identity str
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    managerIdentity String
    Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.

    ProvisioningConnectionSecure, ProvisioningConnectionSecureArgs

    PrivateKey Dictionary<string, string>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    Token Dictionary<string, string>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.
    PrivateKey map[string]string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    Token map[string]string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.
    privateKey Map<String,String>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    token Map<String,String>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.
    privateKey {[key: string]: string}
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    token {[key: string]: string}
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.
    private_key Mapping[str, str]
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    token Mapping[str, str]
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.
    privateKey Map<String>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Private key for GitHub App authentication.
    token Map<String>
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Access token.

    ProvisioningConnectionSpec, ProvisioningConnectionSpecArgs

    Title string
    Display name shown in the UI.
    Type string
    Connection provider type.
    Description string
    Connection description.
    Github Pulumiverse.Grafana.Apps.V0Alpha1.Inputs.ProvisioningConnectionSpecGithub
    GitHub App configuration.
    Url string
    Provider URL.
    Title string
    Display name shown in the UI.
    Type string
    Connection provider type.
    Description string
    Connection description.
    Github ProvisioningConnectionSpecGithub
    GitHub App configuration.
    Url string
    Provider URL.
    title String
    Display name shown in the UI.
    type String
    Connection provider type.
    description String
    Connection description.
    github ProvisioningConnectionSpecGithub
    GitHub App configuration.
    url String
    Provider URL.
    title string
    Display name shown in the UI.
    type string
    Connection provider type.
    description string
    Connection description.
    github ProvisioningConnectionSpecGithub
    GitHub App configuration.
    url string
    Provider URL.
    title str
    Display name shown in the UI.
    type str
    Connection provider type.
    description str
    Connection description.
    github ProvisioningConnectionSpecGithub
    GitHub App configuration.
    url str
    Provider URL.
    title String
    Display name shown in the UI.
    type String
    Connection provider type.
    description String
    Connection description.
    github Property Map
    GitHub App configuration.
    url String
    Provider URL.

    ProvisioningConnectionSpecGithub, ProvisioningConnectionSpecGithubArgs

    AppId string
    GitHub App ID.
    InstallationId string
    GitHub App installation ID.
    AppId string
    GitHub App ID.
    InstallationId string
    GitHub App installation ID.
    appId String
    GitHub App ID.
    installationId String
    GitHub App installation ID.
    appId string
    GitHub App ID.
    installationId string
    GitHub App installation ID.
    app_id str
    GitHub App ID.
    installation_id str
    GitHub App installation ID.
    appId String
    GitHub App ID.
    installationId String
    GitHub App installation ID.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Viewing docs for Grafana v2.28.0
    published on Wednesday, Apr 29, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.