dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9
dome9.getIntegration
Explore with Pulumi AI
—
layout: “dome9” page_title: “Check Point CloudGuard: dome9.Notification” sidebar_current: “docs-data-source-dome9-notification” description: |- Fetches details of a specific CloudGuard integration.
Data Source: dome9_integration
This data source is used to fetch details of a specific CloudGuard integration. You can retrieve various details about the integration such as its name, type, and configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dome9 from "@pulumi/dome9";
const example = dome9.getIntegration({
id: "your-integration-id",
});
export const integrationName = example.then(example => example.name);
export const integrationType = example.then(example => example.type);
export const integrationConfiguration = example.then(example => example.configuration);
import pulumi
import pulumi_dome9 as dome9
example = dome9.get_integration(id="your-integration-id")
pulumi.export("integrationName", example.name)
pulumi.export("integrationType", example.type)
pulumi.export("integrationConfiguration", example.configuration)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/dome9/dome9"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := dome9.LookupIntegration(ctx, &dome9.LookupIntegrationArgs{
Id: "your-integration-id",
}, nil)
if err != nil {
return err
}
ctx.Export("integrationName", example.Name)
ctx.Export("integrationType", example.Type)
ctx.Export("integrationConfiguration", example.Configuration)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dome9 = Pulumi.Dome9;
return await Deployment.RunAsync(() =>
{
var example = Dome9.GetIntegration.Invoke(new()
{
Id = "your-integration-id",
});
return new Dictionary<string, object?>
{
["integrationName"] = example.Apply(getIntegrationResult => getIntegrationResult.Name),
["integrationType"] = example.Apply(getIntegrationResult => getIntegrationResult.Type),
["integrationConfiguration"] = example.Apply(getIntegrationResult => getIntegrationResult.Configuration),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dome9.Dome9Functions;
import com.pulumi.dome9.inputs.GetIntegrationArgs;
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 example = Dome9Functions.getIntegration(GetIntegrationArgs.builder()
.id("your-integration-id")
.build());
ctx.export("integrationName", example.applyValue(getIntegrationResult -> getIntegrationResult.name()));
ctx.export("integrationType", example.applyValue(getIntegrationResult -> getIntegrationResult.type()));
ctx.export("integrationConfiguration", example.applyValue(getIntegrationResult -> getIntegrationResult.configuration()));
}
}
variables:
example:
fn::invoke:
function: dome9:getIntegration
arguments:
id: your-integration-id
outputs:
integrationName: ${example.name}
integrationType: ${example.type}
integrationConfiguration: ${example.configuration}
Using getIntegration
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 getIntegration(args: GetIntegrationArgs, opts?: InvokeOptions): Promise<GetIntegrationResult>
function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: InvokeOptions): Output<GetIntegrationResult>
def get_integration(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIntegrationResult
def get_integration_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationResult]
func LookupIntegration(ctx *Context, args *LookupIntegrationArgs, opts ...InvokeOption) (*LookupIntegrationResult, error)
func LookupIntegrationOutput(ctx *Context, args *LookupIntegrationOutputArgs, opts ...InvokeOption) LookupIntegrationResultOutput
> Note: This function is named LookupIntegration
in the Go SDK.
public static class GetIntegration
{
public static Task<GetIntegrationResult> InvokeAsync(GetIntegrationArgs args, InvokeOptions? opts = null)
public static Output<GetIntegrationResult> Invoke(GetIntegrationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIntegrationResult> getIntegration(GetIntegrationArgs args, InvokeOptions options)
public static Output<GetIntegrationResult> getIntegration(GetIntegrationArgs args, InvokeOptions options)
fn::invoke:
function: dome9:index/getIntegration:getIntegration
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the CloudGuard integration to retrieve information for.
- Id string
- The ID of the CloudGuard integration to retrieve information for.
- id String
- The ID of the CloudGuard integration to retrieve information for.
- id string
- The ID of the CloudGuard integration to retrieve information for.
- id str
- The ID of the CloudGuard integration to retrieve information for.
- id String
- The ID of the CloudGuard integration to retrieve information for.
getIntegration Result
The following output properties are available:
- Configuration string
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- Id string
- Name string
- The name of the CloudGuard integration.
- Type string
- The type of the CloudGuard integration.
- Configuration string
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- Id string
- Name string
- The name of the CloudGuard integration.
- Type string
- The type of the CloudGuard integration.
- configuration String
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- id String
- name String
- The name of the CloudGuard integration.
- type String
- The type of the CloudGuard integration.
- configuration string
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- id string
- name string
- The name of the CloudGuard integration.
- type string
- The type of the CloudGuard integration.
- configuration str
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- id str
- name str
- The name of the CloudGuard integration.
- type str
- The type of the CloudGuard integration.
- configuration String
- The configuration of the integration in JSON format. The configuration should contain all required details for the integration configuration.
- Configuration details for each integration type can be found in the CloudGuard API documentation.
- id String
- name String
- The name of the CloudGuard integration.
- type String
- The type of the CloudGuard integration.
Package Details
- Repository
- dome9 dome9/terraform-provider-dome9
- License
- Notes
- This Pulumi package is based on the
dome9
Terraform Provider.