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

octopusdeploy.getMachine

Explore with Pulumi AI

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

    Using getMachine

    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 getMachine(args: GetMachineArgs, opts?: InvokeOptions): Promise<GetMachineResult>
    function getMachineOutput(args: GetMachineOutputArgs, opts?: InvokeOptions): Output<GetMachineResult>
    def get_machine(id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetMachineResult
    def get_machine_output(id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetMachineResult]
    func GetMachine(ctx *Context, args *GetMachineArgs, opts ...InvokeOption) (*GetMachineResult, error)
    func GetMachineOutput(ctx *Context, args *GetMachineOutputArgs, opts ...InvokeOption) GetMachineResultOutput

    > Note: This function is named GetMachine in the Go SDK.

    public static class GetMachine 
    {
        public static Task<GetMachineResult> InvokeAsync(GetMachineArgs args, InvokeOptions? opts = null)
        public static Output<GetMachineResult> Invoke(GetMachineInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMachineResult> getMachine(GetMachineArgs args, InvokeOptions options)
    public static Output<GetMachineResult> getMachine(GetMachineArgs args, InvokeOptions options)
    
    fn::invoke:
      function: octopusdeploy:index/getMachine:getMachine
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    name String
    id String
    The ID of this resource.
    name string
    id string
    The ID of this resource.
    name str
    id str
    The ID of this resource.
    name String
    id String
    The ID of this resource.

    getMachine Result

    The following output properties are available:

    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