Viewing docs for ibm 2.1.0-beta0
published on Wednesday, Apr 29, 2026 by ibm-cloud
published on Wednesday, Apr 29, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0-beta0
published on Wednesday, Apr 29, 2026 by ibm-cloud
published on Wednesday, Apr 29, 2026 by ibm-cloud
Provides a read-only data source to retrieve information about an Extension deployment. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const logsExtensionDeploymentInstance = ibm.getLogsExtensionDeployment({
instanceId: logsInstance.guid,
region: logsInstance.location,
logsExtensionId: logsExtensionDeploymentInstanceIbmLogsExtensionDeployment.logsExtensionId,
});
import pulumi
import pulumi_ibm as ibm
logs_extension_deployment_instance = ibm.get_logs_extension_deployment(instance_id=logs_instance["guid"],
region=logs_instance["location"],
logs_extension_id=logs_extension_deployment_instance_ibm_logs_extension_deployment["logsExtensionId"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupLogsExtensionDeployment(ctx, &ibm.LookupLogsExtensionDeploymentArgs{
InstanceId: logsInstance.Guid,
Region: pulumi.StringRef(logsInstance.Location),
LogsExtensionId: logsExtensionDeploymentInstanceIbmLogsExtensionDeployment.LogsExtensionId,
}, 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 logsExtensionDeploymentInstance = Ibm.GetLogsExtensionDeployment.Invoke(new()
{
InstanceId = logsInstance.Guid,
Region = logsInstance.Location,
LogsExtensionId = logsExtensionDeploymentInstanceIbmLogsExtensionDeployment.LogsExtensionId,
});
});
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.GetLogsExtensionDeploymentArgs;
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 logsExtensionDeploymentInstance = IbmFunctions.getLogsExtensionDeployment(GetLogsExtensionDeploymentArgs.builder()
.instanceId(logsInstance.guid())
.region(logsInstance.location())
.logsExtensionId(logsExtensionDeploymentInstanceIbmLogsExtensionDeployment.logsExtensionId())
.build());
}
}
variables:
logsExtensionDeploymentInstance:
fn::invoke:
function: ibm:getLogsExtensionDeployment
arguments:
instanceId: ${logsInstance.guid}
region: ${logsInstance.location}
logsExtensionId: ${logsExtensionDeploymentInstanceIbmLogsExtensionDeployment.logsExtensionId}
Using getLogsExtensionDeployment
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 getLogsExtensionDeployment(args: GetLogsExtensionDeploymentArgs, opts?: InvokeOptions): Promise<GetLogsExtensionDeploymentResult>
function getLogsExtensionDeploymentOutput(args: GetLogsExtensionDeploymentOutputArgs, opts?: InvokeOptions): Output<GetLogsExtensionDeploymentResult>def get_logs_extension_deployment(endpoint_type: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
logs_extension_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogsExtensionDeploymentResult
def get_logs_extension_deployment_output(endpoint_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
logs_extension_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogsExtensionDeploymentResult]func LookupLogsExtensionDeployment(ctx *Context, args *LookupLogsExtensionDeploymentArgs, opts ...InvokeOption) (*LookupLogsExtensionDeploymentResult, error)
func LookupLogsExtensionDeploymentOutput(ctx *Context, args *LookupLogsExtensionDeploymentOutputArgs, opts ...InvokeOption) LookupLogsExtensionDeploymentResultOutput> Note: This function is named LookupLogsExtensionDeployment in the Go SDK.
public static class GetLogsExtensionDeployment
{
public static Task<GetLogsExtensionDeploymentResult> InvokeAsync(GetLogsExtensionDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetLogsExtensionDeploymentResult> Invoke(GetLogsExtensionDeploymentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogsExtensionDeploymentResult> getLogsExtensionDeployment(GetLogsExtensionDeploymentArgs args, InvokeOptions options)
public static Output<GetLogsExtensionDeploymentResult> getLogsExtensionDeployment(GetLogsExtensionDeploymentArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getLogsExtensionDeployment:getLogsExtensionDeployment
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
Extension stringId - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - Id string
- The unique identifier of the Extension deployment.
- Region string
- Cloud Logs Instance Region.
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
Extension stringId - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - Id string
- The unique identifier of the Extension deployment.
- Region string
- Cloud Logs Instance Region.
- instance
Id String - Cloud Logs Instance GUID.
- logs
Extension StringId - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - id String
- The unique identifier of the Extension deployment.
- region String
- Cloud Logs Instance Region.
- instance
Id string - Cloud Logs Instance GUID.
- logs
Extension stringId - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - id string
- The unique identifier of the Extension deployment.
- region string
- Cloud Logs Instance Region.
- instance_
id str - Cloud Logs Instance GUID.
- logs_
extension_ strid - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - id str
- The unique identifier of the Extension deployment.
- region str
- Cloud Logs Instance Region.
- instance
Id String - Cloud Logs Instance GUID.
- logs
Extension StringId - The unique identifier of the extension.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
publicandprivate. - id String
- The unique identifier of the Extension deployment.
- region String
- Cloud Logs Instance Region.
getLogsExtensionDeployment Result
The following output properties are available:
- Applications List<string>
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Id string
- The unique identifier of the Extension deployment.
- Instance
Id string - Item
Ids List<string> - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- Logs
Extension stringId - Region string
- Subsystems List<string>
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Version string
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- Endpoint
Type string
- Applications []string
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Id string
- The unique identifier of the Extension deployment.
- Instance
Id string - Item
Ids []string - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- Logs
Extension stringId - Region string
- Subsystems []string
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Version string
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- Endpoint
Type string
- applications List<String>
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- id String
- The unique identifier of the Extension deployment.
- instance
Id String - item
Ids List<String> - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- logs
Extension StringId - region String
- subsystems List<String>
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- version String
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type String
- applications string[]
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- id string
- The unique identifier of the Extension deployment.
- instance
Id string - item
Ids string[] - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- logs
Extension stringId - region string
- subsystems string[]
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- version string
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type string
- applications Sequence[str]
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- id str
- The unique identifier of the Extension deployment.
- instance_
id str - item_
ids Sequence[str] - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- logs_
extension_ strid - region str
- subsystems Sequence[str]
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- version str
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint_
type str
- applications List<String>
- (List) Applications that the Extension is deployed for. When this is empty, it is applied to all applications.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- id String
- The unique identifier of the Extension deployment.
- instance
Id String - item
Ids List<String> - (List) The list of Extension item IDs to deploy.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is1item.
- Constraints: The list items must match regular expression
- logs
Extension StringId - region String
- subsystems List<String>
- (List) Subsystems that the Extension is deployed. When this is empty, it is applied to all subsystems.
- Constraints: The list items must match regular expression
/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/. The maximum length is4096items. The minimum length is0items.
- Constraints: The list items must match regular expression
- version String
- (String) The version of the Extension revision to deploy.
- Constraints: The maximum length is
4096characters. The minimum length is1character. The value must match regular expression/^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$/.
- Constraints: The maximum length is
- endpoint
Type String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.1.0-beta0
published on Wednesday, Apr 29, 2026 by ibm-cloud
published on Wednesday, Apr 29, 2026 by ibm-cloud
