Viewing docs for artifactory v8.11.5
published on Wednesday, Jul 22, 2026 by Pulumi
published on Wednesday, Jul 22, 2026 by Pulumi
Viewing docs for artifactory v8.11.5
published on Wednesday, Jul 22, 2026 by Pulumi
published on Wednesday, Jul 22, 2026 by Pulumi
Retrieves configuration for a remote Bazel Modules repository. See Bazel Modules Repositories.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const example = artifactory.getRemoteBazelRepository({
key: "my-remote-bazelmodules",
});
import pulumi
import pulumi_artifactory as artifactory
example = artifactory.get_remote_bazel_repository(key="my-remote-bazelmodules")
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.GetRemoteBazelRepository(ctx, &artifactory.LookupRemoteBazelRepositoryArgs{
Key: "my-remote-bazelmodules",
}, 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 example = Artifactory.GetRemoteBazelRepository.Invoke(new()
{
Key = "my-remote-bazelmodules",
});
});
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.GetRemoteBazelRepositoryArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = ArtifactoryFunctions.getRemoteBazelRepository(GetRemoteBazelRepositoryArgs.builder()
.key("my-remote-bazelmodules")
.build());
}
}
variables:
example:
fn::invoke:
function: artifactory:getRemoteBazelRepository
arguments:
key: my-remote-bazelmodules
pulumi {
required_providers {
artifactory = {
source = "pulumi/artifactory"
}
}
}
data "artifactory_getremotebazelrepository" "example" {
key = "my-remote-bazelmodules"
}
Using getRemoteBazelRepository
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 getRemoteBazelRepository(args: GetRemoteBazelRepositoryArgs, opts?: InvokeOptions): Promise<GetRemoteBazelRepositoryResult>
function getRemoteBazelRepositoryOutput(args: GetRemoteBazelRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRemoteBazelRepositoryResult>def get_remote_bazel_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRemoteBazelRepositoryResult
def get_remote_bazel_repository_output(key: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRemoteBazelRepositoryResult]func LookupRemoteBazelRepository(ctx *Context, args *LookupRemoteBazelRepositoryArgs, opts ...InvokeOption) (*LookupRemoteBazelRepositoryResult, error)
func LookupRemoteBazelRepositoryOutput(ctx *Context, args *LookupRemoteBazelRepositoryOutputArgs, opts ...InvokeOption) LookupRemoteBazelRepositoryResultOutput> Note: This function is named LookupRemoteBazelRepository in the Go SDK.
public static class GetRemoteBazelRepository
{
public static Task<GetRemoteBazelRepositoryResult> InvokeAsync(GetRemoteBazelRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRemoteBazelRepositoryResult> Invoke(GetRemoteBazelRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRemoteBazelRepositoryResult> getRemoteBazelRepository(GetRemoteBazelRepositoryArgs args, InvokeOptions options)
public static Output<GetRemoteBazelRepositoryResult> getRemoteBazelRepository(GetRemoteBazelRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getRemoteBazelRepository:getRemoteBazelRepository
arguments:
# arguments dictionarydata "artifactory_get_remote_bazel_repository" "name" {
# arguments
}The following arguments are supported:
- Key string
- Repository key.
- Key string
- Repository key.
- key string
- Repository key.
- key String
- Repository key.
- key string
- Repository key.
- key str
- Repository key.
- key String
- Repository key.
getRemoteBazelRepository Result
The following output properties are available:
- Allow
Any boolHost Auth - Assumed
Offline intPeriod Secs - Block
Mismatching boolMime Types - Bypass
Head boolRequests - Client
Tls stringCertificate - Description string
- Disable
Proxy bool - Disable
Url boolNormalization - bool
- Excludes
Pattern string - Hard
Fail bool - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- List
Remote boolFolder Items - Local
Address string - Metadata
Retrieval intTimeout Secs - Mismatching
Mime stringTypes Override List - Missed
Cache intPeriod Seconds - Notes string
- Offline bool
- Package
Type string - Password string
- Project
Environments List<string> - Project
Key string - Proxy string
- Query
Params string - Remote
Repo stringLayout Ref - Repo
Layout stringRef - Retrieval
Cache intPeriod Seconds - bool
- Socket
Timeout intMillis - Store
Artifacts boolLocally - Synchronize
Properties bool - Unused
Artifacts intCleanup Period Hours - Url string
- Username string
- Allow
Any boolHost Auth - Assumed
Offline intPeriod Secs - Block
Mismatching boolMime Types - Bypass
Head boolRequests - Client
Tls stringCertificate - Description string
- Disable
Proxy bool - Disable
Url boolNormalization - bool
- Excludes
Pattern string - Hard
Fail bool - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- List
Remote boolFolder Items - Local
Address string - Metadata
Retrieval intTimeout Secs - Mismatching
Mime stringTypes Override List - Missed
Cache intPeriod Seconds - Notes string
- Offline bool
- Package
Type string - Password string
- Project
Environments []string - Project
Key string - Proxy string
- Query
Params string - Remote
Repo stringLayout Ref - Repo
Layout stringRef - Retrieval
Cache intPeriod Seconds - bool
- Socket
Timeout intMillis - Store
Artifacts boolLocally - Synchronize
Properties bool - Unused
Artifacts intCleanup Period Hours - Url string
- Username string
- allow_
any_ boolhost_ auth - assumed_
offline_ numberperiod_ secs - block_
mismatching_ boolmime_ types - bypass_
head_ boolrequests - client_
tls_ stringcertificate - description string
- disable_
proxy bool - disable_
url_ boolnormalization - bool
- excludes_
pattern string - hard_
fail bool - id string
- The provider-assigned unique ID for this managed resource.
- includes_
pattern string - key string
- list_
remote_ boolfolder_ items - local_
address string - metadata_
retrieval_ numbertimeout_ secs - mismatching_
mime_ stringtypes_ override_ list - missed_
cache_ numberperiod_ seconds - notes string
- offline bool
- package_
type string - password string
- project_
environments list(string) - project_
key string - proxy string
- query_
params string - remote_
repo_ stringlayout_ ref - repo_
layout_ stringref - retrieval_
cache_ numberperiod_ seconds - bool
- socket_
timeout_ numbermillis - store_
artifacts_ boollocally - synchronize_
properties bool - unused_
artifacts_ numbercleanup_ period_ hours - url string
- username string
- allow
Any BooleanHost Auth - assumed
Offline IntegerPeriod Secs - block
Mismatching BooleanMime Types - bypass
Head BooleanRequests - client
Tls StringCertificate - description String
- disable
Proxy Boolean - disable
Url BooleanNormalization - Boolean
- excludes
Pattern String - hard
Fail Boolean - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- list
Remote BooleanFolder Items - local
Address String - metadata
Retrieval IntegerTimeout Secs - mismatching
Mime StringTypes Override List - missed
Cache IntegerPeriod Seconds - notes String
- offline Boolean
- package
Type String - password String
- project
Environments List<String> - project
Key String - proxy String
- query
Params String - remote
Repo StringLayout Ref - repo
Layout StringRef - retrieval
Cache IntegerPeriod Seconds - Boolean
- socket
Timeout IntegerMillis - store
Artifacts BooleanLocally - synchronize
Properties Boolean - unused
Artifacts IntegerCleanup Period Hours - url String
- username String
- allow
Any booleanHost Auth - assumed
Offline numberPeriod Secs - block
Mismatching booleanMime Types - bypass
Head booleanRequests - client
Tls stringCertificate - description string
- disable
Proxy boolean - disable
Url booleanNormalization - boolean
- excludes
Pattern string - hard
Fail boolean - id string
- The provider-assigned unique ID for this managed resource.
- includes
Pattern string - key string
- list
Remote booleanFolder Items - local
Address string - metadata
Retrieval numberTimeout Secs - mismatching
Mime stringTypes Override List - missed
Cache numberPeriod Seconds - notes string
- offline boolean
- package
Type string - password string
- project
Environments string[] - project
Key string - proxy string
- query
Params string - remote
Repo stringLayout Ref - repo
Layout stringRef - retrieval
Cache numberPeriod Seconds - boolean
- socket
Timeout numberMillis - store
Artifacts booleanLocally - synchronize
Properties boolean - unused
Artifacts numberCleanup Period Hours - url string
- username string
- allow_
any_ boolhost_ auth - assumed_
offline_ intperiod_ secs - block_
mismatching_ boolmime_ types - bypass_
head_ boolrequests - client_
tls_ strcertificate - description str
- disable_
proxy bool - disable_
url_ boolnormalization - bool
- excludes_
pattern str - hard_
fail bool - id str
- The provider-assigned unique ID for this managed resource.
- includes_
pattern str - key str
- list_
remote_ boolfolder_ items - local_
address str - metadata_
retrieval_ inttimeout_ secs - mismatching_
mime_ strtypes_ override_ list - missed_
cache_ intperiod_ seconds - notes str
- offline bool
- package_
type str - password str
- project_
environments Sequence[str] - project_
key str - proxy str
- query_
params str - remote_
repo_ strlayout_ ref - repo_
layout_ strref - retrieval_
cache_ intperiod_ seconds - bool
- socket_
timeout_ intmillis - store_
artifacts_ boollocally - synchronize_
properties bool - unused_
artifacts_ intcleanup_ period_ hours - url str
- username str
- allow
Any BooleanHost Auth - assumed
Offline NumberPeriod Secs - block
Mismatching BooleanMime Types - bypass
Head BooleanRequests - client
Tls StringCertificate - description String
- disable
Proxy Boolean - disable
Url BooleanNormalization - Boolean
- excludes
Pattern String - hard
Fail Boolean - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- list
Remote BooleanFolder Items - local
Address String - metadata
Retrieval NumberTimeout Secs - mismatching
Mime StringTypes Override List - missed
Cache NumberPeriod Seconds - notes String
- offline Boolean
- package
Type String - password String
- project
Environments List<String> - project
Key String - proxy String
- query
Params String - remote
Repo StringLayout Ref - repo
Layout StringRef - retrieval
Cache NumberPeriod Seconds - Boolean
- socket
Timeout NumberMillis - store
Artifacts BooleanLocally - synchronize
Properties Boolean - unused
Artifacts NumberCleanup Period Hours - url String
- username String
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
artifactoryTerraform Provider.
Viewing docs for artifactory v8.11.5
published on Wednesday, Jul 22, 2026 by Pulumi
published on Wednesday, Jul 22, 2026 by Pulumi