Data source for looking up a Connector by name or by ID. Use either name or id, but not both.
Using getConnector
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 getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOptions): Output<GetConnectorResult>def get_connector(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectorResult
def get_connector_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectorResult]func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput> Note: This function is named LookupConnector in the Go SDK.
public static class GetConnector
{
public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
fn::invoke:
function: formal:index/getConnector:getConnector
arguments:
# arguments dictionaryThe following arguments are supported:
getConnector Result
The following output properties are available:
- Api
Key string - Api key for the deployed Connector.
- Space
Id string - The ID of the Space the Connector is in.
- Termination
Protection bool - If set to true, this Connector cannot be deleted.
- Id string
- The ID of the Connector to look up.
- Name string
- The name of the Connector to look up. Use this to fetch a connector by name.
- Api
Key string - Api key for the deployed Connector.
- Space
Id string - The ID of the Space the Connector is in.
- Termination
Protection bool - If set to true, this Connector cannot be deleted.
- Id string
- The ID of the Connector to look up.
- Name string
- The name of the Connector to look up. Use this to fetch a connector by name.
- api
Key String - Api key for the deployed Connector.
- space
Id String - The ID of the Space the Connector is in.
- termination
Protection Boolean - If set to true, this Connector cannot be deleted.
- id String
- The ID of the Connector to look up.
- name String
- The name of the Connector to look up. Use this to fetch a connector by name.
- api
Key string - Api key for the deployed Connector.
- space
Id string - The ID of the Space the Connector is in.
- termination
Protection boolean - If set to true, this Connector cannot be deleted.
- id string
- The ID of the Connector to look up.
- name string
- The name of the Connector to look up. Use this to fetch a connector by name.
- api_
key str - Api key for the deployed Connector.
- space_
id str - The ID of the Space the Connector is in.
- termination_
protection bool - If set to true, this Connector cannot be deleted.
- id str
- The ID of the Connector to look up.
- name str
- The name of the Connector to look up. Use this to fetch a connector by name.
- api
Key String - Api key for the deployed Connector.
- space
Id String - The ID of the Space the Connector is in.
- termination
Protection Boolean - If set to true, this Connector cannot be deleted.
- id String
- The ID of the Connector to look up.
- name String
- The name of the Connector to look up. Use this to fetch a connector by name.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formalTerraform Provider.
