1. Packages
  2. Ibm Provider
  3. API Docs
  4. getMqcloudQueueManager
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getMqcloudQueueManager

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const mqcloudQueueManager = ibm.getMqcloudQueueManager({
        name: ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance.name,
        serviceInstanceGuid: ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance.service_instance_guid,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    mqcloud_queue_manager = ibm.get_mqcloud_queue_manager(name=ibm_mqcloud_queue_manager["mqcloud_queue_manager_instance"]["name"],
        service_instance_guid=ibm_mqcloud_queue_manager["mqcloud_queue_manager_instance"]["service_instance_guid"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupMqcloudQueueManager(ctx, &ibm.LookupMqcloudQueueManagerArgs{
    			Name:                pulumi.StringRef(ibm_mqcloud_queue_manager.Mqcloud_queue_manager_instance.Name),
    			ServiceInstanceGuid: ibm_mqcloud_queue_manager.Mqcloud_queue_manager_instance.Service_instance_guid,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var mqcloudQueueManager = Ibm.GetMqcloudQueueManager.Invoke(new()
        {
            Name = ibm_mqcloud_queue_manager.Mqcloud_queue_manager_instance.Name,
            ServiceInstanceGuid = ibm_mqcloud_queue_manager.Mqcloud_queue_manager_instance.Service_instance_guid,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetMqcloudQueueManagerArgs;
    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 mqcloudQueueManager = IbmFunctions.getMqcloudQueueManager(GetMqcloudQueueManagerArgs.builder()
                .name(ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance().name())
                .serviceInstanceGuid(ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance().service_instance_guid())
                .build());
    
        }
    }
    
    variables:
      mqcloudQueueManager:
        fn::invoke:
          function: ibm:getMqcloudQueueManager
          arguments:
            name: ${ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance.name}
            serviceInstanceGuid: ${ibm_mqcloud_queue_manager.mqcloud_queue_manager_instance.service_instance_guid}
    

    Using getMqcloudQueueManager

    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 getMqcloudQueueManager(args: GetMqcloudQueueManagerArgs, opts?: InvokeOptions): Promise<GetMqcloudQueueManagerResult>
    function getMqcloudQueueManagerOutput(args: GetMqcloudQueueManagerOutputArgs, opts?: InvokeOptions): Output<GetMqcloudQueueManagerResult>
    def get_mqcloud_queue_manager(id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  service_instance_guid: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetMqcloudQueueManagerResult
    def get_mqcloud_queue_manager_output(id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  service_instance_guid: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetMqcloudQueueManagerResult]
    func LookupMqcloudQueueManager(ctx *Context, args *LookupMqcloudQueueManagerArgs, opts ...InvokeOption) (*LookupMqcloudQueueManagerResult, error)
    func LookupMqcloudQueueManagerOutput(ctx *Context, args *LookupMqcloudQueueManagerOutputArgs, opts ...InvokeOption) LookupMqcloudQueueManagerResultOutput

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

    public static class GetMqcloudQueueManager 
    {
        public static Task<GetMqcloudQueueManagerResult> InvokeAsync(GetMqcloudQueueManagerArgs args, InvokeOptions? opts = null)
        public static Output<GetMqcloudQueueManagerResult> Invoke(GetMqcloudQueueManagerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMqcloudQueueManagerResult> getMqcloudQueueManager(GetMqcloudQueueManagerArgs args, InvokeOptions options)
    public static Output<GetMqcloudQueueManagerResult> getMqcloudQueueManager(GetMqcloudQueueManagerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getMqcloudQueueManager:getMqcloudQueueManager
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceInstanceGuid string
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    Name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    ServiceInstanceGuid string
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    Name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    serviceInstanceGuid String
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    name String
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    serviceInstanceGuid string
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    service_instance_guid str
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id str
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    name str
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    serviceInstanceGuid String
    The GUID that uniquely identifies the MQaaS service instance.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    name String
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.

    getMqcloudQueueManager Result

    The following output properties are available:

    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    QueueManagers List<GetMqcloudQueueManagerQueueManager>
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    ServiceInstanceGuid string
    Name string
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    QueueManagers []GetMqcloudQueueManagerQueueManager
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    ServiceInstanceGuid string
    Name string
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    queueManagers List<GetMqcloudQueueManagerQueueManager>
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    serviceInstanceGuid String
    name String
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    queueManagers GetMqcloudQueueManagerQueueManager[]
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    serviceInstanceGuid string
    name string
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    id str
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    queue_managers Sequence[GetMqcloudQueueManagerQueueManager]
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    service_instance_guid str
    name str
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    queueManagers List<Property Map>
    (List) List of queue managers.

    • Constraints: The maximum length is 50 items. The minimum length is 0 items. Nested schema for queue_managers:
    serviceInstanceGuid String
    name String
    (String) A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.

    Supporting Types

    GetMqcloudQueueManagerQueueManager

    AdministratorApiEndpointUrl string
    (String) The url through which to access the Admin REST APIs for this queue manager.
    AvailableUpgradeVersionsUri string
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    ConnectionInfoUri string
    (String) The uri through which the CDDT for this queue manager can be obtained.
    DateCreated string
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    DisplayName string
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    Href string
    (String) The URL for this queue manager.
    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    Location string
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    Name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    RestApiEndpointUrl string
    (String) The url through which to access REST APIs for this queue manager.
    Size string
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    StatusUri string
    (String) A reference uri to get deployment status of the queue manager.
    UpgradeAvailable bool
    (Boolean) Describes whether an upgrade is available for this queue manager.
    Version string
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    WebConsoleUrl string
    (String) The url through which to access the web console for this queue manager.
    AdministratorApiEndpointUrl string
    (String) The url through which to access the Admin REST APIs for this queue manager.
    AvailableUpgradeVersionsUri string
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    ConnectionInfoUri string
    (String) The uri through which the CDDT for this queue manager can be obtained.
    DateCreated string
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    DisplayName string
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    Href string
    (String) The URL for this queue manager.
    Id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    Location string
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    Name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    RestApiEndpointUrl string
    (String) The url through which to access REST APIs for this queue manager.
    Size string
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    StatusUri string
    (String) A reference uri to get deployment status of the queue manager.
    UpgradeAvailable bool
    (Boolean) Describes whether an upgrade is available for this queue manager.
    Version string
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    WebConsoleUrl string
    (String) The url through which to access the web console for this queue manager.
    administratorApiEndpointUrl String
    (String) The url through which to access the Admin REST APIs for this queue manager.
    availableUpgradeVersionsUri String
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    connectionInfoUri String
    (String) The uri through which the CDDT for this queue manager can be obtained.
    dateCreated String
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    displayName String
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    href String
    (String) The URL for this queue manager.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    location String
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    name String
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    restApiEndpointUrl String
    (String) The url through which to access REST APIs for this queue manager.
    size String
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    statusUri String
    (String) A reference uri to get deployment status of the queue manager.
    upgradeAvailable Boolean
    (Boolean) Describes whether an upgrade is available for this queue manager.
    version String
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    webConsoleUrl String
    (String) The url through which to access the web console for this queue manager.
    administratorApiEndpointUrl string
    (String) The url through which to access the Admin REST APIs for this queue manager.
    availableUpgradeVersionsUri string
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    connectionInfoUri string
    (String) The uri through which the CDDT for this queue manager can be obtained.
    dateCreated string
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    displayName string
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    href string
    (String) The URL for this queue manager.
    id string
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    location string
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    name string
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    restApiEndpointUrl string
    (String) The url through which to access REST APIs for this queue manager.
    size string
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    statusUri string
    (String) A reference uri to get deployment status of the queue manager.
    upgradeAvailable boolean
    (Boolean) Describes whether an upgrade is available for this queue manager.
    version string
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    webConsoleUrl string
    (String) The url through which to access the web console for this queue manager.
    administrator_api_endpoint_url str
    (String) The url through which to access the Admin REST APIs for this queue manager.
    available_upgrade_versions_uri str
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    connection_info_uri str
    (String) The uri through which the CDDT for this queue manager can be obtained.
    date_created str
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    display_name str
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    href str
    (String) The URL for this queue manager.
    id str
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    location str
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    name str
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    rest_api_endpoint_url str
    (String) The url through which to access REST APIs for this queue manager.
    size str
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    status_uri str
    (String) A reference uri to get deployment status of the queue manager.
    upgrade_available bool
    (Boolean) Describes whether an upgrade is available for this queue manager.
    version str
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    web_console_url str
    (String) The url through which to access the web console for this queue manager.
    administratorApiEndpointUrl String
    (String) The url through which to access the Admin REST APIs for this queue manager.
    availableUpgradeVersionsUri String
    (String) The uri through which the available versions to upgrade to can be found for this queue manager.
    connectionInfoUri String
    (String) The uri through which the CDDT for this queue manager can be obtained.
    dateCreated String
    (String) RFC3339 formatted UTC date for when the queue manager was created.
    displayName String
    (String) A displayable name for the queue manager - limited only in length.

    • Constraints: The maximum length is 150 characters.
    href String
    (String) The URL for this queue manager.
    id String
    (String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
    location String
    (String) The locations in which the queue manager could be deployed.

    • Constraints: The maximum length is 150 characters. The minimum length is 2 characters. The value must match regular expression /^([^[:ascii:]]|[a-zA-Z0-9-._: ])+$/.
    name String
    A queue manager name conforming to MQ restrictions.

    • Constraints: The maximum length is 48 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9._]*$/.
    restApiEndpointUrl String
    (String) The url through which to access REST APIs for this queue manager.
    size String
    (String) The queue manager sizes of deployment available.

    • Constraints: Allowable values are: xsmall, small, medium, large.
    statusUri String
    (String) A reference uri to get deployment status of the queue manager.
    upgradeAvailable Boolean
    (Boolean) Describes whether an upgrade is available for this queue manager.
    version String
    (String) The MQ version of the queue manager.

    • Constraints: The maximum length is 15 characters. The minimum length is 7 characters. The value must match regular expression /^[0-9]+.[0-9]+.[0-9]+_[0-9]+$/.
    webConsoleUrl String
    (String) The url through which to access the web console for this queue manager.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud