artifactory v6.8.4 published on Thursday, Jun 6, 2024 by Pulumi
artifactory.getVirtualRpmRepository
Explore with Pulumi AI
Retrieves a virtual Rpm repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const virtual-rpm = artifactory.getVirtualRpmRepository({
key: "virtual-rpm",
});
import pulumi
import pulumi_artifactory as artifactory
virtual_rpm = artifactory.get_virtual_rpm_repository(key="virtual-rpm")
package main
import (
"github.com/pulumi/pulumi-artifactory/sdk/v6/go/artifactory"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := artifactory.LookupVirtualRpmRepository(ctx, &artifactory.LookupVirtualRpmRepositoryArgs{
Key: "virtual-rpm",
}, 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_rpm = Artifactory.GetVirtualRpmRepository.Invoke(new()
{
Key = "virtual-rpm",
});
});
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.GetVirtualRpmRepositoryArgs;
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-rpm = ArtifactoryFunctions.getVirtualRpmRepository(GetVirtualRpmRepositoryArgs.builder()
.key("virtual-rpm")
.build());
}
}
variables:
virtual-rpm:
fn::invoke:
Function: artifactory:getVirtualRpmRepository
Arguments:
key: virtual-rpm
Using getVirtualRpmRepository
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 getVirtualRpmRepository(args: GetVirtualRpmRepositoryArgs, opts?: InvokeOptions): Promise<GetVirtualRpmRepositoryResult>
function getVirtualRpmRepositoryOutput(args: GetVirtualRpmRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVirtualRpmRepositoryResult>
def get_virtual_rpm_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,
includes_pattern: Optional[str] = None,
key: Optional[str] = None,
notes: Optional[str] = None,
primary_keypair_ref: 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,
secondary_keypair_ref: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualRpmRepositoryResult
def get_virtual_rpm_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,
includes_pattern: Optional[pulumi.Input[str]] = None,
key: Optional[pulumi.Input[str]] = None,
notes: Optional[pulumi.Input[str]] = None,
primary_keypair_ref: 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,
secondary_keypair_ref: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualRpmRepositoryResult]
func LookupVirtualRpmRepository(ctx *Context, args *LookupVirtualRpmRepositoryArgs, opts ...InvokeOption) (*LookupVirtualRpmRepositoryResult, error)
func LookupVirtualRpmRepositoryOutput(ctx *Context, args *LookupVirtualRpmRepositoryOutputArgs, opts ...InvokeOption) LookupVirtualRpmRepositoryResultOutput
> Note: This function is named LookupVirtualRpmRepository
in the Go SDK.
public static class GetVirtualRpmRepository
{
public static Task<GetVirtualRpmRepositoryResult> InvokeAsync(GetVirtualRpmRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualRpmRepositoryResult> Invoke(GetVirtualRpmRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualRpmRepositoryResult> getVirtualRpmRepository(GetVirtualRpmRepositoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: artifactory:index/getVirtualRpmRepository:getVirtualRpmRepository
arguments:
# arguments dictionary
The following arguments are supported:
- Key string
- the identity key of the repo.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- Project
Environments List<string> - Project
Key string - Repo
Layout stringRef - Repositories List<string>
- Secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- Key string
- the identity key of the repo.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- Project
Environments []string - Project
Key string - Repo
Layout stringRef - Repositories []string
- Secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- key String
- the identity key of the repo.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key String - repo
Layout StringRef - repositories List<String>
- secondary
Keypair StringRef - (Optional) The secondary GPG key to be used to sign packages.
- key string
- the identity key of the repo.
- artifactory
Requests booleanCan Retrieve Remote Artifacts - default
Deployment stringRepo - description string
- excludes
Pattern string - includes
Pattern string - notes string
- primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Environments string[] - project
Key string - repo
Layout stringRef - repositories string[]
- secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- key str
- the identity key of the repo.
- artifactory_
requests_ boolcan_ retrieve_ remote_ artifacts - default_
deployment_ strrepo - description str
- excludes_
pattern str - includes_
pattern str - notes str
- primary_
keypair_ strref - (Optional) The primary GPG key to be used to sign packages.
- project_
environments Sequence[str] - project_
key str - repo_
layout_ strref - repositories Sequence[str]
- secondary_
keypair_ strref - (Optional) The secondary GPG key to be used to sign packages.
- key String
- the identity key of the repo.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key String - repo
Layout StringRef - repositories List<String>
- secondary
Keypair StringRef - (Optional) The secondary GPG key to be used to sign packages.
getVirtualRpmRepository Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Package
Type string - Project
Environments List<string> - Artifactory
Requests boolCan Retrieve Remote Artifacts - Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- Project
Key string - Repo
Layout stringRef - Repositories List<string>
- Secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Package
Type string - Project
Environments []string - Artifactory
Requests boolCan Retrieve Remote Artifacts - Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- Project
Key string - Repo
Layout stringRef - Repositories []string
- Secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- package
Type String - project
Environments List<String> - artifactory
Requests BooleanCan Retrieve Remote Artifacts - default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Key String - repo
Layout StringRef - repositories List<String>
- secondary
Keypair StringRef - (Optional) The secondary GPG key to be used to sign packages.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- package
Type string - project
Environments string[] - artifactory
Requests booleanCan Retrieve Remote Artifacts - default
Deployment stringRepo - description string
- excludes
Pattern string - includes
Pattern string - notes string
- primary
Keypair stringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Key string - repo
Layout stringRef - repositories string[]
- secondary
Keypair stringRef - (Optional) The secondary GPG key to be used to sign packages.
- id str
- The provider-assigned unique ID for this managed resource.
- key str
- package_
type str - project_
environments Sequence[str] - artifactory_
requests_ boolcan_ retrieve_ remote_ artifacts - default_
deployment_ strrepo - description str
- excludes_
pattern str - includes_
pattern str - notes str
- primary_
keypair_ strref - (Optional) The primary GPG key to be used to sign packages.
- project_
key str - repo_
layout_ strref - repositories Sequence[str]
- secondary_
keypair_ strref - (Optional) The secondary GPG key to be used to sign packages.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- package
Type String - project
Environments List<String> - artifactory
Requests BooleanCan Retrieve Remote Artifacts - default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) The primary GPG key to be used to sign packages.
- project
Key String - repo
Layout StringRef - repositories List<String>
- secondary
Keypair StringRef - (Optional) The secondary GPG key to be used to sign packages.
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
artifactory
Terraform Provider.