1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getInfraModule
Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi

harness.platform.getInfraModule

Explore with Pulumi AI

harness logo
Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi

    Data source for retrieving modules from the module registry.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.PlatformFunctions;
    import com.pulumi.harness.platform.inputs.GetInfraModuleArgs;
    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 test = PlatformFunctions.getInfraModule(GetInfraModuleArgs.builder()
                .identifier("identifier")
                .name("name")
                .system("system")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: harness:platform:getInfraModule
          arguments:
            identifier: identifier
            name: name
            system: system
    

    Using getInfraModule

    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 getInfraModule(args: GetInfraModuleArgs, opts?: InvokeOptions): Promise<GetInfraModuleResult>
    function getInfraModuleOutput(args: GetInfraModuleOutputArgs, opts?: InvokeOptions): Output<GetInfraModuleResult>
    def get_infra_module(created: Optional[int] = None,
                         description: Optional[str] = None,
                         id: Optional[str] = None,
                         name: Optional[str] = None,
                         repository: Optional[str] = None,
                         repository_branch: Optional[str] = None,
                         repository_commit: Optional[str] = None,
                         repository_connector: Optional[str] = None,
                         repository_path: Optional[str] = None,
                         repository_url: Optional[str] = None,
                         synced: Optional[int] = None,
                         system: Optional[str] = None,
                         tags: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetInfraModuleResult
    def get_infra_module_output(created: Optional[pulumi.Input[int]] = None,
                         description: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         repository: Optional[pulumi.Input[str]] = None,
                         repository_branch: Optional[pulumi.Input[str]] = None,
                         repository_commit: Optional[pulumi.Input[str]] = None,
                         repository_connector: Optional[pulumi.Input[str]] = None,
                         repository_path: Optional[pulumi.Input[str]] = None,
                         repository_url: Optional[pulumi.Input[str]] = None,
                         synced: Optional[pulumi.Input[int]] = None,
                         system: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetInfraModuleResult]
    func LookupInfraModule(ctx *Context, args *LookupInfraModuleArgs, opts ...InvokeOption) (*LookupInfraModuleResult, error)
    func LookupInfraModuleOutput(ctx *Context, args *LookupInfraModuleOutputArgs, opts ...InvokeOption) LookupInfraModuleResultOutput

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

    public static class GetInfraModule 
    {
        public static Task<GetInfraModuleResult> InvokeAsync(GetInfraModuleArgs args, InvokeOptions? opts = null)
        public static Output<GetInfraModuleResult> Invoke(GetInfraModuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInfraModuleResult> getInfraModule(GetInfraModuleArgs args, InvokeOptions options)
    public static Output<GetInfraModuleResult> getInfraModule(GetInfraModuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getInfraModule:getInfraModule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Identifier of the module
    Name string
    Name of the module
    System string
    Provider of the module
    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Repository string
    For account connectors, the repository where the module is stored
    RepositoryBranch string
    Repository Branch in which the module should be accessed
    RepositoryCommit string
    Repository Commit in which the module should be accessed
    RepositoryConnector string
    Repository Connector is the reference to the connector for the repository
    RepositoryPath string
    Repository Path is the path in which the module resides
    RepositoryUrl string
    URL where the module is stored
    Synced int
    Timestamp when the module was last synced
    Tags string
    Tags associated with the module
    Id string
    Identifier of the module
    Name string
    Name of the module
    System string
    Provider of the module
    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Repository string
    For account connectors, the repository where the module is stored
    RepositoryBranch string
    Repository Branch in which the module should be accessed
    RepositoryCommit string
    Repository Commit in which the module should be accessed
    RepositoryConnector string
    Repository Connector is the reference to the connector for the repository
    RepositoryPath string
    Repository Path is the path in which the module resides
    RepositoryUrl string
    URL where the module is stored
    Synced int
    Timestamp when the module was last synced
    Tags string
    Tags associated with the module
    id String
    Identifier of the module
    name String
    Name of the module
    system String
    Provider of the module
    created Integer
    Timestamp when the module was created
    description String
    Description of the module
    repository String
    For account connectors, the repository where the module is stored
    repositoryBranch String
    Repository Branch in which the module should be accessed
    repositoryCommit String
    Repository Commit in which the module should be accessed
    repositoryConnector String
    Repository Connector is the reference to the connector for the repository
    repositoryPath String
    Repository Path is the path in which the module resides
    repositoryUrl String
    URL where the module is stored
    synced Integer
    Timestamp when the module was last synced
    tags String
    Tags associated with the module
    id string
    Identifier of the module
    name string
    Name of the module
    system string
    Provider of the module
    created number
    Timestamp when the module was created
    description string
    Description of the module
    repository string
    For account connectors, the repository where the module is stored
    repositoryBranch string
    Repository Branch in which the module should be accessed
    repositoryCommit string
    Repository Commit in which the module should be accessed
    repositoryConnector string
    Repository Connector is the reference to the connector for the repository
    repositoryPath string
    Repository Path is the path in which the module resides
    repositoryUrl string
    URL where the module is stored
    synced number
    Timestamp when the module was last synced
    tags string
    Tags associated with the module
    id str
    Identifier of the module
    name str
    Name of the module
    system str
    Provider of the module
    created int
    Timestamp when the module was created
    description str
    Description of the module
    repository str
    For account connectors, the repository where the module is stored
    repository_branch str
    Repository Branch in which the module should be accessed
    repository_commit str
    Repository Commit in which the module should be accessed
    repository_connector str
    Repository Connector is the reference to the connector for the repository
    repository_path str
    Repository Path is the path in which the module resides
    repository_url str
    URL where the module is stored
    synced int
    Timestamp when the module was last synced
    tags str
    Tags associated with the module
    id String
    Identifier of the module
    name String
    Name of the module
    system String
    Provider of the module
    created Number
    Timestamp when the module was created
    description String
    Description of the module
    repository String
    For account connectors, the repository where the module is stored
    repositoryBranch String
    Repository Branch in which the module should be accessed
    repositoryCommit String
    Repository Commit in which the module should be accessed
    repositoryConnector String
    Repository Connector is the reference to the connector for the repository
    repositoryPath String
    Repository Path is the path in which the module resides
    repositoryUrl String
    URL where the module is stored
    synced Number
    Timestamp when the module was last synced
    tags String
    Tags associated with the module

    getInfraModule Result

    The following output properties are available:

    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Id string
    Identifier of the module
    Name string
    Name of the module
    Repository string
    For account connectors, the repository where the module is stored
    RepositoryBranch string
    Repository Branch in which the module should be accessed
    RepositoryCommit string
    Repository Commit in which the module should be accessed
    RepositoryConnector string
    Repository Connector is the reference to the connector for the repository
    RepositoryPath string
    Repository Path is the path in which the module resides
    RepositoryUrl string
    URL where the module is stored
    Synced int
    Timestamp when the module was last synced
    System string
    Provider of the module
    Tags string
    Tags associated with the module
    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Id string
    Identifier of the module
    Name string
    Name of the module
    Repository string
    For account connectors, the repository where the module is stored
    RepositoryBranch string
    Repository Branch in which the module should be accessed
    RepositoryCommit string
    Repository Commit in which the module should be accessed
    RepositoryConnector string
    Repository Connector is the reference to the connector for the repository
    RepositoryPath string
    Repository Path is the path in which the module resides
    RepositoryUrl string
    URL where the module is stored
    Synced int
    Timestamp when the module was last synced
    System string
    Provider of the module
    Tags string
    Tags associated with the module
    created Integer
    Timestamp when the module was created
    description String
    Description of the module
    id String
    Identifier of the module
    name String
    Name of the module
    repository String
    For account connectors, the repository where the module is stored
    repositoryBranch String
    Repository Branch in which the module should be accessed
    repositoryCommit String
    Repository Commit in which the module should be accessed
    repositoryConnector String
    Repository Connector is the reference to the connector for the repository
    repositoryPath String
    Repository Path is the path in which the module resides
    repositoryUrl String
    URL where the module is stored
    synced Integer
    Timestamp when the module was last synced
    system String
    Provider of the module
    tags String
    Tags associated with the module
    created number
    Timestamp when the module was created
    description string
    Description of the module
    id string
    Identifier of the module
    name string
    Name of the module
    repository string
    For account connectors, the repository where the module is stored
    repositoryBranch string
    Repository Branch in which the module should be accessed
    repositoryCommit string
    Repository Commit in which the module should be accessed
    repositoryConnector string
    Repository Connector is the reference to the connector for the repository
    repositoryPath string
    Repository Path is the path in which the module resides
    repositoryUrl string
    URL where the module is stored
    synced number
    Timestamp when the module was last synced
    system string
    Provider of the module
    tags string
    Tags associated with the module
    created int
    Timestamp when the module was created
    description str
    Description of the module
    id str
    Identifier of the module
    name str
    Name of the module
    repository str
    For account connectors, the repository where the module is stored
    repository_branch str
    Repository Branch in which the module should be accessed
    repository_commit str
    Repository Commit in which the module should be accessed
    repository_connector str
    Repository Connector is the reference to the connector for the repository
    repository_path str
    Repository Path is the path in which the module resides
    repository_url str
    URL where the module is stored
    synced int
    Timestamp when the module was last synced
    system str
    Provider of the module
    tags str
    Tags associated with the module
    created Number
    Timestamp when the module was created
    description String
    Description of the module
    id String
    Identifier of the module
    name String
    Name of the module
    repository String
    For account connectors, the repository where the module is stored
    repositoryBranch String
    Repository Branch in which the module should be accessed
    repositoryCommit String
    Repository Commit in which the module should be accessed
    repositoryConnector String
    Repository Connector is the reference to the connector for the repository
    repositoryPath String
    Repository Path is the path in which the module resides
    repositoryUrl String
    URL where the module is stored
    synced Number
    Timestamp when the module was last synced
    system String
    Provider of the module
    tags String
    Tags associated with the module

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi