azure-native-v2.automation.ConnectionType
Explore with Pulumi AI
Definition of the connection type. Azure REST API version: 2022-08-08. Prior API version in Azure Native 1.x: 2019-06-01.
Other available API versions: 2023-05-15-preview, 2023-11-01, 2024-10-23.
Create ConnectionType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionType(name: string, args: ConnectionTypeArgs, opts?: CustomResourceOptions);
@overload
def ConnectionType(resource_name: str,
args: ConnectionTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionType(resource_name: str,
opts: Optional[ResourceOptions] = None,
automation_account_name: Optional[str] = None,
field_definitions: Optional[Mapping[str, FieldDefinitionArgs]] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
connection_type_name: Optional[str] = None,
is_global: Optional[bool] = None)
func NewConnectionType(ctx *Context, name string, args ConnectionTypeArgs, opts ...ResourceOption) (*ConnectionType, error)
public ConnectionType(string name, ConnectionTypeArgs args, CustomResourceOptions? opts = null)
public ConnectionType(String name, ConnectionTypeArgs args)
public ConnectionType(String name, ConnectionTypeArgs args, CustomResourceOptions options)
type: azure-native:automation:ConnectionType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectionTypeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ConnectionTypeArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectionTypeArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectionTypeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ConnectionTypeArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectionTypeResource = new AzureNative.Automation.ConnectionType("connectionTypeResource", new()
{
AutomationAccountName = "string",
FieldDefinitions =
{
{ "string",
{
{ "type", "string" },
{ "isEncrypted", false },
{ "isOptional", false },
} },
},
Name = "string",
ResourceGroupName = "string",
ConnectionTypeName = "string",
IsGlobal = false,
});
example, err := automation.NewConnectionType(ctx, "connectionTypeResource", &automation.ConnectionTypeArgs{
AutomationAccountName: "string",
FieldDefinitions: map[string]interface{}{
"string": map[string]interface{}{
"type": "string",
"isEncrypted": false,
"isOptional": false,
},
},
Name: "string",
ResourceGroupName: "string",
ConnectionTypeName: "string",
IsGlobal: false,
})
var connectionTypeResource = new ConnectionType("connectionTypeResource", ConnectionTypeArgs.builder()
.automationAccountName("string")
.fieldDefinitions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.name("string")
.resourceGroupName("string")
.connectionTypeName("string")
.isGlobal(false)
.build());
connection_type_resource = azure_native.automation.ConnectionType("connectionTypeResource",
automation_account_name=string,
field_definitions={
string: {
type: string,
isEncrypted: False,
isOptional: False,
},
},
name=string,
resource_group_name=string,
connection_type_name=string,
is_global=False)
const connectionTypeResource = new azure_native.automation.ConnectionType("connectionTypeResource", {
automationAccountName: "string",
fieldDefinitions: {
string: {
type: "string",
isEncrypted: false,
isOptional: false,
},
},
name: "string",
resourceGroupName: "string",
connectionTypeName: "string",
isGlobal: false,
});
type: azure-native:automation:ConnectionType
properties:
automationAccountName: string
connectionTypeName: string
fieldDefinitions:
string:
isEncrypted: false
isOptional: false
type: string
isGlobal: false
name: string
resourceGroupName: string
ConnectionType Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConnectionType resource accepts the following input properties:
- Automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- Field
Definitions This property is required. Dictionary<string, Pulumi.Azure Native. Automation. Inputs. Field Definition Args> - Gets or sets the field definitions of the connection type.
- Name
This property is required. string - Gets or sets the name of the connection type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- Connection
Type Name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- Is
Global bool - Gets or sets a Boolean value to indicate if the connection type is global.
- Automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- Field
Definitions This property is required. map[string]FieldDefinition Args - Gets or sets the field definitions of the connection type.
- Name
This property is required. string - Gets or sets the name of the connection type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- Connection
Type Name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- Is
Global bool - Gets or sets a Boolean value to indicate if the connection type is global.
- automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- field
Definitions This property is required. Map<String,FieldDefinition Args> - Gets or sets the field definitions of the connection type.
- name
This property is required. String - Gets or sets the name of the connection type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- connection
Type Name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- is
Global Boolean - Gets or sets a Boolean value to indicate if the connection type is global.
- automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- field
Definitions This property is required. {[key: string]: FieldDefinition Args} - Gets or sets the field definitions of the connection type.
- name
This property is required. string - Gets or sets the name of the connection type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- connection
Type Name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- is
Global boolean - Gets or sets a Boolean value to indicate if the connection type is global.
- automation_
account_ name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- field_
definitions This property is required. Mapping[str, FieldDefinition Args] - Gets or sets the field definitions of the connection type.
- name
This property is required. str - Gets or sets the name of the connection type.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- connection_
type_ name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- is_
global bool - Gets or sets a Boolean value to indicate if the connection type is global.
- automation
Account Name This property is required. Changes to this property will trigger replacement.
- The name of the automation account.
- field
Definitions This property is required. Map<Property Map> - Gets or sets the field definitions of the connection type.
- name
This property is required. String - Gets or sets the name of the connection type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure Resource group.
- connection
Type Name Changes to this property will trigger replacement.
- The parameters supplied to the create or update connection type operation.
- is
Global Boolean - Gets or sets a Boolean value to indicate if the connection type is global.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionType resource produces the following output properties:
- Creation
Time string - Gets the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- Resource type
- Description string
- Gets or sets the description.
- Last
Modified stringTime - Gets or sets the last modified time.
- Creation
Time string - Gets the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- Resource type
- Description string
- Gets or sets the description.
- Last
Modified stringTime - Gets or sets the last modified time.
- creation
Time String - Gets the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- Resource type
- description String
- Gets or sets the description.
- last
Modified StringTime - Gets or sets the last modified time.
- creation
Time string - Gets the creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- Resource type
- description string
- Gets or sets the description.
- last
Modified stringTime - Gets or sets the last modified time.
- creation_
time str - Gets the creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- type str
- Resource type
- description str
- Gets or sets the description.
- last_
modified_ strtime - Gets or sets the last modified time.
- creation
Time String - Gets the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- Resource type
- description String
- Gets or sets the description.
- last
Modified StringTime - Gets or sets the last modified time.
Supporting Types
FieldDefinition, FieldDefinitionArgs
- Type
This property is required. string - 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.
- 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.
- is
Encrypted Boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional 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.
- is
Encrypted boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional 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.
- is
Encrypted Boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional Boolean - Gets or sets the isOptional flag of the connection field definition.
FieldDefinitionResponse, FieldDefinitionResponseArgs
- Type
This property is required. string - 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.
- 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.
- is
Encrypted Boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional 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.
- is
Encrypted boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional 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.
- is
Encrypted Boolean - Gets or sets the isEncrypted flag of the connection field definition.
- is
Optional Boolean - Gets or sets the isOptional flag of the connection field definition.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:automation:ConnectionType myCT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0