1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. chaos
  6. getHubV2
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi

    Data source for retrieving a Harness Chaos Hub.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      projectLevel:
        fn::invoke:
          function: harness:chaos:getHubV2
          arguments:
            name: <name>
            identity: <identity>
            description: <description>
            tags:
              - <tag1>
              - <tag2>
            orgId: <org_id>
            projectId: <project_id>
    

    Using getHubV2

    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 getHubV2(args: GetHubV2Args, opts?: InvokeOptions): Promise<GetHubV2Result>
    function getHubV2Output(args: GetHubV2OutputArgs, opts?: InvokeOptions): Output<GetHubV2Result>
    def get_hub_v2(identity: Optional[str] = None,
                   name: Optional[str] = None,
                   org_id: Optional[str] = None,
                   project_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetHubV2Result
    def get_hub_v2_output(identity: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   org_id: Optional[pulumi.Input[str]] = None,
                   project_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetHubV2Result]
    func LookupHubV2(ctx *Context, args *LookupHubV2Args, opts ...InvokeOption) (*LookupHubV2Result, error)
    func LookupHubV2Output(ctx *Context, args *LookupHubV2OutputArgs, opts ...InvokeOption) LookupHubV2ResultOutput

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

    public static class GetHubV2 
    {
        public static Task<GetHubV2Result> InvokeAsync(GetHubV2Args args, InvokeOptions? opts = null)
        public static Output<GetHubV2Result> Invoke(GetHubV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHubV2Result> getHubV2(GetHubV2Args args, InvokeOptions options)
    public static Output<GetHubV2Result> getHubV2(GetHubV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: harness:chaos/getHubV2:getHubV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Identity string
    Unique identifier of the chaos hub.
    Name string
    Name of the chaos hub.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    Identity string
    Unique identifier of the chaos hub.
    Name string
    Name of the chaos hub.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    identity String
    Unique identifier of the chaos hub.
    name String
    Name of the chaos hub.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    identity string
    Unique identifier of the chaos hub.
    name string
    Name of the chaos hub.
    orgId string
    The ID of the organization.
    projectId string
    The ID of the project.
    identity str
    Unique identifier of the chaos hub.
    name str
    Name of the chaos hub.
    org_id str
    The ID of the organization.
    project_id str
    The ID of the project.
    identity String
    Unique identifier of the chaos hub.
    name String
    Name of the chaos hub.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.

    getHubV2 Result

    The following output properties are available:

    AccountId string
    Account ID.
    ActionTemplateCount int
    Number of action templates in the hub.
    ConnectorId string
    Connector ID (deprecated).
    ConnectorRef string
    Reference to the Git connector.
    CreatedAt int
    Creation timestamp (Unix epoch).
    CreatedBy string
    User who created the chaos hub.
    Description string
    Description of the chaos hub.
    ExperimentTemplateCount int
    Number of experiment templates in the hub.
    FaultTemplateCount int
    Number of fault templates in the hub.
    HubId string
    Internal hub ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Whether this is the default chaos hub.
    IsRemoved bool
    Whether the chaos hub has been removed.
    LastSyncedAt int
    Timestamp of the last sync (Unix epoch).
    ProbeTemplateCount int
    Number of probe templates in the hub.
    RepoBranch string
    Git repository branch.
    RepoName string
    Name of the Git repository.
    RepoUrl string
    Git repository URL.
    Tags List<string>
    Tags associated with the chaos hub.
    UpdatedAt int
    Last update timestamp (Unix epoch).
    UpdatedBy string
    User who last updated the chaos hub.
    Identity string
    Unique identifier of the chaos hub.
    Name string
    Name of the chaos hub.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    AccountId string
    Account ID.
    ActionTemplateCount int
    Number of action templates in the hub.
    ConnectorId string
    Connector ID (deprecated).
    ConnectorRef string
    Reference to the Git connector.
    CreatedAt int
    Creation timestamp (Unix epoch).
    CreatedBy string
    User who created the chaos hub.
    Description string
    Description of the chaos hub.
    ExperimentTemplateCount int
    Number of experiment templates in the hub.
    FaultTemplateCount int
    Number of fault templates in the hub.
    HubId string
    Internal hub ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Whether this is the default chaos hub.
    IsRemoved bool
    Whether the chaos hub has been removed.
    LastSyncedAt int
    Timestamp of the last sync (Unix epoch).
    ProbeTemplateCount int
    Number of probe templates in the hub.
    RepoBranch string
    Git repository branch.
    RepoName string
    Name of the Git repository.
    RepoUrl string
    Git repository URL.
    Tags []string
    Tags associated with the chaos hub.
    UpdatedAt int
    Last update timestamp (Unix epoch).
    UpdatedBy string
    User who last updated the chaos hub.
    Identity string
    Unique identifier of the chaos hub.
    Name string
    Name of the chaos hub.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    accountId String
    Account ID.
    actionTemplateCount Integer
    Number of action templates in the hub.
    connectorId String
    Connector ID (deprecated).
    connectorRef String
    Reference to the Git connector.
    createdAt Integer
    Creation timestamp (Unix epoch).
    createdBy String
    User who created the chaos hub.
    description String
    Description of the chaos hub.
    experimentTemplateCount Integer
    Number of experiment templates in the hub.
    faultTemplateCount Integer
    Number of fault templates in the hub.
    hubId String
    Internal hub ID.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Whether this is the default chaos hub.
    isRemoved Boolean
    Whether the chaos hub has been removed.
    lastSyncedAt Integer
    Timestamp of the last sync (Unix epoch).
    probeTemplateCount Integer
    Number of probe templates in the hub.
    repoBranch String
    Git repository branch.
    repoName String
    Name of the Git repository.
    repoUrl String
    Git repository URL.
    tags List<String>
    Tags associated with the chaos hub.
    updatedAt Integer
    Last update timestamp (Unix epoch).
    updatedBy String
    User who last updated the chaos hub.
    identity String
    Unique identifier of the chaos hub.
    name String
    Name of the chaos hub.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    accountId string
    Account ID.
    actionTemplateCount number
    Number of action templates in the hub.
    connectorId string
    Connector ID (deprecated).
    connectorRef string
    Reference to the Git connector.
    createdAt number
    Creation timestamp (Unix epoch).
    createdBy string
    User who created the chaos hub.
    description string
    Description of the chaos hub.
    experimentTemplateCount number
    Number of experiment templates in the hub.
    faultTemplateCount number
    Number of fault templates in the hub.
    hubId string
    Internal hub ID.
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    Whether this is the default chaos hub.
    isRemoved boolean
    Whether the chaos hub has been removed.
    lastSyncedAt number
    Timestamp of the last sync (Unix epoch).
    probeTemplateCount number
    Number of probe templates in the hub.
    repoBranch string
    Git repository branch.
    repoName string
    Name of the Git repository.
    repoUrl string
    Git repository URL.
    tags string[]
    Tags associated with the chaos hub.
    updatedAt number
    Last update timestamp (Unix epoch).
    updatedBy string
    User who last updated the chaos hub.
    identity string
    Unique identifier of the chaos hub.
    name string
    Name of the chaos hub.
    orgId string
    The ID of the organization.
    projectId string
    The ID of the project.
    account_id str
    Account ID.
    action_template_count int
    Number of action templates in the hub.
    connector_id str
    Connector ID (deprecated).
    connector_ref str
    Reference to the Git connector.
    created_at int
    Creation timestamp (Unix epoch).
    created_by str
    User who created the chaos hub.
    description str
    Description of the chaos hub.
    experiment_template_count int
    Number of experiment templates in the hub.
    fault_template_count int
    Number of fault templates in the hub.
    hub_id str
    Internal hub ID.
    id str
    The provider-assigned unique ID for this managed resource.
    is_default bool
    Whether this is the default chaos hub.
    is_removed bool
    Whether the chaos hub has been removed.
    last_synced_at int
    Timestamp of the last sync (Unix epoch).
    probe_template_count int
    Number of probe templates in the hub.
    repo_branch str
    Git repository branch.
    repo_name str
    Name of the Git repository.
    repo_url str
    Git repository URL.
    tags Sequence[str]
    Tags associated with the chaos hub.
    updated_at int
    Last update timestamp (Unix epoch).
    updated_by str
    User who last updated the chaos hub.
    identity str
    Unique identifier of the chaos hub.
    name str
    Name of the chaos hub.
    org_id str
    The ID of the organization.
    project_id str
    The ID of the project.
    accountId String
    Account ID.
    actionTemplateCount Number
    Number of action templates in the hub.
    connectorId String
    Connector ID (deprecated).
    connectorRef String
    Reference to the Git connector.
    createdAt Number
    Creation timestamp (Unix epoch).
    createdBy String
    User who created the chaos hub.
    description String
    Description of the chaos hub.
    experimentTemplateCount Number
    Number of experiment templates in the hub.
    faultTemplateCount Number
    Number of fault templates in the hub.
    hubId String
    Internal hub ID.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Whether this is the default chaos hub.
    isRemoved Boolean
    Whether the chaos hub has been removed.
    lastSyncedAt Number
    Timestamp of the last sync (Unix epoch).
    probeTemplateCount Number
    Number of probe templates in the hub.
    repoBranch String
    Git repository branch.
    repoName String
    Name of the Git repository.
    repoUrl String
    Git repository URL.
    tags List<String>
    Tags associated with the chaos hub.
    updatedAt Number
    Last update timestamp (Unix epoch).
    updatedBy String
    User who last updated the chaos hub.
    identity String
    Unique identifier of the chaos hub.
    name String
    Name of the chaos hub.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.12.0
    published on Tuesday, Apr 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.