1. Packages
  2. Azure Native
  3. API Docs
  4. automation
  5. getConnectionType
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.automation.getConnectionType

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Retrieve the connection type identified by connection type name.

Uses Azure REST API version 2023-11-01.

Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]. See the version guide for details.

Using getConnectionType

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 getConnectionType(args: GetConnectionTypeArgs, opts?: InvokeOptions): Promise<GetConnectionTypeResult>
function getConnectionTypeOutput(args: GetConnectionTypeOutputArgs, opts?: InvokeOptions): Output<GetConnectionTypeResult>
Copy
def get_connection_type(automation_account_name: Optional[str] = None,
                        connection_type_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetConnectionTypeResult
def get_connection_type_output(automation_account_name: Optional[pulumi.Input[str]] = None,
                        connection_type_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetConnectionTypeResult]
Copy
func LookupConnectionType(ctx *Context, args *LookupConnectionTypeArgs, opts ...InvokeOption) (*LookupConnectionTypeResult, error)
func LookupConnectionTypeOutput(ctx *Context, args *LookupConnectionTypeOutputArgs, opts ...InvokeOption) LookupConnectionTypeResultOutput
Copy

> Note: This function is named LookupConnectionType in the Go SDK.

public static class GetConnectionType 
{
    public static Task<GetConnectionTypeResult> InvokeAsync(GetConnectionTypeArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectionTypeResult> Invoke(GetConnectionTypeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectionTypeResult> getConnectionType(GetConnectionTypeArgs args, InvokeOptions options)
public static Output<GetConnectionTypeResult> getConnectionType(GetConnectionTypeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:automation:getConnectionType
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ConnectionTypeName
This property is required.
Changes to this property will trigger replacement.
string
The name of connection type.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ConnectionTypeName
This property is required.
Changes to this property will trigger replacement.
string
The name of connection type.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
connectionTypeName
This property is required.
Changes to this property will trigger replacement.
String
The name of connection type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
connectionTypeName
This property is required.
Changes to this property will trigger replacement.
string
The name of connection type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
automation_account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the automation account.
connection_type_name
This property is required.
Changes to this property will trigger replacement.
str
The name of connection type.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure Resource group.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
connectionTypeName
This property is required.
Changes to this property will trigger replacement.
String
The name of connection type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.

getConnectionType Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CreationTime string
Gets the creation time.
FieldDefinitions Dictionary<string, Pulumi.AzureNative.Automation.Outputs.FieldDefinitionResponse>
Gets the field definitions of the connection type.
Id string
Gets the id of the resource.
Name string
Gets the name of the connection type.
Type string
Resource type
Description string
Gets or sets the description.
IsGlobal bool
Gets or sets a Boolean value to indicate if the connection type is global.
LastModifiedTime string
Gets or sets the last modified time.
AzureApiVersion string
The Azure API version of the resource.
CreationTime string
Gets the creation time.
FieldDefinitions map[string]FieldDefinitionResponse
Gets the field definitions of the connection type.
Id string
Gets the id of the resource.
Name string
Gets the name of the connection type.
Type string
Resource type
Description string
Gets or sets the description.
IsGlobal bool
Gets or sets a Boolean value to indicate if the connection type is global.
LastModifiedTime string
Gets or sets the last modified time.
azureApiVersion String
The Azure API version of the resource.
creationTime String
Gets the creation time.
fieldDefinitions Map<String,FieldDefinitionResponse>
Gets the field definitions of the connection type.
id String
Gets the id of the resource.
name String
Gets the name of the connection type.
type String
Resource type
description String
Gets or sets the description.
isGlobal Boolean
Gets or sets a Boolean value to indicate if the connection type is global.
lastModifiedTime String
Gets or sets the last modified time.
azureApiVersion string
The Azure API version of the resource.
creationTime string
Gets the creation time.
fieldDefinitions {[key: string]: FieldDefinitionResponse}
Gets the field definitions of the connection type.
id string
Gets the id of the resource.
name string
Gets the name of the connection type.
type string
Resource type
description string
Gets or sets the description.
isGlobal boolean
Gets or sets a Boolean value to indicate if the connection type is global.
lastModifiedTime string
Gets or sets the last modified time.
azure_api_version str
The Azure API version of the resource.
creation_time str
Gets the creation time.
field_definitions Mapping[str, FieldDefinitionResponse]
Gets the field definitions of the connection type.
id str
Gets the id of the resource.
name str
Gets the name of the connection type.
type str
Resource type
description str
Gets or sets the description.
is_global bool
Gets or sets a Boolean value to indicate if the connection type is global.
last_modified_time str
Gets or sets the last modified time.
azureApiVersion String
The Azure API version of the resource.
creationTime String
Gets the creation time.
fieldDefinitions Map<Property Map>
Gets the field definitions of the connection type.
id String
Gets the id of the resource.
name String
Gets the name of the connection type.
type String
Resource type
description String
Gets or sets the description.
isGlobal Boolean
Gets or sets a Boolean value to indicate if the connection type is global.
lastModifiedTime String
Gets or sets the last modified time.

Supporting Types

FieldDefinitionResponse

Type This property is required. string
Gets or sets the type of the connection field definition.
IsEncrypted bool
Gets or sets the isEncrypted flag of the connection field definition.
IsOptional bool
Gets or sets the isOptional flag of the connection field definition.
Type This property is required. string
Gets or sets the type of the connection field definition.
IsEncrypted bool
Gets or sets the isEncrypted flag of the connection field definition.
IsOptional bool
Gets or sets the isOptional flag of the connection field definition.
type This property is required. String
Gets or sets the type of the connection field definition.
isEncrypted Boolean
Gets or sets the isEncrypted flag of the connection field definition.
isOptional Boolean
Gets or sets the isOptional flag of the connection field definition.
type This property is required. string
Gets or sets the type of the connection field definition.
isEncrypted boolean
Gets or sets the isEncrypted flag of the connection field definition.
isOptional boolean
Gets or sets the isOptional flag of the connection field definition.
type This property is required. str
Gets or sets the type of the connection field definition.
is_encrypted bool
Gets or sets the isEncrypted flag of the connection field definition.
is_optional bool
Gets or sets the isOptional flag of the connection field definition.
type This property is required. String
Gets or sets the type of the connection field definition.
isEncrypted Boolean
Gets or sets the isEncrypted flag of the connection field definition.
isOptional Boolean
Gets or sets the isOptional flag of the connection field definition.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi