octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getMachinePolicies
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
Provides information about existing machine policies.
Using getMachinePolicies
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMachinePolicies(args: GetMachinePoliciesArgs, opts?: InvokeOptions): Promise<GetMachinePoliciesResult>
function getMachinePoliciesOutput(args: GetMachinePoliciesOutputArgs, opts?: InvokeOptions): Output<GetMachinePoliciesResult>
def get_machine_policies(id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
partial_name: Optional[str] = None,
skip: Optional[float] = None,
space_id: Optional[str] = None,
take: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetMachinePoliciesResult
def get_machine_policies_output(id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
partial_name: Optional[pulumi.Input[str]] = None,
skip: Optional[pulumi.Input[float]] = None,
space_id: Optional[pulumi.Input[str]] = None,
take: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMachinePoliciesResult]
func GetMachinePolicies(ctx *Context, args *GetMachinePoliciesArgs, opts ...InvokeOption) (*GetMachinePoliciesResult, error)
func GetMachinePoliciesOutput(ctx *Context, args *GetMachinePoliciesOutputArgs, opts ...InvokeOption) GetMachinePoliciesResultOutput
> Note: This function is named GetMachinePolicies
in the Go SDK.
public static class GetMachinePolicies
{
public static Task<GetMachinePoliciesResult> InvokeAsync(GetMachinePoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetMachinePoliciesResult> Invoke(GetMachinePoliciesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMachinePoliciesResult> getMachinePolicies(GetMachinePoliciesArgs args, InvokeOptions options)
public static Output<GetMachinePoliciesResult> getMachinePolicies(GetMachinePoliciesArgs args, InvokeOptions options)
fn::invoke:
function: octopusdeploy:index/getMachinePolicies:getMachinePolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of this resource.
- Ids List<string>
- A filter to search by a list of IDs.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip double
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this resource.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Id string
- The ID of this resource.
- Ids []string
- A filter to search by a list of IDs.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip float64
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this resource.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- ids List<String>
- A filter to search by a list of IDs.
- partial
Name String - A filter to search by the partial match of a name.
- skip Double
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this resource.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- id string
- The ID of this resource.
- ids string[]
- A filter to search by a list of IDs.
- partial
Name string - A filter to search by the partial match of a name.
- skip number
- A filter to specify the number of items to skip in the response.
- space
Id string - The space ID associated with this resource.
- take number
- A filter to specify the number of items to take (or return) in the response.
- id str
- The ID of this resource.
- ids Sequence[str]
- A filter to search by a list of IDs.
- partial_
name str - A filter to search by the partial match of a name.
- skip float
- A filter to specify the number of items to skip in the response.
- space_
id str - The space ID associated with this resource.
- take float
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- ids List<String>
- A filter to search by a list of IDs.
- partial
Name String - A filter to search by the partial match of a name.
- skip Number
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this resource.
- take Number
- A filter to specify the number of items to take (or return) in the response.
getMachinePolicies Result
The following output properties are available:
- Id string
- The ID of this resource.
- Machine
Policies List<GetMachine Policies Machine Policy> - A list of machine policies that match the filter(s).
- Space
Id string - The space ID associated with this resource.
- Ids List<string>
- A filter to search by a list of IDs.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip double
- A filter to specify the number of items to skip in the response.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Id string
- The ID of this resource.
- Machine
Policies []GetMachine Policies Machine Policy - A list of machine policies that match the filter(s).
- Space
Id string - The space ID associated with this resource.
- Ids []string
- A filter to search by a list of IDs.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip float64
- A filter to specify the number of items to skip in the response.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- machine
Policies List<GetMachine Policies Machine Policy> - A list of machine policies that match the filter(s).
- space
Id String - The space ID associated with this resource.
- ids List<String>
- A filter to search by a list of IDs.
- partial
Name String - A filter to search by the partial match of a name.
- skip Double
- A filter to specify the number of items to skip in the response.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- id string
- The ID of this resource.
- machine
Policies GetMachine Policies Machine Policy[] - A list of machine policies that match the filter(s).
- space
Id string - The space ID associated with this resource.
- ids string[]
- A filter to search by a list of IDs.
- partial
Name string - A filter to search by the partial match of a name.
- skip number
- A filter to specify the number of items to skip in the response.
- take number
- A filter to specify the number of items to take (or return) in the response.
- id str
- The ID of this resource.
- machine_
policies Sequence[GetMachine Policies Machine Policy] - A list of machine policies that match the filter(s).
- space_
id str - The space ID associated with this resource.
- ids Sequence[str]
- A filter to search by a list of IDs.
- partial_
name str - A filter to search by the partial match of a name.
- skip float
- A filter to specify the number of items to skip in the response.
- take float
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- machine
Policies List<Property Map> - A list of machine policies that match the filter(s).
- space
Id String - The space ID associated with this resource.
- ids List<String>
- A filter to search by a list of IDs.
- partial
Name String - A filter to search by the partial match of a name.
- skip Number
- A filter to specify the number of items to skip in the response.
- take Number
- A filter to specify the number of items to take (or return) in the response.
Supporting Types
GetMachinePoliciesMachinePolicy
- Connection
Connect doubleTimeout - Connection
Retry doubleCount Limit - Connection
Retry doubleSleep Interval - Connection
Retry doubleTime Limit - Description string
- Id string
- Is
Default bool - Machine
Cleanup List<GetPolicies Machine Policies Machine Policy Machine Cleanup Policy> - Machine
Connectivity List<GetPolicies Machine Policies Machine Policy Machine Connectivity Policy> - Machine
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy> - Machine
Update List<GetPolicies Machine Policies Machine Policy Machine Update Policy> - Name string
- Polling
Request doubleQueue Timeout - Space
Id string
- Connection
Connect float64Timeout - Connection
Retry float64Count Limit - Connection
Retry float64Sleep Interval - Connection
Retry float64Time Limit - Description string
- Id string
- Is
Default bool - Machine
Cleanup []GetPolicies Machine Policies Machine Policy Machine Cleanup Policy - Machine
Connectivity []GetPolicies Machine Policies Machine Policy Machine Connectivity Policy - Machine
Health []GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy - Machine
Update []GetPolicies Machine Policies Machine Policy Machine Update Policy - Name string
- Polling
Request float64Queue Timeout - Space
Id string
- connection
Connect DoubleTimeout - connection
Retry DoubleCount Limit - connection
Retry DoubleSleep Interval - connection
Retry DoubleTime Limit - description String
- id String
- is
Default Boolean - machine
Cleanup List<GetPolicies Machine Policies Machine Policy Machine Cleanup Policy> - machine
Connectivity List<GetPolicies Machine Policies Machine Policy Machine Connectivity Policy> - machine
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy> - machine
Update List<GetPolicies Machine Policies Machine Policy Machine Update Policy> - name String
- polling
Request DoubleQueue Timeout - space
Id String
- connection
Connect numberTimeout - connection
Retry numberCount Limit - connection
Retry numberSleep Interval - connection
Retry numberTime Limit - description string
- id string
- is
Default boolean - machine
Cleanup GetPolicies Machine Policies Machine Policy Machine Cleanup Policy[] - machine
Connectivity GetPolicies Machine Policies Machine Policy Machine Connectivity Policy[] - machine
Health GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy[] - machine
Update GetPolicies Machine Policies Machine Policy Machine Update Policy[] - name string
- polling
Request numberQueue Timeout - space
Id string
- connection_
connect_ floattimeout - connection_
retry_ floatcount_ limit - connection_
retry_ floatsleep_ interval - connection_
retry_ floattime_ limit - description str
- id str
- is_
default bool - machine_
cleanup_ Sequence[Getpolicies Machine Policies Machine Policy Machine Cleanup Policy] - machine_
connectivity_ Sequence[Getpolicies Machine Policies Machine Policy Machine Connectivity Policy] - machine_
health_ Sequence[Getcheck_ policies Machine Policies Machine Policy Machine Health Check Policy] - machine_
update_ Sequence[Getpolicies Machine Policies Machine Policy Machine Update Policy] - name str
- polling_
request_ floatqueue_ timeout - space_
id str
- connection
Connect NumberTimeout - connection
Retry NumberCount Limit - connection
Retry NumberSleep Interval - connection
Retry NumberTime Limit - description String
- id String
- is
Default Boolean - machine
Cleanup List<Property Map>Policies - machine
Connectivity List<Property Map>Policies - machine
Health List<Property Map>Check Policies - machine
Update List<Property Map>Policies - name String
- polling
Request NumberQueue Timeout - space
Id String
GetMachinePoliciesMachinePolicyMachineCleanupPolicy
- Delete
Machines stringBehavior - Delete
Machines doubleElapsed Timespan
- Delete
Machines stringBehavior - Delete
Machines float64Elapsed Timespan
- delete
Machines StringBehavior - delete
Machines DoubleElapsed Timespan
- delete
Machines stringBehavior - delete
Machines numberElapsed Timespan
- delete
Machines StringBehavior - delete
Machines NumberElapsed Timespan
GetMachinePoliciesMachinePolicyMachineConnectivityPolicy
- Machine
Connectivity stringBehavior
- Machine
Connectivity stringBehavior
- machine
Connectivity StringBehavior
- machine
Connectivity stringBehavior
- machine
Connectivity StringBehavior
GetMachinePoliciesMachinePolicyMachineHealthCheckPolicy
- Bash
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Bash Health Check Policy> - Health
Check stringCron - Health
Check stringCron Timezone - Health
Check doubleInterval - Health
Check stringType - Powershell
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Powershell Health Check Policy>
- Bash
Health []GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Bash Health Check Policy - Health
Check stringCron - Health
Check stringCron Timezone - Health
Check float64Interval - Health
Check stringType - Powershell
Health []GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Powershell Health Check Policy
- bash
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Bash Health Check Policy> - health
Check StringCron - health
Check StringCron Timezone - health
Check DoubleInterval - health
Check StringType - powershell
Health List<GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Powershell Health Check Policy>
- bash
Health GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Bash Health Check Policy[] - health
Check stringCron - health
Check stringCron Timezone - health
Check numberInterval - health
Check stringType - powershell
Health GetCheck Policies Machine Policies Machine Policy Machine Health Check Policy Powershell Health Check Policy[]
- bash_
health_ Sequence[Getcheck_ policies Machine Policies Machine Policy Machine Health Check Policy Bash Health Check Policy] - health_
check_ strcron - health_
check_ strcron_ timezone - health_
check_ floatinterval - health_
check_ strtype - powershell_
health_ Sequence[Getcheck_ policies Machine Policies Machine Policy Machine Health Check Policy Powershell Health Check Policy]
GetMachinePoliciesMachinePolicyMachineHealthCheckPolicyBashHealthCheckPolicy
- Run
Type string - Script
Body string
- Run
Type string - Script
Body string
- run
Type String - script
Body String
- run
Type string - script
Body string
- run_
type str - script_
body str
- run
Type String - script
Body String
GetMachinePoliciesMachinePolicyMachineHealthCheckPolicyPowershellHealthCheckPolicy
- Run
Type string - Script
Body string
- Run
Type string - Script
Body string
- run
Type String - script
Body String
- run
Type string - script
Body string
- run_
type str - script_
body str
- run
Type String - script
Body String
GetMachinePoliciesMachinePolicyMachineUpdatePolicy
- Calamari
Update stringBehavior - Kubernetes
Agent stringUpdate Behavior - Tentacle
Update stringAccount Id - Tentacle
Update stringBehavior
- Calamari
Update stringBehavior - Kubernetes
Agent stringUpdate Behavior - Tentacle
Update stringAccount Id - Tentacle
Update stringBehavior
- calamari
Update StringBehavior - kubernetes
Agent StringUpdate Behavior - tentacle
Update StringAccount Id - tentacle
Update StringBehavior
- calamari
Update stringBehavior - kubernetes
Agent stringUpdate Behavior - tentacle
Update stringAccount Id - tentacle
Update stringBehavior
- calamari
Update StringBehavior - kubernetes
Agent StringUpdate Behavior - tentacle
Update StringAccount Id - tentacle
Update StringBehavior
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs