Share via


Microsoft.Automation automationAccounts/connectionTypes

Choose a deployment language

Bicep resource definition

The automationAccounts/connectionTypes resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Automation/automationAccounts/connectionTypes resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Automation/automationAccounts/connectionTypes@2024-10-23' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    fieldDefinitions: {
      {customized property}: {
        isEncrypted: bool
        isOptional: bool
        type: 'string'
      }
    }
    isGlobal: bool
  }
}

Property Values

ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions

Name Description Value

ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties

Name Description Value
fieldDefinitions Gets or sets the field definitions of the connection type. ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions (required)
isGlobal Gets or sets a Boolean value to indicate if the connection type is global. bool

FieldDefinition

Name Description Value
isEncrypted Gets or sets the isEncrypted flag of the connection field definition. bool
isOptional Gets or sets the isOptional flag of the connection field definition. bool
type Gets or sets the type of the connection field definition. string (required)

Microsoft.Automation/automationAccounts/connectionTypes

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: automationAccounts
properties Gets or sets the value of the connection type. ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties (required)

ARM template resource definition

The automationAccounts/connectionTypes resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Automation/automationAccounts/connectionTypes resource, add the following JSON to your template.

{
  "type": "Microsoft.Automation/automationAccounts/connectionTypes",
  "apiVersion": "2024-10-23",
  "name": "string",
  "properties": {
    "fieldDefinitions": {
      "{customized property}": {
        "isEncrypted": "bool",
        "isOptional": "bool",
        "type": "string"
      }
    },
    "isGlobal": "bool"
  }
}

Property Values

ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions

Name Description Value

ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties

Name Description Value
fieldDefinitions Gets or sets the field definitions of the connection type. ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions (required)
isGlobal Gets or sets a Boolean value to indicate if the connection type is global. bool

FieldDefinition

Name Description Value
isEncrypted Gets or sets the isEncrypted flag of the connection field definition. bool
isOptional Gets or sets the isOptional flag of the connection field definition. bool
type Gets or sets the type of the connection field definition. string (required)

Microsoft.Automation/automationAccounts/connectionTypes

Name Description Value
apiVersion The api version '2024-10-23'
name The resource name string (required)
properties Gets or sets the value of the connection type. ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties (required)
type The resource type 'Microsoft.Automation/automationAccounts/connectionTypes'

Usage Examples

Terraform (AzAPI provider) resource definition

The automationAccounts/connectionTypes resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Automation/automationAccounts/connectionTypes resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Automation/automationAccounts/connectionTypes@2024-10-23"
  name = "string"
  body = {
    properties = {
      fieldDefinitions = {
        {customized property} = {
          isEncrypted = bool
          isOptional = bool
          type = "string"
        }
      }
      isGlobal = bool
    }
  }
}

Property Values

ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions

Name Description Value

ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties

Name Description Value
fieldDefinitions Gets or sets the field definitions of the connection type. ConnectionTypeCreateOrUpdatePropertiesFieldDefinitions (required)
isGlobal Gets or sets a Boolean value to indicate if the connection type is global. bool

FieldDefinition

Name Description Value
isEncrypted Gets or sets the isEncrypted flag of the connection field definition. bool
isOptional Gets or sets the isOptional flag of the connection field definition. bool
type Gets or sets the type of the connection field definition. string (required)

Microsoft.Automation/automationAccounts/connectionTypes

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: automationAccounts
properties Gets or sets the value of the connection type. ConnectionTypeCreateOrUpdatePropertiesOrConnectionTypeProperties (required)
type The resource type "Microsoft.Automation/automationAccounts/connectionTypes@2024-10-23"