Show / Hide Table of Contents

Class ZoneRecord

Inheritance
System.Object
Resource
CustomResource
ZoneRecord
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Pvtz
Assembly: Pulumi.AliCloud.dll
Syntax
public class ZoneRecord : CustomResource

Constructors

View Source

ZoneRecord(String, ZoneRecordArgs, CustomResourceOptions)

Create a ZoneRecord resource with the given unique name, arguments, and options.

Declaration
public ZoneRecord(string name, ZoneRecordArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ZoneRecordArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Priority

The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-50]. Default to 1.

Declaration
public Output<int?> Priority { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

RecordId

The Private Zone Record ID.

Declaration
public Output<int> RecordId { get; }
Property Value
Type Description
Output<System.Int32>
View Source

ResourceRecord

The resource record of the Private Zone Record.

Declaration
public Output<string> ResourceRecord { get; }
Property Value
Type Description
Output<System.String>
View Source

Ttl

The ttl of the Private Zone Record.

Declaration
public Output<int?> Ttl { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Type

The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR.

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>
View Source

Value

The value of the Private Zone Record.

Declaration
public Output<string> Value { get; }
Property Value
Type Description
Output<System.String>
View Source

ZoneId

The name of the Private Zone Record.

Declaration
public Output<string> ZoneId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ZoneRecordState, CustomResourceOptions)

Get an existing ZoneRecord resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ZoneRecord Get(string name, Input<string> id, ZoneRecordState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ZoneRecordState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ZoneRecord
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.