fastly.DomainV1
Explore with Pulumi AI
Create DomainV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DomainV1(name: string, args: DomainV1Args, opts?: CustomResourceOptions);
@overload
def DomainV1(resource_name: str,
args: DomainV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def DomainV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
fqdn: Optional[str] = None,
description: Optional[str] = None,
service_id: Optional[str] = None)
func NewDomainV1(ctx *Context, name string, args DomainV1Args, opts ...ResourceOption) (*DomainV1, error)
public DomainV1(string name, DomainV1Args args, CustomResourceOptions? opts = null)
public DomainV1(String name, DomainV1Args args)
public DomainV1(String name, DomainV1Args args, CustomResourceOptions options)
type: fastly:DomainV1
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 DomainV1Args
- 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 DomainV1Args
- 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 DomainV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainV1Args
- 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 domainV1Resource = new Fastly.DomainV1("domainV1Resource", new()
{
Fqdn = "string",
Description = "string",
ServiceId = "string",
});
example, err := fastly.NewDomainV1(ctx, "domainV1Resource", &fastly.DomainV1Args{
Fqdn: pulumi.String("string"),
Description: pulumi.String("string"),
ServiceId: pulumi.String("string"),
})
var domainV1Resource = new DomainV1("domainV1Resource", DomainV1Args.builder()
.fqdn("string")
.description("string")
.serviceId("string")
.build());
domain_v1_resource = fastly.DomainV1("domainV1Resource",
fqdn="string",
description="string",
service_id="string")
const domainV1Resource = new fastly.DomainV1("domainV1Resource", {
fqdn: "string",
description: "string",
serviceId: "string",
});
type: fastly:DomainV1
properties:
description: string
fqdn: string
serviceId: string
DomainV1 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 DomainV1 resource accepts the following input properties:
- Fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - Description string
- The description for your domain.
- Service
Id string - The service_id associated with your domain or null if there is no association.
- Fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - Description string
- The description for your domain.
- Service
Id string - The service_id associated with your domain or null if there is no association.
- fqdn String
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - description String
- The description for your domain.
- service
Id String - The service_id associated with your domain or null if there is no association.
- fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - description string
- The description for your domain.
- service
Id string - The service_id associated with your domain or null if there is no association.
- fqdn str
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - description str
- The description for your domain.
- service_
id str - The service_id associated with your domain or null if there is no association.
- fqdn String
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - description String
- The description for your domain.
- service
Id String - The service_id associated with your domain or null if there is no association.
Outputs
All input properties are implicitly available as output properties. Additionally, the DomainV1 resource produces the following output properties:
Look up Existing DomainV1 Resource
Get an existing DomainV1 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?: DomainV1State, opts?: CustomResourceOptions): DomainV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
domain_id: Optional[str] = None,
fqdn: Optional[str] = None,
service_id: Optional[str] = None) -> DomainV1
func GetDomainV1(ctx *Context, name string, id IDInput, state *DomainV1State, opts ...ResourceOption) (*DomainV1, error)
public static DomainV1 Get(string name, Input<string> id, DomainV1State? state, CustomResourceOptions? opts = null)
public static DomainV1 get(String name, Output<String> id, DomainV1State state, CustomResourceOptions options)
resources: _: type: fastly:DomainV1 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.
- Description string
- The description for your domain.
- Domain
Id string - The Domain Identifier (UUID).
- Fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - Service
Id string - The service_id associated with your domain or null if there is no association.
- Description string
- The description for your domain.
- Domain
Id string - The Domain Identifier (UUID).
- Fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - Service
Id string - The service_id associated with your domain or null if there is no association.
- description String
- The description for your domain.
- domain
Id String - The Domain Identifier (UUID).
- fqdn String
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - service
Id String - The service_id associated with your domain or null if there is no association.
- description string
- The description for your domain.
- domain
Id string - The Domain Identifier (UUID).
- fqdn string
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - service
Id string - The service_id associated with your domain or null if there is no association.
- description str
- The description for your domain.
- domain_
id str - The Domain Identifier (UUID).
- fqdn str
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - service_
id str - The service_id associated with your domain or null if there is no association.
- description String
- The description for your domain.
- domain
Id String - The Domain Identifier (UUID).
- fqdn String
- The fully-qualified domain name for your domain (e.g.
www.example.com
, no trailing dot). Can be created, but not updated. - service
Id String - The service_id associated with your domain or null if there is no association.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.