ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getMqcloudQueueManagerStatus
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const mqcloudQueueManagerStatus = ibm.getMqcloudQueueManagerStatus({
queueManagerId: _var.queue_manager_id,
serviceInstanceGuid: _var.service_instance_guid,
});
import pulumi
import pulumi_ibm as ibm
mqcloud_queue_manager_status = ibm.get_mqcloud_queue_manager_status(queue_manager_id=var["queue_manager_id"],
service_instance_guid=var["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.GetMqcloudQueueManagerStatus(ctx, &ibm.GetMqcloudQueueManagerStatusArgs{
QueueManagerId: _var.Queue_manager_id,
ServiceInstanceGuid: _var.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 mqcloudQueueManagerStatus = Ibm.GetMqcloudQueueManagerStatus.Invoke(new()
{
QueueManagerId = @var.Queue_manager_id,
ServiceInstanceGuid = @var.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.GetMqcloudQueueManagerStatusArgs;
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 mqcloudQueueManagerStatus = IbmFunctions.getMqcloudQueueManagerStatus(GetMqcloudQueueManagerStatusArgs.builder()
.queueManagerId(var_.queue_manager_id())
.serviceInstanceGuid(var_.service_instance_guid())
.build());
}
}
variables:
mqcloudQueueManagerStatus:
fn::invoke:
function: ibm:getMqcloudQueueManagerStatus
arguments:
queueManagerId: ${var.queue_manager_id}
serviceInstanceGuid: ${var.service_instance_guid}
Using getMqcloudQueueManagerStatus
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 getMqcloudQueueManagerStatus(args: GetMqcloudQueueManagerStatusArgs, opts?: InvokeOptions): Promise<GetMqcloudQueueManagerStatusResult>
function getMqcloudQueueManagerStatusOutput(args: GetMqcloudQueueManagerStatusOutputArgs, opts?: InvokeOptions): Output<GetMqcloudQueueManagerStatusResult>
def get_mqcloud_queue_manager_status(id: Optional[str] = None,
queue_manager_id: Optional[str] = None,
service_instance_guid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMqcloudQueueManagerStatusResult
def get_mqcloud_queue_manager_status_output(id: Optional[pulumi.Input[str]] = None,
queue_manager_id: Optional[pulumi.Input[str]] = None,
service_instance_guid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMqcloudQueueManagerStatusResult]
func GetMqcloudQueueManagerStatus(ctx *Context, args *GetMqcloudQueueManagerStatusArgs, opts ...InvokeOption) (*GetMqcloudQueueManagerStatusResult, error)
func GetMqcloudQueueManagerStatusOutput(ctx *Context, args *GetMqcloudQueueManagerStatusOutputArgs, opts ...InvokeOption) GetMqcloudQueueManagerStatusResultOutput
> Note: This function is named GetMqcloudQueueManagerStatus
in the Go SDK.
public static class GetMqcloudQueueManagerStatus
{
public static Task<GetMqcloudQueueManagerStatusResult> InvokeAsync(GetMqcloudQueueManagerStatusArgs args, InvokeOptions? opts = null)
public static Output<GetMqcloudQueueManagerStatusResult> Invoke(GetMqcloudQueueManagerStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMqcloudQueueManagerStatusResult> getMqcloudQueueManagerStatus(GetMqcloudQueueManagerStatusArgs args, InvokeOptions options)
public static Output<GetMqcloudQueueManagerStatusResult> getMqcloudQueueManagerStatus(GetMqcloudQueueManagerStatusArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getMqcloudQueueManagerStatus:getMqcloudQueueManagerStatus
arguments:
# arguments dictionary
The following arguments are supported:
- Queue
Manager stringId - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- Service
Instance stringGuid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the mqcloud_queue_manager_status.
- Queue
Manager stringId - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- Service
Instance stringGuid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager StringId - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- service
Instance StringGuid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager stringId - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- service
Instance stringGuid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- id string
- The unique identifier of the mqcloud_queue_manager_status.
- queue_
manager_ strid - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- service_
instance_ strguid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- id str
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager StringId - The id of the queue manager to retrieve its full details.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[0-9a-fA-F]{32}$/
.
- Constraints: The maximum length is
- service
Instance StringGuid - The GUID that uniquely identifies the MQaaS service instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the mqcloud_queue_manager_status.
getMqcloudQueueManagerStatus Result
The following output properties are available:
- Id string
- The unique identifier of the mqcloud_queue_manager_status.
- Queue
Manager stringId - Service
Instance stringGuid - Status string
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
- Id string
- The unique identifier of the mqcloud_queue_manager_status.
- Queue
Manager stringId - Service
Instance stringGuid - Status string
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
- id String
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager StringId - service
Instance StringGuid - status String
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
- id string
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager stringId - service
Instance stringGuid - status string
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
- id str
- The unique identifier of the mqcloud_queue_manager_status.
- queue_
manager_ strid - service_
instance_ strguid - status str
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
- id String
- The unique identifier of the mqcloud_queue_manager_status.
- queue
Manager StringId - service
Instance StringGuid - status String
- (String) The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.
- Constraints: Allowable values are:
initializing
,deploying
,starting
,running
,stopping
,stopped
,status_not_available
,deleting
,failed
,upgrading_version
,updating_revision
,initialization_failed
,restoring_queue_manager
,restoring_config
,restore_failed
,suspended
,resumable
.
- Constraints: Allowable values are:
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.