Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.EdgeKv
Explore with Pulumi AI
Create EdgeKv Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeKv(name: string, args: EdgeKvArgs, opts?: CustomResourceOptions);
@overload
def EdgeKv(resource_name: str,
args: EdgeKvArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeKv(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[int] = None,
namespace_name: Optional[str] = None,
network: Optional[str] = None,
retention_in_seconds: Optional[int] = None,
geo_location: Optional[str] = None,
initial_datas: Optional[Sequence[EdgeKvInitialDataArgs]] = None)
func NewEdgeKv(ctx *Context, name string, args EdgeKvArgs, opts ...ResourceOption) (*EdgeKv, error)
public EdgeKv(string name, EdgeKvArgs args, CustomResourceOptions? opts = null)
public EdgeKv(String name, EdgeKvArgs args)
public EdgeKv(String name, EdgeKvArgs args, CustomResourceOptions options)
type: akamai:EdgeKv
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 EdgeKvArgs
- 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 EdgeKvArgs
- 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 EdgeKvArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeKvArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeKvArgs
- 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 edgeKvResource = new Akamai.EdgeKv("edgeKvResource", new()
{
GroupId = 0,
NamespaceName = "string",
Network = "string",
RetentionInSeconds = 0,
GeoLocation = "string",
});
example, err := akamai.NewEdgeKv(ctx, "edgeKvResource", &akamai.EdgeKvArgs{
GroupId: pulumi.Int(0),
NamespaceName: pulumi.String("string"),
Network: pulumi.String("string"),
RetentionInSeconds: pulumi.Int(0),
GeoLocation: pulumi.String("string"),
})
var edgeKvResource = new EdgeKv("edgeKvResource", EdgeKvArgs.builder()
.groupId(0)
.namespaceName("string")
.network("string")
.retentionInSeconds(0)
.geoLocation("string")
.build());
edge_kv_resource = akamai.EdgeKv("edgeKvResource",
group_id=0,
namespace_name="string",
network="string",
retention_in_seconds=0,
geo_location="string")
const edgeKvResource = new akamai.EdgeKv("edgeKvResource", {
groupId: 0,
namespaceName: "string",
network: "string",
retentionInSeconds: 0,
geoLocation: "string",
});
type: akamai:EdgeKv
properties:
geoLocation: string
groupId: 0
namespaceName: string
network: string
retentionInSeconds: 0
EdgeKv 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 EdgeKv resource accepts the following input properties:
- Group
Id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- Namespace
Name string - Name for the EKV namespace
- Network string
- The network on which the namespace will be activated
- Retention
In intSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- Geo
Location string - Storage location for data
- Initial
Datas List<EdgeKv Initial Data> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- Group
Id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- Namespace
Name string - Name for the EKV namespace
- Network string
- The network on which the namespace will be activated
- Retention
In intSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- Geo
Location string - Storage location for data
- Initial
Datas []EdgeKv Initial Data Args - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- group
Id Integer - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- namespace
Name String - Name for the EKV namespace
- network String
- The network on which the namespace will be activated
- retention
In IntegerSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location String - Storage location for data
- initial
Datas List<EdgeKv Initial Data> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- group
Id number - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- namespace
Name string - Name for the EKV namespace
- network string
- The network on which the namespace will be activated
- retention
In numberSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location string - Storage location for data
- initial
Datas EdgeKv Initial Data[] - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- group_
id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- namespace_
name str - Name for the EKV namespace
- network str
- The network on which the namespace will be activated
- retention_
in_ intseconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo_
location str - Storage location for data
- initial_
datas Sequence[EdgeKv Initial Data Args] - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- group
Id Number - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- namespace
Name String - Name for the EKV namespace
- network String
- The network on which the namespace will be activated
- retention
In NumberSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location String - Storage location for data
- initial
Datas List<Property Map> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeKv 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 EdgeKv Resource
Get an existing EdgeKv 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?: EdgeKvState, opts?: CustomResourceOptions): EdgeKv
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
geo_location: Optional[str] = None,
group_id: Optional[int] = None,
initial_datas: Optional[Sequence[EdgeKvInitialDataArgs]] = None,
namespace_name: Optional[str] = None,
network: Optional[str] = None,
retention_in_seconds: Optional[int] = None) -> EdgeKv
func GetEdgeKv(ctx *Context, name string, id IDInput, state *EdgeKvState, opts ...ResourceOption) (*EdgeKv, error)
public static EdgeKv Get(string name, Input<string> id, EdgeKvState? state, CustomResourceOptions? opts = null)
public static EdgeKv get(String name, Output<String> id, EdgeKvState 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.
- Geo
Location string - Storage location for data
- Group
Id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- Initial
Datas List<EdgeKv Initial Data> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- Namespace
Name string - Name for the EKV namespace
- Network string
- The network on which the namespace will be activated
- Retention
In intSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- Geo
Location string - Storage location for data
- Group
Id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- Initial
Datas []EdgeKv Initial Data Args - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- Namespace
Name string - Name for the EKV namespace
- Network string
- The network on which the namespace will be activated
- Retention
In intSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location String - Storage location for data
- group
Id Integer - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- initial
Datas List<EdgeKv Initial Data> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- namespace
Name String - Name for the EKV namespace
- network String
- The network on which the namespace will be activated
- retention
In IntegerSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location string - Storage location for data
- group
Id number - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- initial
Datas EdgeKv Initial Data[] - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- namespace
Name string - Name for the EKV namespace
- network string
- The network on which the namespace will be activated
- retention
In numberSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo_
location str - Storage location for data
- group_
id int - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- initial_
datas Sequence[EdgeKv Initial Data Args] - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- namespace_
name str - Name for the EKV namespace
- network str
- The network on which the namespace will be activated
- retention_
in_ intseconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
- geo
Location String - Storage location for data
- group
Id Number - Namespace ACC group ID. It will be used in EdgeKV API v2. Not updatable.
- initial
Datas List<Property Map> - List of pairs to initialize the namespace. Just meaningful for creation, updates will be ignored.
- namespace
Name String - Name for the EKV namespace
- network String
- The network on which the namespace will be activated
- retention
In NumberSeconds - Retention period for data in this namespace. An update of this value will just affect new EKV items.
Supporting Types
EdgeKvInitialData, EdgeKvInitialDataArgs
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.