Documentation
¶
Index ¶
- type Endpoint
- type EndpointArgs
- type EndpointArray
- type EndpointArrayInput
- type EndpointArrayOutput
- type EndpointInput
- type EndpointIpConfig
- type EndpointIpConfigArgs
- type EndpointIpConfigArray
- type EndpointIpConfigArrayInput
- type EndpointIpConfigArrayOutput
- func (EndpointIpConfigArrayOutput) ElementType() reflect.Type
- func (o EndpointIpConfigArrayOutput) Index(i pulumi.IntInput) EndpointIpConfigOutput
- func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
- func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput
- type EndpointIpConfigInput
- type EndpointIpConfigOutput
- func (o EndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
- func (EndpointIpConfigOutput) ElementType() reflect.Type
- func (o EndpointIpConfigOutput) Ip() pulumi.StringPtrOutput
- func (o EndpointIpConfigOutput) ToEndpointIpConfigOutput() EndpointIpConfigOutput
- func (o EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput
- func (o EndpointIpConfigOutput) VswitchId() pulumi.StringOutput
- func (o EndpointIpConfigOutput) ZoneId() pulumi.StringOutput
- type EndpointMap
- type EndpointMapInput
- type EndpointMapOutput
- type EndpointOutput
- func (EndpointOutput) ElementType() reflect.Type
- func (o EndpointOutput) EndpointName() pulumi.StringOutput
- func (o EndpointOutput) IpConfigs() EndpointIpConfigArrayOutput
- func (o EndpointOutput) SecurityGroupId() pulumi.StringOutput
- func (o EndpointOutput) Status() pulumi.StringOutput
- func (o EndpointOutput) ToEndpointOutput() EndpointOutput
- func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
- func (o EndpointOutput) VpcId() pulumi.StringOutput
- func (o EndpointOutput) VpcRegionId() pulumi.StringOutput
- type EndpointState
- type GetEndpointsArgs
- type GetEndpointsEndpoint
- type GetEndpointsEndpointArgs
- type GetEndpointsEndpointArray
- type GetEndpointsEndpointArrayInput
- type GetEndpointsEndpointArrayOutput
- func (GetEndpointsEndpointArrayOutput) ElementType() reflect.Type
- func (o GetEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetEndpointsEndpointOutput
- func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
- func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput
- type GetEndpointsEndpointInput
- type GetEndpointsEndpointIpConfig
- type GetEndpointsEndpointIpConfigArgs
- func (GetEndpointsEndpointIpConfigArgs) ElementType() reflect.Type
- func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
- func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
- type GetEndpointsEndpointIpConfigArray
- func (GetEndpointsEndpointIpConfigArray) ElementType() reflect.Type
- func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
- func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
- type GetEndpointsEndpointIpConfigArrayInput
- type GetEndpointsEndpointIpConfigArrayOutput
- func (GetEndpointsEndpointIpConfigArrayOutput) ElementType() reflect.Type
- func (o GetEndpointsEndpointIpConfigArrayOutput) Index(i pulumi.IntInput) GetEndpointsEndpointIpConfigOutput
- func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
- func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
- type GetEndpointsEndpointIpConfigInput
- type GetEndpointsEndpointIpConfigOutput
- func (o GetEndpointsEndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
- func (GetEndpointsEndpointIpConfigOutput) ElementType() reflect.Type
- func (o GetEndpointsEndpointIpConfigOutput) Ip() pulumi.StringOutput
- func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
- func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
- func (o GetEndpointsEndpointIpConfigOutput) VswitchId() pulumi.StringOutput
- func (o GetEndpointsEndpointIpConfigOutput) ZoneId() pulumi.StringOutput
- type GetEndpointsEndpointOutput
- func (o GetEndpointsEndpointOutput) CreateTime() pulumi.StringOutput
- func (GetEndpointsEndpointOutput) ElementType() reflect.Type
- func (o GetEndpointsEndpointOutput) EndpointName() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) Id() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) IpConfigs() GetEndpointsEndpointIpConfigArrayOutput
- func (o GetEndpointsEndpointOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) Status() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
- func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput
- func (o GetEndpointsEndpointOutput) VpcId() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) VpcName() pulumi.StringOutput
- func (o GetEndpointsEndpointOutput) VpcRegionId() pulumi.StringOutput
- type GetEndpointsOutputArgs
- type GetEndpointsResult
- type GetEndpointsResultOutput
- func (GetEndpointsResultOutput) ElementType() reflect.Type
- func (o GetEndpointsResultOutput) Endpoints() GetEndpointsEndpointArrayOutput
- func (o GetEndpointsResultOutput) Id() pulumi.StringOutput
- func (o GetEndpointsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEndpointsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEndpointsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEndpointsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput
- func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput
- type GetResolverZonesArgs
- type GetResolverZonesOutputArgs
- type GetResolverZonesResult
- type GetResolverZonesResultOutput
- func (GetResolverZonesResultOutput) ElementType() reflect.Type
- func (o GetResolverZonesResultOutput) Id() pulumi.StringOutput
- func (o GetResolverZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetResolverZonesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutput() GetResolverZonesResultOutput
- func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext(ctx context.Context) GetResolverZonesResultOutput
- func (o GetResolverZonesResultOutput) Zones() GetResolverZonesZoneArrayOutput
- type GetResolverZonesZone
- type GetResolverZonesZoneArgs
- type GetResolverZonesZoneArray
- type GetResolverZonesZoneArrayInput
- type GetResolverZonesZoneArrayOutput
- func (GetResolverZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetResolverZonesZoneArrayOutput) Index(i pulumi.IntInput) GetResolverZonesZoneOutput
- func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
- func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput
- type GetResolverZonesZoneInput
- type GetResolverZonesZoneOutput
- func (GetResolverZonesZoneOutput) ElementType() reflect.Type
- func (o GetResolverZonesZoneOutput) Status() pulumi.StringOutput
- func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
- func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput
- func (o GetResolverZonesZoneOutput) ZoneId() pulumi.StringOutput
- type GetRulesArgs
- type GetRulesOutputArgs
- type GetRulesResult
- type GetRulesResultOutput
- func (GetRulesResultOutput) ElementType() reflect.Type
- func (o GetRulesResultOutput) EndpointId() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Id() pulumi.StringOutput
- func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
- type GetRulesRule
- type GetRulesRuleArgs
- type GetRulesRuleArray
- type GetRulesRuleArrayInput
- type GetRulesRuleArrayOutput
- func (GetRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
- type GetRulesRuleBindVpc
- type GetRulesRuleBindVpcArgs
- type GetRulesRuleBindVpcArray
- type GetRulesRuleBindVpcArrayInput
- type GetRulesRuleBindVpcArrayOutput
- func (GetRulesRuleBindVpcArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleBindVpcArrayOutput) Index(i pulumi.IntInput) GetRulesRuleBindVpcOutput
- func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
- func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput
- type GetRulesRuleBindVpcInput
- type GetRulesRuleBindVpcOutput
- func (GetRulesRuleBindVpcOutput) ElementType() reflect.Type
- func (o GetRulesRuleBindVpcOutput) RegionId() pulumi.StringOutput
- func (o GetRulesRuleBindVpcOutput) RegionName() pulumi.StringOutput
- func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
- func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput
- func (o GetRulesRuleBindVpcOutput) VpcId() pulumi.StringOutput
- func (o GetRulesRuleBindVpcOutput) VpcName() pulumi.StringOutput
- type GetRulesRuleForwardIp
- type GetRulesRuleForwardIpArgs
- type GetRulesRuleForwardIpArray
- func (GetRulesRuleForwardIpArray) ElementType() reflect.Type
- func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
- func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
- type GetRulesRuleForwardIpArrayInput
- type GetRulesRuleForwardIpArrayOutput
- func (GetRulesRuleForwardIpArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleForwardIpArrayOutput) Index(i pulumi.IntInput) GetRulesRuleForwardIpOutput
- func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
- func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
- type GetRulesRuleForwardIpInput
- type GetRulesRuleForwardIpOutput
- func (GetRulesRuleForwardIpOutput) ElementType() reflect.Type
- func (o GetRulesRuleForwardIpOutput) Ip() pulumi.StringOutput
- func (o GetRulesRuleForwardIpOutput) Port() pulumi.IntOutput
- func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
- func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput
- type GetRulesRuleInput
- type GetRulesRuleOutput
- func (o GetRulesRuleOutput) BindVpcs() GetRulesRuleBindVpcArrayOutput
- func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput
- func (GetRulesRuleOutput) ElementType() reflect.Type
- func (o GetRulesRuleOutput) EndpointId() pulumi.StringOutput
- func (o GetRulesRuleOutput) EndpointName() pulumi.StringOutput
- func (o GetRulesRuleOutput) ForwardIps() GetRulesRuleForwardIpArrayOutput
- func (o GetRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetRulesRuleOutput) RuleId() pulumi.StringOutput
- func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
- func (o GetRulesRuleOutput) Type() pulumi.StringOutput
- func (o GetRulesRuleOutput) ZoneName() pulumi.StringOutput
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- type GetZoneRecordsArgs
- type GetZoneRecordsOutputArgs
- type GetZoneRecordsRecord
- type GetZoneRecordsRecordArgs
- type GetZoneRecordsRecordArray
- type GetZoneRecordsRecordArrayInput
- type GetZoneRecordsRecordArrayOutput
- func (GetZoneRecordsRecordArrayOutput) ElementType() reflect.Type
- func (o GetZoneRecordsRecordArrayOutput) Index(i pulumi.IntInput) GetZoneRecordsRecordOutput
- func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput
- func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutputWithContext(ctx context.Context) GetZoneRecordsRecordArrayOutput
- type GetZoneRecordsRecordInput
- type GetZoneRecordsRecordOutput
- func (GetZoneRecordsRecordOutput) ElementType() reflect.Type
- func (o GetZoneRecordsRecordOutput) Id() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) Priority() pulumi.IntOutput
- func (o GetZoneRecordsRecordOutput) RecordId() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) Remark() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) ResourceRecord() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) Rr() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) Status() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput
- func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutputWithContext(ctx context.Context) GetZoneRecordsRecordOutput
- func (o GetZoneRecordsRecordOutput) Ttl() pulumi.IntOutput
- func (o GetZoneRecordsRecordOutput) Type() pulumi.StringOutput
- func (o GetZoneRecordsRecordOutput) Value() pulumi.StringOutput
- type GetZoneRecordsResult
- type GetZoneRecordsResultOutput
- func (GetZoneRecordsResultOutput) ElementType() reflect.Type
- func (o GetZoneRecordsResultOutput) Id() pulumi.StringOutput
- func (o GetZoneRecordsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZoneRecordsResultOutput) Keyword() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) Lang() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) Records() GetZoneRecordsRecordArrayOutput
- func (o GetZoneRecordsResultOutput) SearchMode() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) Tag() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput() GetZoneRecordsResultOutput
- func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext(ctx context.Context) GetZoneRecordsResultOutput
- func (o GetZoneRecordsResultOutput) UserClientIp() pulumi.StringPtrOutput
- func (o GetZoneRecordsResultOutput) ZoneId() pulumi.StringOutput
- type GetZonesArgs
- type GetZonesOutputArgs
- type GetZonesResult
- type GetZonesResultOutput
- func (GetZonesResultOutput) ElementType() reflect.Type
- func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetZonesResultOutput) Id() pulumi.StringOutput
- func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZonesResultOutput) Keyword() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) Lang() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) QueryRegionId() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) QueryVpcId() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) SearchMode() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
- func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
- type GetZonesZone
- type GetZonesZoneArgs
- type GetZonesZoneArray
- type GetZonesZoneArrayInput
- type GetZonesZoneArrayOutput
- func (GetZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
- type GetZonesZoneBindVpc
- type GetZonesZoneBindVpcArgs
- type GetZonesZoneBindVpcArray
- type GetZonesZoneBindVpcArrayInput
- type GetZonesZoneBindVpcArrayOutput
- func (GetZonesZoneBindVpcArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneBindVpcArrayOutput) Index(i pulumi.IntInput) GetZonesZoneBindVpcOutput
- func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput
- func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutputWithContext(ctx context.Context) GetZonesZoneBindVpcArrayOutput
- type GetZonesZoneBindVpcInput
- type GetZonesZoneBindVpcOutput
- func (GetZonesZoneBindVpcOutput) ElementType() reflect.Type
- func (o GetZonesZoneBindVpcOutput) RegionId() pulumi.StringOutput
- func (o GetZonesZoneBindVpcOutput) RegionName() pulumi.StringOutput
- func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput
- func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutputWithContext(ctx context.Context) GetZonesZoneBindVpcOutput
- func (o GetZonesZoneBindVpcOutput) VpcId() pulumi.StringOutput
- func (o GetZonesZoneBindVpcOutput) VpcName() pulumi.StringOutput
- type GetZonesZoneInput
- type GetZonesZoneOutput
- func (o GetZonesZoneOutput) BindVpcs() GetZonesZoneBindVpcArrayOutput
- func (o GetZonesZoneOutput) CreateTimestamp() pulumi.IntOutput
- func (o GetZonesZoneOutput) CreationTime() pulumi.StringOutput
- func (GetZonesZoneOutput) ElementType() reflect.Type
- func (o GetZonesZoneOutput) Id() pulumi.StringOutput
- func (o GetZonesZoneOutput) IsPtr() pulumi.BoolOutput
- func (o GetZonesZoneOutput) Name() pulumi.StringOutput
- func (o GetZonesZoneOutput) ProxyPattern() pulumi.StringOutput
- func (o GetZonesZoneOutput) RecordCount() pulumi.IntOutput
- func (o GetZonesZoneOutput) Remark() pulumi.StringOutput
- func (o GetZonesZoneOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetZonesZoneOutput) SlaveDns() pulumi.BoolOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
- func (o GetZonesZoneOutput) UpdateTime() pulumi.StringOutput
- func (o GetZonesZoneOutput) UpdateTimestamp() pulumi.IntOutput
- func (o GetZonesZoneOutput) ZoneId() pulumi.StringOutput
- func (o GetZonesZoneOutput) ZoneName() pulumi.StringOutput
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleAttachment
- type RuleAttachmentArgs
- type RuleAttachmentArray
- type RuleAttachmentArrayInput
- type RuleAttachmentArrayOutput
- func (RuleAttachmentArrayOutput) ElementType() reflect.Type
- func (o RuleAttachmentArrayOutput) Index(i pulumi.IntInput) RuleAttachmentOutput
- func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
- func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput
- type RuleAttachmentInput
- type RuleAttachmentMap
- type RuleAttachmentMapInput
- type RuleAttachmentMapOutput
- func (RuleAttachmentMapOutput) ElementType() reflect.Type
- func (o RuleAttachmentMapOutput) MapIndex(k pulumi.StringInput) RuleAttachmentOutput
- func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
- func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput
- type RuleAttachmentOutput
- func (RuleAttachmentOutput) ElementType() reflect.Type
- func (o RuleAttachmentOutput) RuleId() pulumi.StringOutput
- func (o RuleAttachmentOutput) ToRuleAttachmentOutput() RuleAttachmentOutput
- func (o RuleAttachmentOutput) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
- func (o RuleAttachmentOutput) Vpcs() RuleAttachmentVpcArrayOutput
- type RuleAttachmentState
- type RuleAttachmentVpc
- type RuleAttachmentVpcArgs
- type RuleAttachmentVpcArray
- type RuleAttachmentVpcArrayInput
- type RuleAttachmentVpcArrayOutput
- func (RuleAttachmentVpcArrayOutput) ElementType() reflect.Type
- func (o RuleAttachmentVpcArrayOutput) Index(i pulumi.IntInput) RuleAttachmentVpcOutput
- func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
- func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput
- type RuleAttachmentVpcInput
- type RuleAttachmentVpcOutput
- func (RuleAttachmentVpcOutput) ElementType() reflect.Type
- func (o RuleAttachmentVpcOutput) RegionId() pulumi.StringOutput
- func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
- func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput
- func (o RuleAttachmentVpcOutput) VpcId() pulumi.StringOutput
- type RuleForwardIp
- type RuleForwardIpArgs
- type RuleForwardIpArray
- type RuleForwardIpArrayInput
- type RuleForwardIpArrayOutput
- func (RuleForwardIpArrayOutput) ElementType() reflect.Type
- func (o RuleForwardIpArrayOutput) Index(i pulumi.IntInput) RuleForwardIpOutput
- func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
- func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput
- type RuleForwardIpInput
- type RuleForwardIpOutput
- func (RuleForwardIpOutput) ElementType() reflect.Type
- func (o RuleForwardIpOutput) Ip() pulumi.StringOutput
- func (o RuleForwardIpOutput) Port() pulumi.IntOutput
- func (o RuleForwardIpOutput) ToRuleForwardIpOutput() RuleForwardIpOutput
- func (o RuleForwardIpOutput) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) EndpointId() pulumi.StringOutput
- func (o RuleOutput) ForwardIps() RuleForwardIpArrayOutput
- func (o RuleOutput) RuleName() pulumi.StringOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- func (o RuleOutput) Type() pulumi.StringPtrOutput
- func (o RuleOutput) ZoneName() pulumi.StringOutput
- type RuleState
- type UserVpcAuthorization
- type UserVpcAuthorizationArgs
- type UserVpcAuthorizationArray
- type UserVpcAuthorizationArrayInput
- type UserVpcAuthorizationArrayOutput
- func (UserVpcAuthorizationArrayOutput) ElementType() reflect.Type
- func (o UserVpcAuthorizationArrayOutput) Index(i pulumi.IntInput) UserVpcAuthorizationOutput
- func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
- func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput
- type UserVpcAuthorizationInput
- type UserVpcAuthorizationMap
- type UserVpcAuthorizationMapInput
- type UserVpcAuthorizationMapOutput
- func (UserVpcAuthorizationMapOutput) ElementType() reflect.Type
- func (o UserVpcAuthorizationMapOutput) MapIndex(k pulumi.StringInput) UserVpcAuthorizationOutput
- func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
- func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput
- type UserVpcAuthorizationOutput
- func (o UserVpcAuthorizationOutput) AuthChannel() pulumi.StringPtrOutput
- func (o UserVpcAuthorizationOutput) AuthType() pulumi.StringPtrOutput
- func (o UserVpcAuthorizationOutput) AuthorizedUserId() pulumi.StringOutput
- func (UserVpcAuthorizationOutput) ElementType() reflect.Type
- func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
- func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
- type UserVpcAuthorizationState
- type Zone
- type ZoneArgs
- type ZoneArray
- type ZoneArrayInput
- type ZoneArrayOutput
- type ZoneAttachment
- type ZoneAttachmentArgs
- type ZoneAttachmentArray
- type ZoneAttachmentArrayInput
- type ZoneAttachmentArrayOutput
- func (ZoneAttachmentArrayOutput) ElementType() reflect.Type
- func (o ZoneAttachmentArrayOutput) Index(i pulumi.IntInput) ZoneAttachmentOutput
- func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput
- func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext(ctx context.Context) ZoneAttachmentArrayOutput
- type ZoneAttachmentInput
- type ZoneAttachmentMap
- type ZoneAttachmentMapInput
- type ZoneAttachmentMapOutput
- func (ZoneAttachmentMapOutput) ElementType() reflect.Type
- func (o ZoneAttachmentMapOutput) MapIndex(k pulumi.StringInput) ZoneAttachmentOutput
- func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput
- func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext(ctx context.Context) ZoneAttachmentMapOutput
- type ZoneAttachmentOutput
- func (ZoneAttachmentOutput) ElementType() reflect.Type
- func (o ZoneAttachmentOutput) Lang() pulumi.StringPtrOutput
- func (o ZoneAttachmentOutput) ToZoneAttachmentOutput() ZoneAttachmentOutput
- func (o ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput
- func (o ZoneAttachmentOutput) UserClientIp() pulumi.StringPtrOutput
- func (o ZoneAttachmentOutput) VpcIds() pulumi.StringArrayOutput
- func (o ZoneAttachmentOutput) Vpcs() ZoneAttachmentVpcArrayOutput
- func (o ZoneAttachmentOutput) ZoneId() pulumi.StringOutput
- type ZoneAttachmentState
- type ZoneAttachmentVpc
- type ZoneAttachmentVpcArgs
- type ZoneAttachmentVpcArray
- type ZoneAttachmentVpcArrayInput
- type ZoneAttachmentVpcArrayOutput
- func (ZoneAttachmentVpcArrayOutput) ElementType() reflect.Type
- func (o ZoneAttachmentVpcArrayOutput) Index(i pulumi.IntInput) ZoneAttachmentVpcOutput
- func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput
- func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutputWithContext(ctx context.Context) ZoneAttachmentVpcArrayOutput
- type ZoneAttachmentVpcInput
- type ZoneAttachmentVpcOutput
- func (ZoneAttachmentVpcOutput) ElementType() reflect.Type
- func (o ZoneAttachmentVpcOutput) RegionId() pulumi.StringPtrOutput
- func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput
- func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutputWithContext(ctx context.Context) ZoneAttachmentVpcOutput
- func (o ZoneAttachmentVpcOutput) VpcId() pulumi.StringOutput
- type ZoneInput
- type ZoneMap
- type ZoneMapInput
- type ZoneMapOutput
- type ZoneOutput
- func (ZoneOutput) ElementType() reflect.Type
- func (o ZoneOutput) IsPtr() pulumi.BoolOutput
- func (o ZoneOutput) Lang() pulumi.StringPtrOutput
- func (o ZoneOutput) Name() pulumi.StringOutputdeprecated
- func (o ZoneOutput) ProxyPattern() pulumi.StringPtrOutput
- func (o ZoneOutput) RecordCount() pulumi.IntOutput
- func (o ZoneOutput) Remark() pulumi.StringPtrOutput
- func (o ZoneOutput) ResourceGroupId() pulumi.StringOutput
- func (o ZoneOutput) SyncStatus() pulumi.StringPtrOutput
- func (o ZoneOutput) Tags() pulumi.MapOutput
- func (o ZoneOutput) ToZoneOutput() ZoneOutput
- func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
- func (o ZoneOutput) UserClientIp() pulumi.StringPtrOutput
- func (o ZoneOutput) UserInfos() ZoneUserInfoArrayOutput
- func (o ZoneOutput) ZoneName() pulumi.StringOutput
- type ZoneRecord
- type ZoneRecordArgs
- type ZoneRecordArray
- type ZoneRecordArrayInput
- type ZoneRecordArrayOutput
- func (ZoneRecordArrayOutput) ElementType() reflect.Type
- func (o ZoneRecordArrayOutput) Index(i pulumi.IntInput) ZoneRecordOutput
- func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutput() ZoneRecordArrayOutput
- func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput
- type ZoneRecordInput
- type ZoneRecordMap
- type ZoneRecordMapInput
- type ZoneRecordMapOutput
- func (ZoneRecordMapOutput) ElementType() reflect.Type
- func (o ZoneRecordMapOutput) MapIndex(k pulumi.StringInput) ZoneRecordOutput
- func (o ZoneRecordMapOutput) ToZoneRecordMapOutput() ZoneRecordMapOutput
- func (o ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput
- type ZoneRecordOutput
- func (ZoneRecordOutput) ElementType() reflect.Type
- func (o ZoneRecordOutput) Lang() pulumi.StringPtrOutput
- func (o ZoneRecordOutput) Priority() pulumi.IntPtrOutput
- func (o ZoneRecordOutput) RecordId() pulumi.StringOutput
- func (o ZoneRecordOutput) Remark() pulumi.StringPtrOutput
- func (o ZoneRecordOutput) ResourceRecord() pulumi.StringOutputdeprecated
- func (o ZoneRecordOutput) Rr() pulumi.StringOutput
- func (o ZoneRecordOutput) Status() pulumi.StringPtrOutput
- func (o ZoneRecordOutput) ToZoneRecordOutput() ZoneRecordOutput
- func (o ZoneRecordOutput) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput
- func (o ZoneRecordOutput) Ttl() pulumi.IntPtrOutput
- func (o ZoneRecordOutput) Type() pulumi.StringOutput
- func (o ZoneRecordOutput) UserClientIp() pulumi.StringPtrOutput
- func (o ZoneRecordOutput) Value() pulumi.StringOutput
- func (o ZoneRecordOutput) ZoneId() pulumi.StringOutput
- type ZoneRecordState
- type ZoneState
- type ZoneUserInfo
- type ZoneUserInfoArgs
- type ZoneUserInfoArray
- type ZoneUserInfoArrayInput
- type ZoneUserInfoArrayOutput
- func (ZoneUserInfoArrayOutput) ElementType() reflect.Type
- func (o ZoneUserInfoArrayOutput) Index(i pulumi.IntInput) ZoneUserInfoOutput
- func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
- func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput
- type ZoneUserInfoInput
- type ZoneUserInfoOutput
- func (ZoneUserInfoOutput) ElementType() reflect.Type
- func (o ZoneUserInfoOutput) RegionIds() pulumi.StringArrayOutput
- func (o ZoneUserInfoOutput) ToZoneUserInfoOutput() ZoneUserInfoOutput
- func (o ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput
- func (o ZoneUserInfoOutput) UserId() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶ added in v3.10.0
type Endpoint struct { pulumi.CustomResourceState // The name of the resource. EndpointName pulumi.StringOutput `pulumi:"endpointName"` // The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6. IpConfigs EndpointIpConfigArrayOutput `pulumi:"ipConfigs"` // The ID of the Security Group. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status pulumi.StringOutput `pulumi:"status"` // The VPC ID. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The Region of the VPC. VpcRegionId pulumi.StringOutput `pulumi:"vpcRegionId"` }
Provides a Private Zone Endpoint resource.
For information about Private Zone Endpoint and how to use it, see [What is Endpoint](https://www.alibabacloud.com/help/en/privatezone/latest/add-endpoint).
> **NOTE:** Available since v1.143.0.
## Import
Private Zone Endpoint can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/endpoint:Endpoint example <id> ```
func GetEndpoint ¶ added in v3.10.0
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)
GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpoint ¶ added in v3.10.0
func NewEndpoint(ctx *pulumi.Context, name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (*Endpoint) ElementType ¶ added in v3.10.0
func (*Endpoint) ToEndpointOutput ¶ added in v3.10.0
func (i *Endpoint) ToEndpointOutput() EndpointOutput
func (*Endpoint) ToEndpointOutputWithContext ¶ added in v3.10.0
func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArgs ¶ added in v3.10.0
type EndpointArgs struct { // The name of the resource. EndpointName pulumi.StringInput // The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6. IpConfigs EndpointIpConfigArrayInput // The ID of the Security Group. SecurityGroupId pulumi.StringInput // The VPC ID. VpcId pulumi.StringInput // The Region of the VPC. VpcRegionId pulumi.StringInput }
The set of arguments for constructing a Endpoint resource.
func (EndpointArgs) ElementType ¶ added in v3.10.0
func (EndpointArgs) ElementType() reflect.Type
type EndpointArray ¶ added in v3.10.0
type EndpointArray []EndpointInput
func (EndpointArray) ElementType ¶ added in v3.10.0
func (EndpointArray) ElementType() reflect.Type
func (EndpointArray) ToEndpointArrayOutput ¶ added in v3.10.0
func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArray) ToEndpointArrayOutputWithContext ¶ added in v3.10.0
func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointArrayInput ¶ added in v3.10.0
type EndpointArrayInput interface { pulumi.Input ToEndpointArrayOutput() EndpointArrayOutput ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput }
EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:
EndpointArray{ EndpointArgs{...} }
type EndpointArrayOutput ¶ added in v3.10.0
type EndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointArrayOutput) ElementType ¶ added in v3.10.0
func (EndpointArrayOutput) ElementType() reflect.Type
func (EndpointArrayOutput) Index ¶ added in v3.10.0
func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput
func (EndpointArrayOutput) ToEndpointArrayOutput ¶ added in v3.10.0
func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArrayOutput) ToEndpointArrayOutputWithContext ¶ added in v3.10.0
func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointInput ¶ added in v3.10.0
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(ctx context.Context) EndpointOutput }
type EndpointIpConfig ¶ added in v3.10.0
type EndpointIpConfig struct { // The Subnet mask. CidrBlock string `pulumi:"cidrBlock"` // The IP address within the parameter range of the subnet mask. It is recommended to use the IP address assigned by the system. Ip *string `pulumi:"ip"` // The Vswitch id. VswitchId string `pulumi:"vswitchId"` // The Zone ID. ZoneId string `pulumi:"zoneId"` }
type EndpointIpConfigArgs ¶ added in v3.10.0
type EndpointIpConfigArgs struct { // The Subnet mask. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // The IP address within the parameter range of the subnet mask. It is recommended to use the IP address assigned by the system. Ip pulumi.StringPtrInput `pulumi:"ip"` // The Vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The Zone ID. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (EndpointIpConfigArgs) ElementType ¶ added in v3.10.0
func (EndpointIpConfigArgs) ElementType() reflect.Type
func (EndpointIpConfigArgs) ToEndpointIpConfigOutput ¶ added in v3.10.0
func (i EndpointIpConfigArgs) ToEndpointIpConfigOutput() EndpointIpConfigOutput
func (EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext ¶ added in v3.10.0
func (i EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput
type EndpointIpConfigArray ¶ added in v3.10.0
type EndpointIpConfigArray []EndpointIpConfigInput
func (EndpointIpConfigArray) ElementType ¶ added in v3.10.0
func (EndpointIpConfigArray) ElementType() reflect.Type
func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutput ¶ added in v3.10.0
func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext ¶ added in v3.10.0
func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput
type EndpointIpConfigArrayInput ¶ added in v3.10.0
type EndpointIpConfigArrayInput interface { pulumi.Input ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput ToEndpointIpConfigArrayOutputWithContext(context.Context) EndpointIpConfigArrayOutput }
EndpointIpConfigArrayInput is an input type that accepts EndpointIpConfigArray and EndpointIpConfigArrayOutput values. You can construct a concrete instance of `EndpointIpConfigArrayInput` via:
EndpointIpConfigArray{ EndpointIpConfigArgs{...} }
type EndpointIpConfigArrayOutput ¶ added in v3.10.0
type EndpointIpConfigArrayOutput struct{ *pulumi.OutputState }
func (EndpointIpConfigArrayOutput) ElementType ¶ added in v3.10.0
func (EndpointIpConfigArrayOutput) ElementType() reflect.Type
func (EndpointIpConfigArrayOutput) Index ¶ added in v3.10.0
func (o EndpointIpConfigArrayOutput) Index(i pulumi.IntInput) EndpointIpConfigOutput
func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput ¶ added in v3.10.0
func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext ¶ added in v3.10.0
func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput
type EndpointIpConfigInput ¶ added in v3.10.0
type EndpointIpConfigInput interface { pulumi.Input ToEndpointIpConfigOutput() EndpointIpConfigOutput ToEndpointIpConfigOutputWithContext(context.Context) EndpointIpConfigOutput }
EndpointIpConfigInput is an input type that accepts EndpointIpConfigArgs and EndpointIpConfigOutput values. You can construct a concrete instance of `EndpointIpConfigInput` via:
EndpointIpConfigArgs{...}
type EndpointIpConfigOutput ¶ added in v3.10.0
type EndpointIpConfigOutput struct{ *pulumi.OutputState }
func (EndpointIpConfigOutput) CidrBlock ¶ added in v3.10.0
func (o EndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
The Subnet mask.
func (EndpointIpConfigOutput) ElementType ¶ added in v3.10.0
func (EndpointIpConfigOutput) ElementType() reflect.Type
func (EndpointIpConfigOutput) Ip ¶ added in v3.10.0
func (o EndpointIpConfigOutput) Ip() pulumi.StringPtrOutput
The IP address within the parameter range of the subnet mask. It is recommended to use the IP address assigned by the system.
func (EndpointIpConfigOutput) ToEndpointIpConfigOutput ¶ added in v3.10.0
func (o EndpointIpConfigOutput) ToEndpointIpConfigOutput() EndpointIpConfigOutput
func (EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext ¶ added in v3.10.0
func (o EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput
func (EndpointIpConfigOutput) VswitchId ¶ added in v3.10.0
func (o EndpointIpConfigOutput) VswitchId() pulumi.StringOutput
The Vswitch id.
func (EndpointIpConfigOutput) ZoneId ¶ added in v3.10.0
func (o EndpointIpConfigOutput) ZoneId() pulumi.StringOutput
The Zone ID.
type EndpointMap ¶ added in v3.10.0
type EndpointMap map[string]EndpointInput
func (EndpointMap) ElementType ¶ added in v3.10.0
func (EndpointMap) ElementType() reflect.Type
func (EndpointMap) ToEndpointMapOutput ¶ added in v3.10.0
func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMap) ToEndpointMapOutputWithContext ¶ added in v3.10.0
func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointMapInput ¶ added in v3.10.0
type EndpointMapInput interface { pulumi.Input ToEndpointMapOutput() EndpointMapOutput ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput }
EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:
EndpointMap{ "key": EndpointArgs{...} }
type EndpointMapOutput ¶ added in v3.10.0
type EndpointMapOutput struct{ *pulumi.OutputState }
func (EndpointMapOutput) ElementType ¶ added in v3.10.0
func (EndpointMapOutput) ElementType() reflect.Type
func (EndpointMapOutput) MapIndex ¶ added in v3.10.0
func (o EndpointMapOutput) MapIndex(k pulumi.StringInput) EndpointOutput
func (EndpointMapOutput) ToEndpointMapOutput ¶ added in v3.10.0
func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMapOutput) ToEndpointMapOutputWithContext ¶ added in v3.10.0
func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointOutput ¶ added in v3.10.0
type EndpointOutput struct{ *pulumi.OutputState }
func (EndpointOutput) ElementType ¶ added in v3.10.0
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) EndpointName ¶ added in v3.27.0
func (o EndpointOutput) EndpointName() pulumi.StringOutput
The name of the resource.
func (EndpointOutput) IpConfigs ¶ added in v3.27.0
func (o EndpointOutput) IpConfigs() EndpointIpConfigArrayOutput
The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.
func (EndpointOutput) SecurityGroupId ¶ added in v3.27.0
func (o EndpointOutput) SecurityGroupId() pulumi.StringOutput
The ID of the Security Group.
func (EndpointOutput) Status ¶ added in v3.27.0
func (o EndpointOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
func (EndpointOutput) ToEndpointOutput ¶ added in v3.10.0
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶ added in v3.10.0
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
func (EndpointOutput) VpcId ¶ added in v3.27.0
func (o EndpointOutput) VpcId() pulumi.StringOutput
The VPC ID.
func (EndpointOutput) VpcRegionId ¶ added in v3.27.0
func (o EndpointOutput) VpcRegionId() pulumi.StringOutput
The Region of the VPC.
type EndpointState ¶ added in v3.10.0
type EndpointState struct { // The name of the resource. EndpointName pulumi.StringPtrInput // The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6. IpConfigs EndpointIpConfigArrayInput // The ID of the Security Group. SecurityGroupId pulumi.StringPtrInput // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status pulumi.StringPtrInput // The VPC ID. VpcId pulumi.StringPtrInput // The Region of the VPC. VpcRegionId pulumi.StringPtrInput }
func (EndpointState) ElementType ¶ added in v3.10.0
func (EndpointState) ElementType() reflect.Type
type GetEndpointsArgs ¶ added in v3.10.0
type GetEndpointsArgs struct { // A list of Endpoint IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Endpoint name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getEndpoints.
type GetEndpointsEndpoint ¶ added in v3.10.0
type GetEndpointsEndpoint struct { // The creation time of the resource. CreateTime string `pulumi:"createTime"` // The name of the resource. EndpointName string `pulumi:"endpointName"` Id string `pulumi:"id"` // The Ip Configs. IpConfigs []GetEndpointsEndpointIpConfig `pulumi:"ipConfigs"` // The ID of the Security Group. SecurityGroupId string `pulumi:"securityGroupId"` // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status string `pulumi:"status"` // The VPC ID. VpcId string `pulumi:"vpcId"` // The name of the VPC. VpcName string `pulumi:"vpcName"` // The Region of the VPC. VpcRegionId string `pulumi:"vpcRegionId"` }
type GetEndpointsEndpointArgs ¶ added in v3.10.0
type GetEndpointsEndpointArgs struct { // The creation time of the resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // The name of the resource. EndpointName pulumi.StringInput `pulumi:"endpointName"` Id pulumi.StringInput `pulumi:"id"` // The Ip Configs. IpConfigs GetEndpointsEndpointIpConfigArrayInput `pulumi:"ipConfigs"` // The ID of the Security Group. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status pulumi.StringInput `pulumi:"status"` // The VPC ID. VpcId pulumi.StringInput `pulumi:"vpcId"` // The name of the VPC. VpcName pulumi.StringInput `pulumi:"vpcName"` // The Region of the VPC. VpcRegionId pulumi.StringInput `pulumi:"vpcRegionId"` }
func (GetEndpointsEndpointArgs) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointArgs) ElementType() reflect.Type
func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput ¶ added in v3.10.0
func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext ¶ added in v3.10.0
func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput
type GetEndpointsEndpointArray ¶ added in v3.10.0
type GetEndpointsEndpointArray []GetEndpointsEndpointInput
func (GetEndpointsEndpointArray) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointArray) ElementType() reflect.Type
func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput ¶ added in v3.10.0
func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext ¶ added in v3.10.0
func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput
type GetEndpointsEndpointArrayInput ¶ added in v3.10.0
type GetEndpointsEndpointArrayInput interface { pulumi.Input ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput ToGetEndpointsEndpointArrayOutputWithContext(context.Context) GetEndpointsEndpointArrayOutput }
GetEndpointsEndpointArrayInput is an input type that accepts GetEndpointsEndpointArray and GetEndpointsEndpointArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointArrayInput` via:
GetEndpointsEndpointArray{ GetEndpointsEndpointArgs{...} }
type GetEndpointsEndpointArrayOutput ¶ added in v3.10.0
type GetEndpointsEndpointArrayOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointArrayOutput) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointArrayOutput) ElementType() reflect.Type
func (GetEndpointsEndpointArrayOutput) Index ¶ added in v3.10.0
func (o GetEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetEndpointsEndpointOutput
func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput ¶ added in v3.10.0
func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext ¶ added in v3.10.0
func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput
type GetEndpointsEndpointInput ¶ added in v3.10.0
type GetEndpointsEndpointInput interface { pulumi.Input ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput ToGetEndpointsEndpointOutputWithContext(context.Context) GetEndpointsEndpointOutput }
GetEndpointsEndpointInput is an input type that accepts GetEndpointsEndpointArgs and GetEndpointsEndpointOutput values. You can construct a concrete instance of `GetEndpointsEndpointInput` via:
GetEndpointsEndpointArgs{...}
type GetEndpointsEndpointIpConfig ¶ added in v3.10.0
type GetEndpointsEndpointIpConfig struct { // The Subnet mask. CidrBlock string `pulumi:"cidrBlock"` // The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system. Ip string `pulumi:"ip"` // The Vswitch id. VswitchId string `pulumi:"vswitchId"` // The Zone ID. ZoneId string `pulumi:"zoneId"` }
type GetEndpointsEndpointIpConfigArgs ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigArgs struct { // The Subnet mask. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system. Ip pulumi.StringInput `pulumi:"ip"` // The Vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The Zone ID. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEndpointsEndpointIpConfigArgs) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointIpConfigArgs) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput ¶ added in v3.10.0
func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext ¶ added in v3.10.0
func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
type GetEndpointsEndpointIpConfigArray ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigArray []GetEndpointsEndpointIpConfigInput
func (GetEndpointsEndpointIpConfigArray) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointIpConfigArray) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput ¶ added in v3.10.0
func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext ¶ added in v3.10.0
func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
type GetEndpointsEndpointIpConfigArrayInput ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigArrayInput interface { pulumi.Input ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput ToGetEndpointsEndpointIpConfigArrayOutputWithContext(context.Context) GetEndpointsEndpointIpConfigArrayOutput }
GetEndpointsEndpointIpConfigArrayInput is an input type that accepts GetEndpointsEndpointIpConfigArray and GetEndpointsEndpointIpConfigArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointIpConfigArrayInput` via:
GetEndpointsEndpointIpConfigArray{ GetEndpointsEndpointIpConfigArgs{...} }
type GetEndpointsEndpointIpConfigArrayOutput ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigArrayOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointIpConfigArrayOutput) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointIpConfigArrayOutput) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
type GetEndpointsEndpointIpConfigInput ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigInput interface { pulumi.Input ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput ToGetEndpointsEndpointIpConfigOutputWithContext(context.Context) GetEndpointsEndpointIpConfigOutput }
GetEndpointsEndpointIpConfigInput is an input type that accepts GetEndpointsEndpointIpConfigArgs and GetEndpointsEndpointIpConfigOutput values. You can construct a concrete instance of `GetEndpointsEndpointIpConfigInput` via:
GetEndpointsEndpointIpConfigArgs{...}
type GetEndpointsEndpointIpConfigOutput ¶ added in v3.10.0
type GetEndpointsEndpointIpConfigOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointIpConfigOutput) CidrBlock ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
The Subnet mask.
func (GetEndpointsEndpointIpConfigOutput) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointIpConfigOutput) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigOutput) Ip ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) Ip() pulumi.StringOutput
The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system.
func (GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigOutput) VswitchId ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) VswitchId() pulumi.StringOutput
The Vswitch id.
func (GetEndpointsEndpointIpConfigOutput) ZoneId ¶ added in v3.10.0
func (o GetEndpointsEndpointIpConfigOutput) ZoneId() pulumi.StringOutput
The Zone ID.
type GetEndpointsEndpointOutput ¶ added in v3.10.0
type GetEndpointsEndpointOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointOutput) CreateTime ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetEndpointsEndpointOutput) ElementType ¶ added in v3.10.0
func (GetEndpointsEndpointOutput) ElementType() reflect.Type
func (GetEndpointsEndpointOutput) EndpointName ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) EndpointName() pulumi.StringOutput
The name of the resource.
func (GetEndpointsEndpointOutput) Id ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) Id() pulumi.StringOutput
func (GetEndpointsEndpointOutput) IpConfigs ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) IpConfigs() GetEndpointsEndpointIpConfigArrayOutput
The Ip Configs.
func (GetEndpointsEndpointOutput) SecurityGroupId ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) SecurityGroupId() pulumi.StringOutput
The ID of the Security Group.
func (GetEndpointsEndpointOutput) Status ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput
func (GetEndpointsEndpointOutput) VpcId ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) VpcId() pulumi.StringOutput
The VPC ID.
func (GetEndpointsEndpointOutput) VpcName ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) VpcName() pulumi.StringOutput
The name of the VPC.
func (GetEndpointsEndpointOutput) VpcRegionId ¶ added in v3.10.0
func (o GetEndpointsEndpointOutput) VpcRegionId() pulumi.StringOutput
The Region of the VPC.
type GetEndpointsOutputArgs ¶ added in v3.10.0
type GetEndpointsOutputArgs struct { // A list of Endpoint IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Endpoint name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getEndpoints.
func (GetEndpointsOutputArgs) ElementType ¶ added in v3.10.0
func (GetEndpointsOutputArgs) ElementType() reflect.Type
type GetEndpointsResult ¶ added in v3.10.0
type GetEndpointsResult struct { Endpoints []GetEndpointsEndpoint `pulumi:"endpoints"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getEndpoints.
func GetEndpoints ¶ added in v3.10.0
func GetEndpoints(ctx *pulumi.Context, args *GetEndpointsArgs, opts ...pulumi.InvokeOption) (*GetEndpointsResult, error)
This data source provides the Pvtz Endpoints of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := pvtz.GetEndpoints(ctx, &pvtz.GetEndpointsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("pvtzEndpointId1", ids.Endpoints[0].Id) nameRegex, err := pvtz.GetEndpoints(ctx, &pvtz.GetEndpointsArgs{ NameRegex: pulumi.StringRef("^my-Endpoint"), }, nil) if err != nil { return err } ctx.Export("pvtzEndpointId2", nameRegex.Endpoints[0].Id) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetEndpointsResultOutput ¶ added in v3.10.0
type GetEndpointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEndpoints.
func GetEndpointsOutput ¶ added in v3.10.0
func GetEndpointsOutput(ctx *pulumi.Context, args GetEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetEndpointsResultOutput
func (GetEndpointsResultOutput) ElementType ¶ added in v3.10.0
func (GetEndpointsResultOutput) ElementType() reflect.Type
func (GetEndpointsResultOutput) Endpoints ¶ added in v3.10.0
func (o GetEndpointsResultOutput) Endpoints() GetEndpointsEndpointArrayOutput
func (GetEndpointsResultOutput) Id ¶ added in v3.10.0
func (o GetEndpointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEndpointsResultOutput) Ids ¶ added in v3.10.0
func (o GetEndpointsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEndpointsResultOutput) NameRegex ¶ added in v3.10.0
func (o GetEndpointsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) Names ¶ added in v3.10.0
func (o GetEndpointsResultOutput) Names() pulumi.StringArrayOutput
func (GetEndpointsResultOutput) OutputFile ¶ added in v3.10.0
func (o GetEndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) Status ¶ added in v3.10.0
func (o GetEndpointsResultOutput) Status() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) ToGetEndpointsResultOutput ¶ added in v3.10.0
func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput
func (GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext ¶ added in v3.10.0
func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput
type GetResolverZonesArgs ¶ added in v3.10.0
type GetResolverZonesArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the Zone. Status *string `pulumi:"status"` }
A collection of arguments for invoking getResolverZones.
type GetResolverZonesOutputArgs ¶ added in v3.10.0
type GetResolverZonesOutputArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the Zone. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getResolverZones.
func (GetResolverZonesOutputArgs) ElementType ¶ added in v3.10.0
func (GetResolverZonesOutputArgs) ElementType() reflect.Type
type GetResolverZonesResult ¶ added in v3.10.0
type GetResolverZonesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` Zones []GetResolverZonesZone `pulumi:"zones"` }
A collection of values returned by getResolverZones.
func GetResolverZones ¶ added in v3.10.0
func GetResolverZones(ctx *pulumi.Context, args *GetResolverZonesArgs, opts ...pulumi.InvokeOption) (*GetResolverZonesResult, error)
This data source provides the available zones with the Private Zone Resolver of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := pvtz.GetResolverZones(ctx, &pvtz.GetResolverZonesArgs{ Status: pulumi.StringRef("NORMAL"), }, nil) if err != nil { return err } ctx.Export("firstZonesId", _default.Zones[0].ZoneId) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetResolverZonesResultOutput ¶ added in v3.10.0
type GetResolverZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverZones.
func GetResolverZonesOutput ¶ added in v3.10.0
func GetResolverZonesOutput(ctx *pulumi.Context, args GetResolverZonesOutputArgs, opts ...pulumi.InvokeOption) GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) ElementType ¶ added in v3.10.0
func (GetResolverZonesResultOutput) ElementType() reflect.Type
func (GetResolverZonesResultOutput) Id ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResolverZonesResultOutput) OutputFile ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetResolverZonesResultOutput) Status ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) Status() pulumi.StringPtrOutput
func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutput ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutput() GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext(ctx context.Context) GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) Zones ¶ added in v3.10.0
func (o GetResolverZonesResultOutput) Zones() GetResolverZonesZoneArrayOutput
type GetResolverZonesZone ¶ added in v3.10.0
type GetResolverZonesZoneArgs ¶ added in v3.10.0
type GetResolverZonesZoneArgs struct { // The status of the Zone. Status pulumi.StringInput `pulumi:"status"` // The zone ID. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetResolverZonesZoneArgs) ElementType ¶ added in v3.10.0
func (GetResolverZonesZoneArgs) ElementType() reflect.Type
func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput ¶ added in v3.10.0
func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext ¶ added in v3.10.0
func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput
type GetResolverZonesZoneArray ¶ added in v3.10.0
type GetResolverZonesZoneArray []GetResolverZonesZoneInput
func (GetResolverZonesZoneArray) ElementType ¶ added in v3.10.0
func (GetResolverZonesZoneArray) ElementType() reflect.Type
func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput ¶ added in v3.10.0
func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext ¶ added in v3.10.0
func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput
type GetResolverZonesZoneArrayInput ¶ added in v3.10.0
type GetResolverZonesZoneArrayInput interface { pulumi.Input ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput ToGetResolverZonesZoneArrayOutputWithContext(context.Context) GetResolverZonesZoneArrayOutput }
GetResolverZonesZoneArrayInput is an input type that accepts GetResolverZonesZoneArray and GetResolverZonesZoneArrayOutput values. You can construct a concrete instance of `GetResolverZonesZoneArrayInput` via:
GetResolverZonesZoneArray{ GetResolverZonesZoneArgs{...} }
type GetResolverZonesZoneArrayOutput ¶ added in v3.10.0
type GetResolverZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetResolverZonesZoneArrayOutput) ElementType ¶ added in v3.10.0
func (GetResolverZonesZoneArrayOutput) ElementType() reflect.Type
func (GetResolverZonesZoneArrayOutput) Index ¶ added in v3.10.0
func (o GetResolverZonesZoneArrayOutput) Index(i pulumi.IntInput) GetResolverZonesZoneOutput
func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput ¶ added in v3.10.0
func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext ¶ added in v3.10.0
func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput
type GetResolverZonesZoneInput ¶ added in v3.10.0
type GetResolverZonesZoneInput interface { pulumi.Input ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput ToGetResolverZonesZoneOutputWithContext(context.Context) GetResolverZonesZoneOutput }
GetResolverZonesZoneInput is an input type that accepts GetResolverZonesZoneArgs and GetResolverZonesZoneOutput values. You can construct a concrete instance of `GetResolverZonesZoneInput` via:
GetResolverZonesZoneArgs{...}
type GetResolverZonesZoneOutput ¶ added in v3.10.0
type GetResolverZonesZoneOutput struct{ *pulumi.OutputState }
func (GetResolverZonesZoneOutput) ElementType ¶ added in v3.10.0
func (GetResolverZonesZoneOutput) ElementType() reflect.Type
func (GetResolverZonesZoneOutput) Status ¶ added in v3.10.0
func (o GetResolverZonesZoneOutput) Status() pulumi.StringOutput
The status of the Zone.
func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput ¶ added in v3.10.0
func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext ¶ added in v3.10.0
func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput
func (GetResolverZonesZoneOutput) ZoneId ¶ added in v3.10.0
func (o GetResolverZonesZoneOutput) ZoneId() pulumi.StringOutput
The zone ID.
type GetRulesArgs ¶ added in v3.10.0
type GetRulesArgs struct { // The ID of the Endpoint. EndpointId *string `pulumi:"endpointId"` // A list of Rule IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Rule name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
type GetRulesOutputArgs ¶ added in v3.10.0
type GetRulesOutputArgs struct { // The ID of the Endpoint. EndpointId pulumi.StringPtrInput `pulumi:"endpointId"` // A list of Rule IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Rule name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶ added in v3.10.0
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶ added in v3.10.0
type GetRulesResult struct { EndpointId *string `pulumi:"endpointId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Rules []GetRulesRule `pulumi:"rules"` }
A collection of values returned by getRules.
func GetRules ¶ added in v3.10.0
func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)
This data source provides the PrivateZone Rules of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := pvtz.GetRules(ctx, nil, nil) if err != nil { return err } ctx.Export("pvtzRuleId1", ids.Rules[0].Id) nameRegex, err := pvtz.GetRules(ctx, &pvtz.GetRulesArgs{ NameRegex: pulumi.StringRef("^my-Rule"), }, nil) if err != nil { return err } ctx.Export("pvtzRuleId2", nameRegex.Rules[0].Id) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetRulesResultOutput ¶ added in v3.10.0
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶ added in v3.10.0
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ElementType ¶ added in v3.10.0
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) EndpointId ¶ added in v3.10.0
func (o GetRulesResultOutput) EndpointId() pulumi.StringPtrOutput
func (GetRulesResultOutput) Id ¶ added in v3.10.0
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶ added in v3.10.0
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetRulesResultOutput) NameRegex ¶ added in v3.10.0
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶ added in v3.10.0
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
func (GetRulesResultOutput) OutputFile ¶ added in v3.10.0
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) Rules ¶ added in v3.10.0
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
func (GetRulesResultOutput) ToGetRulesResultOutput ¶ added in v3.10.0
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶ added in v3.10.0
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesRule ¶ added in v3.10.0
type GetRulesRule struct { // The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+. BindVpcs []GetRulesRuleBindVpc `pulumi:"bindVpcs"` // The creation time of the resource. CreateTime string `pulumi:"createTime"` // The ID of the Endpoint. EndpointId string `pulumi:"endpointId"` // The Name of the Endpoint. EndpointName string `pulumi:"endpointName"` ForwardIps []GetRulesRuleForwardIp `pulumi:"forwardIps"` // The ID of the Rule. Id string `pulumi:"id"` // The first ID of the resource. RuleId string `pulumi:"ruleId"` // The name of the resource. RuleName string `pulumi:"ruleName"` // The type of the rule. Type string `pulumi:"type"` // The name of the forwarding zone. ZoneName string `pulumi:"zoneName"` }
type GetRulesRuleArgs ¶ added in v3.10.0
type GetRulesRuleArgs struct { // The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+. BindVpcs GetRulesRuleBindVpcArrayInput `pulumi:"bindVpcs"` // The creation time of the resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the Endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // The Name of the Endpoint. EndpointName pulumi.StringInput `pulumi:"endpointName"` ForwardIps GetRulesRuleForwardIpArrayInput `pulumi:"forwardIps"` // The ID of the Rule. Id pulumi.StringInput `pulumi:"id"` // The first ID of the resource. RuleId pulumi.StringInput `pulumi:"ruleId"` // The name of the resource. RuleName pulumi.StringInput `pulumi:"ruleName"` // The type of the rule. Type pulumi.StringInput `pulumi:"type"` // The name of the forwarding zone. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
func (GetRulesRuleArgs) ElementType ¶ added in v3.10.0
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶ added in v3.10.0
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶ added in v3.10.0
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleArray ¶ added in v3.10.0
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶ added in v3.10.0
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶ added in v3.10.0
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶ added in v3.10.0
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleArrayInput ¶ added in v3.10.0
type GetRulesRuleArrayInput interface { pulumi.Input ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput }
GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:
GetRulesRuleArray{ GetRulesRuleArgs{...} }
type GetRulesRuleArrayOutput ¶ added in v3.10.0
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶ added in v3.10.0
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶ added in v3.10.0
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶ added in v3.10.0
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶ added in v3.10.0
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleBindVpc ¶ added in v3.18.0
type GetRulesRuleBindVpcArgs ¶ added in v3.18.0
type GetRulesRuleBindVpcArgs struct { // The region ID of the vpc. RegionId pulumi.StringInput `pulumi:"regionId"` // The Region Name of the vpc. RegionName pulumi.StringInput `pulumi:"regionName"` // The ID of the VPC. VpcId pulumi.StringInput `pulumi:"vpcId"` // The Name of the VPC. VpcName pulumi.StringInput `pulumi:"vpcName"` }
func (GetRulesRuleBindVpcArgs) ElementType ¶ added in v3.18.0
func (GetRulesRuleBindVpcArgs) ElementType() reflect.Type
func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput ¶ added in v3.18.0
func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext ¶ added in v3.18.0
func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput
type GetRulesRuleBindVpcArray ¶ added in v3.18.0
type GetRulesRuleBindVpcArray []GetRulesRuleBindVpcInput
func (GetRulesRuleBindVpcArray) ElementType ¶ added in v3.18.0
func (GetRulesRuleBindVpcArray) ElementType() reflect.Type
func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput ¶ added in v3.18.0
func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext ¶ added in v3.18.0
func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput
type GetRulesRuleBindVpcArrayInput ¶ added in v3.18.0
type GetRulesRuleBindVpcArrayInput interface { pulumi.Input ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput ToGetRulesRuleBindVpcArrayOutputWithContext(context.Context) GetRulesRuleBindVpcArrayOutput }
GetRulesRuleBindVpcArrayInput is an input type that accepts GetRulesRuleBindVpcArray and GetRulesRuleBindVpcArrayOutput values. You can construct a concrete instance of `GetRulesRuleBindVpcArrayInput` via:
GetRulesRuleBindVpcArray{ GetRulesRuleBindVpcArgs{...} }
type GetRulesRuleBindVpcArrayOutput ¶ added in v3.18.0
type GetRulesRuleBindVpcArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleBindVpcArrayOutput) ElementType ¶ added in v3.18.0
func (GetRulesRuleBindVpcArrayOutput) ElementType() reflect.Type
func (GetRulesRuleBindVpcArrayOutput) Index ¶ added in v3.18.0
func (o GetRulesRuleBindVpcArrayOutput) Index(i pulumi.IntInput) GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput ¶ added in v3.18.0
func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext ¶ added in v3.18.0
func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput
type GetRulesRuleBindVpcInput ¶ added in v3.18.0
type GetRulesRuleBindVpcInput interface { pulumi.Input ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput ToGetRulesRuleBindVpcOutputWithContext(context.Context) GetRulesRuleBindVpcOutput }
GetRulesRuleBindVpcInput is an input type that accepts GetRulesRuleBindVpcArgs and GetRulesRuleBindVpcOutput values. You can construct a concrete instance of `GetRulesRuleBindVpcInput` via:
GetRulesRuleBindVpcArgs{...}
type GetRulesRuleBindVpcOutput ¶ added in v3.18.0
type GetRulesRuleBindVpcOutput struct{ *pulumi.OutputState }
func (GetRulesRuleBindVpcOutput) ElementType ¶ added in v3.18.0
func (GetRulesRuleBindVpcOutput) ElementType() reflect.Type
func (GetRulesRuleBindVpcOutput) RegionId ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) RegionId() pulumi.StringOutput
The region ID of the vpc.
func (GetRulesRuleBindVpcOutput) RegionName ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) RegionName() pulumi.StringOutput
The Region Name of the vpc.
func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcOutput) VpcId ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) VpcId() pulumi.StringOutput
The ID of the VPC.
func (GetRulesRuleBindVpcOutput) VpcName ¶ added in v3.18.0
func (o GetRulesRuleBindVpcOutput) VpcName() pulumi.StringOutput
The Name of the VPC.
type GetRulesRuleForwardIp ¶ added in v3.10.0
type GetRulesRuleForwardIpArgs ¶ added in v3.10.0
type GetRulesRuleForwardIpArgs struct { Ip pulumi.StringInput `pulumi:"ip"` Port pulumi.IntInput `pulumi:"port"` }
func (GetRulesRuleForwardIpArgs) ElementType ¶ added in v3.10.0
func (GetRulesRuleForwardIpArgs) ElementType() reflect.Type
func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput ¶ added in v3.10.0
func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext ¶ added in v3.10.0
func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput
type GetRulesRuleForwardIpArray ¶ added in v3.10.0
type GetRulesRuleForwardIpArray []GetRulesRuleForwardIpInput
func (GetRulesRuleForwardIpArray) ElementType ¶ added in v3.10.0
func (GetRulesRuleForwardIpArray) ElementType() reflect.Type
func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput ¶ added in v3.10.0
func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext ¶ added in v3.10.0
func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
type GetRulesRuleForwardIpArrayInput ¶ added in v3.10.0
type GetRulesRuleForwardIpArrayInput interface { pulumi.Input ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput ToGetRulesRuleForwardIpArrayOutputWithContext(context.Context) GetRulesRuleForwardIpArrayOutput }
GetRulesRuleForwardIpArrayInput is an input type that accepts GetRulesRuleForwardIpArray and GetRulesRuleForwardIpArrayOutput values. You can construct a concrete instance of `GetRulesRuleForwardIpArrayInput` via:
GetRulesRuleForwardIpArray{ GetRulesRuleForwardIpArgs{...} }
type GetRulesRuleForwardIpArrayOutput ¶ added in v3.10.0
type GetRulesRuleForwardIpArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleForwardIpArrayOutput) ElementType ¶ added in v3.10.0
func (GetRulesRuleForwardIpArrayOutput) ElementType() reflect.Type
func (GetRulesRuleForwardIpArrayOutput) Index ¶ added in v3.10.0
func (o GetRulesRuleForwardIpArrayOutput) Index(i pulumi.IntInput) GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput ¶ added in v3.10.0
func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext ¶ added in v3.10.0
func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
type GetRulesRuleForwardIpInput ¶ added in v3.10.0
type GetRulesRuleForwardIpInput interface { pulumi.Input ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput ToGetRulesRuleForwardIpOutputWithContext(context.Context) GetRulesRuleForwardIpOutput }
GetRulesRuleForwardIpInput is an input type that accepts GetRulesRuleForwardIpArgs and GetRulesRuleForwardIpOutput values. You can construct a concrete instance of `GetRulesRuleForwardIpInput` via:
GetRulesRuleForwardIpArgs{...}
type GetRulesRuleForwardIpOutput ¶ added in v3.10.0
type GetRulesRuleForwardIpOutput struct{ *pulumi.OutputState }
func (GetRulesRuleForwardIpOutput) ElementType ¶ added in v3.10.0
func (GetRulesRuleForwardIpOutput) ElementType() reflect.Type
func (GetRulesRuleForwardIpOutput) Ip ¶ added in v3.10.0
func (o GetRulesRuleForwardIpOutput) Ip() pulumi.StringOutput
func (GetRulesRuleForwardIpOutput) Port ¶ added in v3.10.0
func (o GetRulesRuleForwardIpOutput) Port() pulumi.IntOutput
func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput ¶ added in v3.10.0
func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext ¶ added in v3.10.0
func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput
type GetRulesRuleInput ¶ added in v3.10.0
type GetRulesRuleInput interface { pulumi.Input ToGetRulesRuleOutput() GetRulesRuleOutput ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput }
GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:
GetRulesRuleArgs{...}
type GetRulesRuleOutput ¶ added in v3.10.0
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) BindVpcs ¶ added in v3.18.0
func (o GetRulesRuleOutput) BindVpcs() GetRulesRuleBindVpcArrayOutput
The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+.
func (GetRulesRuleOutput) CreateTime ¶ added in v3.10.0
func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetRulesRuleOutput) ElementType ¶ added in v3.10.0
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) EndpointId ¶ added in v3.10.0
func (o GetRulesRuleOutput) EndpointId() pulumi.StringOutput
The ID of the Endpoint.
func (GetRulesRuleOutput) EndpointName ¶ added in v3.10.0
func (o GetRulesRuleOutput) EndpointName() pulumi.StringOutput
The Name of the Endpoint.
func (GetRulesRuleOutput) ForwardIps ¶ added in v3.10.0
func (o GetRulesRuleOutput) ForwardIps() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleOutput) Id ¶ added in v3.10.0
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Rule.
func (GetRulesRuleOutput) RuleId ¶ added in v3.10.0
func (o GetRulesRuleOutput) RuleId() pulumi.StringOutput
The first ID of the resource.
func (GetRulesRuleOutput) RuleName ¶ added in v3.10.0
func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
The name of the resource.
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶ added in v3.10.0
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶ added in v3.10.0
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
func (GetRulesRuleOutput) Type ¶ added in v3.10.0
func (o GetRulesRuleOutput) Type() pulumi.StringOutput
The type of the rule.
func (GetRulesRuleOutput) ZoneName ¶ added in v3.10.0
func (o GetRulesRuleOutput) ZoneName() pulumi.StringOutput
The name of the forwarding zone.
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". // // > **NOTE:** Setting `enable = "On"` to open the Private Zone service that means you have read and agreed the [Private Zone Terms of Service](https://help.aliyun.com/document_detail/65657.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶ added in v3.9.0
type GetServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". // // > **NOTE:** Setting `enable = "On"` to open the Private Zone service that means you have read and agreed the [Private Zone Terms of Service](https://help.aliyun.com/document_detail/65657.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶ added in v3.9.0
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can open Private Zone service automatically. If the service has been opened, it will return opened.
For information about Priavte Zone and how to use it, see [What is Private Zone](https://www.alibabacloud.com/help/en/product/64583.htm).
> **NOTE:** Available in v1.114.0+
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pvtz.GetService(ctx, &pvtz.GetServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetServiceResultOutput ¶ added in v3.9.0
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶ added in v3.9.0
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶ added in v3.9.0
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶ added in v3.9.0
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶ added in v3.9.0
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶ added in v3.9.0
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type GetZoneRecordsArgs ¶
type GetZoneRecordsArgs struct { // A list of Private Zone Record IDs. Ids []string `pulumi:"ids"` // Keyword for record rr and value. Keyword *string `pulumi:"keyword"` // User language. Lang *string `pulumi:"lang"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // Search mode. Value: // - LIKE: fuzzy search. // - EXACT: precise search. It is not filled in by default. SearchMode *string `pulumi:"searchMode"` // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status *string `pulumi:"status"` // It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone. Tag *string `pulumi:"tag"` // User ip. UserClientIp *string `pulumi:"userClientIp"` // ID of the Private Zone. ZoneId string `pulumi:"zoneId"` }
A collection of arguments for invoking getZoneRecords.
type GetZoneRecordsOutputArgs ¶ added in v3.9.0
type GetZoneRecordsOutputArgs struct { // A list of Private Zone Record IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // Keyword for record rr and value. Keyword pulumi.StringPtrInput `pulumi:"keyword"` // User language. Lang pulumi.StringPtrInput `pulumi:"lang"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Search mode. Value: // - LIKE: fuzzy search. // - EXACT: precise search. It is not filled in by default. SearchMode pulumi.StringPtrInput `pulumi:"searchMode"` // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status pulumi.StringPtrInput `pulumi:"status"` // It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone. Tag pulumi.StringPtrInput `pulumi:"tag"` // User ip. UserClientIp pulumi.StringPtrInput `pulumi:"userClientIp"` // ID of the Private Zone. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
A collection of arguments for invoking getZoneRecords.
func (GetZoneRecordsOutputArgs) ElementType ¶ added in v3.9.0
func (GetZoneRecordsOutputArgs) ElementType() reflect.Type
type GetZoneRecordsRecord ¶
type GetZoneRecordsRecord struct { // ID of the Private Zone Record. Id string `pulumi:"id"` // Priority of the Private Zone Record. Priority int `pulumi:"priority"` // RecordId of the Private Zone Record. RecordId string `pulumi:"recordId"` // Remark of the Private Zone Record. Remark string `pulumi:"remark"` // Resource record of the Private Zone Record. ResourceRecord string `pulumi:"resourceRecord"` // Rr of the Private Zone Record. Rr string `pulumi:"rr"` // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status string `pulumi:"status"` // Ttl of the Private Zone Record. Ttl int `pulumi:"ttl"` // Type of the Private Zone Record. Type string `pulumi:"type"` // Value of the Private Zone Record. Value string `pulumi:"value"` }
type GetZoneRecordsRecordArgs ¶
type GetZoneRecordsRecordArgs struct { // ID of the Private Zone Record. Id pulumi.StringInput `pulumi:"id"` // Priority of the Private Zone Record. Priority pulumi.IntInput `pulumi:"priority"` // RecordId of the Private Zone Record. RecordId pulumi.StringInput `pulumi:"recordId"` // Remark of the Private Zone Record. Remark pulumi.StringInput `pulumi:"remark"` // Resource record of the Private Zone Record. ResourceRecord pulumi.StringInput `pulumi:"resourceRecord"` // Rr of the Private Zone Record. Rr pulumi.StringInput `pulumi:"rr"` // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status pulumi.StringInput `pulumi:"status"` // Ttl of the Private Zone Record. Ttl pulumi.IntInput `pulumi:"ttl"` // Type of the Private Zone Record. Type pulumi.StringInput `pulumi:"type"` // Value of the Private Zone Record. Value pulumi.StringInput `pulumi:"value"` }
func (GetZoneRecordsRecordArgs) ElementType ¶
func (GetZoneRecordsRecordArgs) ElementType() reflect.Type
func (GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutput ¶
func (i GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput
func (GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutputWithContext ¶
func (i GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutputWithContext(ctx context.Context) GetZoneRecordsRecordOutput
type GetZoneRecordsRecordArray ¶
type GetZoneRecordsRecordArray []GetZoneRecordsRecordInput
func (GetZoneRecordsRecordArray) ElementType ¶
func (GetZoneRecordsRecordArray) ElementType() reflect.Type
func (GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutput ¶
func (i GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput
func (GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutputWithContext ¶
func (i GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutputWithContext(ctx context.Context) GetZoneRecordsRecordArrayOutput
type GetZoneRecordsRecordArrayInput ¶
type GetZoneRecordsRecordArrayInput interface { pulumi.Input ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput ToGetZoneRecordsRecordArrayOutputWithContext(context.Context) GetZoneRecordsRecordArrayOutput }
GetZoneRecordsRecordArrayInput is an input type that accepts GetZoneRecordsRecordArray and GetZoneRecordsRecordArrayOutput values. You can construct a concrete instance of `GetZoneRecordsRecordArrayInput` via:
GetZoneRecordsRecordArray{ GetZoneRecordsRecordArgs{...} }
type GetZoneRecordsRecordArrayOutput ¶
type GetZoneRecordsRecordArrayOutput struct{ *pulumi.OutputState }
func (GetZoneRecordsRecordArrayOutput) ElementType ¶
func (GetZoneRecordsRecordArrayOutput) ElementType() reflect.Type
func (GetZoneRecordsRecordArrayOutput) Index ¶
func (o GetZoneRecordsRecordArrayOutput) Index(i pulumi.IntInput) GetZoneRecordsRecordOutput
func (GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutput ¶
func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput
func (GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutputWithContext ¶
func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutputWithContext(ctx context.Context) GetZoneRecordsRecordArrayOutput
type GetZoneRecordsRecordInput ¶
type GetZoneRecordsRecordInput interface { pulumi.Input ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput ToGetZoneRecordsRecordOutputWithContext(context.Context) GetZoneRecordsRecordOutput }
GetZoneRecordsRecordInput is an input type that accepts GetZoneRecordsRecordArgs and GetZoneRecordsRecordOutput values. You can construct a concrete instance of `GetZoneRecordsRecordInput` via:
GetZoneRecordsRecordArgs{...}
type GetZoneRecordsRecordOutput ¶
type GetZoneRecordsRecordOutput struct{ *pulumi.OutputState }
func (GetZoneRecordsRecordOutput) ElementType ¶
func (GetZoneRecordsRecordOutput) ElementType() reflect.Type
func (GetZoneRecordsRecordOutput) Id ¶
func (o GetZoneRecordsRecordOutput) Id() pulumi.StringOutput
ID of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Priority ¶
func (o GetZoneRecordsRecordOutput) Priority() pulumi.IntOutput
Priority of the Private Zone Record.
func (GetZoneRecordsRecordOutput) RecordId ¶
func (o GetZoneRecordsRecordOutput) RecordId() pulumi.StringOutput
RecordId of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Remark ¶
func (o GetZoneRecordsRecordOutput) Remark() pulumi.StringOutput
Remark of the Private Zone Record.
func (GetZoneRecordsRecordOutput) ResourceRecord ¶
func (o GetZoneRecordsRecordOutput) ResourceRecord() pulumi.StringOutput
Resource record of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Rr ¶
func (o GetZoneRecordsRecordOutput) Rr() pulumi.StringOutput
Rr of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Status ¶
func (o GetZoneRecordsRecordOutput) Status() pulumi.StringOutput
Resolve record status. Value: - ENABLE: enable resolution. - DISABLE: pause parsing.
func (GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutput ¶
func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput
func (GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutputWithContext ¶
func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutputWithContext(ctx context.Context) GetZoneRecordsRecordOutput
func (GetZoneRecordsRecordOutput) Ttl ¶
func (o GetZoneRecordsRecordOutput) Ttl() pulumi.IntOutput
Ttl of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Type ¶
func (o GetZoneRecordsRecordOutput) Type() pulumi.StringOutput
Type of the Private Zone Record.
func (GetZoneRecordsRecordOutput) Value ¶
func (o GetZoneRecordsRecordOutput) Value() pulumi.StringOutput
Value of the Private Zone Record.
type GetZoneRecordsResult ¶
type GetZoneRecordsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Private Zone Record IDs. Ids []string `pulumi:"ids"` Keyword *string `pulumi:"keyword"` Lang *string `pulumi:"lang"` OutputFile *string `pulumi:"outputFile"` // A list of zone records. Each element contains the following attributes: Records []GetZoneRecordsRecord `pulumi:"records"` SearchMode *string `pulumi:"searchMode"` // Status of the Private Zone Record. Status *string `pulumi:"status"` Tag *string `pulumi:"tag"` UserClientIp *string `pulumi:"userClientIp"` ZoneId string `pulumi:"zoneId"` }
A collection of values returned by getZoneRecords.
func GetZoneRecords ¶
func GetZoneRecords(ctx *pulumi.Context, args *GetZoneRecordsArgs, opts ...pulumi.InvokeOption) (*GetZoneRecordsResult, error)
This data source provides Private Zone Records resource information owned by an Alibaba Cloud account.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { recordsDs, err := pvtz.GetZoneRecords(ctx, &pvtz.GetZoneRecordsArgs{ Keyword: pulumi.StringRef(alicloud_pvtz_zone_record.Foo.Value), ZoneId: alicloud_pvtz_zone.Basic.Id, }, nil) if err != nil { return err } ctx.Export("firstRecordId", recordsDs.Records[0].Id) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetZoneRecordsResultOutput ¶ added in v3.9.0
type GetZoneRecordsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZoneRecords.
func GetZoneRecordsOutput ¶ added in v3.9.0
func GetZoneRecordsOutput(ctx *pulumi.Context, args GetZoneRecordsOutputArgs, opts ...pulumi.InvokeOption) GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) ElementType ¶ added in v3.9.0
func (GetZoneRecordsResultOutput) ElementType() reflect.Type
func (GetZoneRecordsResultOutput) Id ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZoneRecordsResultOutput) Ids ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Ids() pulumi.StringArrayOutput
A list of Private Zone Record IDs.
func (GetZoneRecordsResultOutput) Keyword ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Keyword() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Lang ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Lang() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Records ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Records() GetZoneRecordsRecordArrayOutput
A list of zone records. Each element contains the following attributes:
func (GetZoneRecordsResultOutput) SearchMode ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) SearchMode() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Status ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Status() pulumi.StringPtrOutput
Status of the Private Zone Record.
func (GetZoneRecordsResultOutput) Tag ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) Tag() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput() GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext(ctx context.Context) GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) UserClientIp ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) UserClientIp() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) ZoneId ¶ added in v3.9.0
func (o GetZoneRecordsResultOutput) ZoneId() pulumi.StringOutput
type GetZonesArgs ¶
type GetZonesArgs struct { // Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // A list of zone IDs. Ids []string `pulumi:"ids"` // keyword for zone name. Keyword *string `pulumi:"keyword"` // User language. Lang *string `pulumi:"lang"` NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // query_region_id for zone regionId. QueryRegionId *string `pulumi:"queryRegionId"` // query_vpc_id for zone vpcId. QueryVpcId *string `pulumi:"queryVpcId"` // resource_group_id for zone resourceGroupId. ResourceGroupId *string `pulumi:"resourceGroupId"` // Search mode. Value: // - LIKE: fuzzy search. // - EXACT: precise search. It is not filled in by default. SearchMode *string `pulumi:"searchMode"` }
A collection of arguments for invoking getZones.
type GetZonesOutputArgs ¶ added in v3.9.0
type GetZonesOutputArgs struct { // Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of zone IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // keyword for zone name. Keyword pulumi.StringPtrInput `pulumi:"keyword"` // User language. Lang pulumi.StringPtrInput `pulumi:"lang"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // query_region_id for zone regionId. QueryRegionId pulumi.StringPtrInput `pulumi:"queryRegionId"` // query_vpc_id for zone vpcId. QueryVpcId pulumi.StringPtrInput `pulumi:"queryVpcId"` // resource_group_id for zone resourceGroupId. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // Search mode. Value: // - LIKE: fuzzy search. // - EXACT: precise search. It is not filled in by default. SearchMode pulumi.StringPtrInput `pulumi:"searchMode"` }
A collection of arguments for invoking getZones.
func (GetZonesOutputArgs) ElementType ¶ added in v3.9.0
func (GetZonesOutputArgs) ElementType() reflect.Type
type GetZonesResult ¶
type GetZonesResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of zone IDs. Ids []string `pulumi:"ids"` Keyword *string `pulumi:"keyword"` Lang *string `pulumi:"lang"` NameRegex *string `pulumi:"nameRegex"` // A list of zone names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` QueryRegionId *string `pulumi:"queryRegionId"` QueryVpcId *string `pulumi:"queryVpcId"` // The Id of resource group which the Private Zone belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` SearchMode *string `pulumi:"searchMode"` // A list of zones. Each element contains the following attributes: Zones []GetZonesZone `pulumi:"zones"` }
A collection of values returned by getZones.
func GetZones ¶
func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)
This data source lists a number of Private Zones resource information owned by an Alibaba Cloud account.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { pvtzZonesDs, err := pvtz.GetZones(ctx, &pvtz.GetZonesArgs{ Keyword: pulumi.StringRef(alicloud_pvtz_zone.Basic.Zone_name), }, nil) if err != nil { return err } ctx.Export("firstZoneId", pvtzZonesDs.Zones[0].Id) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetZonesResultOutput ¶ added in v3.9.0
type GetZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZones.
func GetZonesOutput ¶ added in v3.9.0
func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput
func (GetZonesResultOutput) ElementType ¶ added in v3.9.0
func (GetZonesResultOutput) ElementType() reflect.Type
func (GetZonesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetZonesResultOutput) Id ¶ added in v3.9.0
func (o GetZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZonesResultOutput) Ids ¶ added in v3.9.0
func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
A list of zone IDs.
func (GetZonesResultOutput) Keyword ¶ added in v3.9.0
func (o GetZonesResultOutput) Keyword() pulumi.StringPtrOutput
func (GetZonesResultOutput) Lang ¶ added in v3.9.0
func (o GetZonesResultOutput) Lang() pulumi.StringPtrOutput
func (GetZonesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetZonesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetZonesResultOutput) Names ¶ added in v3.9.0
func (o GetZonesResultOutput) Names() pulumi.StringArrayOutput
A list of zone names.
func (GetZonesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZonesResultOutput) QueryRegionId ¶ added in v3.9.0
func (o GetZonesResultOutput) QueryRegionId() pulumi.StringPtrOutput
func (GetZonesResultOutput) QueryVpcId ¶ added in v3.9.0
func (o GetZonesResultOutput) QueryVpcId() pulumi.StringPtrOutput
func (GetZonesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetZonesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the Private Zone belongs.
func (GetZonesResultOutput) SearchMode ¶ added in v3.9.0
func (o GetZonesResultOutput) SearchMode() pulumi.StringPtrOutput
func (GetZonesResultOutput) ToGetZonesResultOutput ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
func (GetZonesResultOutput) ToGetZonesResultOutputWithContext ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
func (GetZonesResultOutput) Zones ¶ added in v3.9.0
func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
A list of zones. Each element contains the following attributes:
type GetZonesZone ¶
type GetZonesZone struct { // List of the VPCs is bound to the Private Zone: BindVpcs []GetZonesZoneBindVpc `pulumi:"bindVpcs"` // Time of create of the Private Zone. CreateTimestamp int `pulumi:"createTimestamp"` CreationTime string `pulumi:"creationTime"` // ID of the Private Zone. Id string `pulumi:"id"` // Whether the Private Zone is ptr. IsPtr bool `pulumi:"isPtr"` // Name of the Private Zone. Name string `pulumi:"name"` // The recursive DNS proxy. ProxyPattern string `pulumi:"proxyPattern"` // Count of the Private Zone Record. RecordCount int `pulumi:"recordCount"` // Remark of the Private Zone. Remark string `pulumi:"remark"` // resource_group_id for zone resourceGroupId. ResourceGroupId string `pulumi:"resourceGroupId"` // Whether to turn on secondary DNS. SlaveDns bool `pulumi:"slaveDns"` UpdateTime string `pulumi:"updateTime"` // Time of update of the Private Zone. UpdateTimestamp int `pulumi:"updateTimestamp"` // ZoneId of the Private Zone. ZoneId string `pulumi:"zoneId"` // ZoneName of the Private Zone. ZoneName string `pulumi:"zoneName"` }
type GetZonesZoneArgs ¶
type GetZonesZoneArgs struct { // List of the VPCs is bound to the Private Zone: BindVpcs GetZonesZoneBindVpcArrayInput `pulumi:"bindVpcs"` // Time of create of the Private Zone. CreateTimestamp pulumi.IntInput `pulumi:"createTimestamp"` CreationTime pulumi.StringInput `pulumi:"creationTime"` // ID of the Private Zone. Id pulumi.StringInput `pulumi:"id"` // Whether the Private Zone is ptr. IsPtr pulumi.BoolInput `pulumi:"isPtr"` // Name of the Private Zone. Name pulumi.StringInput `pulumi:"name"` // The recursive DNS proxy. ProxyPattern pulumi.StringInput `pulumi:"proxyPattern"` // Count of the Private Zone Record. RecordCount pulumi.IntInput `pulumi:"recordCount"` // Remark of the Private Zone. Remark pulumi.StringInput `pulumi:"remark"` // resource_group_id for zone resourceGroupId. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Whether to turn on secondary DNS. SlaveDns pulumi.BoolInput `pulumi:"slaveDns"` UpdateTime pulumi.StringInput `pulumi:"updateTime"` // Time of update of the Private Zone. UpdateTimestamp pulumi.IntInput `pulumi:"updateTimestamp"` // ZoneId of the Private Zone. ZoneId pulumi.StringInput `pulumi:"zoneId"` // ZoneName of the Private Zone. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
func (GetZonesZoneArgs) ElementType ¶
func (GetZonesZoneArgs) ElementType() reflect.Type
func (GetZonesZoneArgs) ToGetZonesZoneOutput ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type GetZonesZoneArray ¶
type GetZonesZoneArray []GetZonesZoneInput
func (GetZonesZoneArray) ElementType ¶
func (GetZonesZoneArray) ElementType() reflect.Type
func (GetZonesZoneArray) ToGetZonesZoneArrayOutput ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneArrayInput ¶
type GetZonesZoneArrayInput interface { pulumi.Input ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput }
GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:
GetZonesZoneArray{ GetZonesZoneArgs{...} }
type GetZonesZoneArrayOutput ¶
type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneArrayOutput) ElementType ¶
func (GetZonesZoneArrayOutput) ElementType() reflect.Type
func (GetZonesZoneArrayOutput) Index ¶
func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneBindVpc ¶
type GetZonesZoneBindVpcArgs ¶
type GetZonesZoneBindVpcArgs struct { // Binding the regionId of VPC. RegionId pulumi.StringInput `pulumi:"regionId"` // Binding the regionName of VPC. RegionName pulumi.StringInput `pulumi:"regionName"` // Binding the vpcId of VPC. VpcId pulumi.StringInput `pulumi:"vpcId"` VpcName pulumi.StringInput `pulumi:"vpcName"` }
func (GetZonesZoneBindVpcArgs) ElementType ¶
func (GetZonesZoneBindVpcArgs) ElementType() reflect.Type
func (GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutput ¶
func (i GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput
func (GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutputWithContext ¶
func (i GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutputWithContext(ctx context.Context) GetZonesZoneBindVpcOutput
type GetZonesZoneBindVpcArray ¶
type GetZonesZoneBindVpcArray []GetZonesZoneBindVpcInput
func (GetZonesZoneBindVpcArray) ElementType ¶
func (GetZonesZoneBindVpcArray) ElementType() reflect.Type
func (GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutput ¶
func (i GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput
func (GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutputWithContext ¶
func (i GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutputWithContext(ctx context.Context) GetZonesZoneBindVpcArrayOutput
type GetZonesZoneBindVpcArrayInput ¶
type GetZonesZoneBindVpcArrayInput interface { pulumi.Input ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput ToGetZonesZoneBindVpcArrayOutputWithContext(context.Context) GetZonesZoneBindVpcArrayOutput }
GetZonesZoneBindVpcArrayInput is an input type that accepts GetZonesZoneBindVpcArray and GetZonesZoneBindVpcArrayOutput values. You can construct a concrete instance of `GetZonesZoneBindVpcArrayInput` via:
GetZonesZoneBindVpcArray{ GetZonesZoneBindVpcArgs{...} }
type GetZonesZoneBindVpcArrayOutput ¶
type GetZonesZoneBindVpcArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneBindVpcArrayOutput) ElementType ¶
func (GetZonesZoneBindVpcArrayOutput) ElementType() reflect.Type
func (GetZonesZoneBindVpcArrayOutput) Index ¶
func (o GetZonesZoneBindVpcArrayOutput) Index(i pulumi.IntInput) GetZonesZoneBindVpcOutput
func (GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutput ¶
func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput
func (GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutputWithContext ¶
func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutputWithContext(ctx context.Context) GetZonesZoneBindVpcArrayOutput
type GetZonesZoneBindVpcInput ¶
type GetZonesZoneBindVpcInput interface { pulumi.Input ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput ToGetZonesZoneBindVpcOutputWithContext(context.Context) GetZonesZoneBindVpcOutput }
GetZonesZoneBindVpcInput is an input type that accepts GetZonesZoneBindVpcArgs and GetZonesZoneBindVpcOutput values. You can construct a concrete instance of `GetZonesZoneBindVpcInput` via:
GetZonesZoneBindVpcArgs{...}
type GetZonesZoneBindVpcOutput ¶
type GetZonesZoneBindVpcOutput struct{ *pulumi.OutputState }
func (GetZonesZoneBindVpcOutput) ElementType ¶
func (GetZonesZoneBindVpcOutput) ElementType() reflect.Type
func (GetZonesZoneBindVpcOutput) RegionId ¶
func (o GetZonesZoneBindVpcOutput) RegionId() pulumi.StringOutput
Binding the regionId of VPC.
func (GetZonesZoneBindVpcOutput) RegionName ¶
func (o GetZonesZoneBindVpcOutput) RegionName() pulumi.StringOutput
Binding the regionName of VPC.
func (GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutput ¶
func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput
func (GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutputWithContext ¶
func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutputWithContext(ctx context.Context) GetZonesZoneBindVpcOutput
func (GetZonesZoneBindVpcOutput) VpcId ¶
func (o GetZonesZoneBindVpcOutput) VpcId() pulumi.StringOutput
Binding the vpcId of VPC.
func (GetZonesZoneBindVpcOutput) VpcName ¶
func (o GetZonesZoneBindVpcOutput) VpcName() pulumi.StringOutput
type GetZonesZoneInput ¶
type GetZonesZoneInput interface { pulumi.Input ToGetZonesZoneOutput() GetZonesZoneOutput ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput }
GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:
GetZonesZoneArgs{...}
type GetZonesZoneOutput ¶
type GetZonesZoneOutput struct{ *pulumi.OutputState }
func (GetZonesZoneOutput) BindVpcs ¶
func (o GetZonesZoneOutput) BindVpcs() GetZonesZoneBindVpcArrayOutput
List of the VPCs is bound to the Private Zone:
func (GetZonesZoneOutput) CreateTimestamp ¶
func (o GetZonesZoneOutput) CreateTimestamp() pulumi.IntOutput
Time of create of the Private Zone.
func (GetZonesZoneOutput) CreationTime ¶
func (o GetZonesZoneOutput) CreationTime() pulumi.StringOutput
func (GetZonesZoneOutput) ElementType ¶
func (GetZonesZoneOutput) ElementType() reflect.Type
func (GetZonesZoneOutput) Id ¶
func (o GetZonesZoneOutput) Id() pulumi.StringOutput
ID of the Private Zone.
func (GetZonesZoneOutput) IsPtr ¶
func (o GetZonesZoneOutput) IsPtr() pulumi.BoolOutput
Whether the Private Zone is ptr.
func (GetZonesZoneOutput) Name ¶
func (o GetZonesZoneOutput) Name() pulumi.StringOutput
Name of the Private Zone.
func (GetZonesZoneOutput) ProxyPattern ¶
func (o GetZonesZoneOutput) ProxyPattern() pulumi.StringOutput
The recursive DNS proxy.
func (GetZonesZoneOutput) RecordCount ¶
func (o GetZonesZoneOutput) RecordCount() pulumi.IntOutput
Count of the Private Zone Record.
func (GetZonesZoneOutput) Remark ¶
func (o GetZonesZoneOutput) Remark() pulumi.StringOutput
Remark of the Private Zone.
func (GetZonesZoneOutput) ResourceGroupId ¶
func (o GetZonesZoneOutput) ResourceGroupId() pulumi.StringOutput
resource_group_id for zone resourceGroupId.
func (GetZonesZoneOutput) SlaveDns ¶
func (o GetZonesZoneOutput) SlaveDns() pulumi.BoolOutput
Whether to turn on secondary DNS.
func (GetZonesZoneOutput) ToGetZonesZoneOutput ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
func (GetZonesZoneOutput) UpdateTime ¶
func (o GetZonesZoneOutput) UpdateTime() pulumi.StringOutput
func (GetZonesZoneOutput) UpdateTimestamp ¶
func (o GetZonesZoneOutput) UpdateTimestamp() pulumi.IntOutput
Time of update of the Private Zone.
func (GetZonesZoneOutput) ZoneId ¶
func (o GetZonesZoneOutput) ZoneId() pulumi.StringOutput
ZoneId of the Private Zone.
func (GetZonesZoneOutput) ZoneName ¶
func (o GetZonesZoneOutput) ZoneName() pulumi.StringOutput
ZoneName of the Private Zone.
type Rule ¶ added in v3.10.0
type Rule struct { pulumi.CustomResourceState // The ID of the Endpoint. EndpointId pulumi.StringOutput `pulumi:"endpointId"` // Forwarding target. See `forwardIps` below. ForwardIps RuleForwardIpArrayOutput `pulumi:"forwardIps"` // The name of the resource. RuleName pulumi.StringOutput `pulumi:"ruleName"` // The type of the rule. Valid values: `OUTBOUND`. Type pulumi.StringPtrOutput `pulumi:"type"` // The name of the forwarding zone. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Provides a Private Zone Rule resource.
For information about Private Zone Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/privatezone/latest/add-forwarding-rule).
> **NOTE:** Available since v1.143.0.
## Import
Private Zone Rule can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/rule:Rule example <id> ```
func GetRule ¶ added in v3.10.0
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRule ¶ added in v3.10.0
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶ added in v3.10.0
func (*Rule) ToRuleOutput ¶ added in v3.10.0
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶ added in v3.10.0
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶ added in v3.10.0
type RuleArgs struct { // The ID of the Endpoint. EndpointId pulumi.StringInput // Forwarding target. See `forwardIps` below. ForwardIps RuleForwardIpArrayInput // The name of the resource. RuleName pulumi.StringInput // The type of the rule. Valid values: `OUTBOUND`. Type pulumi.StringPtrInput // The name of the forwarding zone. ZoneName pulumi.StringInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶ added in v3.10.0
type RuleArray ¶ added in v3.10.0
type RuleArray []RuleInput
func (RuleArray) ElementType ¶ added in v3.10.0
func (RuleArray) ToRuleArrayOutput ¶ added in v3.10.0
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶ added in v3.10.0
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶ added in v3.10.0
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶ added in v3.10.0
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶ added in v3.10.0
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶ added in v3.10.0
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶ added in v3.10.0
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶ added in v3.10.0
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleAttachment ¶ added in v3.10.0
type RuleAttachment struct { pulumi.CustomResourceState // The ID of the rule. RuleId pulumi.StringOutput `pulumi:"ruleId"` // The List of the VPC. See `vpcs` below. Vpcs RuleAttachmentVpcArrayOutput `pulumi:"vpcs"` }
Provides a Private Zone Rule Attachment resource.
For information about Private Zone Rule Attachment and how to use it, see [What is Rule Attachment](https://www.alibabacloud.com/help/en/doc-detail/177601.htm).
> **NOTE:** Available since v1.143.0.
## Import
Private Zone Rule Attachment can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/ruleAttachment:RuleAttachment example <rule_id> ```
func GetRuleAttachment ¶ added in v3.10.0
func GetRuleAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleAttachmentState, opts ...pulumi.ResourceOption) (*RuleAttachment, error)
GetRuleAttachment gets an existing RuleAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRuleAttachment ¶ added in v3.10.0
func NewRuleAttachment(ctx *pulumi.Context, name string, args *RuleAttachmentArgs, opts ...pulumi.ResourceOption) (*RuleAttachment, error)
NewRuleAttachment registers a new resource with the given unique name, arguments, and options.
func (*RuleAttachment) ElementType ¶ added in v3.10.0
func (*RuleAttachment) ElementType() reflect.Type
func (*RuleAttachment) ToRuleAttachmentOutput ¶ added in v3.10.0
func (i *RuleAttachment) ToRuleAttachmentOutput() RuleAttachmentOutput
func (*RuleAttachment) ToRuleAttachmentOutputWithContext ¶ added in v3.10.0
func (i *RuleAttachment) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
type RuleAttachmentArgs ¶ added in v3.10.0
type RuleAttachmentArgs struct { // The ID of the rule. RuleId pulumi.StringInput // The List of the VPC. See `vpcs` below. Vpcs RuleAttachmentVpcArrayInput }
The set of arguments for constructing a RuleAttachment resource.
func (RuleAttachmentArgs) ElementType ¶ added in v3.10.0
func (RuleAttachmentArgs) ElementType() reflect.Type
type RuleAttachmentArray ¶ added in v3.10.0
type RuleAttachmentArray []RuleAttachmentInput
func (RuleAttachmentArray) ElementType ¶ added in v3.10.0
func (RuleAttachmentArray) ElementType() reflect.Type
func (RuleAttachmentArray) ToRuleAttachmentArrayOutput ¶ added in v3.10.0
func (i RuleAttachmentArray) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
func (RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext ¶ added in v3.10.0
func (i RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput
type RuleAttachmentArrayInput ¶ added in v3.10.0
type RuleAttachmentArrayInput interface { pulumi.Input ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput ToRuleAttachmentArrayOutputWithContext(context.Context) RuleAttachmentArrayOutput }
RuleAttachmentArrayInput is an input type that accepts RuleAttachmentArray and RuleAttachmentArrayOutput values. You can construct a concrete instance of `RuleAttachmentArrayInput` via:
RuleAttachmentArray{ RuleAttachmentArgs{...} }
type RuleAttachmentArrayOutput ¶ added in v3.10.0
type RuleAttachmentArrayOutput struct{ *pulumi.OutputState }
func (RuleAttachmentArrayOutput) ElementType ¶ added in v3.10.0
func (RuleAttachmentArrayOutput) ElementType() reflect.Type
func (RuleAttachmentArrayOutput) Index ¶ added in v3.10.0
func (o RuleAttachmentArrayOutput) Index(i pulumi.IntInput) RuleAttachmentOutput
func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput ¶ added in v3.10.0
func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext ¶ added in v3.10.0
func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput
type RuleAttachmentInput ¶ added in v3.10.0
type RuleAttachmentInput interface { pulumi.Input ToRuleAttachmentOutput() RuleAttachmentOutput ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput }
type RuleAttachmentMap ¶ added in v3.10.0
type RuleAttachmentMap map[string]RuleAttachmentInput
func (RuleAttachmentMap) ElementType ¶ added in v3.10.0
func (RuleAttachmentMap) ElementType() reflect.Type
func (RuleAttachmentMap) ToRuleAttachmentMapOutput ¶ added in v3.10.0
func (i RuleAttachmentMap) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
func (RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext ¶ added in v3.10.0
func (i RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput
type RuleAttachmentMapInput ¶ added in v3.10.0
type RuleAttachmentMapInput interface { pulumi.Input ToRuleAttachmentMapOutput() RuleAttachmentMapOutput ToRuleAttachmentMapOutputWithContext(context.Context) RuleAttachmentMapOutput }
RuleAttachmentMapInput is an input type that accepts RuleAttachmentMap and RuleAttachmentMapOutput values. You can construct a concrete instance of `RuleAttachmentMapInput` via:
RuleAttachmentMap{ "key": RuleAttachmentArgs{...} }
type RuleAttachmentMapOutput ¶ added in v3.10.0
type RuleAttachmentMapOutput struct{ *pulumi.OutputState }
func (RuleAttachmentMapOutput) ElementType ¶ added in v3.10.0
func (RuleAttachmentMapOutput) ElementType() reflect.Type
func (RuleAttachmentMapOutput) MapIndex ¶ added in v3.10.0
func (o RuleAttachmentMapOutput) MapIndex(k pulumi.StringInput) RuleAttachmentOutput
func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutput ¶ added in v3.10.0
func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext ¶ added in v3.10.0
func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput
type RuleAttachmentOutput ¶ added in v3.10.0
type RuleAttachmentOutput struct{ *pulumi.OutputState }
func (RuleAttachmentOutput) ElementType ¶ added in v3.10.0
func (RuleAttachmentOutput) ElementType() reflect.Type
func (RuleAttachmentOutput) RuleId ¶ added in v3.27.0
func (o RuleAttachmentOutput) RuleId() pulumi.StringOutput
The ID of the rule.
func (RuleAttachmentOutput) ToRuleAttachmentOutput ¶ added in v3.10.0
func (o RuleAttachmentOutput) ToRuleAttachmentOutput() RuleAttachmentOutput
func (RuleAttachmentOutput) ToRuleAttachmentOutputWithContext ¶ added in v3.10.0
func (o RuleAttachmentOutput) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
func (RuleAttachmentOutput) Vpcs ¶ added in v3.27.0
func (o RuleAttachmentOutput) Vpcs() RuleAttachmentVpcArrayOutput
The List of the VPC. See `vpcs` below.
type RuleAttachmentState ¶ added in v3.10.0
type RuleAttachmentState struct { // The ID of the rule. RuleId pulumi.StringPtrInput // The List of the VPC. See `vpcs` below. Vpcs RuleAttachmentVpcArrayInput }
func (RuleAttachmentState) ElementType ¶ added in v3.10.0
func (RuleAttachmentState) ElementType() reflect.Type
type RuleAttachmentVpc ¶ added in v3.10.0
type RuleAttachmentVpc struct { // The region of the vpc. If not set, the current region will instead of. RegionId string `pulumi:"regionId"` // The ID of the VPC. **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint. VpcId string `pulumi:"vpcId"` }
type RuleAttachmentVpcArgs ¶ added in v3.10.0
type RuleAttachmentVpcArgs struct { // The region of the vpc. If not set, the current region will instead of. RegionId pulumi.StringInput `pulumi:"regionId"` // The ID of the VPC. **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (RuleAttachmentVpcArgs) ElementType ¶ added in v3.10.0
func (RuleAttachmentVpcArgs) ElementType() reflect.Type
func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput ¶ added in v3.10.0
func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext ¶ added in v3.10.0
func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput
type RuleAttachmentVpcArray ¶ added in v3.10.0
type RuleAttachmentVpcArray []RuleAttachmentVpcInput
func (RuleAttachmentVpcArray) ElementType ¶ added in v3.10.0
func (RuleAttachmentVpcArray) ElementType() reflect.Type
func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput ¶ added in v3.10.0
func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext ¶ added in v3.10.0
func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput
type RuleAttachmentVpcArrayInput ¶ added in v3.10.0
type RuleAttachmentVpcArrayInput interface { pulumi.Input ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput ToRuleAttachmentVpcArrayOutputWithContext(context.Context) RuleAttachmentVpcArrayOutput }
RuleAttachmentVpcArrayInput is an input type that accepts RuleAttachmentVpcArray and RuleAttachmentVpcArrayOutput values. You can construct a concrete instance of `RuleAttachmentVpcArrayInput` via:
RuleAttachmentVpcArray{ RuleAttachmentVpcArgs{...} }
type RuleAttachmentVpcArrayOutput ¶ added in v3.10.0
type RuleAttachmentVpcArrayOutput struct{ *pulumi.OutputState }
func (RuleAttachmentVpcArrayOutput) ElementType ¶ added in v3.10.0
func (RuleAttachmentVpcArrayOutput) ElementType() reflect.Type
func (RuleAttachmentVpcArrayOutput) Index ¶ added in v3.10.0
func (o RuleAttachmentVpcArrayOutput) Index(i pulumi.IntInput) RuleAttachmentVpcOutput
func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput ¶ added in v3.10.0
func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext ¶ added in v3.10.0
func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput
type RuleAttachmentVpcInput ¶ added in v3.10.0
type RuleAttachmentVpcInput interface { pulumi.Input ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput ToRuleAttachmentVpcOutputWithContext(context.Context) RuleAttachmentVpcOutput }
RuleAttachmentVpcInput is an input type that accepts RuleAttachmentVpcArgs and RuleAttachmentVpcOutput values. You can construct a concrete instance of `RuleAttachmentVpcInput` via:
RuleAttachmentVpcArgs{...}
type RuleAttachmentVpcOutput ¶ added in v3.10.0
type RuleAttachmentVpcOutput struct{ *pulumi.OutputState }
func (RuleAttachmentVpcOutput) ElementType ¶ added in v3.10.0
func (RuleAttachmentVpcOutput) ElementType() reflect.Type
func (RuleAttachmentVpcOutput) RegionId ¶ added in v3.10.0
func (o RuleAttachmentVpcOutput) RegionId() pulumi.StringOutput
The region of the vpc. If not set, the current region will instead of.
func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput ¶ added in v3.10.0
func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext ¶ added in v3.10.0
func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput
func (RuleAttachmentVpcOutput) VpcId ¶ added in v3.10.0
func (o RuleAttachmentVpcOutput) VpcId() pulumi.StringOutput
The ID of the VPC. **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint.
type RuleForwardIp ¶ added in v3.10.0
type RuleForwardIpArgs ¶ added in v3.10.0
type RuleForwardIpArgs struct { // The ip of the forwarding destination. Ip pulumi.StringInput `pulumi:"ip"` // The port of the forwarding destination. Port pulumi.IntInput `pulumi:"port"` }
func (RuleForwardIpArgs) ElementType ¶ added in v3.10.0
func (RuleForwardIpArgs) ElementType() reflect.Type
func (RuleForwardIpArgs) ToRuleForwardIpOutput ¶ added in v3.10.0
func (i RuleForwardIpArgs) ToRuleForwardIpOutput() RuleForwardIpOutput
func (RuleForwardIpArgs) ToRuleForwardIpOutputWithContext ¶ added in v3.10.0
func (i RuleForwardIpArgs) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput
type RuleForwardIpArray ¶ added in v3.10.0
type RuleForwardIpArray []RuleForwardIpInput
func (RuleForwardIpArray) ElementType ¶ added in v3.10.0
func (RuleForwardIpArray) ElementType() reflect.Type
func (RuleForwardIpArray) ToRuleForwardIpArrayOutput ¶ added in v3.10.0
func (i RuleForwardIpArray) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
func (RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext ¶ added in v3.10.0
func (i RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput
type RuleForwardIpArrayInput ¶ added in v3.10.0
type RuleForwardIpArrayInput interface { pulumi.Input ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput ToRuleForwardIpArrayOutputWithContext(context.Context) RuleForwardIpArrayOutput }
RuleForwardIpArrayInput is an input type that accepts RuleForwardIpArray and RuleForwardIpArrayOutput values. You can construct a concrete instance of `RuleForwardIpArrayInput` via:
RuleForwardIpArray{ RuleForwardIpArgs{...} }
type RuleForwardIpArrayOutput ¶ added in v3.10.0
type RuleForwardIpArrayOutput struct{ *pulumi.OutputState }
func (RuleForwardIpArrayOutput) ElementType ¶ added in v3.10.0
func (RuleForwardIpArrayOutput) ElementType() reflect.Type
func (RuleForwardIpArrayOutput) Index ¶ added in v3.10.0
func (o RuleForwardIpArrayOutput) Index(i pulumi.IntInput) RuleForwardIpOutput
func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput ¶ added in v3.10.0
func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext ¶ added in v3.10.0
func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput
type RuleForwardIpInput ¶ added in v3.10.0
type RuleForwardIpInput interface { pulumi.Input ToRuleForwardIpOutput() RuleForwardIpOutput ToRuleForwardIpOutputWithContext(context.Context) RuleForwardIpOutput }
RuleForwardIpInput is an input type that accepts RuleForwardIpArgs and RuleForwardIpOutput values. You can construct a concrete instance of `RuleForwardIpInput` via:
RuleForwardIpArgs{...}
type RuleForwardIpOutput ¶ added in v3.10.0
type RuleForwardIpOutput struct{ *pulumi.OutputState }
func (RuleForwardIpOutput) ElementType ¶ added in v3.10.0
func (RuleForwardIpOutput) ElementType() reflect.Type
func (RuleForwardIpOutput) Ip ¶ added in v3.10.0
func (o RuleForwardIpOutput) Ip() pulumi.StringOutput
The ip of the forwarding destination.
func (RuleForwardIpOutput) Port ¶ added in v3.10.0
func (o RuleForwardIpOutput) Port() pulumi.IntOutput
The port of the forwarding destination.
func (RuleForwardIpOutput) ToRuleForwardIpOutput ¶ added in v3.10.0
func (o RuleForwardIpOutput) ToRuleForwardIpOutput() RuleForwardIpOutput
func (RuleForwardIpOutput) ToRuleForwardIpOutputWithContext ¶ added in v3.10.0
func (o RuleForwardIpOutput) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput
type RuleInput ¶ added in v3.10.0
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶ added in v3.10.0
func (RuleMap) ElementType ¶ added in v3.10.0
func (RuleMap) ToRuleMapOutput ¶ added in v3.10.0
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶ added in v3.10.0
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶ added in v3.10.0
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶ added in v3.10.0
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶ added in v3.10.0
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶ added in v3.10.0
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶ added in v3.10.0
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶ added in v3.10.0
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶ added in v3.10.0
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) ElementType ¶ added in v3.10.0
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) EndpointId ¶ added in v3.27.0
func (o RuleOutput) EndpointId() pulumi.StringOutput
The ID of the Endpoint.
func (RuleOutput) ForwardIps ¶ added in v3.27.0
func (o RuleOutput) ForwardIps() RuleForwardIpArrayOutput
Forwarding target. See `forwardIps` below.
func (RuleOutput) RuleName ¶ added in v3.27.0
func (o RuleOutput) RuleName() pulumi.StringOutput
The name of the resource.
func (RuleOutput) ToRuleOutput ¶ added in v3.10.0
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶ added in v3.10.0
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
func (RuleOutput) Type ¶ added in v3.27.0
func (o RuleOutput) Type() pulumi.StringPtrOutput
The type of the rule. Valid values: `OUTBOUND`.
func (RuleOutput) ZoneName ¶ added in v3.27.0
func (o RuleOutput) ZoneName() pulumi.StringOutput
The name of the forwarding zone.
type RuleState ¶ added in v3.10.0
type RuleState struct { // The ID of the Endpoint. EndpointId pulumi.StringPtrInput // Forwarding target. See `forwardIps` below. ForwardIps RuleForwardIpArrayInput // The name of the resource. RuleName pulumi.StringPtrInput // The type of the rule. Valid values: `OUTBOUND`. Type pulumi.StringPtrInput // The name of the forwarding zone. ZoneName pulumi.StringPtrInput }
func (RuleState) ElementType ¶ added in v3.10.0
type UserVpcAuthorization ¶ added in v3.8.0
type UserVpcAuthorization struct { pulumi.CustomResourceState // The auth channel. Valid values: `RESOURCE_DIRECTORY`. AuthChannel pulumi.StringPtrOutput `pulumi:"authChannel"` // The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`. AuthType pulumi.StringPtrOutput `pulumi:"authType"` // The primary account ID of the user who authorizes the resource. AuthorizedUserId pulumi.StringOutput `pulumi:"authorizedUserId"` }
Provides a Private Zone User Vpc Authorization resource.
> **NOTE:** Available since v1.138.0.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") authorizedUserId := float64(123456789) if param := cfg.GetFloat64("authorizedUserId"); param != 0 { authorizedUserId = param } _, err := pvtz.NewUserVpcAuthorization(ctx, "example", &pvtz.UserVpcAuthorizationArgs{ AuthorizedUserId: pulumi.Float64(authorizedUserId), AuthChannel: pulumi.String("RESOURCE_DIRECTORY"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Private Zone User Vpc Authorization can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/userVpcAuthorization:UserVpcAuthorization example <authorized_user_id>:<auth_type> ```
func GetUserVpcAuthorization ¶ added in v3.8.0
func GetUserVpcAuthorization(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserVpcAuthorizationState, opts ...pulumi.ResourceOption) (*UserVpcAuthorization, error)
GetUserVpcAuthorization gets an existing UserVpcAuthorization resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserVpcAuthorization ¶ added in v3.8.0
func NewUserVpcAuthorization(ctx *pulumi.Context, name string, args *UserVpcAuthorizationArgs, opts ...pulumi.ResourceOption) (*UserVpcAuthorization, error)
NewUserVpcAuthorization registers a new resource with the given unique name, arguments, and options.
func (*UserVpcAuthorization) ElementType ¶ added in v3.8.0
func (*UserVpcAuthorization) ElementType() reflect.Type
func (*UserVpcAuthorization) ToUserVpcAuthorizationOutput ¶ added in v3.8.0
func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
func (*UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext ¶ added in v3.8.0
func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
type UserVpcAuthorizationArgs ¶ added in v3.8.0
type UserVpcAuthorizationArgs struct { // The auth channel. Valid values: `RESOURCE_DIRECTORY`. AuthChannel pulumi.StringPtrInput // The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`. AuthType pulumi.StringPtrInput // The primary account ID of the user who authorizes the resource. AuthorizedUserId pulumi.StringInput }
The set of arguments for constructing a UserVpcAuthorization resource.
func (UserVpcAuthorizationArgs) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationArgs) ElementType() reflect.Type
type UserVpcAuthorizationArray ¶ added in v3.8.0
type UserVpcAuthorizationArray []UserVpcAuthorizationInput
func (UserVpcAuthorizationArray) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationArray) ElementType() reflect.Type
func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput ¶ added in v3.8.0
func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext ¶ added in v3.8.0
func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput
type UserVpcAuthorizationArrayInput ¶ added in v3.8.0
type UserVpcAuthorizationArrayInput interface { pulumi.Input ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput ToUserVpcAuthorizationArrayOutputWithContext(context.Context) UserVpcAuthorizationArrayOutput }
UserVpcAuthorizationArrayInput is an input type that accepts UserVpcAuthorizationArray and UserVpcAuthorizationArrayOutput values. You can construct a concrete instance of `UserVpcAuthorizationArrayInput` via:
UserVpcAuthorizationArray{ UserVpcAuthorizationArgs{...} }
type UserVpcAuthorizationArrayOutput ¶ added in v3.8.0
type UserVpcAuthorizationArrayOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationArrayOutput) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationArrayOutput) ElementType() reflect.Type
func (UserVpcAuthorizationArrayOutput) Index ¶ added in v3.8.0
func (o UserVpcAuthorizationArrayOutput) Index(i pulumi.IntInput) UserVpcAuthorizationOutput
func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput ¶ added in v3.8.0
func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext ¶ added in v3.8.0
func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput
type UserVpcAuthorizationInput ¶ added in v3.8.0
type UserVpcAuthorizationInput interface { pulumi.Input ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput }
type UserVpcAuthorizationMap ¶ added in v3.8.0
type UserVpcAuthorizationMap map[string]UserVpcAuthorizationInput
func (UserVpcAuthorizationMap) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationMap) ElementType() reflect.Type
func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput ¶ added in v3.8.0
func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext ¶ added in v3.8.0
func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput
type UserVpcAuthorizationMapInput ¶ added in v3.8.0
type UserVpcAuthorizationMapInput interface { pulumi.Input ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput ToUserVpcAuthorizationMapOutputWithContext(context.Context) UserVpcAuthorizationMapOutput }
UserVpcAuthorizationMapInput is an input type that accepts UserVpcAuthorizationMap and UserVpcAuthorizationMapOutput values. You can construct a concrete instance of `UserVpcAuthorizationMapInput` via:
UserVpcAuthorizationMap{ "key": UserVpcAuthorizationArgs{...} }
type UserVpcAuthorizationMapOutput ¶ added in v3.8.0
type UserVpcAuthorizationMapOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationMapOutput) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationMapOutput) ElementType() reflect.Type
func (UserVpcAuthorizationMapOutput) MapIndex ¶ added in v3.8.0
func (o UserVpcAuthorizationMapOutput) MapIndex(k pulumi.StringInput) UserVpcAuthorizationOutput
func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput ¶ added in v3.8.0
func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext ¶ added in v3.8.0
func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput
type UserVpcAuthorizationOutput ¶ added in v3.8.0
type UserVpcAuthorizationOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationOutput) AuthChannel ¶ added in v3.27.0
func (o UserVpcAuthorizationOutput) AuthChannel() pulumi.StringPtrOutput
The auth channel. Valid values: `RESOURCE_DIRECTORY`.
func (UserVpcAuthorizationOutput) AuthType ¶ added in v3.27.0
func (o UserVpcAuthorizationOutput) AuthType() pulumi.StringPtrOutput
The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.
func (UserVpcAuthorizationOutput) AuthorizedUserId ¶ added in v3.27.0
func (o UserVpcAuthorizationOutput) AuthorizedUserId() pulumi.StringOutput
The primary account ID of the user who authorizes the resource.
func (UserVpcAuthorizationOutput) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationOutput) ElementType() reflect.Type
func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput ¶ added in v3.8.0
func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext ¶ added in v3.8.0
func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
type UserVpcAuthorizationState ¶ added in v3.8.0
type UserVpcAuthorizationState struct { // The auth channel. Valid values: `RESOURCE_DIRECTORY`. AuthChannel pulumi.StringPtrInput // The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`. AuthType pulumi.StringPtrInput // The primary account ID of the user who authorizes the resource. AuthorizedUserId pulumi.StringPtrInput }
func (UserVpcAuthorizationState) ElementType ¶ added in v3.8.0
func (UserVpcAuthorizationState) ElementType() reflect.Type
type Zone ¶
type Zone struct { pulumi.CustomResourceState // Whether the Private Zone is ptr. IsPtr pulumi.BoolOutput `pulumi:"isPtr"` // The language. Valid values: "zh", "en", "jp". Lang pulumi.StringPtrOutput `pulumi:"lang"` // The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead. // // Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The recursive DNS proxy. Valid values: // - ZONE: indicates that the recursive DNS proxy is disabled. // - RECORD: indicates that the recursive DNS proxy is enabled. // Default to "ZONE". ProxyPattern pulumi.StringPtrOutput `pulumi:"proxyPattern"` // The count of the Private Zone Record. RecordCount pulumi.IntOutput `pulumi:"recordCount"` // The remark of the Private Zone. Remark pulumi.StringPtrOutput `pulumi:"remark"` // The Id of resource group which the Private Zone belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The status of the host synchronization task. Valid values: `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task. SyncStatus pulumi.StringPtrOutput `pulumi:"syncStatus"` // The tags of the Private Zone. Tags pulumi.MapOutput `pulumi:"tags"` // The IP address of the client. UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"` // The user information of the host synchronization task. See `userInfo` below. UserInfos ZoneUserInfoArrayOutput `pulumi:"userInfos"` // The zoneName of the Private Zone. The `zoneName` is required when the value of the `name` is Empty. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pvtz.NewZone(ctx, "foo", &pvtz.ZoneArgs{ ZoneName: pulumi.String("foo.example.com"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Private Zone can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/zone:Zone example abc123456 ```
func GetZone ¶
func GetZone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)
GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZone ¶
func NewZone(ctx *pulumi.Context, name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)
NewZone registers a new resource with the given unique name, arguments, and options.
func (*Zone) ElementType ¶
func (*Zone) ToZoneOutput ¶
func (i *Zone) ToZoneOutput() ZoneOutput
func (*Zone) ToZoneOutputWithContext ¶
func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
type ZoneArgs ¶
type ZoneArgs struct { // The language. Valid values: "zh", "en", "jp". Lang pulumi.StringPtrInput // The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead. // // Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead. Name pulumi.StringPtrInput // The recursive DNS proxy. Valid values: // - ZONE: indicates that the recursive DNS proxy is disabled. // - RECORD: indicates that the recursive DNS proxy is enabled. // Default to "ZONE". ProxyPattern pulumi.StringPtrInput // The remark of the Private Zone. Remark pulumi.StringPtrInput // The Id of resource group which the Private Zone belongs. ResourceGroupId pulumi.StringPtrInput // The status of the host synchronization task. Valid values: `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task. SyncStatus pulumi.StringPtrInput // The tags of the Private Zone. Tags pulumi.MapInput // The IP address of the client. UserClientIp pulumi.StringPtrInput // The user information of the host synchronization task. See `userInfo` below. UserInfos ZoneUserInfoArrayInput // The zoneName of the Private Zone. The `zoneName` is required when the value of the `name` is Empty. ZoneName pulumi.StringPtrInput }
The set of arguments for constructing a Zone resource.
func (ZoneArgs) ElementType ¶
type ZoneArray ¶
type ZoneArray []ZoneInput
func (ZoneArray) ElementType ¶
func (ZoneArray) ToZoneArrayOutput ¶
func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArray) ToZoneArrayOutputWithContext ¶
func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneArrayInput ¶
type ZoneArrayInput interface { pulumi.Input ToZoneArrayOutput() ZoneArrayOutput ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput }
ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:
ZoneArray{ ZoneArgs{...} }
type ZoneArrayOutput ¶
type ZoneArrayOutput struct{ *pulumi.OutputState }
func (ZoneArrayOutput) ElementType ¶
func (ZoneArrayOutput) ElementType() reflect.Type
func (ZoneArrayOutput) Index ¶
func (o ZoneArrayOutput) Index(i pulumi.IntInput) ZoneOutput
func (ZoneArrayOutput) ToZoneArrayOutput ¶
func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArrayOutput) ToZoneArrayOutputWithContext ¶
func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneAttachment ¶
type ZoneAttachment struct { pulumi.CustomResourceState // The language of code. Lang pulumi.StringPtrOutput `pulumi:"lang"` // The user custom IP address. UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"` // The id List of the VPC with the same region, for example:["vpc-1","vpc-2"]. VpcIds pulumi.StringArrayOutput `pulumi:"vpcIds"` // See `vpcs` below.Recommend to use `vpcs`. Vpcs ZoneAttachmentVpcArrayOutput `pulumi:"vpcs"` // The name of the Private Zone Record. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Example Usage
Using `vpcIds` to attach being in same region several vpc instances to a private zone ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{ ZoneName: pulumi.String("foo.example.com"), }) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ VpcName: pulumi.String("the-first-vpc"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ VpcName: pulumi.String("the-second-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } _, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{ ZoneId: zone.ID(), VpcIds: pulumi.StringArray{ first.ID(), second.ID(), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
Using `vpcs` to attach being in same region several vpc instances to a private zone ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{ ZoneName: pulumi.String("foo.example.com"), }) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ VpcName: pulumi.String("the-first-vpc"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ VpcName: pulumi.String("the-second-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } _, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{ ZoneId: zone.ID(), Vpcs: pvtz.ZoneAttachmentVpcArray{ &pvtz.ZoneAttachmentVpcArgs{ VpcId: first.ID(), }, &pvtz.ZoneAttachmentVpcArgs{ VpcId: second.ID(), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
Using `vpcs` to attach being in different regions several vpc instances to a private zone ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{ ZoneName: pulumi.String("foo.example.com"), }) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ VpcName: pulumi.String("the-first-vpc"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ VpcName: pulumi.String("the-second-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } _, err = alicloud.NewProvider(ctx, "eu", &alicloud.ProviderArgs{ Region: pulumi.String("eu-central-1"), }) if err != nil { return err } third, err := vpc.NewNetwork(ctx, "third", &vpc.NetworkArgs{ VpcName: pulumi.String("the-third-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }, pulumi.Provider(alicloud.Eu)) if err != nil { return err } _, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{ ZoneId: zone.ID(), Vpcs: pvtz.ZoneAttachmentVpcArray{ &pvtz.ZoneAttachmentVpcArgs{ VpcId: first.ID(), }, &pvtz.ZoneAttachmentVpcArgs{ VpcId: second.ID(), }, &pvtz.ZoneAttachmentVpcArgs{ RegionId: pulumi.String("eu-central-1"), VpcId: third.ID(), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Private Zone attachment can be imported using the id(same with `zone_id`), e.g.
```sh $ pulumi import alicloud:pvtz/zoneAttachment:ZoneAttachment example abc123456 ```
func GetZoneAttachment ¶
func GetZoneAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneAttachmentState, opts ...pulumi.ResourceOption) (*ZoneAttachment, error)
GetZoneAttachment gets an existing ZoneAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZoneAttachment ¶
func NewZoneAttachment(ctx *pulumi.Context, name string, args *ZoneAttachmentArgs, opts ...pulumi.ResourceOption) (*ZoneAttachment, error)
NewZoneAttachment registers a new resource with the given unique name, arguments, and options.
func (*ZoneAttachment) ElementType ¶
func (*ZoneAttachment) ElementType() reflect.Type
func (*ZoneAttachment) ToZoneAttachmentOutput ¶
func (i *ZoneAttachment) ToZoneAttachmentOutput() ZoneAttachmentOutput
func (*ZoneAttachment) ToZoneAttachmentOutputWithContext ¶
func (i *ZoneAttachment) ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput
type ZoneAttachmentArgs ¶
type ZoneAttachmentArgs struct { // The language of code. Lang pulumi.StringPtrInput // The user custom IP address. UserClientIp pulumi.StringPtrInput // The id List of the VPC with the same region, for example:["vpc-1","vpc-2"]. VpcIds pulumi.StringArrayInput // See `vpcs` below.Recommend to use `vpcs`. Vpcs ZoneAttachmentVpcArrayInput // The name of the Private Zone Record. ZoneId pulumi.StringInput }
The set of arguments for constructing a ZoneAttachment resource.
func (ZoneAttachmentArgs) ElementType ¶
func (ZoneAttachmentArgs) ElementType() reflect.Type
type ZoneAttachmentArray ¶
type ZoneAttachmentArray []ZoneAttachmentInput
func (ZoneAttachmentArray) ElementType ¶
func (ZoneAttachmentArray) ElementType() reflect.Type
func (ZoneAttachmentArray) ToZoneAttachmentArrayOutput ¶
func (i ZoneAttachmentArray) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput
func (ZoneAttachmentArray) ToZoneAttachmentArrayOutputWithContext ¶
func (i ZoneAttachmentArray) ToZoneAttachmentArrayOutputWithContext(ctx context.Context) ZoneAttachmentArrayOutput
type ZoneAttachmentArrayInput ¶
type ZoneAttachmentArrayInput interface { pulumi.Input ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput ToZoneAttachmentArrayOutputWithContext(context.Context) ZoneAttachmentArrayOutput }
ZoneAttachmentArrayInput is an input type that accepts ZoneAttachmentArray and ZoneAttachmentArrayOutput values. You can construct a concrete instance of `ZoneAttachmentArrayInput` via:
ZoneAttachmentArray{ ZoneAttachmentArgs{...} }
type ZoneAttachmentArrayOutput ¶
type ZoneAttachmentArrayOutput struct{ *pulumi.OutputState }
func (ZoneAttachmentArrayOutput) ElementType ¶
func (ZoneAttachmentArrayOutput) ElementType() reflect.Type
func (ZoneAttachmentArrayOutput) Index ¶
func (o ZoneAttachmentArrayOutput) Index(i pulumi.IntInput) ZoneAttachmentOutput
func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput ¶
func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput
func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext ¶
func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext(ctx context.Context) ZoneAttachmentArrayOutput
type ZoneAttachmentInput ¶
type ZoneAttachmentInput interface { pulumi.Input ToZoneAttachmentOutput() ZoneAttachmentOutput ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput }
type ZoneAttachmentMap ¶
type ZoneAttachmentMap map[string]ZoneAttachmentInput
func (ZoneAttachmentMap) ElementType ¶
func (ZoneAttachmentMap) ElementType() reflect.Type
func (ZoneAttachmentMap) ToZoneAttachmentMapOutput ¶
func (i ZoneAttachmentMap) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput
func (ZoneAttachmentMap) ToZoneAttachmentMapOutputWithContext ¶
func (i ZoneAttachmentMap) ToZoneAttachmentMapOutputWithContext(ctx context.Context) ZoneAttachmentMapOutput
type ZoneAttachmentMapInput ¶
type ZoneAttachmentMapInput interface { pulumi.Input ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput ToZoneAttachmentMapOutputWithContext(context.Context) ZoneAttachmentMapOutput }
ZoneAttachmentMapInput is an input type that accepts ZoneAttachmentMap and ZoneAttachmentMapOutput values. You can construct a concrete instance of `ZoneAttachmentMapInput` via:
ZoneAttachmentMap{ "key": ZoneAttachmentArgs{...} }
type ZoneAttachmentMapOutput ¶
type ZoneAttachmentMapOutput struct{ *pulumi.OutputState }
func (ZoneAttachmentMapOutput) ElementType ¶
func (ZoneAttachmentMapOutput) ElementType() reflect.Type
func (ZoneAttachmentMapOutput) MapIndex ¶
func (o ZoneAttachmentMapOutput) MapIndex(k pulumi.StringInput) ZoneAttachmentOutput
func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput ¶
func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput
func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext ¶
func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext(ctx context.Context) ZoneAttachmentMapOutput
type ZoneAttachmentOutput ¶
type ZoneAttachmentOutput struct{ *pulumi.OutputState }
func (ZoneAttachmentOutput) ElementType ¶
func (ZoneAttachmentOutput) ElementType() reflect.Type
func (ZoneAttachmentOutput) Lang ¶ added in v3.27.0
func (o ZoneAttachmentOutput) Lang() pulumi.StringPtrOutput
The language of code.
func (ZoneAttachmentOutput) ToZoneAttachmentOutput ¶
func (o ZoneAttachmentOutput) ToZoneAttachmentOutput() ZoneAttachmentOutput
func (ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext ¶
func (o ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput
func (ZoneAttachmentOutput) UserClientIp ¶ added in v3.27.0
func (o ZoneAttachmentOutput) UserClientIp() pulumi.StringPtrOutput
The user custom IP address.
func (ZoneAttachmentOutput) VpcIds ¶ added in v3.27.0
func (o ZoneAttachmentOutput) VpcIds() pulumi.StringArrayOutput
The id List of the VPC with the same region, for example:["vpc-1","vpc-2"].
func (ZoneAttachmentOutput) Vpcs ¶ added in v3.27.0
func (o ZoneAttachmentOutput) Vpcs() ZoneAttachmentVpcArrayOutput
See `vpcs` below.Recommend to use `vpcs`.
func (ZoneAttachmentOutput) ZoneId ¶ added in v3.27.0
func (o ZoneAttachmentOutput) ZoneId() pulumi.StringOutput
The name of the Private Zone Record.
type ZoneAttachmentState ¶
type ZoneAttachmentState struct { // The language of code. Lang pulumi.StringPtrInput // The user custom IP address. UserClientIp pulumi.StringPtrInput // The id List of the VPC with the same region, for example:["vpc-1","vpc-2"]. VpcIds pulumi.StringArrayInput // See `vpcs` below.Recommend to use `vpcs`. Vpcs ZoneAttachmentVpcArrayInput // The name of the Private Zone Record. ZoneId pulumi.StringPtrInput }
func (ZoneAttachmentState) ElementType ¶
func (ZoneAttachmentState) ElementType() reflect.Type
type ZoneAttachmentVpc ¶
type ZoneAttachmentVpcArgs ¶
type ZoneAttachmentVpcArgs struct { // The region of the vpc. If not set, the current region will instead of. RegionId pulumi.StringPtrInput `pulumi:"regionId"` // The Id of the vpc. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (ZoneAttachmentVpcArgs) ElementType ¶
func (ZoneAttachmentVpcArgs) ElementType() reflect.Type
func (ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutput ¶
func (i ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput
func (ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutputWithContext ¶
func (i ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutputWithContext(ctx context.Context) ZoneAttachmentVpcOutput
type ZoneAttachmentVpcArray ¶
type ZoneAttachmentVpcArray []ZoneAttachmentVpcInput
func (ZoneAttachmentVpcArray) ElementType ¶
func (ZoneAttachmentVpcArray) ElementType() reflect.Type
func (ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutput ¶
func (i ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput
func (ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutputWithContext ¶
func (i ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutputWithContext(ctx context.Context) ZoneAttachmentVpcArrayOutput
type ZoneAttachmentVpcArrayInput ¶
type ZoneAttachmentVpcArrayInput interface { pulumi.Input ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput ToZoneAttachmentVpcArrayOutputWithContext(context.Context) ZoneAttachmentVpcArrayOutput }
ZoneAttachmentVpcArrayInput is an input type that accepts ZoneAttachmentVpcArray and ZoneAttachmentVpcArrayOutput values. You can construct a concrete instance of `ZoneAttachmentVpcArrayInput` via:
ZoneAttachmentVpcArray{ ZoneAttachmentVpcArgs{...} }
type ZoneAttachmentVpcArrayOutput ¶
type ZoneAttachmentVpcArrayOutput struct{ *pulumi.OutputState }
func (ZoneAttachmentVpcArrayOutput) ElementType ¶
func (ZoneAttachmentVpcArrayOutput) ElementType() reflect.Type
func (ZoneAttachmentVpcArrayOutput) Index ¶
func (o ZoneAttachmentVpcArrayOutput) Index(i pulumi.IntInput) ZoneAttachmentVpcOutput
func (ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutput ¶
func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput
func (ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutputWithContext ¶
func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutputWithContext(ctx context.Context) ZoneAttachmentVpcArrayOutput
type ZoneAttachmentVpcInput ¶
type ZoneAttachmentVpcInput interface { pulumi.Input ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput ToZoneAttachmentVpcOutputWithContext(context.Context) ZoneAttachmentVpcOutput }
ZoneAttachmentVpcInput is an input type that accepts ZoneAttachmentVpcArgs and ZoneAttachmentVpcOutput values. You can construct a concrete instance of `ZoneAttachmentVpcInput` via:
ZoneAttachmentVpcArgs{...}
type ZoneAttachmentVpcOutput ¶
type ZoneAttachmentVpcOutput struct{ *pulumi.OutputState }
func (ZoneAttachmentVpcOutput) ElementType ¶
func (ZoneAttachmentVpcOutput) ElementType() reflect.Type
func (ZoneAttachmentVpcOutput) RegionId ¶
func (o ZoneAttachmentVpcOutput) RegionId() pulumi.StringPtrOutput
The region of the vpc. If not set, the current region will instead of.
func (ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutput ¶
func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput
func (ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutputWithContext ¶
func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutputWithContext(ctx context.Context) ZoneAttachmentVpcOutput
func (ZoneAttachmentVpcOutput) VpcId ¶
func (o ZoneAttachmentVpcOutput) VpcId() pulumi.StringOutput
The Id of the vpc.
type ZoneInput ¶
type ZoneInput interface { pulumi.Input ToZoneOutput() ZoneOutput ToZoneOutputWithContext(ctx context.Context) ZoneOutput }
type ZoneMap ¶
func (ZoneMap) ElementType ¶
func (ZoneMap) ToZoneMapOutput ¶
func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput
func (ZoneMap) ToZoneMapOutputWithContext ¶
func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneMapInput ¶
type ZoneMapInput interface { pulumi.Input ToZoneMapOutput() ZoneMapOutput ToZoneMapOutputWithContext(context.Context) ZoneMapOutput }
ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:
ZoneMap{ "key": ZoneArgs{...} }
type ZoneMapOutput ¶
type ZoneMapOutput struct{ *pulumi.OutputState }
func (ZoneMapOutput) ElementType ¶
func (ZoneMapOutput) ElementType() reflect.Type
func (ZoneMapOutput) MapIndex ¶
func (o ZoneMapOutput) MapIndex(k pulumi.StringInput) ZoneOutput
func (ZoneMapOutput) ToZoneMapOutput ¶
func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput
func (ZoneMapOutput) ToZoneMapOutputWithContext ¶
func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneOutput ¶
type ZoneOutput struct{ *pulumi.OutputState }
func (ZoneOutput) ElementType ¶
func (ZoneOutput) ElementType() reflect.Type
func (ZoneOutput) IsPtr ¶ added in v3.27.0
func (o ZoneOutput) IsPtr() pulumi.BoolOutput
Whether the Private Zone is ptr.
func (ZoneOutput) Lang ¶ added in v3.27.0
func (o ZoneOutput) Lang() pulumi.StringPtrOutput
The language. Valid values: "zh", "en", "jp".
func (ZoneOutput) Name
deprecated
added in
v3.27.0
func (o ZoneOutput) Name() pulumi.StringOutput
The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.
Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.
func (ZoneOutput) ProxyPattern ¶ added in v3.27.0
func (o ZoneOutput) ProxyPattern() pulumi.StringPtrOutput
The recursive DNS proxy. Valid values:
- ZONE: indicates that the recursive DNS proxy is disabled.
- RECORD: indicates that the recursive DNS proxy is enabled. Default to "ZONE".
func (ZoneOutput) RecordCount ¶ added in v3.27.0
func (o ZoneOutput) RecordCount() pulumi.IntOutput
The count of the Private Zone Record.
func (ZoneOutput) Remark ¶ added in v3.27.0
func (o ZoneOutput) Remark() pulumi.StringPtrOutput
The remark of the Private Zone.
func (ZoneOutput) ResourceGroupId ¶ added in v3.27.0
func (o ZoneOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the Private Zone belongs.
func (ZoneOutput) SyncStatus ¶ added in v3.27.0
func (o ZoneOutput) SyncStatus() pulumi.StringPtrOutput
The status of the host synchronization task. Valid values: `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task.
func (ZoneOutput) Tags ¶ added in v3.45.0
func (o ZoneOutput) Tags() pulumi.MapOutput
The tags of the Private Zone.
func (ZoneOutput) ToZoneOutput ¶
func (o ZoneOutput) ToZoneOutput() ZoneOutput
func (ZoneOutput) ToZoneOutputWithContext ¶
func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
func (ZoneOutput) UserClientIp ¶ added in v3.27.0
func (o ZoneOutput) UserClientIp() pulumi.StringPtrOutput
The IP address of the client.
func (ZoneOutput) UserInfos ¶ added in v3.27.0
func (o ZoneOutput) UserInfos() ZoneUserInfoArrayOutput
The user information of the host synchronization task. See `userInfo` below.
func (ZoneOutput) ZoneName ¶ added in v3.27.0
func (o ZoneOutput) ZoneName() pulumi.StringOutput
The zoneName of the Private Zone. The `zoneName` is required when the value of the `name` is Empty.
type ZoneRecord ¶
type ZoneRecord struct { pulumi.CustomResourceState // User language. Lang pulumi.StringPtrOutput `pulumi:"lang"` // The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The Private Zone Record ID. RecordId pulumi.StringOutput `pulumi:"recordId"` // The remark of the Private Zone Record. Remark pulumi.StringPtrOutput `pulumi:"remark"` // The resource record of the Private Zone Record. // // Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead. ResourceRecord pulumi.StringOutput `pulumi:"resourceRecord"` // The rr of the Private Zone Record. Rr pulumi.StringOutput `pulumi:"rr"` // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status pulumi.StringPtrOutput `pulumi:"status"` // The ttl of the Private Zone Record. Default to `60`. Ttl pulumi.IntPtrOutput `pulumi:"ttl"` // The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV. Type pulumi.StringOutput `pulumi:"type"` UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"` // The value of the Private Zone Record. Value pulumi.StringOutput `pulumi:"value"` // The name of the Private Zone Record. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", nil) if err != nil { return err } _, err = pvtz.NewZoneRecord(ctx, "foo", &pvtz.ZoneRecordArgs{ ZoneId: zone.ID(), Rr: pulumi.String("www"), Type: pulumi.String("CNAME"), Value: pulumi.String("bbb.test.com"), Ttl: pulumi.Int(60), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Private Zone Record can be imported using the id, e.g.
```sh $ pulumi import alicloud:pvtz/zoneRecord:ZoneRecord example abc123456 ```
func GetZoneRecord ¶
func GetZoneRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneRecordState, opts ...pulumi.ResourceOption) (*ZoneRecord, error)
GetZoneRecord gets an existing ZoneRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZoneRecord ¶
func NewZoneRecord(ctx *pulumi.Context, name string, args *ZoneRecordArgs, opts ...pulumi.ResourceOption) (*ZoneRecord, error)
NewZoneRecord registers a new resource with the given unique name, arguments, and options.
func (*ZoneRecord) ElementType ¶
func (*ZoneRecord) ElementType() reflect.Type
func (*ZoneRecord) ToZoneRecordOutput ¶
func (i *ZoneRecord) ToZoneRecordOutput() ZoneRecordOutput
func (*ZoneRecord) ToZoneRecordOutputWithContext ¶
func (i *ZoneRecord) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput
type ZoneRecordArgs ¶
type ZoneRecordArgs struct { // User language. Lang pulumi.StringPtrInput // The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1. Priority pulumi.IntPtrInput // The remark of the Private Zone Record. Remark pulumi.StringPtrInput // The resource record of the Private Zone Record. // // Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead. ResourceRecord pulumi.StringPtrInput // The rr of the Private Zone Record. Rr pulumi.StringPtrInput // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status pulumi.StringPtrInput // The ttl of the Private Zone Record. Default to `60`. Ttl pulumi.IntPtrInput // The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV. Type pulumi.StringInput UserClientIp pulumi.StringPtrInput // The value of the Private Zone Record. Value pulumi.StringInput // The name of the Private Zone Record. ZoneId pulumi.StringInput }
The set of arguments for constructing a ZoneRecord resource.
func (ZoneRecordArgs) ElementType ¶
func (ZoneRecordArgs) ElementType() reflect.Type
type ZoneRecordArray ¶
type ZoneRecordArray []ZoneRecordInput
func (ZoneRecordArray) ElementType ¶
func (ZoneRecordArray) ElementType() reflect.Type
func (ZoneRecordArray) ToZoneRecordArrayOutput ¶
func (i ZoneRecordArray) ToZoneRecordArrayOutput() ZoneRecordArrayOutput
func (ZoneRecordArray) ToZoneRecordArrayOutputWithContext ¶
func (i ZoneRecordArray) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput
type ZoneRecordArrayInput ¶
type ZoneRecordArrayInput interface { pulumi.Input ToZoneRecordArrayOutput() ZoneRecordArrayOutput ToZoneRecordArrayOutputWithContext(context.Context) ZoneRecordArrayOutput }
ZoneRecordArrayInput is an input type that accepts ZoneRecordArray and ZoneRecordArrayOutput values. You can construct a concrete instance of `ZoneRecordArrayInput` via:
ZoneRecordArray{ ZoneRecordArgs{...} }
type ZoneRecordArrayOutput ¶
type ZoneRecordArrayOutput struct{ *pulumi.OutputState }
func (ZoneRecordArrayOutput) ElementType ¶
func (ZoneRecordArrayOutput) ElementType() reflect.Type
func (ZoneRecordArrayOutput) Index ¶
func (o ZoneRecordArrayOutput) Index(i pulumi.IntInput) ZoneRecordOutput
func (ZoneRecordArrayOutput) ToZoneRecordArrayOutput ¶
func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutput() ZoneRecordArrayOutput
func (ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext ¶
func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput
type ZoneRecordInput ¶
type ZoneRecordInput interface { pulumi.Input ToZoneRecordOutput() ZoneRecordOutput ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput }
type ZoneRecordMap ¶
type ZoneRecordMap map[string]ZoneRecordInput
func (ZoneRecordMap) ElementType ¶
func (ZoneRecordMap) ElementType() reflect.Type
func (ZoneRecordMap) ToZoneRecordMapOutput ¶
func (i ZoneRecordMap) ToZoneRecordMapOutput() ZoneRecordMapOutput
func (ZoneRecordMap) ToZoneRecordMapOutputWithContext ¶
func (i ZoneRecordMap) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput
type ZoneRecordMapInput ¶
type ZoneRecordMapInput interface { pulumi.Input ToZoneRecordMapOutput() ZoneRecordMapOutput ToZoneRecordMapOutputWithContext(context.Context) ZoneRecordMapOutput }
ZoneRecordMapInput is an input type that accepts ZoneRecordMap and ZoneRecordMapOutput values. You can construct a concrete instance of `ZoneRecordMapInput` via:
ZoneRecordMap{ "key": ZoneRecordArgs{...} }
type ZoneRecordMapOutput ¶
type ZoneRecordMapOutput struct{ *pulumi.OutputState }
func (ZoneRecordMapOutput) ElementType ¶
func (ZoneRecordMapOutput) ElementType() reflect.Type
func (ZoneRecordMapOutput) MapIndex ¶
func (o ZoneRecordMapOutput) MapIndex(k pulumi.StringInput) ZoneRecordOutput
func (ZoneRecordMapOutput) ToZoneRecordMapOutput ¶
func (o ZoneRecordMapOutput) ToZoneRecordMapOutput() ZoneRecordMapOutput
func (ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext ¶
func (o ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput
type ZoneRecordOutput ¶
type ZoneRecordOutput struct{ *pulumi.OutputState }
func (ZoneRecordOutput) ElementType ¶
func (ZoneRecordOutput) ElementType() reflect.Type
func (ZoneRecordOutput) Lang ¶ added in v3.27.0
func (o ZoneRecordOutput) Lang() pulumi.StringPtrOutput
User language.
func (ZoneRecordOutput) Priority ¶ added in v3.27.0
func (o ZoneRecordOutput) Priority() pulumi.IntPtrOutput
The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1.
func (ZoneRecordOutput) RecordId ¶ added in v3.27.0
func (o ZoneRecordOutput) RecordId() pulumi.StringOutput
The Private Zone Record ID.
func (ZoneRecordOutput) Remark ¶ added in v3.27.0
func (o ZoneRecordOutput) Remark() pulumi.StringPtrOutput
The remark of the Private Zone Record.
func (ZoneRecordOutput) ResourceRecord
deprecated
added in
v3.27.0
func (o ZoneRecordOutput) ResourceRecord() pulumi.StringOutput
The resource record of the Private Zone Record.
Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead.
func (ZoneRecordOutput) Rr ¶ added in v3.27.0
func (o ZoneRecordOutput) Rr() pulumi.StringOutput
The rr of the Private Zone Record.
func (ZoneRecordOutput) Status ¶ added in v3.27.0
func (o ZoneRecordOutput) Status() pulumi.StringPtrOutput
Resolve record status. Value: - ENABLE: enable resolution. - DISABLE: pause parsing.
func (ZoneRecordOutput) ToZoneRecordOutput ¶
func (o ZoneRecordOutput) ToZoneRecordOutput() ZoneRecordOutput
func (ZoneRecordOutput) ToZoneRecordOutputWithContext ¶
func (o ZoneRecordOutput) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput
func (ZoneRecordOutput) Ttl ¶ added in v3.27.0
func (o ZoneRecordOutput) Ttl() pulumi.IntPtrOutput
The ttl of the Private Zone Record. Default to `60`.
func (ZoneRecordOutput) Type ¶ added in v3.27.0
func (o ZoneRecordOutput) Type() pulumi.StringOutput
The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.
func (ZoneRecordOutput) UserClientIp ¶ added in v3.27.0
func (o ZoneRecordOutput) UserClientIp() pulumi.StringPtrOutput
func (ZoneRecordOutput) Value ¶ added in v3.27.0
func (o ZoneRecordOutput) Value() pulumi.StringOutput
The value of the Private Zone Record.
func (ZoneRecordOutput) ZoneId ¶ added in v3.27.0
func (o ZoneRecordOutput) ZoneId() pulumi.StringOutput
The name of the Private Zone Record.
type ZoneRecordState ¶
type ZoneRecordState struct { // User language. Lang pulumi.StringPtrInput // The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1. Priority pulumi.IntPtrInput // The Private Zone Record ID. RecordId pulumi.StringPtrInput // The remark of the Private Zone Record. Remark pulumi.StringPtrInput // The resource record of the Private Zone Record. // // Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead. ResourceRecord pulumi.StringPtrInput // The rr of the Private Zone Record. Rr pulumi.StringPtrInput // Resolve record status. Value: // - ENABLE: enable resolution. // - DISABLE: pause parsing. Status pulumi.StringPtrInput // The ttl of the Private Zone Record. Default to `60`. Ttl pulumi.IntPtrInput // The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV. Type pulumi.StringPtrInput UserClientIp pulumi.StringPtrInput // The value of the Private Zone Record. Value pulumi.StringPtrInput // The name of the Private Zone Record. ZoneId pulumi.StringPtrInput }
func (ZoneRecordState) ElementType ¶
func (ZoneRecordState) ElementType() reflect.Type
type ZoneState ¶
type ZoneState struct { // Whether the Private Zone is ptr. IsPtr pulumi.BoolPtrInput // The language. Valid values: "zh", "en", "jp". Lang pulumi.StringPtrInput // The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead. // // Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead. Name pulumi.StringPtrInput // The recursive DNS proxy. Valid values: // - ZONE: indicates that the recursive DNS proxy is disabled. // - RECORD: indicates that the recursive DNS proxy is enabled. // Default to "ZONE". ProxyPattern pulumi.StringPtrInput // The count of the Private Zone Record. RecordCount pulumi.IntPtrInput // The remark of the Private Zone. Remark pulumi.StringPtrInput // The Id of resource group which the Private Zone belongs. ResourceGroupId pulumi.StringPtrInput // The status of the host synchronization task. Valid values: `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task. SyncStatus pulumi.StringPtrInput // The tags of the Private Zone. Tags pulumi.MapInput // The IP address of the client. UserClientIp pulumi.StringPtrInput // The user information of the host synchronization task. See `userInfo` below. UserInfos ZoneUserInfoArrayInput // The zoneName of the Private Zone. The `zoneName` is required when the value of the `name` is Empty. ZoneName pulumi.StringPtrInput }
func (ZoneState) ElementType ¶
type ZoneUserInfo ¶ added in v3.11.0
type ZoneUserInfoArgs ¶ added in v3.11.0
type ZoneUserInfoArgs struct { // The list of the region IDs. RegionIds pulumi.StringArrayInput `pulumi:"regionIds"` // The user ID belonging to the region is used for cross-account synchronization scenarios. UserId pulumi.StringPtrInput `pulumi:"userId"` }
func (ZoneUserInfoArgs) ElementType ¶ added in v3.11.0
func (ZoneUserInfoArgs) ElementType() reflect.Type
func (ZoneUserInfoArgs) ToZoneUserInfoOutput ¶ added in v3.11.0
func (i ZoneUserInfoArgs) ToZoneUserInfoOutput() ZoneUserInfoOutput
func (ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext ¶ added in v3.11.0
func (i ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput
type ZoneUserInfoArray ¶ added in v3.11.0
type ZoneUserInfoArray []ZoneUserInfoInput
func (ZoneUserInfoArray) ElementType ¶ added in v3.11.0
func (ZoneUserInfoArray) ElementType() reflect.Type
func (ZoneUserInfoArray) ToZoneUserInfoArrayOutput ¶ added in v3.11.0
func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
func (ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext ¶ added in v3.11.0
func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput
type ZoneUserInfoArrayInput ¶ added in v3.11.0
type ZoneUserInfoArrayInput interface { pulumi.Input ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput ToZoneUserInfoArrayOutputWithContext(context.Context) ZoneUserInfoArrayOutput }
ZoneUserInfoArrayInput is an input type that accepts ZoneUserInfoArray and ZoneUserInfoArrayOutput values. You can construct a concrete instance of `ZoneUserInfoArrayInput` via:
ZoneUserInfoArray{ ZoneUserInfoArgs{...} }
type ZoneUserInfoArrayOutput ¶ added in v3.11.0
type ZoneUserInfoArrayOutput struct{ *pulumi.OutputState }
func (ZoneUserInfoArrayOutput) ElementType ¶ added in v3.11.0
func (ZoneUserInfoArrayOutput) ElementType() reflect.Type
func (ZoneUserInfoArrayOutput) Index ¶ added in v3.11.0
func (o ZoneUserInfoArrayOutput) Index(i pulumi.IntInput) ZoneUserInfoOutput
func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput ¶ added in v3.11.0
func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext ¶ added in v3.11.0
func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput
type ZoneUserInfoInput ¶ added in v3.11.0
type ZoneUserInfoInput interface { pulumi.Input ToZoneUserInfoOutput() ZoneUserInfoOutput ToZoneUserInfoOutputWithContext(context.Context) ZoneUserInfoOutput }
ZoneUserInfoInput is an input type that accepts ZoneUserInfoArgs and ZoneUserInfoOutput values. You can construct a concrete instance of `ZoneUserInfoInput` via:
ZoneUserInfoArgs{...}
type ZoneUserInfoOutput ¶ added in v3.11.0
type ZoneUserInfoOutput struct{ *pulumi.OutputState }
func (ZoneUserInfoOutput) ElementType ¶ added in v3.11.0
func (ZoneUserInfoOutput) ElementType() reflect.Type
func (ZoneUserInfoOutput) RegionIds ¶ added in v3.11.0
func (o ZoneUserInfoOutput) RegionIds() pulumi.StringArrayOutput
The list of the region IDs.
func (ZoneUserInfoOutput) ToZoneUserInfoOutput ¶ added in v3.11.0
func (o ZoneUserInfoOutput) ToZoneUserInfoOutput() ZoneUserInfoOutput
func (ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext ¶ added in v3.11.0
func (o ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput
func (ZoneUserInfoOutput) UserId ¶ added in v3.11.0
func (o ZoneUserInfoOutput) UserId() pulumi.StringPtrOutput
The user ID belonging to the region is used for cross-account synchronization scenarios.