1. Packages
  2. Akamai
  3. API Docs
  4. DnsZone
Akamai v6.4.0 published on Tuesday, Feb 20, 2024 by Pulumi

akamai.DnsZone

Explore with Pulumi AI

akamai logo
Akamai v6.4.0 published on Tuesday, Feb 20, 2024 by Pulumi

    Create DnsZone Resource

    new DnsZone(name: string, args: DnsZoneArgs, opts?: CustomResourceOptions);
    @overload
    def DnsZone(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                comment: Optional[str] = None,
                contract: Optional[str] = None,
                end_customer_id: Optional[str] = None,
                group: Optional[str] = None,
                masters: Optional[Sequence[str]] = None,
                sign_and_serve: Optional[bool] = None,
                sign_and_serve_algorithm: Optional[str] = None,
                target: Optional[str] = None,
                tsig_key: Optional[DnsZoneTsigKeyArgs] = None,
                type: Optional[str] = None,
                zone: Optional[str] = None)
    @overload
    def DnsZone(resource_name: str,
                args: DnsZoneArgs,
                opts: Optional[ResourceOptions] = None)
    func NewDnsZone(ctx *Context, name string, args DnsZoneArgs, opts ...ResourceOption) (*DnsZone, error)
    public DnsZone(string name, DnsZoneArgs args, CustomResourceOptions? opts = null)
    public DnsZone(String name, DnsZoneArgs args)
    public DnsZone(String name, DnsZoneArgs args, CustomResourceOptions options)
    
    type: akamai:DnsZone
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DnsZoneArgs
    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 DnsZoneArgs
    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 DnsZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DnsZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DnsZoneArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DnsZone 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 DnsZone resource accepts the following input properties:

    Contract string
    Type string
    Zone string
    Comment string
    EndCustomerId string
    Group string
    Masters List<string>
    SignAndServe bool
    SignAndServeAlgorithm string
    Target string
    TsigKey DnsZoneTsigKey
    contract String
    type String
    zone String
    comment String
    endCustomerId String
    group String
    masters List<String>
    signAndServe Boolean
    signAndServeAlgorithm String
    target String
    tsigKey DnsZoneTsigKey
    contract string
    type string
    zone string
    comment string
    endCustomerId string
    group string
    masters string[]
    signAndServe boolean
    signAndServeAlgorithm string
    target string
    tsigKey DnsZoneTsigKey
    contract String
    type String
    zone String
    comment String
    endCustomerId String
    group String
    masters List<String>
    signAndServe Boolean
    signAndServeAlgorithm String
    target String
    tsigKey Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DnsZone resource produces the following output properties:

    ActivationState string
    AliasCount int
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    ActivationState string
    AliasCount int
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    activationState String
    aliasCount Integer
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    activationState string
    aliasCount number
    id string
    The provider-assigned unique ID for this managed resource.
    versionId string
    activation_state str
    alias_count int
    id str
    The provider-assigned unique ID for this managed resource.
    version_id str
    activationState String
    aliasCount Number
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String

    Look up Existing DnsZone Resource

    Get an existing DnsZone 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?: DnsZoneState, opts?: CustomResourceOptions): DnsZone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activation_state: Optional[str] = None,
            alias_count: Optional[int] = None,
            comment: Optional[str] = None,
            contract: Optional[str] = None,
            end_customer_id: Optional[str] = None,
            group: Optional[str] = None,
            masters: Optional[Sequence[str]] = None,
            sign_and_serve: Optional[bool] = None,
            sign_and_serve_algorithm: Optional[str] = None,
            target: Optional[str] = None,
            tsig_key: Optional[DnsZoneTsigKeyArgs] = None,
            type: Optional[str] = None,
            version_id: Optional[str] = None,
            zone: Optional[str] = None) -> DnsZone
    func GetDnsZone(ctx *Context, name string, id IDInput, state *DnsZoneState, opts ...ResourceOption) (*DnsZone, error)
    public static DnsZone Get(string name, Input<string> id, DnsZoneState? state, CustomResourceOptions? opts = null)
    public static DnsZone get(String name, Output<String> id, DnsZoneState 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.
    The following state arguments are supported:
    activationState String
    aliasCount Integer
    comment String
    contract String
    endCustomerId String
    group String
    masters List<String>
    signAndServe Boolean
    signAndServeAlgorithm String
    target String
    tsigKey DnsZoneTsigKey
    type String
    versionId String
    zone String
    activationState string
    aliasCount number
    comment string
    contract string
    endCustomerId string
    group string
    masters string[]
    signAndServe boolean
    signAndServeAlgorithm string
    target string
    tsigKey DnsZoneTsigKey
    type string
    versionId string
    zone string
    activationState String
    aliasCount Number
    comment String
    contract String
    endCustomerId String
    group String
    masters List<String>
    signAndServe Boolean
    signAndServeAlgorithm String
    target String
    tsigKey Property Map
    type String
    versionId String
    zone String

    Supporting Types

    DnsZoneTsigKey, DnsZoneTsigKeyArgs

    Algorithm string
    Name string
    Secret string
    Algorithm string
    Name string
    Secret string
    algorithm String
    name String
    secret String
    algorithm string
    name string
    secret string
    algorithm String
    name String
    secret String

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v6.4.0 published on Tuesday, Feb 20, 2024 by Pulumi