elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
elasticstack.getKibanaActionConnector
Explore with Pulumi AI
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
Use this data source to get information about an existing action connector.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const example = elasticstack.getKibanaActionConnector({
name: "myslackconnector",
spaceId: "default",
connectorTypeId: ".slack",
});
export const connectorId = example.then(example => example.connectorId);
import pulumi
import pulumi_elasticstack as elasticstack
example = elasticstack.get_kibana_action_connector(name="myslackconnector",
space_id="default",
connector_type_id=".slack")
pulumi.export("connectorId", example.connector_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := elasticstack.LookupKibanaActionConnector(ctx, &elasticstack.LookupKibanaActionConnectorArgs{
Name: "myslackconnector",
SpaceId: pulumi.StringRef("default"),
ConnectorTypeId: pulumi.StringRef(".slack"),
}, nil)
if err != nil {
return err
}
ctx.Export("connectorId", example.ConnectorId)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var example = Elasticstack.GetKibanaActionConnector.Invoke(new()
{
Name = "myslackconnector",
SpaceId = "default",
ConnectorTypeId = ".slack",
});
return new Dictionary<string, object?>
{
["connectorId"] = example.Apply(getKibanaActionConnectorResult => getKibanaActionConnectorResult.ConnectorId),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaActionConnectorArgs;
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 = ElasticstackFunctions.getKibanaActionConnector(GetKibanaActionConnectorArgs.builder()
.name("myslackconnector")
.spaceId("default")
.connectorTypeId(".slack")
.build());
ctx.export("connectorId", example.applyValue(getKibanaActionConnectorResult -> getKibanaActionConnectorResult.connectorId()));
}
}
variables:
example:
fn::invoke:
function: elasticstack:getKibanaActionConnector
arguments:
name: myslackconnector
spaceId: default
connectorTypeId: .slack
outputs:
connectorId: ${example.connectorId}
Using getKibanaActionConnector
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 getKibanaActionConnector(args: GetKibanaActionConnectorArgs, opts?: InvokeOptions): Promise<GetKibanaActionConnectorResult>
function getKibanaActionConnectorOutput(args: GetKibanaActionConnectorOutputArgs, opts?: InvokeOptions): Output<GetKibanaActionConnectorResult>
def get_kibana_action_connector(connector_type_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaActionConnectorResult
def get_kibana_action_connector_output(connector_type_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
space_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKibanaActionConnectorResult]
func LookupKibanaActionConnector(ctx *Context, args *LookupKibanaActionConnectorArgs, opts ...InvokeOption) (*LookupKibanaActionConnectorResult, error)
func LookupKibanaActionConnectorOutput(ctx *Context, args *LookupKibanaActionConnectorOutputArgs, opts ...InvokeOption) LookupKibanaActionConnectorResultOutput
> Note: This function is named LookupKibanaActionConnector
in the Go SDK.
public static class GetKibanaActionConnector
{
public static Task<GetKibanaActionConnectorResult> InvokeAsync(GetKibanaActionConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaActionConnectorResult> Invoke(GetKibanaActionConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKibanaActionConnectorResult> getKibanaActionConnector(GetKibanaActionConnectorArgs args, InvokeOptions options)
public static Output<GetKibanaActionConnectorResult> getKibanaActionConnector(GetKibanaActionConnectorArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getKibanaActionConnector:getKibanaActionConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index
. - Id string
- The ID of this resource.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index
. - Id string
- The ID of this resource.
- Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index
. - id String
- The ID of this resource.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type stringId - The ID of the connector type, e.g.
.index
. - id string
- The ID of this resource.
- space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- name str
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ strid - The ID of the connector type, e.g.
.index
. - id str
- The ID of this resource.
- space_
id str - An identifier for the space. If space_id is not provided, the default space is used.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index
. - id String
- The ID of this resource.
- space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
getKibanaActionConnector Result
The following output properties are available:
- Config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- Connector
Id string - A UUID v1 or v4 randomly generated ID.
- Id string
- The ID of this resource.
- Is
Deprecated bool - Indicates whether the connector type is deprecated.
- Is
Missing boolSecrets - Indicates whether secrets are missing for the connector.
- Is
Preconfigured bool - Indicates whether it is a preconfigured connector.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index
. - Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- Config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- Connector
Id string - A UUID v1 or v4 randomly generated ID.
- Id string
- The ID of this resource.
- Is
Deprecated bool - Indicates whether the connector type is deprecated.
- Is
Missing boolSecrets - Indicates whether secrets are missing for the connector.
- Is
Preconfigured bool - Indicates whether it is a preconfigured connector.
- Name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- Connector
Type stringId - The ID of the connector type, e.g.
.index
. - Space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- config String
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id String - A UUID v1 or v4 randomly generated ID.
- id String
- The ID of this resource.
- is
Deprecated Boolean - Indicates whether the connector type is deprecated.
- is
Missing BooleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured Boolean - Indicates whether it is a preconfigured connector.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index
. - space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
- config string
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id string - A UUID v1 or v4 randomly generated ID.
- id string
- The ID of this resource.
- is
Deprecated boolean - Indicates whether the connector type is deprecated.
- is
Missing booleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured boolean - Indicates whether it is a preconfigured connector.
- name string
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type stringId - The ID of the connector type, e.g.
.index
. - space
Id string - An identifier for the space. If space_id is not provided, the default space is used.
- config str
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector_
id str - A UUID v1 or v4 randomly generated ID.
- id str
- The ID of this resource.
- is_
deprecated bool - Indicates whether the connector type is deprecated.
- is_
missing_ boolsecrets - Indicates whether secrets are missing for the connector.
- is_
preconfigured bool - Indicates whether it is a preconfigured connector.
- name str
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector_
type_ strid - The ID of the connector type, e.g.
.index
. - space_
id str - An identifier for the space. If space_id is not provided, the default space is used.
- config String
- The configuration for the connector. Configuration properties vary depending on the connector type.
- connector
Id String - A UUID v1 or v4 randomly generated ID.
- id String
- The ID of this resource.
- is
Deprecated Boolean - Indicates whether the connector type is deprecated.
- is
Missing BooleanSecrets - Indicates whether secrets are missing for the connector.
- is
Preconfigured Boolean - Indicates whether it is a preconfigured connector.
- name String
- The name of the connector. While this name does not have to be unique, a distinctive name can help you identify a connector.
- connector
Type StringId - The ID of the connector type, e.g.
.index
. - space
Id String - An identifier for the space. If space_id is not provided, the default space is used.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstack
Terraform Provider.
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic