Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- 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.StringPtrOutput
- func (o ZoneOutput) SyncStatus() pulumi.StringPtrOutput
- 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 ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Endpoint ¶
type Endpoint struct { pulumi.CustomResourceState // The name of the resource. EndpointName pulumi.StringOutput `pulumi:"endpointName"` // The Ip Configs. See the following `Block ipConfigs`. **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/doc-detail/64611.htm).
> **NOTE:** Available in 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 ¶
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 ¶
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 ¶
func (*Endpoint) ToEndpointOutput ¶
func (i *Endpoint) ToEndpointOutput() EndpointOutput
func (*Endpoint) ToEndpointOutputWithContext ¶
func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArgs ¶
type EndpointArgs struct { // The name of the resource. EndpointName pulumi.StringInput // The Ip Configs. See the following `Block ipConfigs`. **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 ¶
func (EndpointArgs) ElementType() reflect.Type
type EndpointArray ¶
type EndpointArray []EndpointInput
func (EndpointArray) ElementType ¶
func (EndpointArray) ElementType() reflect.Type
func (EndpointArray) ToEndpointArrayOutput ¶
func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArray) ToEndpointArrayOutputWithContext ¶
func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointArrayInput ¶
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 ¶
type EndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointArrayOutput) ElementType ¶
func (EndpointArrayOutput) ElementType() reflect.Type
func (EndpointArrayOutput) Index ¶
func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput
func (EndpointArrayOutput) ToEndpointArrayOutput ¶
func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArrayOutput) ToEndpointArrayOutputWithContext ¶
func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointInput ¶
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(ctx context.Context) EndpointOutput }
type EndpointIpConfig ¶
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 ¶
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 ¶
func (EndpointIpConfigArgs) ElementType() reflect.Type
func (EndpointIpConfigArgs) ToEndpointIpConfigOutput ¶
func (i EndpointIpConfigArgs) ToEndpointIpConfigOutput() EndpointIpConfigOutput
func (EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext ¶
func (i EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput
type EndpointIpConfigArray ¶
type EndpointIpConfigArray []EndpointIpConfigInput
func (EndpointIpConfigArray) ElementType ¶
func (EndpointIpConfigArray) ElementType() reflect.Type
func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutput ¶
func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext ¶
func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput
type EndpointIpConfigArrayInput ¶
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 ¶
type EndpointIpConfigArrayOutput struct{ *pulumi.OutputState }
func (EndpointIpConfigArrayOutput) ElementType ¶
func (EndpointIpConfigArrayOutput) ElementType() reflect.Type
func (EndpointIpConfigArrayOutput) Index ¶
func (o EndpointIpConfigArrayOutput) Index(i pulumi.IntInput) EndpointIpConfigOutput
func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput ¶
func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext ¶
func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput
type EndpointIpConfigInput ¶
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 ¶
type EndpointIpConfigOutput struct{ *pulumi.OutputState }
func (EndpointIpConfigOutput) CidrBlock ¶
func (o EndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
The Subnet mask.
func (EndpointIpConfigOutput) ElementType ¶
func (EndpointIpConfigOutput) ElementType() reflect.Type
func (EndpointIpConfigOutput) Ip ¶
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 ¶
func (o EndpointIpConfigOutput) ToEndpointIpConfigOutput() EndpointIpConfigOutput
func (EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext ¶
func (o EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput
func (EndpointIpConfigOutput) VswitchId ¶
func (o EndpointIpConfigOutput) VswitchId() pulumi.StringOutput
The Vswitch id.
func (EndpointIpConfigOutput) ZoneId ¶
func (o EndpointIpConfigOutput) ZoneId() pulumi.StringOutput
The Zone ID.
type EndpointMap ¶
type EndpointMap map[string]EndpointInput
func (EndpointMap) ElementType ¶
func (EndpointMap) ElementType() reflect.Type
func (EndpointMap) ToEndpointMapOutput ¶
func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMap) ToEndpointMapOutputWithContext ¶
func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointMapInput ¶
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 ¶
type EndpointMapOutput struct{ *pulumi.OutputState }
func (EndpointMapOutput) ElementType ¶
func (EndpointMapOutput) ElementType() reflect.Type
func (EndpointMapOutput) MapIndex ¶
func (o EndpointMapOutput) MapIndex(k pulumi.StringInput) EndpointOutput
func (EndpointMapOutput) ToEndpointMapOutput ¶
func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMapOutput) ToEndpointMapOutputWithContext ¶
func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointOutput ¶
type EndpointOutput struct{ *pulumi.OutputState }
func (EndpointOutput) ElementType ¶
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) EndpointName ¶
func (o EndpointOutput) EndpointName() pulumi.StringOutput
The name of the resource.
func (EndpointOutput) IpConfigs ¶
func (o EndpointOutput) IpConfigs() EndpointIpConfigArrayOutput
The Ip Configs. See the following `Block ipConfigs`. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.
func (EndpointOutput) SecurityGroupId ¶
func (o EndpointOutput) SecurityGroupId() pulumi.StringOutput
The ID of the Security Group.
func (EndpointOutput) Status ¶
func (o EndpointOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
func (EndpointOutput) ToEndpointOutput ¶
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
func (EndpointOutput) VpcRegionId ¶
func (o EndpointOutput) VpcRegionId() pulumi.StringOutput
The Region of the VPC.
type EndpointState ¶
type EndpointState struct { // The name of the resource. EndpointName pulumi.StringPtrInput // The Ip Configs. See the following `Block ipConfigs`. **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 ¶
func (EndpointState) ElementType() reflect.Type
type GetEndpointsArgs ¶
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"` 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 ¶
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 ¶
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 ¶
func (GetEndpointsEndpointArgs) ElementType() reflect.Type
func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput ¶
func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext ¶
func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput
type GetEndpointsEndpointArray ¶
type GetEndpointsEndpointArray []GetEndpointsEndpointInput
func (GetEndpointsEndpointArray) ElementType ¶
func (GetEndpointsEndpointArray) ElementType() reflect.Type
func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput ¶
func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext ¶
func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput
type GetEndpointsEndpointArrayInput ¶
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 ¶
type GetEndpointsEndpointArrayOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointArrayOutput) ElementType ¶
func (GetEndpointsEndpointArrayOutput) ElementType() reflect.Type
func (GetEndpointsEndpointArrayOutput) Index ¶
func (o GetEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetEndpointsEndpointOutput
func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput ¶
func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext ¶
func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput
type GetEndpointsEndpointInput ¶
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 ¶
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 ¶
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 ¶
func (GetEndpointsEndpointIpConfigArgs) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput ¶
func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext ¶
func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
type GetEndpointsEndpointIpConfigArray ¶
type GetEndpointsEndpointIpConfigArray []GetEndpointsEndpointIpConfigInput
func (GetEndpointsEndpointIpConfigArray) ElementType ¶
func (GetEndpointsEndpointIpConfigArray) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput ¶
func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext ¶
func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
type GetEndpointsEndpointIpConfigArrayInput ¶
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 ¶
type GetEndpointsEndpointIpConfigArrayOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointIpConfigArrayOutput) ElementType ¶
func (GetEndpointsEndpointIpConfigArrayOutput) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput ¶
func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext ¶
func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput
type GetEndpointsEndpointIpConfigInput ¶
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 ¶
type GetEndpointsEndpointIpConfigOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointIpConfigOutput) CidrBlock ¶
func (o GetEndpointsEndpointIpConfigOutput) CidrBlock() pulumi.StringOutput
The Subnet mask.
func (GetEndpointsEndpointIpConfigOutput) ElementType ¶
func (GetEndpointsEndpointIpConfigOutput) ElementType() reflect.Type
func (GetEndpointsEndpointIpConfigOutput) Ip ¶
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 ¶
func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext ¶
func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput
func (GetEndpointsEndpointIpConfigOutput) VswitchId ¶
func (o GetEndpointsEndpointIpConfigOutput) VswitchId() pulumi.StringOutput
The Vswitch id.
func (GetEndpointsEndpointIpConfigOutput) ZoneId ¶
func (o GetEndpointsEndpointIpConfigOutput) ZoneId() pulumi.StringOutput
The Zone ID.
type GetEndpointsEndpointOutput ¶
type GetEndpointsEndpointOutput struct{ *pulumi.OutputState }
func (GetEndpointsEndpointOutput) CreateTime ¶
func (o GetEndpointsEndpointOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetEndpointsEndpointOutput) ElementType ¶
func (GetEndpointsEndpointOutput) ElementType() reflect.Type
func (GetEndpointsEndpointOutput) EndpointName ¶
func (o GetEndpointsEndpointOutput) EndpointName() pulumi.StringOutput
The name of the resource.
func (GetEndpointsEndpointOutput) Id ¶
func (o GetEndpointsEndpointOutput) Id() pulumi.StringOutput
func (GetEndpointsEndpointOutput) IpConfigs ¶
func (o GetEndpointsEndpointOutput) IpConfigs() GetEndpointsEndpointIpConfigArrayOutput
The Ip Configs.
func (GetEndpointsEndpointOutput) SecurityGroupId ¶
func (o GetEndpointsEndpointOutput) SecurityGroupId() pulumi.StringOutput
The ID of the Security Group.
func (GetEndpointsEndpointOutput) Status ¶
func (o GetEndpointsEndpointOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput ¶
func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext ¶
func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput
func (GetEndpointsEndpointOutput) VpcId ¶
func (o GetEndpointsEndpointOutput) VpcId() pulumi.StringOutput
The VPC ID.
func (GetEndpointsEndpointOutput) VpcName ¶
func (o GetEndpointsEndpointOutput) VpcName() pulumi.StringOutput
The name of the VPC.
func (GetEndpointsEndpointOutput) VpcRegionId ¶
func (o GetEndpointsEndpointOutput) VpcRegionId() pulumi.StringOutput
The Region of the VPC.
type GetEndpointsOutputArgs ¶
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"` 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 ¶
func (GetEndpointsOutputArgs) ElementType() reflect.Type
type GetEndpointsResult ¶
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 ¶
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 ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetEndpointsResultOutput ¶
type GetEndpointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEndpoints.
func GetEndpointsOutput ¶
func GetEndpointsOutput(ctx *pulumi.Context, args GetEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetEndpointsResultOutput
func (GetEndpointsResultOutput) ElementType ¶
func (GetEndpointsResultOutput) ElementType() reflect.Type
func (GetEndpointsResultOutput) Endpoints ¶
func (o GetEndpointsResultOutput) Endpoints() GetEndpointsEndpointArrayOutput
func (GetEndpointsResultOutput) Id ¶
func (o GetEndpointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEndpointsResultOutput) Ids ¶
func (o GetEndpointsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEndpointsResultOutput) NameRegex ¶
func (o GetEndpointsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) Names ¶
func (o GetEndpointsResultOutput) Names() pulumi.StringArrayOutput
func (GetEndpointsResultOutput) OutputFile ¶
func (o GetEndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) Status ¶
func (o GetEndpointsResultOutput) Status() pulumi.StringPtrOutput
func (GetEndpointsResultOutput) ToGetEndpointsResultOutput ¶
func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput
func (GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext ¶
func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput
type GetResolverZonesArgs ¶
type GetResolverZonesArgs struct { OutputFile *string `pulumi:"outputFile"` // The status of the Zone. Status *string `pulumi:"status"` }
A collection of arguments for invoking getResolverZones.
type GetResolverZonesOutputArgs ¶
type GetResolverZonesOutputArgs struct { 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 ¶
func (GetResolverZonesOutputArgs) ElementType() reflect.Type
type GetResolverZonesResult ¶
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 ¶
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 ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetResolverZonesResultOutput ¶
type GetResolverZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverZones.
func GetResolverZonesOutput ¶
func GetResolverZonesOutput(ctx *pulumi.Context, args GetResolverZonesOutputArgs, opts ...pulumi.InvokeOption) GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) ElementType ¶
func (GetResolverZonesResultOutput) ElementType() reflect.Type
func (GetResolverZonesResultOutput) Id ¶
func (o GetResolverZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResolverZonesResultOutput) OutputFile ¶
func (o GetResolverZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetResolverZonesResultOutput) Status ¶
func (o GetResolverZonesResultOutput) Status() pulumi.StringPtrOutput
func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutput ¶
func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutput() GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext ¶
func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext(ctx context.Context) GetResolverZonesResultOutput
func (GetResolverZonesResultOutput) Zones ¶
func (o GetResolverZonesResultOutput) Zones() GetResolverZonesZoneArrayOutput
type GetResolverZonesZone ¶
type GetResolverZonesZoneArgs ¶
type GetResolverZonesZoneArgs struct { // The status of the Zone. Status pulumi.StringInput `pulumi:"status"` // The zone ID. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetResolverZonesZoneArgs) ElementType ¶
func (GetResolverZonesZoneArgs) ElementType() reflect.Type
func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput ¶
func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext ¶
func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput
type GetResolverZonesZoneArray ¶
type GetResolverZonesZoneArray []GetResolverZonesZoneInput
func (GetResolverZonesZoneArray) ElementType ¶
func (GetResolverZonesZoneArray) ElementType() reflect.Type
func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput ¶
func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext ¶
func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput
type GetResolverZonesZoneArrayInput ¶
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 ¶
type GetResolverZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetResolverZonesZoneArrayOutput) ElementType ¶
func (GetResolverZonesZoneArrayOutput) ElementType() reflect.Type
func (GetResolverZonesZoneArrayOutput) Index ¶
func (o GetResolverZonesZoneArrayOutput) Index(i pulumi.IntInput) GetResolverZonesZoneOutput
func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput ¶
func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext ¶
func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput
type GetResolverZonesZoneInput ¶
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 ¶
type GetResolverZonesZoneOutput struct{ *pulumi.OutputState }
func (GetResolverZonesZoneOutput) ElementType ¶
func (GetResolverZonesZoneOutput) ElementType() reflect.Type
func (GetResolverZonesZoneOutput) Status ¶
func (o GetResolverZonesZoneOutput) Status() pulumi.StringOutput
The status of the Zone.
func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput ¶
func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext ¶
func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput
func (GetResolverZonesZoneOutput) ZoneId ¶
func (o GetResolverZonesZoneOutput) ZoneId() pulumi.StringOutput
The zone ID.
type GetRulesArgs ¶
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"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
type GetRulesOutputArgs ¶
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"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶
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 ¶
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 ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetRulesResultOutput ¶
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ElementType ¶
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) EndpointId ¶
func (o GetRulesResultOutput) EndpointId() pulumi.StringPtrOutput
func (GetRulesResultOutput) Id ¶
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetRulesResultOutput) NameRegex ¶
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
func (GetRulesResultOutput) OutputFile ¶
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) Rules ¶
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
func (GetRulesResultOutput) ToGetRulesResultOutput ¶
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesRule ¶
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 ¶
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 ¶
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleArray ¶
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleArrayInput ¶
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 ¶
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleBindVpc ¶
type GetRulesRuleBindVpcArgs ¶
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 ¶
func (GetRulesRuleBindVpcArgs) ElementType() reflect.Type
func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput ¶
func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext ¶
func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput
type GetRulesRuleBindVpcArray ¶
type GetRulesRuleBindVpcArray []GetRulesRuleBindVpcInput
func (GetRulesRuleBindVpcArray) ElementType ¶
func (GetRulesRuleBindVpcArray) ElementType() reflect.Type
func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput ¶
func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext ¶
func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput
type GetRulesRuleBindVpcArrayInput ¶
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 ¶
type GetRulesRuleBindVpcArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleBindVpcArrayOutput) ElementType ¶
func (GetRulesRuleBindVpcArrayOutput) ElementType() reflect.Type
func (GetRulesRuleBindVpcArrayOutput) Index ¶
func (o GetRulesRuleBindVpcArrayOutput) Index(i pulumi.IntInput) GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput ¶
func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext ¶
func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput
type GetRulesRuleBindVpcInput ¶
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 ¶
type GetRulesRuleBindVpcOutput struct{ *pulumi.OutputState }
func (GetRulesRuleBindVpcOutput) ElementType ¶
func (GetRulesRuleBindVpcOutput) ElementType() reflect.Type
func (GetRulesRuleBindVpcOutput) RegionId ¶
func (o GetRulesRuleBindVpcOutput) RegionId() pulumi.StringOutput
The region ID of the vpc.
func (GetRulesRuleBindVpcOutput) RegionName ¶
func (o GetRulesRuleBindVpcOutput) RegionName() pulumi.StringOutput
The Region Name of the vpc.
func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput ¶
func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext ¶
func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput
func (GetRulesRuleBindVpcOutput) VpcId ¶
func (o GetRulesRuleBindVpcOutput) VpcId() pulumi.StringOutput
The ID of the VPC.
func (GetRulesRuleBindVpcOutput) VpcName ¶
func (o GetRulesRuleBindVpcOutput) VpcName() pulumi.StringOutput
The Name of the VPC.
type GetRulesRuleForwardIp ¶
type GetRulesRuleForwardIpArgs ¶
type GetRulesRuleForwardIpArgs struct { Ip pulumi.StringInput `pulumi:"ip"` Port pulumi.IntInput `pulumi:"port"` }
func (GetRulesRuleForwardIpArgs) ElementType ¶
func (GetRulesRuleForwardIpArgs) ElementType() reflect.Type
func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput ¶
func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext ¶
func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput
type GetRulesRuleForwardIpArray ¶
type GetRulesRuleForwardIpArray []GetRulesRuleForwardIpInput
func (GetRulesRuleForwardIpArray) ElementType ¶
func (GetRulesRuleForwardIpArray) ElementType() reflect.Type
func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput ¶
func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext ¶
func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
type GetRulesRuleForwardIpArrayInput ¶
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 ¶
type GetRulesRuleForwardIpArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleForwardIpArrayOutput) ElementType ¶
func (GetRulesRuleForwardIpArrayOutput) ElementType() reflect.Type
func (GetRulesRuleForwardIpArrayOutput) Index ¶
func (o GetRulesRuleForwardIpArrayOutput) Index(i pulumi.IntInput) GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput ¶
func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext ¶
func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput
type GetRulesRuleForwardIpInput ¶
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 ¶
type GetRulesRuleForwardIpOutput struct{ *pulumi.OutputState }
func (GetRulesRuleForwardIpOutput) ElementType ¶
func (GetRulesRuleForwardIpOutput) ElementType() reflect.Type
func (GetRulesRuleForwardIpOutput) Ip ¶
func (o GetRulesRuleForwardIpOutput) Ip() pulumi.StringOutput
func (GetRulesRuleForwardIpOutput) Port ¶
func (o GetRulesRuleForwardIpOutput) Port() pulumi.IntOutput
func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput ¶
func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext ¶
func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput
type GetRulesRuleInput ¶
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 ¶
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) BindVpcs ¶
func (o GetRulesRuleOutput) BindVpcs() GetRulesRuleBindVpcArrayOutput
The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+.
func (GetRulesRuleOutput) CreateTime ¶
func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetRulesRuleOutput) ElementType ¶
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) EndpointId ¶
func (o GetRulesRuleOutput) EndpointId() pulumi.StringOutput
The ID of the Endpoint.
func (GetRulesRuleOutput) EndpointName ¶
func (o GetRulesRuleOutput) EndpointName() pulumi.StringOutput
The Name of the Endpoint.
func (GetRulesRuleOutput) ForwardIps ¶
func (o GetRulesRuleOutput) ForwardIps() GetRulesRuleForwardIpArrayOutput
func (GetRulesRuleOutput) Id ¶
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Rule.
func (GetRulesRuleOutput) RuleId ¶
func (o GetRulesRuleOutput) RuleId() pulumi.StringOutput
The first ID of the resource.
func (GetRulesRuleOutput) RuleName ¶
func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
The name of the resource.
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
func (GetRulesRuleOutput) Type ¶
func (o GetRulesRuleOutput) Type() pulumi.StringOutput
The type of the rule.
func (GetRulesRuleOutput) ZoneName ¶
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". Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶
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". Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶
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
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetServiceResultOutput ¶
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶
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"` 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 ¶
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"` 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 ¶
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
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetZoneRecordsResultOutput ¶
type GetZoneRecordsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZoneRecords.
func GetZoneRecordsOutput ¶
func GetZoneRecordsOutput(ctx *pulumi.Context, args GetZoneRecordsOutputArgs, opts ...pulumi.InvokeOption) GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) ElementType ¶
func (GetZoneRecordsResultOutput) ElementType() reflect.Type
func (GetZoneRecordsResultOutput) Id ¶
func (o GetZoneRecordsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZoneRecordsResultOutput) Ids ¶
func (o GetZoneRecordsResultOutput) Ids() pulumi.StringArrayOutput
A list of Private Zone Record IDs.
func (GetZoneRecordsResultOutput) Keyword ¶
func (o GetZoneRecordsResultOutput) Keyword() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Lang ¶
func (o GetZoneRecordsResultOutput) Lang() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) OutputFile ¶
func (o GetZoneRecordsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Records ¶
func (o GetZoneRecordsResultOutput) Records() GetZoneRecordsRecordArrayOutput
A list of zone records. Each element contains the following attributes:
func (GetZoneRecordsResultOutput) SearchMode ¶
func (o GetZoneRecordsResultOutput) SearchMode() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) Status ¶
func (o GetZoneRecordsResultOutput) Status() pulumi.StringPtrOutput
Status of the Private Zone Record.
func (GetZoneRecordsResultOutput) Tag ¶
func (o GetZoneRecordsResultOutput) Tag() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput ¶
func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput() GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext ¶
func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext(ctx context.Context) GetZoneRecordsResultOutput
func (GetZoneRecordsResultOutput) UserClientIp ¶
func (o GetZoneRecordsResultOutput) UserClientIp() pulumi.StringPtrOutput
func (GetZoneRecordsResultOutput) ZoneId ¶
func (o GetZoneRecordsResultOutput) ZoneId() pulumi.StringOutput
type GetZonesArgs ¶
type GetZonesArgs struct { // -(Optional, Available 1.107.0+) 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"` 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 ¶
type GetZonesOutputArgs struct { // -(Optional, Available 1.107.0+) 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"` 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 ¶
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
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
type GetZonesResultOutput ¶
type GetZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZones.
func GetZonesOutput ¶
func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput
func (GetZonesResultOutput) ElementType ¶
func (GetZonesResultOutput) ElementType() reflect.Type
func (GetZonesResultOutput) EnableDetails ¶
func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetZonesResultOutput) Id ¶
func (o GetZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZonesResultOutput) Ids ¶
func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
A list of zone IDs.
func (GetZonesResultOutput) Keyword ¶
func (o GetZonesResultOutput) Keyword() pulumi.StringPtrOutput
func (GetZonesResultOutput) Lang ¶
func (o GetZonesResultOutput) Lang() pulumi.StringPtrOutput
func (GetZonesResultOutput) NameRegex ¶
func (o GetZonesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetZonesResultOutput) Names ¶
func (o GetZonesResultOutput) Names() pulumi.StringArrayOutput
A list of zone names.
func (GetZonesResultOutput) OutputFile ¶
func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZonesResultOutput) QueryRegionId ¶
func (o GetZonesResultOutput) QueryRegionId() pulumi.StringPtrOutput
func (GetZonesResultOutput) QueryVpcId ¶
func (o GetZonesResultOutput) QueryVpcId() pulumi.StringPtrOutput
func (GetZonesResultOutput) ResourceGroupId ¶
func (o GetZonesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the Private Zone belongs.
func (GetZonesResultOutput) SearchMode ¶
func (o GetZonesResultOutput) SearchMode() pulumi.StringPtrOutput
func (GetZonesResultOutput) ToGetZonesResultOutput ¶
func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
func (GetZonesResultOutput) ToGetZonesResultOutputWithContext ¶
func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
func (GetZonesResultOutput) Zones ¶
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 ¶
type Rule struct { pulumi.CustomResourceState // The ID of the Endpoint. EndpointId pulumi.StringOutput `pulumi:"endpointId"` // Forwarding target. See the following `Block forwardIp`. 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/doc-detail/177601.htm).
> **NOTE:** Available in 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 ¶
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 ¶
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 ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶
type RuleArgs struct { // The ID of the Endpoint. EndpointId pulumi.StringInput // Forwarding target. See the following `Block forwardIp`. 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 ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
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 ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleAttachment ¶
type RuleAttachment struct { pulumi.CustomResourceState // The ID of the rule. RuleId pulumi.StringOutput `pulumi:"ruleId"` // The List of the VPC. See the following `Block vpcs`. 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 in 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 ¶
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 ¶
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 ¶
func (*RuleAttachment) ElementType() reflect.Type
func (*RuleAttachment) ToRuleAttachmentOutput ¶
func (i *RuleAttachment) ToRuleAttachmentOutput() RuleAttachmentOutput
func (*RuleAttachment) ToRuleAttachmentOutputWithContext ¶
func (i *RuleAttachment) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
type RuleAttachmentArgs ¶
type RuleAttachmentArgs struct { // The ID of the rule. RuleId pulumi.StringInput // The List of the VPC. See the following `Block vpcs`. Vpcs RuleAttachmentVpcArrayInput }
The set of arguments for constructing a RuleAttachment resource.
func (RuleAttachmentArgs) ElementType ¶
func (RuleAttachmentArgs) ElementType() reflect.Type
type RuleAttachmentArray ¶
type RuleAttachmentArray []RuleAttachmentInput
func (RuleAttachmentArray) ElementType ¶
func (RuleAttachmentArray) ElementType() reflect.Type
func (RuleAttachmentArray) ToRuleAttachmentArrayOutput ¶
func (i RuleAttachmentArray) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
func (RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext ¶
func (i RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput
type RuleAttachmentArrayInput ¶
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 ¶
type RuleAttachmentArrayOutput struct{ *pulumi.OutputState }
func (RuleAttachmentArrayOutput) ElementType ¶
func (RuleAttachmentArrayOutput) ElementType() reflect.Type
func (RuleAttachmentArrayOutput) Index ¶
func (o RuleAttachmentArrayOutput) Index(i pulumi.IntInput) RuleAttachmentOutput
func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput ¶
func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext ¶
func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput
type RuleAttachmentInput ¶
type RuleAttachmentInput interface { pulumi.Input ToRuleAttachmentOutput() RuleAttachmentOutput ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput }
type RuleAttachmentMap ¶
type RuleAttachmentMap map[string]RuleAttachmentInput
func (RuleAttachmentMap) ElementType ¶
func (RuleAttachmentMap) ElementType() reflect.Type
func (RuleAttachmentMap) ToRuleAttachmentMapOutput ¶
func (i RuleAttachmentMap) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
func (RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext ¶
func (i RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput
type RuleAttachmentMapInput ¶
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 ¶
type RuleAttachmentMapOutput struct{ *pulumi.OutputState }
func (RuleAttachmentMapOutput) ElementType ¶
func (RuleAttachmentMapOutput) ElementType() reflect.Type
func (RuleAttachmentMapOutput) MapIndex ¶
func (o RuleAttachmentMapOutput) MapIndex(k pulumi.StringInput) RuleAttachmentOutput
func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutput ¶
func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext ¶
func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput
type RuleAttachmentOutput ¶
type RuleAttachmentOutput struct{ *pulumi.OutputState }
func (RuleAttachmentOutput) ElementType ¶
func (RuleAttachmentOutput) ElementType() reflect.Type
func (RuleAttachmentOutput) RuleId ¶
func (o RuleAttachmentOutput) RuleId() pulumi.StringOutput
The ID of the rule.
func (RuleAttachmentOutput) ToRuleAttachmentOutput ¶
func (o RuleAttachmentOutput) ToRuleAttachmentOutput() RuleAttachmentOutput
func (RuleAttachmentOutput) ToRuleAttachmentOutputWithContext ¶
func (o RuleAttachmentOutput) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
func (RuleAttachmentOutput) Vpcs ¶
func (o RuleAttachmentOutput) Vpcs() RuleAttachmentVpcArrayOutput
The List of the VPC. See the following `Block vpcs`.
type RuleAttachmentState ¶
type RuleAttachmentState struct { // The ID of the rule. RuleId pulumi.StringPtrInput // The List of the VPC. See the following `Block vpcs`. Vpcs RuleAttachmentVpcArrayInput }
func (RuleAttachmentState) ElementType ¶
func (RuleAttachmentState) ElementType() reflect.Type
type RuleAttachmentVpc ¶
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 ¶
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 ¶
func (RuleAttachmentVpcArgs) ElementType() reflect.Type
func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput ¶
func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext ¶
func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput
type RuleAttachmentVpcArray ¶
type RuleAttachmentVpcArray []RuleAttachmentVpcInput
func (RuleAttachmentVpcArray) ElementType ¶
func (RuleAttachmentVpcArray) ElementType() reflect.Type
func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput ¶
func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext ¶
func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput
type RuleAttachmentVpcArrayInput ¶
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 ¶
type RuleAttachmentVpcArrayOutput struct{ *pulumi.OutputState }
func (RuleAttachmentVpcArrayOutput) ElementType ¶
func (RuleAttachmentVpcArrayOutput) ElementType() reflect.Type
func (RuleAttachmentVpcArrayOutput) Index ¶
func (o RuleAttachmentVpcArrayOutput) Index(i pulumi.IntInput) RuleAttachmentVpcOutput
func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput ¶
func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext ¶
func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput
type RuleAttachmentVpcInput ¶
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 ¶
type RuleAttachmentVpcOutput struct{ *pulumi.OutputState }
func (RuleAttachmentVpcOutput) ElementType ¶
func (RuleAttachmentVpcOutput) ElementType() reflect.Type
func (RuleAttachmentVpcOutput) RegionId ¶
func (o RuleAttachmentVpcOutput) RegionId() pulumi.StringOutput
The region of the vpc. If not set, the current region will instead of.
func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput ¶
func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext ¶
func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput
func (RuleAttachmentVpcOutput) VpcId ¶
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 ¶
type RuleForwardIpArgs ¶
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 ¶
func (RuleForwardIpArgs) ElementType() reflect.Type
func (RuleForwardIpArgs) ToRuleForwardIpOutput ¶
func (i RuleForwardIpArgs) ToRuleForwardIpOutput() RuleForwardIpOutput
func (RuleForwardIpArgs) ToRuleForwardIpOutputWithContext ¶
func (i RuleForwardIpArgs) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput
type RuleForwardIpArray ¶
type RuleForwardIpArray []RuleForwardIpInput
func (RuleForwardIpArray) ElementType ¶
func (RuleForwardIpArray) ElementType() reflect.Type
func (RuleForwardIpArray) ToRuleForwardIpArrayOutput ¶
func (i RuleForwardIpArray) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
func (RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext ¶
func (i RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput
type RuleForwardIpArrayInput ¶
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 ¶
type RuleForwardIpArrayOutput struct{ *pulumi.OutputState }
func (RuleForwardIpArrayOutput) ElementType ¶
func (RuleForwardIpArrayOutput) ElementType() reflect.Type
func (RuleForwardIpArrayOutput) Index ¶
func (o RuleForwardIpArrayOutput) Index(i pulumi.IntInput) RuleForwardIpOutput
func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput ¶
func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext ¶
func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput
type RuleForwardIpInput ¶
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 ¶
type RuleForwardIpOutput struct{ *pulumi.OutputState }
func (RuleForwardIpOutput) ElementType ¶
func (RuleForwardIpOutput) ElementType() reflect.Type
func (RuleForwardIpOutput) Ip ¶
func (o RuleForwardIpOutput) Ip() pulumi.StringOutput
The ip of the forwarding destination.
func (RuleForwardIpOutput) Port ¶
func (o RuleForwardIpOutput) Port() pulumi.IntOutput
The port of the forwarding destination.
func (RuleForwardIpOutput) ToRuleForwardIpOutput ¶
func (o RuleForwardIpOutput) ToRuleForwardIpOutput() RuleForwardIpOutput
func (RuleForwardIpOutput) ToRuleForwardIpOutputWithContext ¶
func (o RuleForwardIpOutput) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
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 ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) EndpointId ¶
func (o RuleOutput) EndpointId() pulumi.StringOutput
The ID of the Endpoint.
func (RuleOutput) ForwardIps ¶
func (o RuleOutput) ForwardIps() RuleForwardIpArrayOutput
Forwarding target. See the following `Block forwardIp`.
func (RuleOutput) RuleName ¶
func (o RuleOutput) RuleName() pulumi.StringOutput
The name of the resource.
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
func (RuleOutput) Type ¶
func (o RuleOutput) Type() pulumi.StringPtrOutput
The type of the rule. Valid values: `OUTBOUND`.
func (RuleOutput) ZoneName ¶
func (o RuleOutput) ZoneName() pulumi.StringOutput
The name of the forwarding zone.
type RuleState ¶
type RuleState struct { // The ID of the Endpoint. EndpointId pulumi.StringPtrInput // Forwarding target. See the following `Block forwardIp`. 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 ¶
type UserVpcAuthorization ¶
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 in v1.138.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pvtz.NewUserVpcAuthorization(ctx, "example", &pvtz.UserVpcAuthorizationArgs{ AuthChannel: pulumi.String("RESOURCE_DIRECTORY"), AuthType: pulumi.String("NORMAL"), AuthorizedUserId: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*UserVpcAuthorization) ElementType() reflect.Type
func (*UserVpcAuthorization) ToUserVpcAuthorizationOutput ¶
func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
func (*UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext ¶
func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
type UserVpcAuthorizationArgs ¶
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 ¶
func (UserVpcAuthorizationArgs) ElementType() reflect.Type
type UserVpcAuthorizationArray ¶
type UserVpcAuthorizationArray []UserVpcAuthorizationInput
func (UserVpcAuthorizationArray) ElementType ¶
func (UserVpcAuthorizationArray) ElementType() reflect.Type
func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput ¶
func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext ¶
func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput
type UserVpcAuthorizationArrayInput ¶
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 ¶
type UserVpcAuthorizationArrayOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationArrayOutput) ElementType ¶
func (UserVpcAuthorizationArrayOutput) ElementType() reflect.Type
func (UserVpcAuthorizationArrayOutput) Index ¶
func (o UserVpcAuthorizationArrayOutput) Index(i pulumi.IntInput) UserVpcAuthorizationOutput
func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput ¶
func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext ¶
func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput
type UserVpcAuthorizationInput ¶
type UserVpcAuthorizationInput interface { pulumi.Input ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput }
type UserVpcAuthorizationMap ¶
type UserVpcAuthorizationMap map[string]UserVpcAuthorizationInput
func (UserVpcAuthorizationMap) ElementType ¶
func (UserVpcAuthorizationMap) ElementType() reflect.Type
func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput ¶
func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext ¶
func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput
type UserVpcAuthorizationMapInput ¶
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 ¶
type UserVpcAuthorizationMapOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationMapOutput) ElementType ¶
func (UserVpcAuthorizationMapOutput) ElementType() reflect.Type
func (UserVpcAuthorizationMapOutput) MapIndex ¶
func (o UserVpcAuthorizationMapOutput) MapIndex(k pulumi.StringInput) UserVpcAuthorizationOutput
func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput ¶
func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext ¶
func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput
type UserVpcAuthorizationOutput ¶
type UserVpcAuthorizationOutput struct{ *pulumi.OutputState }
func (UserVpcAuthorizationOutput) AuthChannel ¶
func (o UserVpcAuthorizationOutput) AuthChannel() pulumi.StringPtrOutput
The auth channel. Valid values: `RESOURCE_DIRECTORY`.
func (UserVpcAuthorizationOutput) AuthType ¶
func (o UserVpcAuthorizationOutput) AuthType() pulumi.StringPtrOutput
The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.
func (UserVpcAuthorizationOutput) AuthorizedUserId ¶
func (o UserVpcAuthorizationOutput) AuthorizedUserId() pulumi.StringOutput
The primary account ID of the user who authorizes the resource.
func (UserVpcAuthorizationOutput) ElementType ¶
func (UserVpcAuthorizationOutput) ElementType() reflect.Type
func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput ¶
func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext ¶
func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
type UserVpcAuthorizationState ¶
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 ¶
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.StringPtrOutput `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 IP address of the client. UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"` // The user information of the host synchronization task. The details see Block `userInfo`. 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 ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pvtz.NewZone(ctx, "foo", &pvtz.ZoneArgs{ ZoneName: pulumi.String("foo.test.com"), }) if err != nil { return err } return nil }) }
```
## 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 IP address of the client. UserClientIp pulumi.StringPtrInput // The user information of the host synchronization task. The details see Block `userInfo`. 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"` // The List of the VPC: 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 ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", nil) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ 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 }) }
```
Using `vpcs` to attach being in same region several vpc instances to a private zone ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", nil) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ 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 }) }
```
Using `vpcs` to attach being in different regions several vpc instances to a private zone ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zone, err := pvtz.NewZone(ctx, "zone", nil) if err != nil { return err } first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{ CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{ 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{ 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 }) }
```
## 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 // The List of the VPC: 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 ¶
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 ¶
func (o ZoneAttachmentOutput) UserClientIp() pulumi.StringPtrOutput
The user custom IP address.
func (ZoneAttachmentOutput) VpcIds ¶
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 ¶
func (o ZoneAttachmentOutput) Vpcs() ZoneAttachmentVpcArrayOutput
The List of the VPC:
func (ZoneAttachmentOutput) ZoneId ¶
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 // The List of the VPC: 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 ¶
func (o ZoneOutput) IsPtr() pulumi.BoolOutput
Whether the Private Zone is ptr.
func (ZoneOutput) Lang ¶
func (o ZoneOutput) Lang() pulumi.StringPtrOutput
The language. Valid values: "zh", "en", "jp".
func (ZoneOutput) Name
deprecated
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 ¶
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 ¶
func (o ZoneOutput) RecordCount() pulumi.IntOutput
The count of the Private Zone Record.
func (ZoneOutput) Remark ¶
func (o ZoneOutput) Remark() pulumi.StringPtrOutput
The remark of the Private Zone.
func (ZoneOutput) ResourceGroupId ¶
func (o ZoneOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the Private Zone belongs.
func (ZoneOutput) SyncStatus ¶
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) ToZoneOutput ¶
func (o ZoneOutput) ToZoneOutput() ZoneOutput
func (ZoneOutput) ToZoneOutputWithContext ¶
func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
func (ZoneOutput) UserClientIp ¶
func (o ZoneOutput) UserClientIp() pulumi.StringPtrOutput
The IP address of the client.
func (ZoneOutput) UserInfos ¶
func (o ZoneOutput) UserInfos() ZoneUserInfoArrayOutput
The user information of the host synchronization task. The details see Block `userInfo`.
func (ZoneOutput) ZoneName ¶
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 ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/pvtz"
)
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 }) }
```
## 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 ¶
func (o ZoneRecordOutput) Lang() pulumi.StringPtrOutput
User language.
func (ZoneRecordOutput) Priority ¶
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 ¶
func (o ZoneRecordOutput) RecordId() pulumi.StringOutput
The Private Zone Record ID.
func (ZoneRecordOutput) Remark ¶
func (o ZoneRecordOutput) Remark() pulumi.StringPtrOutput
The remark of the Private Zone Record.
func (ZoneRecordOutput) ResourceRecord
deprecated
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 ¶
func (o ZoneRecordOutput) Rr() pulumi.StringOutput
The rr of the Private Zone Record.
func (ZoneRecordOutput) Status ¶
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 ¶
func (o ZoneRecordOutput) Ttl() pulumi.IntPtrOutput
The ttl of the Private Zone Record. Default to `60`.
func (ZoneRecordOutput) Type ¶
func (o ZoneRecordOutput) Type() pulumi.StringOutput
The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.
func (ZoneRecordOutput) UserClientIp ¶
func (o ZoneRecordOutput) UserClientIp() pulumi.StringPtrOutput
func (ZoneRecordOutput) Value ¶
func (o ZoneRecordOutput) Value() pulumi.StringOutput
The value of the Private Zone Record.
func (ZoneRecordOutput) ZoneId ¶
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 IP address of the client. UserClientIp pulumi.StringPtrInput // The user information of the host synchronization task. The details see Block `userInfo`. 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 ¶
type ZoneUserInfoArgs ¶
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 ¶
func (ZoneUserInfoArgs) ElementType() reflect.Type
func (ZoneUserInfoArgs) ToZoneUserInfoOutput ¶
func (i ZoneUserInfoArgs) ToZoneUserInfoOutput() ZoneUserInfoOutput
func (ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext ¶
func (i ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput
type ZoneUserInfoArray ¶
type ZoneUserInfoArray []ZoneUserInfoInput
func (ZoneUserInfoArray) ElementType ¶
func (ZoneUserInfoArray) ElementType() reflect.Type
func (ZoneUserInfoArray) ToZoneUserInfoArrayOutput ¶
func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
func (ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext ¶
func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput
type ZoneUserInfoArrayInput ¶
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 ¶
type ZoneUserInfoArrayOutput struct{ *pulumi.OutputState }
func (ZoneUserInfoArrayOutput) ElementType ¶
func (ZoneUserInfoArrayOutput) ElementType() reflect.Type
func (ZoneUserInfoArrayOutput) Index ¶
func (o ZoneUserInfoArrayOutput) Index(i pulumi.IntInput) ZoneUserInfoOutput
func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput ¶
func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext ¶
func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput
type ZoneUserInfoInput ¶
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 ¶
type ZoneUserInfoOutput struct{ *pulumi.OutputState }
func (ZoneUserInfoOutput) ElementType ¶
func (ZoneUserInfoOutput) ElementType() reflect.Type
func (ZoneUserInfoOutput) RegionIds ¶
func (o ZoneUserInfoOutput) RegionIds() pulumi.StringArrayOutput
The list of the region IDs.
func (ZoneUserInfoOutput) ToZoneUserInfoOutput ¶
func (o ZoneUserInfoOutput) ToZoneUserInfoOutput() ZoneUserInfoOutput
func (ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext ¶
func (o ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput
func (ZoneUserInfoOutput) UserId ¶
func (o ZoneUserInfoOutput) UserId() pulumi.StringPtrOutput
The user ID belonging to the region is used for cross-account synchronization scenarios.