import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages anAutomation Connection Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "resourceGroup-example", * location: "West Europe", * }); * const example = azure.core.getClientConfig({}); * const exampleAccount = new azure.automation.Account("example", { * name: "account-example", * location: exampleResourceGroup.location, * resourceGroupName: exampleResourceGroup.name, * skuName: "Basic", * }); * const exampleConnectionType = new azure.automation.ConnectionType("example", { * name: "example", * resourceGroupName: exampleResourceGroup.name, * automationAccountName: exampleAccount.name, * fields: [{ * name: "example", * type: "string", * }], * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 * * ## Import * * Automations can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/connectionType:ConnectionType example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connectionTypes/type1 * ``` */ export declare class ConnectionType extends pulumi.CustomResource { /** * Get an existing ConnectionType resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConnectionTypeState, opts?: pulumi.CustomResourceOptions): ConnectionType; /** * Returns true if the given object is an instance of ConnectionType. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConnectionType; /** * The name of the automation account in which the Connection is created. Changing this forces a new resource to be created. */ readonly automationAccountName: pulumi.Output; /** * One or more `field` blocks as defined below. Changing this forces a new Automation to be created. */ readonly fields: pulumi.Output; /** * Whether the connection type is global. Changing this forces a new Automation to be created. */ readonly isGlobal: pulumi.Output; /** * The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a ConnectionType resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConnectionTypeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionType resources. */ export interface ConnectionTypeState { /** * The name of the automation account in which the Connection is created. Changing this forces a new resource to be created. */ automationAccountName?: pulumi.Input; /** * One or more `field` blocks as defined below. Changing this forces a new Automation to be created. */ fields?: pulumi.Input[]>; /** * Whether the connection type is global. Changing this forces a new Automation to be created. */ isGlobal?: pulumi.Input; /** * The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a ConnectionType resource. */ export interface ConnectionTypeArgs { /** * The name of the automation account in which the Connection is created. Changing this forces a new resource to be created. */ automationAccountName: pulumi.Input; /** * One or more `field` blocks as defined below. Changing this forces a new Automation to be created. */ fields: pulumi.Input[]>; /** * Whether the connection type is global. Changing this forces a new Automation to be created. */ isGlobal?: pulumi.Input; /** * The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created. */ resourceGroupName: pulumi.Input; }