Class ZoneRecord
Inherited Members
Namespace: Pulumi.AliCloud.Pvtz
Assembly: Pulumi.AliCloud.dll
Syntax
public class ZoneRecord : CustomResource
Constructors
View SourceZoneRecord(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 SourcePriority
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>> |
RecordId
The Private Zone Record ID.
Declaration
public Output<int> RecordId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
ResourceRecord
The resource record of the Private Zone Record.
Declaration
public Output<string> ResourceRecord { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ttl
The ttl of the Private Zone Record.
Declaration
public Output<int?> Ttl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
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> |
Value
The value of the Private Zone Record.
Declaration
public Output<string> Value { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ZoneId
The name of the Private Zone Record.
Declaration
public Output<string> ZoneId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |