octopusdeploy.MachineProxy
Explore with Pulumi AI
This resource manages machine proxies in Octopus Deploy.
Create MachineProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MachineProxy(name: string, args: MachineProxyArgs, opts?: CustomResourceOptions);
@overload
def MachineProxy(resource_name: str,
args: MachineProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MachineProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
host: Optional[str] = None,
password: Optional[str] = None,
username: Optional[str] = None,
name: Optional[str] = None,
port: Optional[float] = None,
space_id: Optional[str] = None)
func NewMachineProxy(ctx *Context, name string, args MachineProxyArgs, opts ...ResourceOption) (*MachineProxy, error)
public MachineProxy(string name, MachineProxyArgs args, CustomResourceOptions? opts = null)
public MachineProxy(String name, MachineProxyArgs args)
public MachineProxy(String name, MachineProxyArgs args, CustomResourceOptions options)
type: octopusdeploy:MachineProxy
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 MachineProxyArgs
- 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 MachineProxyArgs
- 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 MachineProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MachineProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MachineProxyArgs
- 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 machineProxyResource = new Octopusdeploy.MachineProxy("machineProxyResource", new()
{
Host = "string",
Password = "string",
Username = "string",
Name = "string",
Port = 0,
SpaceId = "string",
});
example, err := octopusdeploy.NewMachineProxy(ctx, "machineProxyResource", &octopusdeploy.MachineProxyArgs{
Host: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Float64(0),
SpaceId: pulumi.String("string"),
})
var machineProxyResource = new MachineProxy("machineProxyResource", MachineProxyArgs.builder()
.host("string")
.password("string")
.username("string")
.name("string")
.port(0)
.spaceId("string")
.build());
machine_proxy_resource = octopusdeploy.MachineProxy("machineProxyResource",
host="string",
password="string",
username="string",
name="string",
port=0,
space_id="string")
const machineProxyResource = new octopusdeploy.MachineProxy("machineProxyResource", {
host: "string",
password: "string",
username: "string",
name: "string",
port: 0,
spaceId: "string",
});
type: octopusdeploy:MachineProxy
properties:
host: string
name: string
password: string
port: 0
spaceId: string
username: string
MachineProxy 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 MachineProxy resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the MachineProxy 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 MachineProxy Resource
Get an existing MachineProxy 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?: MachineProxyState, opts?: CustomResourceOptions): MachineProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
host: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
port: Optional[float] = None,
space_id: Optional[str] = None,
username: Optional[str] = None) -> MachineProxy
func GetMachineProxy(ctx *Context, name string, id IDInput, state *MachineProxyState, opts ...ResourceOption) (*MachineProxy, error)
public static MachineProxy Get(string name, Input<string> id, MachineProxyState? state, CustomResourceOptions? opts = null)
public static MachineProxy get(String name, Output<String> id, MachineProxyState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:MachineProxy 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.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.