1. Packages
  2. Cisco ISE
  3. API Docs
  4. system
  5. getRepository
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

ise.system.getRepository

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

    This data source can read the Repository.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.system.getRepository({
        id: "repo1",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.system.get_repository(id="repo1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ise/sdk/go/ise/system"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.LookupRepository(ctx, &system.LookupRepositoryArgs{
    			Id: pulumi.StringRef("repo1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ise = Pulumi.Ise;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ise.System.GetRepository.Invoke(new()
        {
            Id = "repo1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.system.SystemFunctions;
    import com.pulumi.ise.system.inputs.GetRepositoryArgs;
    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 example = SystemFunctions.getRepository(GetRepositoryArgs.builder()
                .id("repo1")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: ise:system:getRepository
          Arguments:
            id: repo1
    

    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(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
    def get_repository_output(id: Optional[pulumi.Input[str]] = None,
                       name: 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:system/getRepository:getRepository
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    Id string
    The id of the object
    Name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    id String
    The id of the object
    name String
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    id string
    The id of the object
    name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    id str
    The id of the object
    name str
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    id String
    The id of the object
    name String
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.

    getRepository Result

    The following output properties are available:

    EnablePki bool
    Enable PKI
    Id string
    The id of the object
    Name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    Password string
    Password can contain alphanumeric and/or special characters.
    Path string
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    Protocol string
    Protocol
    ServerName string
    Name of the server
    UserName string
    User name
    EnablePki bool
    Enable PKI
    Id string
    The id of the object
    Name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    Password string
    Password can contain alphanumeric and/or special characters.
    Path string
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    Protocol string
    Protocol
    ServerName string
    Name of the server
    UserName string
    User name
    enablePki Boolean
    Enable PKI
    id String
    The id of the object
    name String
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    password String
    Password can contain alphanumeric and/or special characters.
    path String
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    protocol String
    Protocol
    serverName String
    Name of the server
    userName String
    User name
    enablePki boolean
    Enable PKI
    id string
    The id of the object
    name string
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    password string
    Password can contain alphanumeric and/or special characters.
    path string
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    protocol string
    Protocol
    serverName string
    Name of the server
    userName string
    User name
    enable_pki bool
    Enable PKI
    id str
    The id of the object
    name str
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    password str
    Password can contain alphanumeric and/or special characters.
    path str
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    protocol str
    Protocol
    server_name str
    Name of the server
    user_name str
    User name
    enablePki Boolean
    Enable PKI
    id String
    The id of the object
    name String
    Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
    password String
    Password can contain alphanumeric and/or special characters.
    path String
    Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
    protocol String
    Protocol
    serverName String
    Name of the server
    userName String
    User name

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi