Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi
ise.system.getRepository
Explore with Pulumi AI
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:
getRepository Result
The following output properties are available:
- Enable
Pki 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
- Server
Name string - Name of the server
- User
Name string - User name
- Enable
Pki 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
- Server
Name string - Name of the server
- User
Name string - User name
- enable
Pki 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
- server
Name String - Name of the server
- user
Name String - User name
- enable
Pki 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
- server
Name string - Name of the server
- user
Name 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
- enable
Pki 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
- server
Name String - Name of the server
- user
Name 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.