Zone
- Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz.datasource.IZone
This class encapsulates and extends the ROS resource type DATASOURCE::PVTZ::Zone, which is used to query the information about a built-in authoritative zone.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz/datasource"
datasource.NewZone(scope Construct, id *string, props ZoneProps, enableResourcePropertyConstraint *bool) Zone
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | ZoneProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: ZoneProps
enableResourcePropertyConstraintOptional
- Type: *bool
Methods
| Name | Description |
|---|---|
ToString | Returns a string representation of this construct. |
Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition | No description. |
AddCount | No description. |
AddDependency | No description. |
AddResourceDesc | No description. |
ApplyRemovalPolicy | No description. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | No description. |
GetAtt | No description. |
SetMetadata | No description. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz/datasource"
datasource.Zone_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrBindVpcs | interface{} | Attribute BindVpcs: The VPCs associated with the zone. |
AttrCreateTime | interface{} | Attribute CreateTime: The time when the zone was created. |
AttrCreateTimestamp | interface{} | Attribute CreateTimestamp: The time when the zone was created. |
AttrIsPtr | interface{} | Attribute IsPtr: Indicates whether the zone is a reverse lookup zone. |
AttrProxyPattern | interface{} | Attribute ProxyPattern: Indicates whether the recursive resolution proxy for subdomain names is enabled. |
AttrRecordCount | interface{} | Attribute RecordCount: The total number of DNS records added in the zone. |
AttrRemark | interface{} | Attribute Remark: The description of the zone. |
AttrResourceGroupId | interface{} | Attribute ResourceGroupId: The ID of the resource group to which the zone belongs. |
AttrSlaveDns | interface{} | Attribute SlaveDns: Indicates whether the secondary Domain Name System (DNS) feature is enabled for the zone. |
AttrTags | interface{} | Attribute Tags: The tags of the zone. |
AttrUpdateTime | interface{} | Attribute UpdateTime: The time when the zone was last updated. |
AttrUpdateTimestamp | interface{} | Attribute UpdateTimestamp: The time when the zone was last updated. |
AttrZoneId | interface{} | Attribute ZoneId: The zone ID. |
AttrZoneName | interface{} | Attribute ZoneName: The zone name. |
AttrZoneTag | interface{} | Attribute ZoneTag: Not open to users for the time being, no value transfer is required. |
AttrZoneType | interface{} | Attribute ZoneType: The zone type, temporarily closed to users, no need to pass values. |
Props | ZoneProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrBindVpcsRequired
func AttrBindVpcs() interface{}
- Type: interface{}
Attribute BindVpcs: The VPCs associated with the zone.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The time when the zone was created.
The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
AttrCreateTimestampRequired
func AttrCreateTimestamp() interface{}
- Type: interface{}
Attribute CreateTimestamp: The time when the zone was created.
This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
AttrIsPtrRequired
func AttrIsPtr() interface{}
- Type: interface{}
Attribute IsPtr: Indicates whether the zone is a reverse lookup zone.
AttrProxyPatternRequired
func AttrProxyPattern() interface{}
- Type: interface{}
Attribute ProxyPattern: Indicates whether the recursive resolution proxy for subdomain names is enabled.
AttrRecordCountRequired
func AttrRecordCount() interface{}
- Type: interface{}
Attribute RecordCount: The total number of DNS records added in the zone.
AttrRemarkRequired
func AttrRemark() interface{}
- Type: interface{}
Attribute Remark: The description of the zone.
AttrResourceGroupIdRequired
func AttrResourceGroupId() interface{}
- Type: interface{}
Attribute ResourceGroupId: The ID of the resource group to which the zone belongs.
AttrSlaveDnsRequired
func AttrSlaveDns() interface{}
- Type: interface{}
Attribute SlaveDns: Indicates whether the secondary Domain Name System (DNS) feature is enabled for the zone.
AttrTagsRequired
func AttrTags() interface{}
- Type: interface{}
Attribute Tags: The tags of the zone.
AttrUpdateTimeRequired
func AttrUpdateTime() interface{}
- Type: interface{}
Attribute UpdateTime: The time when the zone was last updated.
The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
AttrUpdateTimestampRequired
func AttrUpdateTimestamp() interface{}
- Type: interface{}
Attribute UpdateTimestamp: The time when the zone was last updated.
This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
AttrZoneIdRequired
func AttrZoneId() interface{}
- Type: interface{}
Attribute ZoneId: The zone ID.
AttrZoneNameRequired
func AttrZoneName() interface{}
- Type: interface{}
Attribute ZoneName: The zone name.
AttrZoneTagRequired
func AttrZoneTag() interface{}
- Type: interface{}
Attribute ZoneTag: Not open to users for the time being, no value transfer is required.
AttrZoneTypeRequired
func AttrZoneType() interface{}
- Type: interface{}
Attribute ZoneType: The zone type, temporarily closed to users, no need to pass values.
PropsRequired
func Props() ZoneProps
- Type: ZoneProps