1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. MachinePolicy
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

octopusdeploy.MachinePolicy

Explore with Pulumi AI

octopusdeploy logo
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

    This resource manages machine policies in Octopus Deploy.

    Create MachinePolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MachinePolicy(name: string, args?: MachinePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def MachinePolicy(resource_name: str,
                      args: Optional[MachinePolicyArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def MachinePolicy(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      connection_connect_timeout: Optional[float] = None,
                      connection_retry_count_limit: Optional[float] = None,
                      connection_retry_sleep_interval: Optional[float] = None,
                      connection_retry_time_limit: Optional[float] = None,
                      description: Optional[str] = None,
                      machine_cleanup_policy: Optional[MachinePolicyMachineCleanupPolicyArgs] = None,
                      machine_connectivity_policy: Optional[MachinePolicyMachineConnectivityPolicyArgs] = None,
                      machine_health_check_policy: Optional[MachinePolicyMachineHealthCheckPolicyArgs] = None,
                      machine_policy_id: Optional[str] = None,
                      machine_update_policy: Optional[MachinePolicyMachineUpdatePolicyArgs] = None,
                      name: Optional[str] = None,
                      polling_request_queue_timeout: Optional[float] = None,
                      space_id: Optional[str] = None)
    func NewMachinePolicy(ctx *Context, name string, args *MachinePolicyArgs, opts ...ResourceOption) (*MachinePolicy, error)
    public MachinePolicy(string name, MachinePolicyArgs? args = null, CustomResourceOptions? opts = null)
    public MachinePolicy(String name, MachinePolicyArgs args)
    public MachinePolicy(String name, MachinePolicyArgs args, CustomResourceOptions options)
    
    type: octopusdeploy:MachinePolicy
    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 MachinePolicyArgs
    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 MachinePolicyArgs
    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 MachinePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MachinePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MachinePolicyArgs
    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 machinePolicyResource = new Octopusdeploy.MachinePolicy("machinePolicyResource", new()
    {
        ConnectionConnectTimeout = 0,
        ConnectionRetryCountLimit = 0,
        ConnectionRetrySleepInterval = 0,
        ConnectionRetryTimeLimit = 0,
        Description = "string",
        MachineCleanupPolicy = new Octopusdeploy.Inputs.MachinePolicyMachineCleanupPolicyArgs
        {
            DeleteMachinesBehavior = "string",
            DeleteMachinesElapsedTimespan = 0,
        },
        MachineConnectivityPolicy = new Octopusdeploy.Inputs.MachinePolicyMachineConnectivityPolicyArgs
        {
            MachineConnectivityBehavior = "string",
        },
        MachineHealthCheckPolicy = new Octopusdeploy.Inputs.MachinePolicyMachineHealthCheckPolicyArgs
        {
            BashHealthCheckPolicy = new Octopusdeploy.Inputs.MachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicyArgs
            {
                RunType = "string",
                ScriptBody = "string",
            },
            PowershellHealthCheckPolicy = new Octopusdeploy.Inputs.MachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicyArgs
            {
                RunType = "string",
                ScriptBody = "string",
            },
            HealthCheckCron = "string",
            HealthCheckCronTimezone = "string",
            HealthCheckInterval = 0,
            HealthCheckType = "string",
        },
        MachinePolicyId = "string",
        MachineUpdatePolicy = new Octopusdeploy.Inputs.MachinePolicyMachineUpdatePolicyArgs
        {
            CalamariUpdateBehavior = "string",
            KubernetesAgentUpdateBehavior = "string",
            TentacleUpdateAccountId = "string",
            TentacleUpdateBehavior = "string",
        },
        Name = "string",
        PollingRequestQueueTimeout = 0,
        SpaceId = "string",
    });
    
    example, err := octopusdeploy.NewMachinePolicy(ctx, "machinePolicyResource", &octopusdeploy.MachinePolicyArgs{
    	ConnectionConnectTimeout:     pulumi.Float64(0),
    	ConnectionRetryCountLimit:    pulumi.Float64(0),
    	ConnectionRetrySleepInterval: pulumi.Float64(0),
    	ConnectionRetryTimeLimit:     pulumi.Float64(0),
    	Description:                  pulumi.String("string"),
    	MachineCleanupPolicy: &octopusdeploy.MachinePolicyMachineCleanupPolicyArgs{
    		DeleteMachinesBehavior:        pulumi.String("string"),
    		DeleteMachinesElapsedTimespan: pulumi.Float64(0),
    	},
    	MachineConnectivityPolicy: &octopusdeploy.MachinePolicyMachineConnectivityPolicyArgs{
    		MachineConnectivityBehavior: pulumi.String("string"),
    	},
    	MachineHealthCheckPolicy: &octopusdeploy.MachinePolicyMachineHealthCheckPolicyArgs{
    		BashHealthCheckPolicy: &octopusdeploy.MachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicyArgs{
    			RunType:    pulumi.String("string"),
    			ScriptBody: pulumi.String("string"),
    		},
    		PowershellHealthCheckPolicy: &octopusdeploy.MachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicyArgs{
    			RunType:    pulumi.String("string"),
    			ScriptBody: pulumi.String("string"),
    		},
    		HealthCheckCron:         pulumi.String("string"),
    		HealthCheckCronTimezone: pulumi.String("string"),
    		HealthCheckInterval:     pulumi.Float64(0),
    		HealthCheckType:         pulumi.String("string"),
    	},
    	MachinePolicyId: pulumi.String("string"),
    	MachineUpdatePolicy: &octopusdeploy.MachinePolicyMachineUpdatePolicyArgs{
    		CalamariUpdateBehavior:        pulumi.String("string"),
    		KubernetesAgentUpdateBehavior: pulumi.String("string"),
    		TentacleUpdateAccountId:       pulumi.String("string"),
    		TentacleUpdateBehavior:        pulumi.String("string"),
    	},
    	Name:                       pulumi.String("string"),
    	PollingRequestQueueTimeout: pulumi.Float64(0),
    	SpaceId:                    pulumi.String("string"),
    })
    
    var machinePolicyResource = new MachinePolicy("machinePolicyResource", MachinePolicyArgs.builder()
        .connectionConnectTimeout(0)
        .connectionRetryCountLimit(0)
        .connectionRetrySleepInterval(0)
        .connectionRetryTimeLimit(0)
        .description("string")
        .machineCleanupPolicy(MachinePolicyMachineCleanupPolicyArgs.builder()
            .deleteMachinesBehavior("string")
            .deleteMachinesElapsedTimespan(0)
            .build())
        .machineConnectivityPolicy(MachinePolicyMachineConnectivityPolicyArgs.builder()
            .machineConnectivityBehavior("string")
            .build())
        .machineHealthCheckPolicy(MachinePolicyMachineHealthCheckPolicyArgs.builder()
            .bashHealthCheckPolicy(MachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicyArgs.builder()
                .runType("string")
                .scriptBody("string")
                .build())
            .powershellHealthCheckPolicy(MachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicyArgs.builder()
                .runType("string")
                .scriptBody("string")
                .build())
            .healthCheckCron("string")
            .healthCheckCronTimezone("string")
            .healthCheckInterval(0)
            .healthCheckType("string")
            .build())
        .machinePolicyId("string")
        .machineUpdatePolicy(MachinePolicyMachineUpdatePolicyArgs.builder()
            .calamariUpdateBehavior("string")
            .kubernetesAgentUpdateBehavior("string")
            .tentacleUpdateAccountId("string")
            .tentacleUpdateBehavior("string")
            .build())
        .name("string")
        .pollingRequestQueueTimeout(0)
        .spaceId("string")
        .build());
    
    machine_policy_resource = octopusdeploy.MachinePolicy("machinePolicyResource",
        connection_connect_timeout=0,
        connection_retry_count_limit=0,
        connection_retry_sleep_interval=0,
        connection_retry_time_limit=0,
        description="string",
        machine_cleanup_policy={
            "delete_machines_behavior": "string",
            "delete_machines_elapsed_timespan": 0,
        },
        machine_connectivity_policy={
            "machine_connectivity_behavior": "string",
        },
        machine_health_check_policy={
            "bash_health_check_policy": {
                "run_type": "string",
                "script_body": "string",
            },
            "powershell_health_check_policy": {
                "run_type": "string",
                "script_body": "string",
            },
            "health_check_cron": "string",
            "health_check_cron_timezone": "string",
            "health_check_interval": 0,
            "health_check_type": "string",
        },
        machine_policy_id="string",
        machine_update_policy={
            "calamari_update_behavior": "string",
            "kubernetes_agent_update_behavior": "string",
            "tentacle_update_account_id": "string",
            "tentacle_update_behavior": "string",
        },
        name="string",
        polling_request_queue_timeout=0,
        space_id="string")
    
    const machinePolicyResource = new octopusdeploy.MachinePolicy("machinePolicyResource", {
        connectionConnectTimeout: 0,
        connectionRetryCountLimit: 0,
        connectionRetrySleepInterval: 0,
        connectionRetryTimeLimit: 0,
        description: "string",
        machineCleanupPolicy: {
            deleteMachinesBehavior: "string",
            deleteMachinesElapsedTimespan: 0,
        },
        machineConnectivityPolicy: {
            machineConnectivityBehavior: "string",
        },
        machineHealthCheckPolicy: {
            bashHealthCheckPolicy: {
                runType: "string",
                scriptBody: "string",
            },
            powershellHealthCheckPolicy: {
                runType: "string",
                scriptBody: "string",
            },
            healthCheckCron: "string",
            healthCheckCronTimezone: "string",
            healthCheckInterval: 0,
            healthCheckType: "string",
        },
        machinePolicyId: "string",
        machineUpdatePolicy: {
            calamariUpdateBehavior: "string",
            kubernetesAgentUpdateBehavior: "string",
            tentacleUpdateAccountId: "string",
            tentacleUpdateBehavior: "string",
        },
        name: "string",
        pollingRequestQueueTimeout: 0,
        spaceId: "string",
    });
    
    type: octopusdeploy:MachinePolicy
    properties:
        connectionConnectTimeout: 0
        connectionRetryCountLimit: 0
        connectionRetrySleepInterval: 0
        connectionRetryTimeLimit: 0
        description: string
        machineCleanupPolicy:
            deleteMachinesBehavior: string
            deleteMachinesElapsedTimespan: 0
        machineConnectivityPolicy:
            machineConnectivityBehavior: string
        machineHealthCheckPolicy:
            bashHealthCheckPolicy:
                runType: string
                scriptBody: string
            healthCheckCron: string
            healthCheckCronTimezone: string
            healthCheckInterval: 0
            healthCheckType: string
            powershellHealthCheckPolicy:
                runType: string
                scriptBody: string
        machinePolicyId: string
        machineUpdatePolicy:
            calamariUpdateBehavior: string
            kubernetesAgentUpdateBehavior: string
            tentacleUpdateAccountId: string
            tentacleUpdateBehavior: string
        name: string
        pollingRequestQueueTimeout: 0
        spaceId: string
    

    MachinePolicy 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 MachinePolicy resource accepts the following input properties:

    ConnectionConnectTimeout double
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    ConnectionRetryCountLimit double
    ConnectionRetrySleepInterval double
    In nanoseconds.
    ConnectionRetryTimeLimit double
    In nanoseconds.
    Description string
    The description of this machine policy.
    MachineCleanupPolicy MachinePolicyMachineCleanupPolicy
    MachineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    MachineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    MachinePolicyId string
    The unique ID for this resource.
    MachineUpdatePolicy MachinePolicyMachineUpdatePolicy
    Name string
    The name of this resource.
    PollingRequestQueueTimeout double
    In nanoseconds.
    SpaceId string
    The space ID associated with this resource.
    ConnectionConnectTimeout float64
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    ConnectionRetryCountLimit float64
    ConnectionRetrySleepInterval float64
    In nanoseconds.
    ConnectionRetryTimeLimit float64
    In nanoseconds.
    Description string
    The description of this machine policy.
    MachineCleanupPolicy MachinePolicyMachineCleanupPolicyArgs
    MachineConnectivityPolicy MachinePolicyMachineConnectivityPolicyArgs
    MachineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicyArgs
    MachinePolicyId string
    The unique ID for this resource.
    MachineUpdatePolicy MachinePolicyMachineUpdatePolicyArgs
    Name string
    The name of this resource.
    PollingRequestQueueTimeout float64
    In nanoseconds.
    SpaceId string
    The space ID associated with this resource.
    connectionConnectTimeout Double
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit Double
    connectionRetrySleepInterval Double
    In nanoseconds.
    connectionRetryTimeLimit Double
    In nanoseconds.
    description String
    The description of this machine policy.
    machineCleanupPolicy MachinePolicyMachineCleanupPolicy
    machineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    machineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    machinePolicyId String
    The unique ID for this resource.
    machineUpdatePolicy MachinePolicyMachineUpdatePolicy
    name String
    The name of this resource.
    pollingRequestQueueTimeout Double
    In nanoseconds.
    spaceId String
    The space ID associated with this resource.
    connectionConnectTimeout number
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit number
    connectionRetrySleepInterval number
    In nanoseconds.
    connectionRetryTimeLimit number
    In nanoseconds.
    description string
    The description of this machine policy.
    machineCleanupPolicy MachinePolicyMachineCleanupPolicy
    machineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    machineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    machinePolicyId string
    The unique ID for this resource.
    machineUpdatePolicy MachinePolicyMachineUpdatePolicy
    name string
    The name of this resource.
    pollingRequestQueueTimeout number
    In nanoseconds.
    spaceId string
    The space ID associated with this resource.
    connection_connect_timeout float
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connection_retry_count_limit float
    connection_retry_sleep_interval float
    In nanoseconds.
    connection_retry_time_limit float
    In nanoseconds.
    description str
    The description of this machine policy.
    machine_cleanup_policy MachinePolicyMachineCleanupPolicyArgs
    machine_connectivity_policy MachinePolicyMachineConnectivityPolicyArgs
    machine_health_check_policy MachinePolicyMachineHealthCheckPolicyArgs
    machine_policy_id str
    The unique ID for this resource.
    machine_update_policy MachinePolicyMachineUpdatePolicyArgs
    name str
    The name of this resource.
    polling_request_queue_timeout float
    In nanoseconds.
    space_id str
    The space ID associated with this resource.
    connectionConnectTimeout Number
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit Number
    connectionRetrySleepInterval Number
    In nanoseconds.
    connectionRetryTimeLimit Number
    In nanoseconds.
    description String
    The description of this machine policy.
    machineCleanupPolicy Property Map
    machineConnectivityPolicy Property Map
    machineHealthCheckPolicy Property Map
    machinePolicyId String
    The unique ID for this resource.
    machineUpdatePolicy Property Map
    name String
    The name of this resource.
    pollingRequestQueueTimeout Number
    In nanoseconds.
    spaceId String
    The space ID associated with this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MachinePolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    id str
    The provider-assigned unique ID for this managed resource.
    is_default bool
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean

    Look up Existing MachinePolicy Resource

    Get an existing MachinePolicy 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?: MachinePolicyState, opts?: CustomResourceOptions): MachinePolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_connect_timeout: Optional[float] = None,
            connection_retry_count_limit: Optional[float] = None,
            connection_retry_sleep_interval: Optional[float] = None,
            connection_retry_time_limit: Optional[float] = None,
            description: Optional[str] = None,
            is_default: Optional[bool] = None,
            machine_cleanup_policy: Optional[MachinePolicyMachineCleanupPolicyArgs] = None,
            machine_connectivity_policy: Optional[MachinePolicyMachineConnectivityPolicyArgs] = None,
            machine_health_check_policy: Optional[MachinePolicyMachineHealthCheckPolicyArgs] = None,
            machine_policy_id: Optional[str] = None,
            machine_update_policy: Optional[MachinePolicyMachineUpdatePolicyArgs] = None,
            name: Optional[str] = None,
            polling_request_queue_timeout: Optional[float] = None,
            space_id: Optional[str] = None) -> MachinePolicy
    func GetMachinePolicy(ctx *Context, name string, id IDInput, state *MachinePolicyState, opts ...ResourceOption) (*MachinePolicy, error)
    public static MachinePolicy Get(string name, Input<string> id, MachinePolicyState? state, CustomResourceOptions? opts = null)
    public static MachinePolicy get(String name, Output<String> id, MachinePolicyState state, CustomResourceOptions options)
    resources:  _:    type: octopusdeploy:MachinePolicy    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.
    The following state arguments are supported:
    ConnectionConnectTimeout double
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    ConnectionRetryCountLimit double
    ConnectionRetrySleepInterval double
    In nanoseconds.
    ConnectionRetryTimeLimit double
    In nanoseconds.
    Description string
    The description of this machine policy.
    IsDefault bool
    MachineCleanupPolicy MachinePolicyMachineCleanupPolicy
    MachineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    MachineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    MachinePolicyId string
    The unique ID for this resource.
    MachineUpdatePolicy MachinePolicyMachineUpdatePolicy
    Name string
    The name of this resource.
    PollingRequestQueueTimeout double
    In nanoseconds.
    SpaceId string
    The space ID associated with this resource.
    ConnectionConnectTimeout float64
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    ConnectionRetryCountLimit float64
    ConnectionRetrySleepInterval float64
    In nanoseconds.
    ConnectionRetryTimeLimit float64
    In nanoseconds.
    Description string
    The description of this machine policy.
    IsDefault bool
    MachineCleanupPolicy MachinePolicyMachineCleanupPolicyArgs
    MachineConnectivityPolicy MachinePolicyMachineConnectivityPolicyArgs
    MachineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicyArgs
    MachinePolicyId string
    The unique ID for this resource.
    MachineUpdatePolicy MachinePolicyMachineUpdatePolicyArgs
    Name string
    The name of this resource.
    PollingRequestQueueTimeout float64
    In nanoseconds.
    SpaceId string
    The space ID associated with this resource.
    connectionConnectTimeout Double
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit Double
    connectionRetrySleepInterval Double
    In nanoseconds.
    connectionRetryTimeLimit Double
    In nanoseconds.
    description String
    The description of this machine policy.
    isDefault Boolean
    machineCleanupPolicy MachinePolicyMachineCleanupPolicy
    machineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    machineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    machinePolicyId String
    The unique ID for this resource.
    machineUpdatePolicy MachinePolicyMachineUpdatePolicy
    name String
    The name of this resource.
    pollingRequestQueueTimeout Double
    In nanoseconds.
    spaceId String
    The space ID associated with this resource.
    connectionConnectTimeout number
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit number
    connectionRetrySleepInterval number
    In nanoseconds.
    connectionRetryTimeLimit number
    In nanoseconds.
    description string
    The description of this machine policy.
    isDefault boolean
    machineCleanupPolicy MachinePolicyMachineCleanupPolicy
    machineConnectivityPolicy MachinePolicyMachineConnectivityPolicy
    machineHealthCheckPolicy MachinePolicyMachineHealthCheckPolicy
    machinePolicyId string
    The unique ID for this resource.
    machineUpdatePolicy MachinePolicyMachineUpdatePolicy
    name string
    The name of this resource.
    pollingRequestQueueTimeout number
    In nanoseconds.
    spaceId string
    The space ID associated with this resource.
    connection_connect_timeout float
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connection_retry_count_limit float
    connection_retry_sleep_interval float
    In nanoseconds.
    connection_retry_time_limit float
    In nanoseconds.
    description str
    The description of this machine policy.
    is_default bool
    machine_cleanup_policy MachinePolicyMachineCleanupPolicyArgs
    machine_connectivity_policy MachinePolicyMachineConnectivityPolicyArgs
    machine_health_check_policy MachinePolicyMachineHealthCheckPolicyArgs
    machine_policy_id str
    The unique ID for this resource.
    machine_update_policy MachinePolicyMachineUpdatePolicyArgs
    name str
    The name of this resource.
    polling_request_queue_timeout float
    In nanoseconds.
    space_id str
    The space ID associated with this resource.
    connectionConnectTimeout Number
    In nanoseconds. Minimum value: 10000000000 (10 seconds).
    connectionRetryCountLimit Number
    connectionRetrySleepInterval Number
    In nanoseconds.
    connectionRetryTimeLimit Number
    In nanoseconds.
    description String
    The description of this machine policy.
    isDefault Boolean
    machineCleanupPolicy Property Map
    machineConnectivityPolicy Property Map
    machineHealthCheckPolicy Property Map
    machinePolicyId String
    The unique ID for this resource.
    machineUpdatePolicy Property Map
    name String
    The name of this resource.
    pollingRequestQueueTimeout Number
    In nanoseconds.
    spaceId String
    The space ID associated with this resource.

    Supporting Types

    MachinePolicyMachineCleanupPolicy, MachinePolicyMachineCleanupPolicyArgs

    MachinePolicyMachineConnectivityPolicy, MachinePolicyMachineConnectivityPolicyArgs

    MachinePolicyMachineHealthCheckPolicy, MachinePolicyMachineHealthCheckPolicyArgs

    MachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicy, MachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicyArgs

    RunType string
    ScriptBody string
    RunType string
    ScriptBody string
    runType String
    scriptBody String
    runType string
    scriptBody string
    runType String
    scriptBody String

    MachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicy, MachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicyArgs

    RunType string
    ScriptBody string
    RunType string
    ScriptBody string
    runType String
    scriptBody String
    runType string
    scriptBody string
    runType String
    scriptBody String

    MachinePolicyMachineUpdatePolicy, MachinePolicyMachineUpdatePolicyArgs

    CalamariUpdateBehavior string
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    KubernetesAgentUpdateBehavior string
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    TentacleUpdateAccountId string
    The Account ID to perform any Tentacle updates under.
    TentacleUpdateBehavior string
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.
    CalamariUpdateBehavior string
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    KubernetesAgentUpdateBehavior string
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    TentacleUpdateAccountId string
    The Account ID to perform any Tentacle updates under.
    TentacleUpdateBehavior string
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.
    calamariUpdateBehavior String
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    kubernetesAgentUpdateBehavior String
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    tentacleUpdateAccountId String
    The Account ID to perform any Tentacle updates under.
    tentacleUpdateBehavior String
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.
    calamariUpdateBehavior string
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    kubernetesAgentUpdateBehavior string
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    tentacleUpdateAccountId string
    The Account ID to perform any Tentacle updates under.
    tentacleUpdateBehavior string
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.
    calamari_update_behavior str
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    kubernetes_agent_update_behavior str
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    tentacle_update_account_id str
    The Account ID to perform any Tentacle updates under.
    tentacle_update_behavior str
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.
    calamariUpdateBehavior String
    The behaviour of how Calamari is updated. Valid values are UpdateAlways, UpdateOnDeployment and UpdateOnNewMachine.
    kubernetesAgentUpdateBehavior String
    The behaviour of how Kubernetes agent machines are updated. Valid values are NeverUpdate and Update.
    tentacleUpdateAccountId String
    The Account ID to perform any Tentacle updates under.
    tentacleUpdateBehavior String
    The behaviour of how Tentacle machines are updated. Valid values are NeverUpdate and Update.

    Package Details

    Repository
    octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
    License
    Notes
    This Pulumi package is based on the octopusdeploy Terraform Provider.
    octopusdeploy logo
    octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs