akamai.EdgeHostName
Explore with Pulumi AI
Create EdgeHostName Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeHostName(name: string, args: EdgeHostNameArgs, opts?: CustomResourceOptions);
@overload
def EdgeHostName(resource_name: str,
args: EdgeHostNameArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeHostName(resource_name: str,
opts: Optional[ResourceOptions] = None,
contract_id: Optional[str] = None,
edge_hostname: Optional[str] = None,
group_id: Optional[str] = None,
ip_behavior: Optional[str] = None,
certificate: Optional[int] = None,
product_id: Optional[str] = None,
status_update_emails: Optional[Sequence[str]] = None,
timeouts: Optional[EdgeHostNameTimeoutsArgs] = None,
use_cases: Optional[str] = None)
func NewEdgeHostName(ctx *Context, name string, args EdgeHostNameArgs, opts ...ResourceOption) (*EdgeHostName, error)
public EdgeHostName(string name, EdgeHostNameArgs args, CustomResourceOptions? opts = null)
public EdgeHostName(String name, EdgeHostNameArgs args)
public EdgeHostName(String name, EdgeHostNameArgs args, CustomResourceOptions options)
type: akamai:EdgeHostName
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 EdgeHostNameArgs
- 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 EdgeHostNameArgs
- 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 EdgeHostNameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeHostNameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeHostNameArgs
- 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 edgeHostNameResource = new Akamai.EdgeHostName("edgeHostNameResource", new()
{
ContractId = "string",
EdgeHostname = "string",
GroupId = "string",
IpBehavior = "string",
Certificate = 0,
ProductId = "string",
StatusUpdateEmails = new[]
{
"string",
},
Timeouts = new Akamai.Inputs.EdgeHostNameTimeoutsArgs
{
Default = "string",
},
UseCases = "string",
});
example, err := akamai.NewEdgeHostName(ctx, "edgeHostNameResource", &akamai.EdgeHostNameArgs{
ContractId: pulumi.String("string"),
EdgeHostname: pulumi.String("string"),
GroupId: pulumi.String("string"),
IpBehavior: pulumi.String("string"),
Certificate: pulumi.Int(0),
ProductId: pulumi.String("string"),
StatusUpdateEmails: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &akamai.EdgeHostNameTimeoutsArgs{
Default: pulumi.String("string"),
},
UseCases: pulumi.String("string"),
})
var edgeHostNameResource = new EdgeHostName("edgeHostNameResource", EdgeHostNameArgs.builder()
.contractId("string")
.edgeHostname("string")
.groupId("string")
.ipBehavior("string")
.certificate(0)
.productId("string")
.statusUpdateEmails("string")
.timeouts(EdgeHostNameTimeoutsArgs.builder()
.default_("string")
.build())
.useCases("string")
.build());
edge_host_name_resource = akamai.EdgeHostName("edgeHostNameResource",
contract_id="string",
edge_hostname="string",
group_id="string",
ip_behavior="string",
certificate=0,
product_id="string",
status_update_emails=["string"],
timeouts={
"default": "string",
},
use_cases="string")
const edgeHostNameResource = new akamai.EdgeHostName("edgeHostNameResource", {
contractId: "string",
edgeHostname: "string",
groupId: "string",
ipBehavior: "string",
certificate: 0,
productId: "string",
statusUpdateEmails: ["string"],
timeouts: {
"default": "string",
},
useCases: "string",
});
type: akamai:EdgeHostName
properties:
certificate: 0
contractId: string
edgeHostname: string
groupId: string
ipBehavior: string
productId: string
statusUpdateEmails:
- string
timeouts:
default: string
useCases: string
EdgeHostName 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 EdgeHostName resource accepts the following input properties:
- Contract
Id string - Edge
Hostname string - Group
Id string - Ip
Behavior string - Certificate int
- Product
Id string - Status
Update List<string>Emails - Email address that should receive updates on the IP behavior update request.
- Timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- Use
Cases string - A JSON encoded list of use cases
- Contract
Id string - Edge
Hostname string - Group
Id string - Ip
Behavior string - Certificate int
- Product
Id string - Status
Update []stringEmails - Email address that should receive updates on the IP behavior update request.
- Timeouts
Edge
Host Name Timeouts Args - Enables to set timeout for processing
- Use
Cases string - A JSON encoded list of use cases
- contract
Id String - edge
Hostname String - group
Id String - ip
Behavior String - certificate Integer
- product
Id String - status
Update List<String>Emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- use
Cases String - A JSON encoded list of use cases
- contract
Id string - edge
Hostname string - group
Id string - ip
Behavior string - certificate number
- product
Id string - status
Update string[]Emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- use
Cases string - A JSON encoded list of use cases
- contract_
id str - edge_
hostname str - group_
id str - ip_
behavior str - certificate int
- product_
id str - status_
update_ Sequence[str]emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts Args - Enables to set timeout for processing
- use_
cases str - A JSON encoded list of use cases
- contract
Id String - edge
Hostname String - group
Id String - ip
Behavior String - certificate Number
- product
Id String - status
Update List<String>Emails - Email address that should receive updates on the IP behavior update request.
- timeouts Property Map
- Enables to set timeout for processing
- use
Cases String - A JSON encoded list of use cases
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeHostName 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 EdgeHostName Resource
Get an existing EdgeHostName 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?: EdgeHostNameState, opts?: CustomResourceOptions): EdgeHostName
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[int] = None,
contract_id: Optional[str] = None,
edge_hostname: Optional[str] = None,
group_id: Optional[str] = None,
ip_behavior: Optional[str] = None,
product_id: Optional[str] = None,
status_update_emails: Optional[Sequence[str]] = None,
timeouts: Optional[EdgeHostNameTimeoutsArgs] = None,
use_cases: Optional[str] = None) -> EdgeHostName
func GetEdgeHostName(ctx *Context, name string, id IDInput, state *EdgeHostNameState, opts ...ResourceOption) (*EdgeHostName, error)
public static EdgeHostName Get(string name, Input<string> id, EdgeHostNameState? state, CustomResourceOptions? opts = null)
public static EdgeHostName get(String name, Output<String> id, EdgeHostNameState 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.
- Certificate int
- Contract
Id string - Edge
Hostname string - Group
Id string - Ip
Behavior string - Product
Id string - Status
Update List<string>Emails - Email address that should receive updates on the IP behavior update request.
- Timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- Use
Cases string - A JSON encoded list of use cases
- Certificate int
- Contract
Id string - Edge
Hostname string - Group
Id string - Ip
Behavior string - Product
Id string - Status
Update []stringEmails - Email address that should receive updates on the IP behavior update request.
- Timeouts
Edge
Host Name Timeouts Args - Enables to set timeout for processing
- Use
Cases string - A JSON encoded list of use cases
- certificate Integer
- contract
Id String - edge
Hostname String - group
Id String - ip
Behavior String - product
Id String - status
Update List<String>Emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- use
Cases String - A JSON encoded list of use cases
- certificate number
- contract
Id string - edge
Hostname string - group
Id string - ip
Behavior string - product
Id string - status
Update string[]Emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts - Enables to set timeout for processing
- use
Cases string - A JSON encoded list of use cases
- certificate int
- contract_
id str - edge_
hostname str - group_
id str - ip_
behavior str - product_
id str - status_
update_ Sequence[str]emails - Email address that should receive updates on the IP behavior update request.
- timeouts
Edge
Host Name Timeouts Args - Enables to set timeout for processing
- use_
cases str - A JSON encoded list of use cases
- certificate Number
- contract
Id String - edge
Hostname String - group
Id String - ip
Behavior String - product
Id String - status
Update List<String>Emails - Email address that should receive updates on the IP behavior update request.
- timeouts Property Map
- Enables to set timeout for processing
- use
Cases String - A JSON encoded list of use cases
Supporting Types
EdgeHostNameTimeouts, EdgeHostNameTimeoutsArgs
- Default string
- Default string
- default_ String
- default string
- default str
- default String
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.