We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages an Automation Connection with type AzureClassicCertificate.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleClientConfig = azure.core.getClientConfig({});
const exampleAccount = new azure.automation.Account("exampleAccount", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: [{
name: "Basic",
}],
});
const exampleConnectionClassicCertificate = new azure.automation.ConnectionClassicCertificate("exampleConnectionClassicCertificate", {
resourceGroupName: exampleResourceGroup.name,
automationAccountName: exampleAccount.name,
certificateAssetName: "cert1",
subscriptionName: "subs1",
subscriptionId: exampleClientConfig.then(exampleClientConfig => exampleClientConfig.subscriptionId),
});
Example coming soon!
Example coming soon!
Create ConnectionClassicCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionClassicCertificate(name: string, args: ConnectionClassicCertificateArgs, opts?: CustomResourceOptions);@overload
def ConnectionClassicCertificate(resource_name: str,
args: ConnectionClassicCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionClassicCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
automation_account_name: Optional[str] = None,
certificate_asset_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
subscription_id: Optional[str] = None,
subscription_name: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewConnectionClassicCertificate(ctx *Context, name string, args ConnectionClassicCertificateArgs, opts ...ResourceOption) (*ConnectionClassicCertificate, error)public ConnectionClassicCertificate(string name, ConnectionClassicCertificateArgs args, CustomResourceOptions? opts = null)
public ConnectionClassicCertificate(String name, ConnectionClassicCertificateArgs args)
public ConnectionClassicCertificate(String name, ConnectionClassicCertificateArgs args, CustomResourceOptions options)
type: azure:automation:ConnectionClassicCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectionClassicCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectionClassicCertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectionClassicCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionClassicCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionClassicCertificateArgs
- 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 connectionClassicCertificateResource = new Azure.Automation.ConnectionClassicCertificate("connectionClassicCertificateResource", new()
{
AutomationAccountName = "string",
CertificateAssetName = "string",
ResourceGroupName = "string",
SubscriptionId = "string",
SubscriptionName = "string",
Description = "string",
Name = "string",
});
example, err := automation.NewConnectionClassicCertificate(ctx, "connectionClassicCertificateResource", &automation.ConnectionClassicCertificateArgs{
AutomationAccountName: pulumi.String("string"),
CertificateAssetName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
SubscriptionName: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var connectionClassicCertificateResource = new ConnectionClassicCertificate("connectionClassicCertificateResource", ConnectionClassicCertificateArgs.builder()
.automationAccountName("string")
.certificateAssetName("string")
.resourceGroupName("string")
.subscriptionId("string")
.subscriptionName("string")
.description("string")
.name("string")
.build());
connection_classic_certificate_resource = azure.automation.ConnectionClassicCertificate("connectionClassicCertificateResource",
automation_account_name="string",
certificate_asset_name="string",
resource_group_name="string",
subscription_id="string",
subscription_name="string",
description="string",
name="string")
const connectionClassicCertificateResource = new azure.automation.ConnectionClassicCertificate("connectionClassicCertificateResource", {
automationAccountName: "string",
certificateAssetName: "string",
resourceGroupName: "string",
subscriptionId: "string",
subscriptionName: "string",
description: "string",
name: "string",
});
type: azure:automation:ConnectionClassicCertificate
properties:
automationAccountName: string
certificateAssetName: string
description: string
name: string
resourceGroupName: string
subscriptionId: string
subscriptionName: string
ConnectionClassicCertificate 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 ConnectionClassicCertificate resource accepts the following input properties:
- Automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- Certificate
Asset stringName - The name of the certificate asset.
- Resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- Subscription
Id string - The id of subscription.
- Subscription
Name string - The name of subscription.
- Description string
- A description for this Connection.
- Name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- Automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- Certificate
Asset stringName - The name of the certificate asset.
- Resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- Subscription
Id string - The id of subscription.
- Subscription
Name string - The name of subscription.
- Description string
- A description for this Connection.
- Name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- automation
Account StringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset StringName - The name of the certificate asset.
- resource
Group StringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id String - The id of subscription.
- subscription
Name String - The name of subscription.
- description String
- A description for this Connection.
- name String
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset stringName - The name of the certificate asset.
- resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id string - The id of subscription.
- subscription
Name string - The name of subscription.
- description string
- A description for this Connection.
- name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- automation_
account_ strname - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate_
asset_ strname - The name of the certificate asset.
- resource_
group_ strname - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription_
id str - The id of subscription.
- subscription_
name str - The name of subscription.
- description str
- A description for this Connection.
- name str
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- automation
Account StringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset StringName - The name of the certificate asset.
- resource
Group StringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id String - The id of subscription.
- subscription
Name String - The name of subscription.
- description String
- A description for this Connection.
- name String
- Specifies the name of the Connection. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionClassicCertificate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConnectionClassicCertificate Resource
Get an existing ConnectionClassicCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectionClassicCertificateState, opts?: CustomResourceOptions): ConnectionClassicCertificate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automation_account_name: Optional[str] = None,
certificate_asset_name: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
subscription_id: Optional[str] = None,
subscription_name: Optional[str] = None) -> ConnectionClassicCertificatefunc GetConnectionClassicCertificate(ctx *Context, name string, id IDInput, state *ConnectionClassicCertificateState, opts ...ResourceOption) (*ConnectionClassicCertificate, error)public static ConnectionClassicCertificate Get(string name, Input<string> id, ConnectionClassicCertificateState? state, CustomResourceOptions? opts = null)public static ConnectionClassicCertificate get(String name, Output<String> id, ConnectionClassicCertificateState state, CustomResourceOptions options)resources: _: type: azure:automation:ConnectionClassicCertificate get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- Certificate
Asset stringName - The name of the certificate asset.
- Description string
- A description for this Connection.
- Name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- Subscription
Id string - The id of subscription.
- Subscription
Name string - The name of subscription.
- Automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- Certificate
Asset stringName - The name of the certificate asset.
- Description string
- A description for this Connection.
- Name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- Subscription
Id string - The id of subscription.
- Subscription
Name string - The name of subscription.
- automation
Account StringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset StringName - The name of the certificate asset.
- description String
- A description for this Connection.
- name String
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id String - The id of subscription.
- subscription
Name String - The name of subscription.
- automation
Account stringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset stringName - The name of the certificate asset.
- description string
- A description for this Connection.
- name string
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id string - The id of subscription.
- subscription
Name string - The name of subscription.
- automation_
account_ strname - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate_
asset_ strname - The name of the certificate asset.
- description str
- A description for this Connection.
- name str
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription_
id str - The id of subscription.
- subscription_
name str - The name of subscription.
- automation
Account StringName - The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
- certificate
Asset StringName - The name of the certificate asset.
- description String
- A description for this Connection.
- name String
- Specifies the name of the Connection. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
- subscription
Id String - The id of subscription.
- subscription
Name String - The name of subscription.
Import
Automation Connection can be imported using the resource id, e.g.
$ pulumi import azure:automation/connectionClassicCertificate:ConnectionClassicCertificate conn1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connections/conn1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
