1. Packages
  2. Artifactory Provider
  3. API Docs
  4. getVirtualBowerRepository
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

artifactory.getVirtualBowerRepository

Explore with Pulumi AI

artifactory logo
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Retrieves a virtual Bower repository.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const virtual-alpine = artifactory.getVirtualBowerRepository({
        key: "virtual-alpine",
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    virtual_alpine = artifactory.get_virtual_bower_repository(key="virtual-alpine")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := artifactory.LookupVirtualBowerRepository(ctx, &artifactory.LookupVirtualBowerRepositoryArgs{
    			Key: "virtual-alpine",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Artifactory = Pulumi.Artifactory;
    
    return await Deployment.RunAsync(() => 
    {
        var virtual_alpine = Artifactory.GetVirtualBowerRepository.Invoke(new()
        {
            Key = "virtual-alpine",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.ArtifactoryFunctions;
    import com.pulumi.artifactory.inputs.GetVirtualBowerRepositoryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var virtual-alpine = ArtifactoryFunctions.getVirtualBowerRepository(GetVirtualBowerRepositoryArgs.builder()
                .key("virtual-alpine")
                .build());
    
        }
    }
    
    variables:
      virtual-alpine:
        fn::invoke:
          Function: artifactory:getVirtualBowerRepository
          Arguments:
            key: virtual-alpine
    

    Using getVirtualBowerRepository

    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 getVirtualBowerRepository(args: GetVirtualBowerRepositoryArgs, opts?: InvokeOptions): Promise<GetVirtualBowerRepositoryResult>
    function getVirtualBowerRepositoryOutput(args: GetVirtualBowerRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVirtualBowerRepositoryResult>
    def get_virtual_bower_repository(artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
                                     default_deployment_repo: Optional[str] = None,
                                     description: Optional[str] = None,
                                     excludes_pattern: Optional[str] = None,
                                     external_dependencies_enabled: Optional[bool] = None,
                                     external_dependencies_patterns: Optional[Sequence[str]] = None,
                                     external_dependencies_remote_repo: Optional[str] = None,
                                     includes_pattern: Optional[str] = None,
                                     key: Optional[str] = None,
                                     notes: Optional[str] = None,
                                     project_environments: Optional[Sequence[str]] = None,
                                     project_key: Optional[str] = None,
                                     repo_layout_ref: Optional[str] = None,
                                     repositories: Optional[Sequence[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetVirtualBowerRepositoryResult
    def get_virtual_bower_repository_output(artifactory_requests_can_retrieve_remote_artifacts: Optional[pulumi.Input[bool]] = None,
                                     default_deployment_repo: Optional[pulumi.Input[str]] = None,
                                     description: Optional[pulumi.Input[str]] = None,
                                     excludes_pattern: Optional[pulumi.Input[str]] = None,
                                     external_dependencies_enabled: Optional[pulumi.Input[bool]] = None,
                                     external_dependencies_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     external_dependencies_remote_repo: Optional[pulumi.Input[str]] = None,
                                     includes_pattern: Optional[pulumi.Input[str]] = None,
                                     key: Optional[pulumi.Input[str]] = None,
                                     notes: Optional[pulumi.Input[str]] = None,
                                     project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     project_key: Optional[pulumi.Input[str]] = None,
                                     repo_layout_ref: Optional[pulumi.Input[str]] = None,
                                     repositories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetVirtualBowerRepositoryResult]
    func LookupVirtualBowerRepository(ctx *Context, args *LookupVirtualBowerRepositoryArgs, opts ...InvokeOption) (*LookupVirtualBowerRepositoryResult, error)
    func LookupVirtualBowerRepositoryOutput(ctx *Context, args *LookupVirtualBowerRepositoryOutputArgs, opts ...InvokeOption) LookupVirtualBowerRepositoryResultOutput

    > Note: This function is named LookupVirtualBowerRepository in the Go SDK.

    public static class GetVirtualBowerRepository 
    {
        public static Task<GetVirtualBowerRepositoryResult> InvokeAsync(GetVirtualBowerRepositoryArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualBowerRepositoryResult> Invoke(GetVirtualBowerRepositoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualBowerRepositoryResult> getVirtualBowerRepository(GetVirtualBowerRepositoryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: artifactory:index/getVirtualBowerRepository:getVirtualBowerRepository
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Key string
    the identity key of the repo.
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    ExternalDependenciesEnabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    ExternalDependenciesPatterns List<string>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    ExternalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    IncludesPattern string
    Notes string
    ProjectEnvironments List<string>
    ProjectKey string
    RepoLayoutRef string
    Repositories List<string>
    Key string
    the identity key of the repo.
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    ExternalDependenciesEnabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    ExternalDependenciesPatterns []string
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    ExternalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    IncludesPattern string
    Notes string
    ProjectEnvironments []string
    ProjectKey string
    RepoLayoutRef string
    Repositories []string
    key String
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    defaultDeploymentRepo String
    description String
    excludesPattern String
    externalDependenciesEnabled Boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns List<String>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo String
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern String
    notes String
    projectEnvironments List<String>
    projectKey String
    repoLayoutRef String
    repositories List<String>
    key string
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts boolean
    defaultDeploymentRepo string
    description string
    excludesPattern string
    externalDependenciesEnabled boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns string[]
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern string
    notes string
    projectEnvironments string[]
    projectKey string
    repoLayoutRef string
    repositories string[]
    key str
    the identity key of the repo.
    artifactory_requests_can_retrieve_remote_artifacts bool
    default_deployment_repo str
    description str
    excludes_pattern str
    external_dependencies_enabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    external_dependencies_patterns Sequence[str]
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    external_dependencies_remote_repo str
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includes_pattern str
    notes str
    project_environments Sequence[str]
    project_key str
    repo_layout_ref str
    repositories Sequence[str]
    key String
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    defaultDeploymentRepo String
    description String
    excludesPattern String
    externalDependenciesEnabled Boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns List<String>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo String
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern String
    notes String
    projectEnvironments List<String>
    projectKey String
    repoLayoutRef String
    repositories List<String>

    getVirtualBowerRepository Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    PackageType string
    ProjectEnvironments List<string>
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    ExternalDependenciesEnabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    ExternalDependenciesPatterns List<string>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    ExternalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    IncludesPattern string
    Notes string
    ProjectKey string
    RepoLayoutRef string
    Repositories List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    PackageType string
    ProjectEnvironments []string
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    ExternalDependenciesEnabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    ExternalDependenciesPatterns []string
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    ExternalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    IncludesPattern string
    Notes string
    ProjectKey string
    RepoLayoutRef string
    Repositories []string
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    packageType String
    projectEnvironments List<String>
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    defaultDeploymentRepo String
    description String
    excludesPattern String
    externalDependenciesEnabled Boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns List<String>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo String
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern String
    notes String
    projectKey String
    repoLayoutRef String
    repositories List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    packageType string
    projectEnvironments string[]
    artifactoryRequestsCanRetrieveRemoteArtifacts boolean
    defaultDeploymentRepo string
    description string
    excludesPattern string
    externalDependenciesEnabled boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns string[]
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo string
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern string
    notes string
    projectKey string
    repoLayoutRef string
    repositories string[]
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    package_type str
    project_environments Sequence[str]
    artifactory_requests_can_retrieve_remote_artifacts bool
    default_deployment_repo str
    description str
    excludes_pattern str
    external_dependencies_enabled bool
    (Optional) When set, external dependencies are rewritten. Default value is false.
    external_dependencies_patterns Sequence[str]
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    external_dependencies_remote_repo str
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includes_pattern str
    notes str
    project_key str
    repo_layout_ref str
    repositories Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    packageType String
    projectEnvironments List<String>
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    defaultDeploymentRepo String
    description String
    excludesPattern String
    externalDependenciesEnabled Boolean
    (Optional) When set, external dependencies are rewritten. Default value is false.
    externalDependenciesPatterns List<String>
    (Optional) An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.
    externalDependenciesRemoteRepo String
    (Optional) The remote repository aggregated by this virtual repository in which the external dependency will be cached.
    includesPattern String
    notes String
    projectKey String
    repoLayoutRef String
    repositories List<String>

    Package Details

    Repository
    artifactory pulumi/pulumi-artifactory
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the artifactory Terraform Provider.
    artifactory logo
    artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi