Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse
gandi.simplehosting.VHost
Explore with Pulumi AI
Create VHost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VHost(name: string, args: VHostArgs, opts?: CustomResourceOptions);
@overload
def VHost(resource_name: str,
args: VHostArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VHost(resource_name: str,
opts: Optional[ResourceOptions] = None,
fqdn: Optional[str] = None,
instance_id: Optional[str] = None,
application: Optional[str] = None,
linked_dns_zone_alteration: Optional[bool] = None)
func NewVHost(ctx *Context, name string, args VHostArgs, opts ...ResourceOption) (*VHost, error)
public VHost(string name, VHostArgs args, CustomResourceOptions? opts = null)
type: gandi:simplehosting:VHost
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 VHostArgs
- 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 VHostArgs
- 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 VHostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VHostArgs
- 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 vhostResource = new Gandi.Simplehosting.VHost("vhostResource", new()
{
Fqdn = "string",
InstanceId = "string",
Application = "string",
LinkedDnsZoneAlteration = false,
});
example, err := simplehosting.NewVHost(ctx, "vhostResource", &simplehosting.VHostArgs{
Fqdn: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Application: pulumi.String("string"),
LinkedDnsZoneAlteration: pulumi.Bool(false),
})
var vhostResource = new VHost("vhostResource", VHostArgs.builder()
.fqdn("string")
.instanceId("string")
.application("string")
.linkedDnsZoneAlteration(false)
.build());
vhost_resource = gandi.simplehosting.VHost("vhostResource",
fqdn="string",
instance_id="string",
application="string",
linked_dns_zone_alteration=False)
const vhostResource = new gandi.simplehosting.VHost("vhostResource", {
fqdn: "string",
instanceId: "string",
application: "string",
linkedDnsZoneAlteration: false,
});
type: gandi:simplehosting:VHost
properties:
application: string
fqdn: string
instanceId: string
linkedDnsZoneAlteration: false
VHost Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VHost resource accepts the following input properties:
- Fqdn string
- The FQDN of the Vhost
- Instance
Id string - The ID of the SimpleHosting instance
- Application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- Linked
Dns boolZone Alteration - Whether to alter the linked DNS Zone
- Fqdn string
- The FQDN of the Vhost
- Instance
Id string - The ID of the SimpleHosting instance
- Application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- Linked
Dns boolZone Alteration - Whether to alter the linked DNS Zone
- fqdn String
- The FQDN of the Vhost
- instance
Id String - The ID of the SimpleHosting instance
- application String
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- linked
Dns BooleanZone Alteration - Whether to alter the linked DNS Zone
- fqdn string
- The FQDN of the Vhost
- instance
Id string - The ID of the SimpleHosting instance
- application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- linked
Dns booleanZone Alteration - Whether to alter the linked DNS Zone
- fqdn str
- The FQDN of the Vhost
- instance_
id str - The ID of the SimpleHosting instance
- application str
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- linked_
dns_ boolzone_ alteration - Whether to alter the linked DNS Zone
- fqdn String
- The FQDN of the Vhost
- instance
Id String - The ID of the SimpleHosting instance
- application String
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- linked
Dns BooleanZone Alteration - Whether to alter the linked DNS Zone
Outputs
All input properties are implicitly available as output properties. Additionally, the VHost resource produces the following output properties:
- Certificate
Id string - The ID of the created free certificate
- Id string
- The provider-assigned unique ID for this managed resource.
- Certificate
Id string - The ID of the created free certificate
- Id string
- The provider-assigned unique ID for this managed resource.
- certificate
Id String - The ID of the created free certificate
- id String
- The provider-assigned unique ID for this managed resource.
- certificate
Id string - The ID of the created free certificate
- id string
- The provider-assigned unique ID for this managed resource.
- certificate_
id str - The ID of the created free certificate
- id str
- The provider-assigned unique ID for this managed resource.
- certificate
Id String - The ID of the created free certificate
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VHost Resource
Get an existing VHost 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?: VHostState, opts?: CustomResourceOptions): VHost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application: Optional[str] = None,
certificate_id: Optional[str] = None,
fqdn: Optional[str] = None,
instance_id: Optional[str] = None,
linked_dns_zone_alteration: Optional[bool] = None) -> VHost
func GetVHost(ctx *Context, name string, id IDInput, state *VHostState, opts ...ResourceOption) (*VHost, error)
public static VHost Get(string name, Input<string> id, VHostState? state, CustomResourceOptions? opts = null)
public static VHost get(String name, Output<String> id, VHostState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- Certificate
Id string - The ID of the created free certificate
- Fqdn string
- The FQDN of the Vhost
- Instance
Id string - The ID of the SimpleHosting instance
- Linked
Dns boolZone Alteration - Whether to alter the linked DNS Zone
- Application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- Certificate
Id string - The ID of the created free certificate
- Fqdn string
- The FQDN of the Vhost
- Instance
Id string - The ID of the SimpleHosting instance
- Linked
Dns boolZone Alteration - Whether to alter the linked DNS Zone
- application String
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- certificate
Id String - The ID of the created free certificate
- fqdn String
- The FQDN of the Vhost
- instance
Id String - The ID of the SimpleHosting instance
- linked
Dns BooleanZone Alteration - Whether to alter the linked DNS Zone
- application string
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- certificate
Id string - The ID of the created free certificate
- fqdn string
- The FQDN of the Vhost
- instance
Id string - The ID of the SimpleHosting instance
- linked
Dns booleanZone Alteration - Whether to alter the linked DNS Zone
- application str
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- certificate_
id str - The ID of the created free certificate
- fqdn str
- The FQDN of the Vhost
- instance_
id str - The ID of the SimpleHosting instance
- linked_
dns_ boolzone_ alteration - Whether to alter the linked DNS Zone
- application String
- The name of an application to install ('grav', 'matomo', 'nextcloud', 'prestashop', 'wordpress')
- certificate
Id String - The ID of the created free certificate
- fqdn String
- The FQDN of the Vhost
- instance
Id String - The ID of the SimpleHosting instance
- linked
Dns BooleanZone Alteration - Whether to alter the linked DNS Zone
Package Details
- Repository
- gandi pulumiverse/pulumi-gandi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gandi
Terraform Provider.