1. Packages
  2. Ibm Provider
  3. API Docs
  4. getMqcloudQueueManager
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getMqcloudQueueManager

Explore with Pulumi AI

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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func LookupMqcloudQueueManager(ctx *Context, args *LookupMqcloudQueueManagerArgs, opts ...InvokeOption) (*LookupMqcloudQueueManagerResult, error)
func LookupMqcloudQueueManagerOutput(ctx *Context, args *LookupMqcloudQueueManagerOutputArgs, opts ...InvokeOption) LookupMqcloudQueueManagerResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetMqcloudQueueManagerResult> getMqcloudQueueManager(GetMqcloudQueueManagerArgs args, InvokeOptions options)
public static Output<GetMqcloudQueueManagerResult> getMqcloudQueueManager(GetMqcloudQueueManagerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getMqcloudQueueManager:getMqcloudQueueManager
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ServiceInstanceGuid This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The url through which to access the Admin REST APIs for this queue manager.
AvailableUpgradeVersionsUri This property is required. string
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
ConnectionInfoUri This property is required. string
(String) The uri through which the CDDT for this queue manager can be obtained.
DateCreated This property is required. string
(String) RFC3339 formatted UTC date for when the queue manager was created.
DisplayName This property is required. string
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
Href This property is required. string
(String) The URL for this queue manager.
Id This property is required. string
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
Location This property is required. 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 This property is required. 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 This property is required. string
(String) The url through which to access REST APIs for this queue manager.
Size This property is required. string
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
StatusUri This property is required. string
(String) A reference uri to get deployment status of the queue manager.
UpgradeAvailable This property is required. bool
(Boolean) Describes whether an upgrade is available for this queue manager.
Version This property is required. 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 This property is required. string
(String) The url through which to access the web console for this queue manager.
AdministratorApiEndpointUrl This property is required. string
(String) The url through which to access the Admin REST APIs for this queue manager.
AvailableUpgradeVersionsUri This property is required. string
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
ConnectionInfoUri This property is required. string
(String) The uri through which the CDDT for this queue manager can be obtained.
DateCreated This property is required. string
(String) RFC3339 formatted UTC date for when the queue manager was created.
DisplayName This property is required. string
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
Href This property is required. string
(String) The URL for this queue manager.
Id This property is required. string
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
Location This property is required. 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 This property is required. 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 This property is required. string
(String) The url through which to access REST APIs for this queue manager.
Size This property is required. string
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
StatusUri This property is required. string
(String) A reference uri to get deployment status of the queue manager.
UpgradeAvailable This property is required. bool
(Boolean) Describes whether an upgrade is available for this queue manager.
Version This property is required. 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 This property is required. string
(String) The url through which to access the web console for this queue manager.
administratorApiEndpointUrl This property is required. String
(String) The url through which to access the Admin REST APIs for this queue manager.
availableUpgradeVersionsUri This property is required. String
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
connectionInfoUri This property is required. String
(String) The uri through which the CDDT for this queue manager can be obtained.
dateCreated This property is required. String
(String) RFC3339 formatted UTC date for when the queue manager was created.
displayName This property is required. String
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
href This property is required. String
(String) The URL for this queue manager.
id This property is required. String
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
location This property is required. 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 This property is required. 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 This property is required. String
(String) The url through which to access REST APIs for this queue manager.
size This property is required. String
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
statusUri This property is required. String
(String) A reference uri to get deployment status of the queue manager.
upgradeAvailable This property is required. Boolean
(Boolean) Describes whether an upgrade is available for this queue manager.
version This property is required. 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 This property is required. String
(String) The url through which to access the web console for this queue manager.
administratorApiEndpointUrl This property is required. string
(String) The url through which to access the Admin REST APIs for this queue manager.
availableUpgradeVersionsUri This property is required. string
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
connectionInfoUri This property is required. string
(String) The uri through which the CDDT for this queue manager can be obtained.
dateCreated This property is required. string
(String) RFC3339 formatted UTC date for when the queue manager was created.
displayName This property is required. string
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
href This property is required. string
(String) The URL for this queue manager.
id This property is required. string
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
location This property is required. 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 This property is required. 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 This property is required. string
(String) The url through which to access REST APIs for this queue manager.
size This property is required. string
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
statusUri This property is required. string
(String) A reference uri to get deployment status of the queue manager.
upgradeAvailable This property is required. boolean
(Boolean) Describes whether an upgrade is available for this queue manager.
version This property is required. 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 This property is required. string
(String) The url through which to access the web console for this queue manager.
administrator_api_endpoint_url This property is required. str
(String) The url through which to access the Admin REST APIs for this queue manager.
available_upgrade_versions_uri This property is required. str
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
connection_info_uri This property is required. str
(String) The uri through which the CDDT for this queue manager can be obtained.
date_created This property is required. str
(String) RFC3339 formatted UTC date for when the queue manager was created.
display_name This property is required. str
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
href This property is required. str
(String) The URL for this queue manager.
id This property is required. str
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
location This property is required. 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 This property is required. 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 This property is required. str
(String) The url through which to access REST APIs for this queue manager.
size This property is required. str
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
status_uri This property is required. str
(String) A reference uri to get deployment status of the queue manager.
upgrade_available This property is required. bool
(Boolean) Describes whether an upgrade is available for this queue manager.
version This property is required. 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 This property is required. str
(String) The url through which to access the web console for this queue manager.
administratorApiEndpointUrl This property is required. String
(String) The url through which to access the Admin REST APIs for this queue manager.
availableUpgradeVersionsUri This property is required. String
(String) The uri through which the available versions to upgrade to can be found for this queue manager.
connectionInfoUri This property is required. String
(String) The uri through which the CDDT for this queue manager can be obtained.
dateCreated This property is required. String
(String) RFC3339 formatted UTC date for when the queue manager was created.
displayName This property is required. String
(String) A displayable name for the queue manager - limited only in length.

  • Constraints: The maximum length is 150 characters.
href This property is required. String
(String) The URL for this queue manager.
id This property is required. String
(String) The ID of the queue manager which was allocated on creation, and can be used for delete calls.
location This property is required. 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 This property is required. 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 This property is required. String
(String) The url through which to access REST APIs for this queue manager.
size This property is required. String
(String) The queue manager sizes of deployment available.

  • Constraints: Allowable values are: xsmall, small, medium, large.
statusUri This property is required. String
(String) A reference uri to get deployment status of the queue manager.
upgradeAvailable This property is required. Boolean
(Boolean) Describes whether an upgrade is available for this queue manager.
version This property is required. 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 This property is required. 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.