ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getMqcloudApplication
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const mqcloudApplication = ibm.getMqcloudApplication({
name: ibm_mqcloud_application.mqcloud_application_instance.name,
serviceInstanceGuid: ibm_mqcloud_application.mqcloud_application_instance.service_instance_guid,
});
import pulumi
import pulumi_ibm as ibm
mqcloud_application = ibm.get_mqcloud_application(name=ibm_mqcloud_application["mqcloud_application_instance"]["name"],
service_instance_guid=ibm_mqcloud_application["mqcloud_application_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.LookupMqcloudApplication(ctx, &ibm.LookupMqcloudApplicationArgs{
Name: pulumi.StringRef(ibm_mqcloud_application.Mqcloud_application_instance.Name),
ServiceInstanceGuid: ibm_mqcloud_application.Mqcloud_application_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 mqcloudApplication = Ibm.GetMqcloudApplication.Invoke(new()
{
Name = ibm_mqcloud_application.Mqcloud_application_instance.Name,
ServiceInstanceGuid = ibm_mqcloud_application.Mqcloud_application_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.GetMqcloudApplicationArgs;
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 mqcloudApplication = IbmFunctions.getMqcloudApplication(GetMqcloudApplicationArgs.builder()
.name(ibm_mqcloud_application.mqcloud_application_instance().name())
.serviceInstanceGuid(ibm_mqcloud_application.mqcloud_application_instance().service_instance_guid())
.build());
}
}
variables:
mqcloudApplication:
fn::invoke:
function: ibm:getMqcloudApplication
arguments:
name: ${ibm_mqcloud_application.mqcloud_application_instance.name}
serviceInstanceGuid: ${ibm_mqcloud_application.mqcloud_application_instance.service_instance_guid}
Using getMqcloudApplication
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 getMqcloudApplication(args: GetMqcloudApplicationArgs, opts?: InvokeOptions): Promise<GetMqcloudApplicationResult>
function getMqcloudApplicationOutput(args: GetMqcloudApplicationOutputArgs, opts?: InvokeOptions): Output<GetMqcloudApplicationResult>
def get_mqcloud_application(id: Optional[str] = None,
name: Optional[str] = None,
service_instance_guid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMqcloudApplicationResult
def get_mqcloud_application_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[GetMqcloudApplicationResult]
func LookupMqcloudApplication(ctx *Context, args *LookupMqcloudApplicationArgs, opts ...InvokeOption) (*LookupMqcloudApplicationResult, error)
func LookupMqcloudApplicationOutput(ctx *Context, args *LookupMqcloudApplicationOutputArgs, opts ...InvokeOption) LookupMqcloudApplicationResultOutput
> Note: This function is named LookupMqcloudApplication
in the Go SDK.
public static class GetMqcloudApplication
{
public static Task<GetMqcloudApplicationResult> InvokeAsync(GetMqcloudApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetMqcloudApplicationResult> Invoke(GetMqcloudApplicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMqcloudApplicationResult> getMqcloudApplication(GetMqcloudApplicationArgs args, InvokeOptions options)
public static Output<GetMqcloudApplicationResult> getMqcloudApplication(GetMqcloudApplicationArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getMqcloudApplication:getMqcloudApplication
arguments:
# arguments dictionary
The following arguments are supported:
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name String
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name str
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- 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
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name String
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
getMqcloudApplication Result
The following output properties are available:
- Applications
List<Get
Mqcloud Application Application> - (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- Id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Service
Instance stringGuid - Name string
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Applications
[]Get
Mqcloud Application Application - (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- Id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Service
Instance stringGuid - Name string
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- applications
List<Get
Mqcloud Application Application> - (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- id String
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- service
Instance StringGuid - name String
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- applications
Get
Mqcloud Application Application[] - (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- service
Instance stringGuid - name string
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- applications
Sequence[Get
Mqcloud Application Application] - (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- id str
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- service_
instance_ strguid - name str
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- applications List<Property Map>
- (List) List of applications.
- Constraints: The maximum length is
50
items. The minimum length is0
items. Nested schema for applications:
- Constraints: The maximum length is
- id String
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- service
Instance StringGuid - name String
- (String) The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
Supporting Types
GetMqcloudApplicationApplication
- Create
Api stringKey Uri - (String) The URI to create a new apikey for the application.
- Href string
- (String) The URL for this application.
- Id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Create
Api stringKey Uri - (String) The URI to create a new apikey for the application.
- Href string
- (String) The URL for this application.
- Id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- Name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- create
Api StringKey Uri - (String) The URI to create a new apikey for the application.
- href String
- (String) The URL for this application.
- id String
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name String
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- create
Api stringKey Uri - (String) The URI to create a new apikey for the application.
- href string
- (String) The URL for this application.
- id string
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name string
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- create_
api_ strkey_ uri - (String) The URI to create a new apikey for the application.
- href str
- (String) The URL for this application.
- id str
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name str
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
- create
Api StringKey Uri - (String) The URI to create a new apikey for the application.
- href String
- (String) The URL for this application.
- id String
- (String) The ID of the application which was allocated on creation, and can be used for delete calls.
- name String
- The name of the application - conforming to MQ rules.
- Constraints: The maximum length is
12
characters. The minimum length is1
character.
- Constraints: The maximum length is
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.