Documentation
¶
Index ¶
- 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 GetVpcEndpointConnectionsArgs
- type GetVpcEndpointConnectionsConnection
- type GetVpcEndpointConnectionsConnectionArgs
- func (GetVpcEndpointConnectionsConnectionArgs) ElementType() reflect.Type
- func (i GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutput() GetVpcEndpointConnectionsConnectionOutput
- func (i GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionOutput
- type GetVpcEndpointConnectionsConnectionArray
- func (GetVpcEndpointConnectionsConnectionArray) ElementType() reflect.Type
- func (i GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutput() GetVpcEndpointConnectionsConnectionArrayOutput
- func (i GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionArrayOutput
- type GetVpcEndpointConnectionsConnectionArrayInput
- type GetVpcEndpointConnectionsConnectionArrayOutput
- func (GetVpcEndpointConnectionsConnectionArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointConnectionsConnectionArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointConnectionsConnectionOutput
- func (o GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutput() GetVpcEndpointConnectionsConnectionArrayOutput
- func (o GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionArrayOutput
- type GetVpcEndpointConnectionsConnectionInput
- type GetVpcEndpointConnectionsConnectionOutput
- func (o GetVpcEndpointConnectionsConnectionOutput) Bandwidth() pulumi.IntOutput
- func (GetVpcEndpointConnectionsConnectionOutput) ElementType() reflect.Type
- func (o GetVpcEndpointConnectionsConnectionOutput) EndpointId() pulumi.StringOutput
- func (o GetVpcEndpointConnectionsConnectionOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointConnectionsConnectionOutput) Status() pulumi.StringOutput
- func (o GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutput() GetVpcEndpointConnectionsConnectionOutput
- func (o GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionOutput
- type GetVpcEndpointConnectionsOutputArgs
- type GetVpcEndpointConnectionsResult
- type GetVpcEndpointConnectionsResultOutput
- func (o GetVpcEndpointConnectionsResultOutput) Connections() GetVpcEndpointConnectionsConnectionArrayOutput
- func (GetVpcEndpointConnectionsResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointConnectionsResultOutput) EndpointId() pulumi.StringPtrOutput
- func (o GetVpcEndpointConnectionsResultOutput) EndpointOwnerId() pulumi.IntPtrOutput
- func (o GetVpcEndpointConnectionsResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointConnectionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointConnectionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointConnectionsResultOutput) ServiceId() pulumi.StringOutput
- func (o GetVpcEndpointConnectionsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutput() GetVpcEndpointConnectionsResultOutput
- func (o GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsResultOutput
- type GetVpcEndpointServiceResourcesArgs
- type GetVpcEndpointServiceResourcesOutputArgs
- type GetVpcEndpointServiceResourcesResource
- type GetVpcEndpointServiceResourcesResourceArgs
- func (GetVpcEndpointServiceResourcesResourceArgs) ElementType() reflect.Type
- func (i GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutput() GetVpcEndpointServiceResourcesResourceOutput
- func (i GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceOutput
- type GetVpcEndpointServiceResourcesResourceArray
- func (GetVpcEndpointServiceResourcesResourceArray) ElementType() reflect.Type
- func (i GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutput() GetVpcEndpointServiceResourcesResourceArrayOutput
- func (i GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceArrayOutput
- type GetVpcEndpointServiceResourcesResourceArrayInput
- type GetVpcEndpointServiceResourcesResourceArrayOutput
- func (GetVpcEndpointServiceResourcesResourceArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServiceResourcesResourceOutput
- func (o GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutput() GetVpcEndpointServiceResourcesResourceArrayOutput
- func (o GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceArrayOutput
- type GetVpcEndpointServiceResourcesResourceInput
- type GetVpcEndpointServiceResourcesResourceOutput
- func (GetVpcEndpointServiceResourcesResourceOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceResourcesResourceOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServiceResourcesResourceOutput) ResourceId() pulumi.StringOutput
- func (o GetVpcEndpointServiceResourcesResourceOutput) ResourceType() pulumi.StringOutput
- func (o GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutput() GetVpcEndpointServiceResourcesResourceOutput
- func (o GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceOutput
- type GetVpcEndpointServiceResourcesResult
- type GetVpcEndpointServiceResourcesResultOutput
- func (GetVpcEndpointServiceResourcesResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceResourcesResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) Resources() GetVpcEndpointServiceResourcesResourceArrayOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) ServiceId() pulumi.StringOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutput() GetVpcEndpointServiceResourcesResultOutput
- func (o GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResultOutput
- type GetVpcEndpointServiceUsersArgs
- type GetVpcEndpointServiceUsersOutputArgs
- type GetVpcEndpointServiceUsersResult
- type GetVpcEndpointServiceUsersResultOutput
- func (GetVpcEndpointServiceUsersResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceUsersResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServiceUsersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointServiceUsersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointServiceUsersResultOutput) ServiceId() pulumi.StringOutput
- func (o GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutput() GetVpcEndpointServiceUsersResultOutput
- func (o GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersResultOutput
- func (o GetVpcEndpointServiceUsersResultOutput) UserId() pulumi.StringPtrOutput
- func (o GetVpcEndpointServiceUsersResultOutput) Users() GetVpcEndpointServiceUsersUserArrayOutput
- type GetVpcEndpointServiceUsersUser
- type GetVpcEndpointServiceUsersUserArgs
- func (GetVpcEndpointServiceUsersUserArgs) ElementType() reflect.Type
- func (i GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutput() GetVpcEndpointServiceUsersUserOutput
- func (i GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserOutput
- type GetVpcEndpointServiceUsersUserArray
- func (GetVpcEndpointServiceUsersUserArray) ElementType() reflect.Type
- func (i GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutput() GetVpcEndpointServiceUsersUserArrayOutput
- func (i GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserArrayOutput
- type GetVpcEndpointServiceUsersUserArrayInput
- type GetVpcEndpointServiceUsersUserArrayOutput
- func (GetVpcEndpointServiceUsersUserArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceUsersUserArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServiceUsersUserOutput
- func (o GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutput() GetVpcEndpointServiceUsersUserArrayOutput
- func (o GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserArrayOutput
- type GetVpcEndpointServiceUsersUserInput
- type GetVpcEndpointServiceUsersUserOutput
- func (GetVpcEndpointServiceUsersUserOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceUsersUserOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutput() GetVpcEndpointServiceUsersUserOutput
- func (o GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserOutput
- func (o GetVpcEndpointServiceUsersUserOutput) UserId() pulumi.StringOutput
- type GetVpcEndpointServicesArgs
- type GetVpcEndpointServicesOutputArgs
- type GetVpcEndpointServicesResult
- type GetVpcEndpointServicesResultOutput
- func (o GetVpcEndpointServicesResultOutput) AutoAcceptConnection() pulumi.BoolPtrOutput
- func (GetVpcEndpointServicesResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServicesResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServicesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointServicesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetVpcEndpointServicesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetVpcEndpointServicesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointServicesResultOutput) ServiceBusinessStatus() pulumi.StringPtrOutput
- func (o GetVpcEndpointServicesResultOutput) Services() GetVpcEndpointServicesServiceArrayOutput
- func (o GetVpcEndpointServicesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetVpcEndpointServicesResultOutput) Tags() pulumi.StringMapOutput
- func (o GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutput() GetVpcEndpointServicesResultOutput
- func (o GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutputWithContext(ctx context.Context) GetVpcEndpointServicesResultOutput
- func (o GetVpcEndpointServicesResultOutput) VpcEndpointServiceName() pulumi.StringPtrOutput
- type GetVpcEndpointServicesService
- type GetVpcEndpointServicesServiceArgs
- func (GetVpcEndpointServicesServiceArgs) ElementType() reflect.Type
- func (i GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutput() GetVpcEndpointServicesServiceOutput
- func (i GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceOutput
- type GetVpcEndpointServicesServiceArray
- func (GetVpcEndpointServicesServiceArray) ElementType() reflect.Type
- func (i GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutput() GetVpcEndpointServicesServiceArrayOutput
- func (i GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceArrayOutput
- type GetVpcEndpointServicesServiceArrayInput
- type GetVpcEndpointServicesServiceArrayOutput
- func (GetVpcEndpointServicesServiceArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServicesServiceArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServicesServiceOutput
- func (o GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutput() GetVpcEndpointServicesServiceArrayOutput
- func (o GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceArrayOutput
- type GetVpcEndpointServicesServiceInput
- type GetVpcEndpointServicesServiceOutput
- func (o GetVpcEndpointServicesServiceOutput) AutoAcceptConnection() pulumi.BoolOutput
- func (o GetVpcEndpointServicesServiceOutput) ConnectBandwidth() pulumi.IntOutput
- func (GetVpcEndpointServicesServiceOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServicesServiceOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) ServiceBusinessStatus() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) ServiceDescription() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) ServiceDomain() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) ServiceId() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) Status() pulumi.StringOutput
- func (o GetVpcEndpointServicesServiceOutput) Tags() pulumi.StringMapOutput
- func (o GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutput() GetVpcEndpointServicesServiceOutput
- func (o GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceOutput
- func (o GetVpcEndpointServicesServiceOutput) VpcEndpointServiceName() pulumi.StringOutput
- type GetVpcEndpointZonesArgs
- type GetVpcEndpointZonesOutputArgs
- type GetVpcEndpointZonesResult
- type GetVpcEndpointZonesResultOutput
- func (GetVpcEndpointZonesResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointZonesResultOutput) EndpointId() pulumi.StringOutput
- func (o GetVpcEndpointZonesResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointZonesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointZonesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutput() GetVpcEndpointZonesResultOutput
- func (o GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutputWithContext(ctx context.Context) GetVpcEndpointZonesResultOutput
- func (o GetVpcEndpointZonesResultOutput) Zones() GetVpcEndpointZonesZoneArrayOutput
- type GetVpcEndpointZonesZone
- type GetVpcEndpointZonesZoneArgs
- type GetVpcEndpointZonesZoneArray
- func (GetVpcEndpointZonesZoneArray) ElementType() reflect.Type
- func (i GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutput() GetVpcEndpointZonesZoneArrayOutput
- func (i GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneArrayOutput
- type GetVpcEndpointZonesZoneArrayInput
- type GetVpcEndpointZonesZoneArrayOutput
- func (GetVpcEndpointZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointZonesZoneArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointZonesZoneOutput
- func (o GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutput() GetVpcEndpointZonesZoneArrayOutput
- func (o GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneArrayOutput
- type GetVpcEndpointZonesZoneInput
- type GetVpcEndpointZonesZoneOutput
- func (GetVpcEndpointZonesZoneOutput) ElementType() reflect.Type
- func (o GetVpcEndpointZonesZoneOutput) EniId() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) EniIp() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) Status() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutput() GetVpcEndpointZonesZoneOutput
- func (o GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneOutput
- func (o GetVpcEndpointZonesZoneOutput) VswitchId() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) ZoneDomain() pulumi.StringOutput
- func (o GetVpcEndpointZonesZoneOutput) ZoneId() pulumi.StringOutput
- type GetVpcEndpointsArgs
- type GetVpcEndpointsEndpoint
- type GetVpcEndpointsEndpointArgs
- type GetVpcEndpointsEndpointArray
- func (GetVpcEndpointsEndpointArray) ElementType() reflect.Type
- func (i GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutput() GetVpcEndpointsEndpointArrayOutput
- func (i GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointArrayOutput
- type GetVpcEndpointsEndpointArrayInput
- type GetVpcEndpointsEndpointArrayOutput
- func (GetVpcEndpointsEndpointArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointsEndpointOutput
- func (o GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutput() GetVpcEndpointsEndpointArrayOutput
- func (o GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointArrayOutput
- type GetVpcEndpointsEndpointInput
- type GetVpcEndpointsEndpointOutput
- func (o GetVpcEndpointsEndpointOutput) Bandwidth() pulumi.IntOutput
- func (o GetVpcEndpointsEndpointOutput) ConnectionStatus() pulumi.StringOutput
- func (GetVpcEndpointsEndpointOutput) ElementType() reflect.Type
- func (o GetVpcEndpointsEndpointOutput) EndpointBusinessStatus() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) EndpointDescription() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) EndpointDomain() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) EndpointId() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o GetVpcEndpointsEndpointOutput) ServiceId() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) ServiceName() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) Status() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutput() GetVpcEndpointsEndpointOutput
- func (o GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointOutput
- func (o GetVpcEndpointsEndpointOutput) VpcEndpointName() pulumi.StringOutput
- func (o GetVpcEndpointsEndpointOutput) VpcId() pulumi.StringOutput
- type GetVpcEndpointsOutputArgs
- type GetVpcEndpointsResult
- type GetVpcEndpointsResultOutput
- func (o GetVpcEndpointsResultOutput) ConnectionStatus() pulumi.StringPtrOutput
- func (GetVpcEndpointsResultOutput) ElementType() reflect.Type
- func (o GetVpcEndpointsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetVpcEndpointsResultOutput) Endpoints() GetVpcEndpointsEndpointArrayOutput
- func (o GetVpcEndpointsResultOutput) Id() pulumi.StringOutput
- func (o GetVpcEndpointsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcEndpointsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetVpcEndpointsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetVpcEndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVpcEndpointsResultOutput) ServiceName() pulumi.StringPtrOutput
- func (o GetVpcEndpointsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutput() GetVpcEndpointsResultOutput
- func (o GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutputWithContext(ctx context.Context) GetVpcEndpointsResultOutput
- func (o GetVpcEndpointsResultOutput) VpcEndpointName() pulumi.StringPtrOutput
- func (o GetVpcEndpointsResultOutput) VpcId() pulumi.StringPtrOutput
- type VpcEndpoint
- type VpcEndpointArgs
- type VpcEndpointArray
- type VpcEndpointArrayInput
- type VpcEndpointArrayOutput
- func (VpcEndpointArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointArrayOutput) Index(i pulumi.IntInput) VpcEndpointOutput
- func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
- func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
- type VpcEndpointInput
- type VpcEndpointMap
- type VpcEndpointMapInput
- type VpcEndpointMapOutput
- func (VpcEndpointMapOutput) ElementType() reflect.Type
- func (o VpcEndpointMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointOutput
- func (o VpcEndpointMapOutput) ToVpcEndpointMapOutput() VpcEndpointMapOutput
- func (o VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
- type VpcEndpointOutput
- func (o VpcEndpointOutput) Bandwidth() pulumi.IntOutput
- func (o VpcEndpointOutput) ConnectionStatus() pulumi.StringOutput
- func (o VpcEndpointOutput) CreateTime() pulumi.StringOutput
- func (o VpcEndpointOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointOutput) ElementType() reflect.Type
- func (o VpcEndpointOutput) EndpointBusinessStatus() pulumi.StringOutput
- func (o VpcEndpointOutput) EndpointDescription() pulumi.StringPtrOutput
- func (o VpcEndpointOutput) EndpointDomain() pulumi.StringOutput
- func (o VpcEndpointOutput) EndpointType() pulumi.StringOutput
- func (o VpcEndpointOutput) PolicyDocument() pulumi.StringOutput
- func (o VpcEndpointOutput) ProtectedEnabled() pulumi.BoolPtrOutput
- func (o VpcEndpointOutput) ResourceGroupId() pulumi.StringOutput
- func (o VpcEndpointOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o VpcEndpointOutput) ServiceId() pulumi.StringPtrOutput
- func (o VpcEndpointOutput) ServiceName() pulumi.StringOutput
- func (o VpcEndpointOutput) Status() pulumi.StringOutput
- func (o VpcEndpointOutput) Tags() pulumi.StringMapOutput
- func (o VpcEndpointOutput) ToVpcEndpointOutput() VpcEndpointOutput
- func (o VpcEndpointOutput) ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
- func (o VpcEndpointOutput) VpcEndpointName() pulumi.StringPtrOutput
- func (o VpcEndpointOutput) VpcId() pulumi.StringOutput
- func (o VpcEndpointOutput) ZonePrivateIpAddressCount() pulumi.IntOutput
- type VpcEndpointService
- type VpcEndpointServiceArgs
- type VpcEndpointServiceArray
- type VpcEndpointServiceArrayInput
- type VpcEndpointServiceArrayOutput
- func (VpcEndpointServiceArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceOutput
- func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
- func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
- type VpcEndpointServiceConnection
- func (*VpcEndpointServiceConnection) ElementType() reflect.Type
- func (i *VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutput() VpcEndpointServiceConnectionOutput
- func (i *VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionOutput
- type VpcEndpointServiceConnectionArgs
- type VpcEndpointServiceConnectionArray
- func (VpcEndpointServiceConnectionArray) ElementType() reflect.Type
- func (i VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutput() VpcEndpointServiceConnectionArrayOutput
- func (i VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionArrayOutput
- type VpcEndpointServiceConnectionArrayInput
- type VpcEndpointServiceConnectionArrayOutput
- func (VpcEndpointServiceConnectionArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceConnectionArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceConnectionOutput
- func (o VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutput() VpcEndpointServiceConnectionArrayOutput
- func (o VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionArrayOutput
- type VpcEndpointServiceConnectionInput
- type VpcEndpointServiceConnectionMap
- func (VpcEndpointServiceConnectionMap) ElementType() reflect.Type
- func (i VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutput() VpcEndpointServiceConnectionMapOutput
- func (i VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionMapOutput
- type VpcEndpointServiceConnectionMapInput
- type VpcEndpointServiceConnectionMapOutput
- func (VpcEndpointServiceConnectionMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceConnectionMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceConnectionOutput
- func (o VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutput() VpcEndpointServiceConnectionMapOutput
- func (o VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionMapOutput
- type VpcEndpointServiceConnectionOutput
- func (o VpcEndpointServiceConnectionOutput) Bandwidth() pulumi.IntOutput
- func (o VpcEndpointServiceConnectionOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointServiceConnectionOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceConnectionOutput) EndpointId() pulumi.StringOutput
- func (o VpcEndpointServiceConnectionOutput) ServiceId() pulumi.StringOutput
- func (o VpcEndpointServiceConnectionOutput) Status() pulumi.StringOutput
- func (o VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutput() VpcEndpointServiceConnectionOutput
- func (o VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionOutput
- type VpcEndpointServiceConnectionState
- type VpcEndpointServiceInput
- type VpcEndpointServiceMap
- type VpcEndpointServiceMapInput
- type VpcEndpointServiceMapOutput
- func (VpcEndpointServiceMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceOutput
- func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
- func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
- type VpcEndpointServiceOutput
- func (o VpcEndpointServiceOutput) AutoAcceptConnection() pulumi.BoolPtrOutput
- func (o VpcEndpointServiceOutput) ConnectBandwidth() pulumi.IntOutput
- func (o VpcEndpointServiceOutput) CreateTime() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointServiceOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceOutput) Payer() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ResourceGroupId() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ServiceBusinessStatus() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ServiceDescription() pulumi.StringPtrOutput
- func (o VpcEndpointServiceOutput) ServiceDomain() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ServiceResourceType() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ServiceSupportIpv6() pulumi.BoolOutput
- func (o VpcEndpointServiceOutput) Status() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) Tags() pulumi.StringMapOutput
- func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
- func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
- func (o VpcEndpointServiceOutput) VpcEndpointServiceName() pulumi.StringOutput
- func (o VpcEndpointServiceOutput) ZoneAffinityEnabled() pulumi.BoolOutput
- type VpcEndpointServiceResource
- func (*VpcEndpointServiceResource) ElementType() reflect.Type
- func (i *VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutput() VpcEndpointServiceResourceOutput
- func (i *VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutputWithContext(ctx context.Context) VpcEndpointServiceResourceOutput
- type VpcEndpointServiceResourceArgs
- type VpcEndpointServiceResourceArray
- func (VpcEndpointServiceResourceArray) ElementType() reflect.Type
- func (i VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutput() VpcEndpointServiceResourceArrayOutput
- func (i VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceResourceArrayOutput
- type VpcEndpointServiceResourceArrayInput
- type VpcEndpointServiceResourceArrayOutput
- func (VpcEndpointServiceResourceArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceResourceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceResourceOutput
- func (o VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutput() VpcEndpointServiceResourceArrayOutput
- func (o VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceResourceArrayOutput
- type VpcEndpointServiceResourceInput
- type VpcEndpointServiceResourceMap
- func (VpcEndpointServiceResourceMap) ElementType() reflect.Type
- func (i VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutput() VpcEndpointServiceResourceMapOutput
- func (i VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutputWithContext(ctx context.Context) VpcEndpointServiceResourceMapOutput
- type VpcEndpointServiceResourceMapInput
- type VpcEndpointServiceResourceMapOutput
- func (VpcEndpointServiceResourceMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceResourceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceResourceOutput
- func (o VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutput() VpcEndpointServiceResourceMapOutput
- func (o VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutputWithContext(ctx context.Context) VpcEndpointServiceResourceMapOutput
- type VpcEndpointServiceResourceOutput
- func (o VpcEndpointServiceResourceOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointServiceResourceOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceResourceOutput) ResourceId() pulumi.StringOutput
- func (o VpcEndpointServiceResourceOutput) ResourceType() pulumi.StringOutput
- func (o VpcEndpointServiceResourceOutput) ServiceId() pulumi.StringOutput
- func (o VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutput() VpcEndpointServiceResourceOutput
- func (o VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutputWithContext(ctx context.Context) VpcEndpointServiceResourceOutput
- func (o VpcEndpointServiceResourceOutput) ZoneId() pulumi.StringOutput
- type VpcEndpointServiceResourceState
- type VpcEndpointServiceState
- type VpcEndpointServiceUser
- type VpcEndpointServiceUserArgs
- type VpcEndpointServiceUserArray
- func (VpcEndpointServiceUserArray) ElementType() reflect.Type
- func (i VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutput() VpcEndpointServiceUserArrayOutput
- func (i VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutputWithContext(ctx context.Context) VpcEndpointServiceUserArrayOutput
- type VpcEndpointServiceUserArrayInput
- type VpcEndpointServiceUserArrayOutput
- func (VpcEndpointServiceUserArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceUserArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceUserOutput
- func (o VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutput() VpcEndpointServiceUserArrayOutput
- func (o VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutputWithContext(ctx context.Context) VpcEndpointServiceUserArrayOutput
- type VpcEndpointServiceUserInput
- type VpcEndpointServiceUserMap
- type VpcEndpointServiceUserMapInput
- type VpcEndpointServiceUserMapOutput
- func (VpcEndpointServiceUserMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceUserMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceUserOutput
- func (o VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutput() VpcEndpointServiceUserMapOutput
- func (o VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutputWithContext(ctx context.Context) VpcEndpointServiceUserMapOutput
- type VpcEndpointServiceUserOutput
- func (o VpcEndpointServiceUserOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointServiceUserOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceUserOutput) ServiceId() pulumi.StringOutput
- func (o VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutput() VpcEndpointServiceUserOutput
- func (o VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutputWithContext(ctx context.Context) VpcEndpointServiceUserOutput
- func (o VpcEndpointServiceUserOutput) UserArn() pulumi.StringPtrOutput
- func (o VpcEndpointServiceUserOutput) UserId() pulumi.StringOutput
- type VpcEndpointServiceUserState
- type VpcEndpointState
- type VpcEndpointZone
- type VpcEndpointZoneArgs
- type VpcEndpointZoneArray
- type VpcEndpointZoneArrayInput
- type VpcEndpointZoneArrayOutput
- func (VpcEndpointZoneArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointZoneArrayOutput) Index(i pulumi.IntInput) VpcEndpointZoneOutput
- func (o VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutput() VpcEndpointZoneArrayOutput
- func (o VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutputWithContext(ctx context.Context) VpcEndpointZoneArrayOutput
- type VpcEndpointZoneInput
- type VpcEndpointZoneMap
- type VpcEndpointZoneMapInput
- type VpcEndpointZoneMapOutput
- func (VpcEndpointZoneMapOutput) ElementType() reflect.Type
- func (o VpcEndpointZoneMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointZoneOutput
- func (o VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutput() VpcEndpointZoneMapOutput
- func (o VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutputWithContext(ctx context.Context) VpcEndpointZoneMapOutput
- type VpcEndpointZoneOutput
- func (o VpcEndpointZoneOutput) DryRun() pulumi.BoolPtrOutput
- func (VpcEndpointZoneOutput) ElementType() reflect.Type
- func (o VpcEndpointZoneOutput) EndpointId() pulumi.StringOutput
- func (o VpcEndpointZoneOutput) EniIp() pulumi.StringOutput
- func (o VpcEndpointZoneOutput) Status() pulumi.StringOutput
- func (o VpcEndpointZoneOutput) ToVpcEndpointZoneOutput() VpcEndpointZoneOutput
- func (o VpcEndpointZoneOutput) ToVpcEndpointZoneOutputWithContext(ctx context.Context) VpcEndpointZoneOutput
- func (o VpcEndpointZoneOutput) VswitchId() pulumi.StringOutput
- func (o VpcEndpointZoneOutput) ZoneId() pulumi.StringPtrOutput
- type VpcEndpointZoneState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. // // > **NOTE:** Setting `enable = "On"` to open the Privatelink service that means you have read and agreed the [Privatelink Terms of Service](https://help.aliyun.com/document_detail/197619.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶ added in v3.9.0
type GetServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. // // > **NOTE:** Setting `enable = "On"` to open the Privatelink service that means you have read and agreed the [Privatelink Terms of Service](https://help.aliyun.com/document_detail/197619.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶ added in v3.9.0
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can open Privatelink service automatically. If the service has been opened, it will return opened.
For information about Privatelink and how to use it, see [What is Privatelink](https://www.alibabacloud.com/help/en/product/120462.htm).
> **NOTE:** Available in v1.113.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatelink.GetService(ctx, &privatelink.GetServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
```
type GetServiceResultOutput ¶ added in v3.9.0
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶ added in v3.9.0
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶ added in v3.9.0
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶ added in v3.9.0
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶ added in v3.9.0
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶ added in v3.9.0
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type GetVpcEndpointConnectionsArgs ¶
type GetVpcEndpointConnectionsArgs struct { // The ID of the Vpc Endpoint. EndpointId *string `pulumi:"endpointId"` // The endpoint owner id. EndpointOwnerId *int `pulumi:"endpointOwnerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The ID of the Vpc Endpoint Service. ServiceId string `pulumi:"serviceId"` // The status of Vpc Endpoint Connection. Valid Values: `Connected`, `Connecting`, `Deleted`, `Deleting`, `Disconnected`, `Disconnecting`, `Pending` and `ServiceDeleted`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getVpcEndpointConnections.
type GetVpcEndpointConnectionsConnection ¶
type GetVpcEndpointConnectionsConnection struct { // The Bandwidth. Bandwidth int `pulumi:"bandwidth"` // The ID of the Vpc Endpoint. EndpointId string `pulumi:"endpointId"` // The ID of the Vpc Endpoint Connection. Id string `pulumi:"id"` // The status of Vpc Endpoint Connection. Status string `pulumi:"status"` }
type GetVpcEndpointConnectionsConnectionArgs ¶
type GetVpcEndpointConnectionsConnectionArgs struct { // The Bandwidth. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The ID of the Vpc Endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // The ID of the Vpc Endpoint Connection. Id pulumi.StringInput `pulumi:"id"` // The status of Vpc Endpoint Connection. Status pulumi.StringInput `pulumi:"status"` }
func (GetVpcEndpointConnectionsConnectionArgs) ElementType ¶
func (GetVpcEndpointConnectionsConnectionArgs) ElementType() reflect.Type
func (GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutput ¶
func (i GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutput() GetVpcEndpointConnectionsConnectionOutput
func (GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutputWithContext ¶
func (i GetVpcEndpointConnectionsConnectionArgs) ToGetVpcEndpointConnectionsConnectionOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionOutput
type GetVpcEndpointConnectionsConnectionArray ¶
type GetVpcEndpointConnectionsConnectionArray []GetVpcEndpointConnectionsConnectionInput
func (GetVpcEndpointConnectionsConnectionArray) ElementType ¶
func (GetVpcEndpointConnectionsConnectionArray) ElementType() reflect.Type
func (GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutput ¶
func (i GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutput() GetVpcEndpointConnectionsConnectionArrayOutput
func (GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext ¶
func (i GetVpcEndpointConnectionsConnectionArray) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionArrayOutput
type GetVpcEndpointConnectionsConnectionArrayInput ¶
type GetVpcEndpointConnectionsConnectionArrayInput interface { pulumi.Input ToGetVpcEndpointConnectionsConnectionArrayOutput() GetVpcEndpointConnectionsConnectionArrayOutput ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext(context.Context) GetVpcEndpointConnectionsConnectionArrayOutput }
GetVpcEndpointConnectionsConnectionArrayInput is an input type that accepts GetVpcEndpointConnectionsConnectionArray and GetVpcEndpointConnectionsConnectionArrayOutput values. You can construct a concrete instance of `GetVpcEndpointConnectionsConnectionArrayInput` via:
GetVpcEndpointConnectionsConnectionArray{ GetVpcEndpointConnectionsConnectionArgs{...} }
type GetVpcEndpointConnectionsConnectionArrayOutput ¶
type GetVpcEndpointConnectionsConnectionArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointConnectionsConnectionArrayOutput) ElementType ¶
func (GetVpcEndpointConnectionsConnectionArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutput ¶
func (o GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutput() GetVpcEndpointConnectionsConnectionArrayOutput
func (GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext ¶
func (o GetVpcEndpointConnectionsConnectionArrayOutput) ToGetVpcEndpointConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionArrayOutput
type GetVpcEndpointConnectionsConnectionInput ¶
type GetVpcEndpointConnectionsConnectionInput interface { pulumi.Input ToGetVpcEndpointConnectionsConnectionOutput() GetVpcEndpointConnectionsConnectionOutput ToGetVpcEndpointConnectionsConnectionOutputWithContext(context.Context) GetVpcEndpointConnectionsConnectionOutput }
GetVpcEndpointConnectionsConnectionInput is an input type that accepts GetVpcEndpointConnectionsConnectionArgs and GetVpcEndpointConnectionsConnectionOutput values. You can construct a concrete instance of `GetVpcEndpointConnectionsConnectionInput` via:
GetVpcEndpointConnectionsConnectionArgs{...}
type GetVpcEndpointConnectionsConnectionOutput ¶
type GetVpcEndpointConnectionsConnectionOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointConnectionsConnectionOutput) Bandwidth ¶
func (o GetVpcEndpointConnectionsConnectionOutput) Bandwidth() pulumi.IntOutput
The Bandwidth.
func (GetVpcEndpointConnectionsConnectionOutput) ElementType ¶
func (GetVpcEndpointConnectionsConnectionOutput) ElementType() reflect.Type
func (GetVpcEndpointConnectionsConnectionOutput) EndpointId ¶
func (o GetVpcEndpointConnectionsConnectionOutput) EndpointId() pulumi.StringOutput
The ID of the Vpc Endpoint.
func (GetVpcEndpointConnectionsConnectionOutput) Id ¶
func (o GetVpcEndpointConnectionsConnectionOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint Connection.
func (GetVpcEndpointConnectionsConnectionOutput) Status ¶
func (o GetVpcEndpointConnectionsConnectionOutput) Status() pulumi.StringOutput
The status of Vpc Endpoint Connection.
func (GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutput ¶
func (o GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutput() GetVpcEndpointConnectionsConnectionOutput
func (GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutputWithContext ¶
func (o GetVpcEndpointConnectionsConnectionOutput) ToGetVpcEndpointConnectionsConnectionOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsConnectionOutput
type GetVpcEndpointConnectionsOutputArgs ¶ added in v3.9.0
type GetVpcEndpointConnectionsOutputArgs struct { // The ID of the Vpc Endpoint. EndpointId pulumi.StringPtrInput `pulumi:"endpointId"` // The endpoint owner id. EndpointOwnerId pulumi.IntPtrInput `pulumi:"endpointOwnerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of the Vpc Endpoint Service. ServiceId pulumi.StringInput `pulumi:"serviceId"` // The status of Vpc Endpoint Connection. Valid Values: `Connected`, `Connecting`, `Deleted`, `Deleting`, `Disconnected`, `Disconnecting`, `Pending` and `ServiceDeleted`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getVpcEndpointConnections.
func (GetVpcEndpointConnectionsOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointConnectionsOutputArgs) ElementType() reflect.Type
type GetVpcEndpointConnectionsResult ¶
type GetVpcEndpointConnectionsResult struct { Connections []GetVpcEndpointConnectionsConnection `pulumi:"connections"` EndpointId *string `pulumi:"endpointId"` EndpointOwnerId *int `pulumi:"endpointOwnerId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` ServiceId string `pulumi:"serviceId"` Status *string `pulumi:"status"` }
A collection of values returned by getVpcEndpointConnections.
func GetVpcEndpointConnections ¶
func GetVpcEndpointConnections(ctx *pulumi.Context, args *GetVpcEndpointConnectionsArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointConnectionsResult, error)
This data source provides the Privatelink Vpc Endpoint Connections of the current Alibaba Cloud user.
> **NOTE:** Available in v1.110.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatelink.GetVpcEndpointConnections(ctx, &privatelink.GetVpcEndpointConnectionsArgs{ ServiceId: "example_value", Status: pulumi.StringRef("Connected"), }, nil) if err != nil { return err } ctx.Export("firstPrivatelinkVpcEndpointConnectionId", example.Connections[0].Id) return nil }) }
```
type GetVpcEndpointConnectionsResultOutput ¶ added in v3.9.0
type GetVpcEndpointConnectionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointConnections.
func GetVpcEndpointConnectionsOutput ¶ added in v3.9.0
func GetVpcEndpointConnectionsOutput(ctx *pulumi.Context, args GetVpcEndpointConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointConnectionsResultOutput
func (GetVpcEndpointConnectionsResultOutput) Connections ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) Connections() GetVpcEndpointConnectionsConnectionArrayOutput
func (GetVpcEndpointConnectionsResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointConnectionsResultOutput) ElementType() reflect.Type
func (GetVpcEndpointConnectionsResultOutput) EndpointId ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) EndpointId() pulumi.StringPtrOutput
func (GetVpcEndpointConnectionsResultOutput) EndpointOwnerId ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) EndpointOwnerId() pulumi.IntPtrOutput
func (GetVpcEndpointConnectionsResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointConnectionsResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointConnectionsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointConnectionsResultOutput) ServiceId ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) ServiceId() pulumi.StringOutput
func (GetVpcEndpointConnectionsResultOutput) Status ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) Status() pulumi.StringPtrOutput
func (GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutput() GetVpcEndpointConnectionsResultOutput
func (GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointConnectionsResultOutput) ToGetVpcEndpointConnectionsResultOutputWithContext(ctx context.Context) GetVpcEndpointConnectionsResultOutput
type GetVpcEndpointServiceResourcesArgs ¶
type GetVpcEndpointServiceResourcesArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The ID of Vpc Endpoint Service. ServiceId string `pulumi:"serviceId"` }
A collection of arguments for invoking getVpcEndpointServiceResources.
type GetVpcEndpointServiceResourcesOutputArgs ¶ added in v3.9.0
type GetVpcEndpointServiceResourcesOutputArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of Vpc Endpoint Service. ServiceId pulumi.StringInput `pulumi:"serviceId"` }
A collection of arguments for invoking getVpcEndpointServiceResources.
func (GetVpcEndpointServiceResourcesOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServiceResourcesOutputArgs) ElementType() reflect.Type
type GetVpcEndpointServiceResourcesResourceArgs ¶
type GetVpcEndpointServiceResourcesResourceArgs struct { // The ID of the Vpc Endpoint Service Resource. Id pulumi.StringInput `pulumi:"id"` // The ID of Resource. ResourceId pulumi.StringInput `pulumi:"resourceId"` // The type of Resource. ResourceType pulumi.StringInput `pulumi:"resourceType"` }
func (GetVpcEndpointServiceResourcesResourceArgs) ElementType ¶
func (GetVpcEndpointServiceResourcesResourceArgs) ElementType() reflect.Type
func (GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutput ¶
func (i GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutput() GetVpcEndpointServiceResourcesResourceOutput
func (GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutputWithContext ¶
func (i GetVpcEndpointServiceResourcesResourceArgs) ToGetVpcEndpointServiceResourcesResourceOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceOutput
type GetVpcEndpointServiceResourcesResourceArray ¶
type GetVpcEndpointServiceResourcesResourceArray []GetVpcEndpointServiceResourcesResourceInput
func (GetVpcEndpointServiceResourcesResourceArray) ElementType ¶
func (GetVpcEndpointServiceResourcesResourceArray) ElementType() reflect.Type
func (GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutput ¶
func (i GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutput() GetVpcEndpointServiceResourcesResourceArrayOutput
func (GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext ¶
func (i GetVpcEndpointServiceResourcesResourceArray) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceArrayOutput
type GetVpcEndpointServiceResourcesResourceArrayInput ¶
type GetVpcEndpointServiceResourcesResourceArrayInput interface { pulumi.Input ToGetVpcEndpointServiceResourcesResourceArrayOutput() GetVpcEndpointServiceResourcesResourceArrayOutput ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext(context.Context) GetVpcEndpointServiceResourcesResourceArrayOutput }
GetVpcEndpointServiceResourcesResourceArrayInput is an input type that accepts GetVpcEndpointServiceResourcesResourceArray and GetVpcEndpointServiceResourcesResourceArrayOutput values. You can construct a concrete instance of `GetVpcEndpointServiceResourcesResourceArrayInput` via:
GetVpcEndpointServiceResourcesResourceArray{ GetVpcEndpointServiceResourcesResourceArgs{...} }
type GetVpcEndpointServiceResourcesResourceArrayOutput ¶
type GetVpcEndpointServiceResourcesResourceArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceResourcesResourceArrayOutput) ElementType ¶
func (GetVpcEndpointServiceResourcesResourceArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutput ¶
func (o GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutput() GetVpcEndpointServiceResourcesResourceArrayOutput
func (GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext ¶
func (o GetVpcEndpointServiceResourcesResourceArrayOutput) ToGetVpcEndpointServiceResourcesResourceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceArrayOutput
type GetVpcEndpointServiceResourcesResourceInput ¶
type GetVpcEndpointServiceResourcesResourceInput interface { pulumi.Input ToGetVpcEndpointServiceResourcesResourceOutput() GetVpcEndpointServiceResourcesResourceOutput ToGetVpcEndpointServiceResourcesResourceOutputWithContext(context.Context) GetVpcEndpointServiceResourcesResourceOutput }
GetVpcEndpointServiceResourcesResourceInput is an input type that accepts GetVpcEndpointServiceResourcesResourceArgs and GetVpcEndpointServiceResourcesResourceOutput values. You can construct a concrete instance of `GetVpcEndpointServiceResourcesResourceInput` via:
GetVpcEndpointServiceResourcesResourceArgs{...}
type GetVpcEndpointServiceResourcesResourceOutput ¶
type GetVpcEndpointServiceResourcesResourceOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceResourcesResourceOutput) ElementType ¶
func (GetVpcEndpointServiceResourcesResourceOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceResourcesResourceOutput) Id ¶
func (o GetVpcEndpointServiceResourcesResourceOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint Service Resource.
func (GetVpcEndpointServiceResourcesResourceOutput) ResourceId ¶
func (o GetVpcEndpointServiceResourcesResourceOutput) ResourceId() pulumi.StringOutput
The ID of Resource.
func (GetVpcEndpointServiceResourcesResourceOutput) ResourceType ¶
func (o GetVpcEndpointServiceResourcesResourceOutput) ResourceType() pulumi.StringOutput
The type of Resource.
func (GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutput ¶
func (o GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutput() GetVpcEndpointServiceResourcesResourceOutput
func (GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutputWithContext ¶
func (o GetVpcEndpointServiceResourcesResourceOutput) ToGetVpcEndpointServiceResourcesResourceOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResourceOutput
type GetVpcEndpointServiceResourcesResult ¶
type GetVpcEndpointServiceResourcesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Resources []GetVpcEndpointServiceResourcesResource `pulumi:"resources"` ServiceId string `pulumi:"serviceId"` }
A collection of values returned by getVpcEndpointServiceResources.
func GetVpcEndpointServiceResources ¶
func GetVpcEndpointServiceResources(ctx *pulumi.Context, args *GetVpcEndpointServiceResourcesArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointServiceResourcesResult, error)
This data source provides the Privatelink Vpc Endpoint Service Resources of the current Alibaba Cloud user.
> **NOTE:** Available in v1.110.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatelink.GetVpcEndpointServiceResources(ctx, &privatelink.GetVpcEndpointServiceResourcesArgs{ ServiceId: "epsrv-gw8ii1xxxx", }, nil) if err != nil { return err } ctx.Export("firstPrivatelinkVpcEndpointServiceResourceId", example.Resources[0].Id) return nil }) }
```
type GetVpcEndpointServiceResourcesResultOutput ¶ added in v3.9.0
type GetVpcEndpointServiceResourcesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointServiceResources.
func GetVpcEndpointServiceResourcesOutput ¶ added in v3.9.0
func GetVpcEndpointServiceResourcesOutput(ctx *pulumi.Context, args GetVpcEndpointServiceResourcesOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointServiceResourcesResultOutput
func (GetVpcEndpointServiceResourcesResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServiceResourcesResultOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceResourcesResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointServiceResourcesResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointServiceResourcesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointServiceResourcesResultOutput) ServiceId ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) ServiceId() pulumi.StringOutput
func (GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutput() GetVpcEndpointServiceResourcesResultOutput
func (GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointServiceResourcesResultOutput) ToGetVpcEndpointServiceResourcesResultOutputWithContext(ctx context.Context) GetVpcEndpointServiceResourcesResultOutput
type GetVpcEndpointServiceUsersArgs ¶
type GetVpcEndpointServiceUsersArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Id of Vpc Endpoint Service. ServiceId string `pulumi:"serviceId"` // The Id of Ram User. UserId *string `pulumi:"userId"` }
A collection of arguments for invoking getVpcEndpointServiceUsers.
type GetVpcEndpointServiceUsersOutputArgs ¶ added in v3.9.0
type GetVpcEndpointServiceUsersOutputArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of Vpc Endpoint Service. ServiceId pulumi.StringInput `pulumi:"serviceId"` // The Id of Ram User. UserId pulumi.StringPtrInput `pulumi:"userId"` }
A collection of arguments for invoking getVpcEndpointServiceUsers.
func (GetVpcEndpointServiceUsersOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServiceUsersOutputArgs) ElementType() reflect.Type
type GetVpcEndpointServiceUsersResult ¶
type GetVpcEndpointServiceUsersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` ServiceId string `pulumi:"serviceId"` UserId *string `pulumi:"userId"` Users []GetVpcEndpointServiceUsersUser `pulumi:"users"` }
A collection of values returned by getVpcEndpointServiceUsers.
func GetVpcEndpointServiceUsers ¶
func GetVpcEndpointServiceUsers(ctx *pulumi.Context, args *GetVpcEndpointServiceUsersArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointServiceUsersResult, error)
This data source provides the Privatelink Vpc Endpoint Service Users of the current Alibaba Cloud user.
> **NOTE:** Available in v1.110.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatelink.GetVpcEndpointServiceUsers(ctx, &privatelink.GetVpcEndpointServiceUsersArgs{ ServiceId: "epsrv-gw81c6vxxxxxx", }, nil) if err != nil { return err } ctx.Export("firstPrivatelinkVpcEndpointServiceUserId", example.Users[0].Id) return nil }) }
```
type GetVpcEndpointServiceUsersResultOutput ¶ added in v3.9.0
type GetVpcEndpointServiceUsersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointServiceUsers.
func GetVpcEndpointServiceUsersOutput ¶ added in v3.9.0
func GetVpcEndpointServiceUsersOutput(ctx *pulumi.Context, args GetVpcEndpointServiceUsersOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointServiceUsersResultOutput
func (GetVpcEndpointServiceUsersResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServiceUsersResultOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceUsersResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointServiceUsersResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointServiceUsersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointServiceUsersResultOutput) ServiceId ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) ServiceId() pulumi.StringOutput
func (GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutput() GetVpcEndpointServiceUsersResultOutput
func (GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) ToGetVpcEndpointServiceUsersResultOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersResultOutput
func (GetVpcEndpointServiceUsersResultOutput) UserId ¶ added in v3.9.0
func (o GetVpcEndpointServiceUsersResultOutput) UserId() pulumi.StringPtrOutput
type GetVpcEndpointServiceUsersUserArgs ¶
type GetVpcEndpointServiceUsersUserArgs struct { // The ID of the Vpc Endpoint Service User. Id pulumi.StringInput `pulumi:"id"` // The Id of Ram User. UserId pulumi.StringInput `pulumi:"userId"` }
func (GetVpcEndpointServiceUsersUserArgs) ElementType ¶
func (GetVpcEndpointServiceUsersUserArgs) ElementType() reflect.Type
func (GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutput ¶
func (i GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutput() GetVpcEndpointServiceUsersUserOutput
func (GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutputWithContext ¶
func (i GetVpcEndpointServiceUsersUserArgs) ToGetVpcEndpointServiceUsersUserOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserOutput
type GetVpcEndpointServiceUsersUserArray ¶
type GetVpcEndpointServiceUsersUserArray []GetVpcEndpointServiceUsersUserInput
func (GetVpcEndpointServiceUsersUserArray) ElementType ¶
func (GetVpcEndpointServiceUsersUserArray) ElementType() reflect.Type
func (GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutput ¶
func (i GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutput() GetVpcEndpointServiceUsersUserArrayOutput
func (GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext ¶
func (i GetVpcEndpointServiceUsersUserArray) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserArrayOutput
type GetVpcEndpointServiceUsersUserArrayInput ¶
type GetVpcEndpointServiceUsersUserArrayInput interface { pulumi.Input ToGetVpcEndpointServiceUsersUserArrayOutput() GetVpcEndpointServiceUsersUserArrayOutput ToGetVpcEndpointServiceUsersUserArrayOutputWithContext(context.Context) GetVpcEndpointServiceUsersUserArrayOutput }
GetVpcEndpointServiceUsersUserArrayInput is an input type that accepts GetVpcEndpointServiceUsersUserArray and GetVpcEndpointServiceUsersUserArrayOutput values. You can construct a concrete instance of `GetVpcEndpointServiceUsersUserArrayInput` via:
GetVpcEndpointServiceUsersUserArray{ GetVpcEndpointServiceUsersUserArgs{...} }
type GetVpcEndpointServiceUsersUserArrayOutput ¶
type GetVpcEndpointServiceUsersUserArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceUsersUserArrayOutput) ElementType ¶
func (GetVpcEndpointServiceUsersUserArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutput ¶
func (o GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutput() GetVpcEndpointServiceUsersUserArrayOutput
func (GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext ¶
func (o GetVpcEndpointServiceUsersUserArrayOutput) ToGetVpcEndpointServiceUsersUserArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserArrayOutput
type GetVpcEndpointServiceUsersUserInput ¶
type GetVpcEndpointServiceUsersUserInput interface { pulumi.Input ToGetVpcEndpointServiceUsersUserOutput() GetVpcEndpointServiceUsersUserOutput ToGetVpcEndpointServiceUsersUserOutputWithContext(context.Context) GetVpcEndpointServiceUsersUserOutput }
GetVpcEndpointServiceUsersUserInput is an input type that accepts GetVpcEndpointServiceUsersUserArgs and GetVpcEndpointServiceUsersUserOutput values. You can construct a concrete instance of `GetVpcEndpointServiceUsersUserInput` via:
GetVpcEndpointServiceUsersUserArgs{...}
type GetVpcEndpointServiceUsersUserOutput ¶
type GetVpcEndpointServiceUsersUserOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceUsersUserOutput) ElementType ¶
func (GetVpcEndpointServiceUsersUserOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceUsersUserOutput) Id ¶
func (o GetVpcEndpointServiceUsersUserOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint Service User.
func (GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutput ¶
func (o GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutput() GetVpcEndpointServiceUsersUserOutput
func (GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutputWithContext ¶
func (o GetVpcEndpointServiceUsersUserOutput) ToGetVpcEndpointServiceUsersUserOutputWithContext(ctx context.Context) GetVpcEndpointServiceUsersUserOutput
func (GetVpcEndpointServiceUsersUserOutput) UserId ¶
func (o GetVpcEndpointServiceUsersUserOutput) UserId() pulumi.StringOutput
The Id of Ram User.
type GetVpcEndpointServicesArgs ¶
type GetVpcEndpointServicesArgs struct { // Whether to automatically accept terminal node connections. AutoAcceptConnection *bool `pulumi:"autoAcceptConnection"` // A list of Vpc Endpoint Service IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Vpc Endpoint Service name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The business status of the terminal node service. Valid Value: `Normal`, `FinancialLocked` and `SecurityLocked`. ServiceBusinessStatus *string `pulumi:"serviceBusinessStatus"` // The Status of Vpc Endpoint Service. Valid Value: `Active`, `Creating`, `Deleted`, `Deleting` and `Pending`. Status *string `pulumi:"status"` // The tags of Vpc Endpoint Service. Tags map[string]string `pulumi:"tags"` // The name of Vpc Endpoint Service. VpcEndpointServiceName *string `pulumi:"vpcEndpointServiceName"` }
A collection of arguments for invoking getVpcEndpointServices.
type GetVpcEndpointServicesOutputArgs ¶ added in v3.9.0
type GetVpcEndpointServicesOutputArgs struct { // Whether to automatically accept terminal node connections. AutoAcceptConnection pulumi.BoolPtrInput `pulumi:"autoAcceptConnection"` // A list of Vpc Endpoint Service IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Vpc Endpoint Service name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The business status of the terminal node service. Valid Value: `Normal`, `FinancialLocked` and `SecurityLocked`. ServiceBusinessStatus pulumi.StringPtrInput `pulumi:"serviceBusinessStatus"` // The Status of Vpc Endpoint Service. Valid Value: `Active`, `Creating`, `Deleted`, `Deleting` and `Pending`. Status pulumi.StringPtrInput `pulumi:"status"` // The tags of Vpc Endpoint Service. Tags pulumi.StringMapInput `pulumi:"tags"` // The name of Vpc Endpoint Service. VpcEndpointServiceName pulumi.StringPtrInput `pulumi:"vpcEndpointServiceName"` }
A collection of arguments for invoking getVpcEndpointServices.
func (GetVpcEndpointServicesOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServicesOutputArgs) ElementType() reflect.Type
type GetVpcEndpointServicesResult ¶
type GetVpcEndpointServicesResult struct { // Whether to automatically accept terminal node connections.. AutoAcceptConnection *bool `pulumi:"autoAcceptConnection"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Vpc Endpoint Service names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The business status of the terminal node service.. ServiceBusinessStatus *string `pulumi:"serviceBusinessStatus"` // A list of Privatelink Vpc Endpoint Services. Each element contains the following attributes: Services []GetVpcEndpointServicesService `pulumi:"services"` // The Status of Vpc Endpoint Service. Status *string `pulumi:"status"` // The tags of Vpc Endpoint Service. Tags map[string]string `pulumi:"tags"` // The name of Vpc Endpoint Service. VpcEndpointServiceName *string `pulumi:"vpcEndpointServiceName"` }
A collection of values returned by getVpcEndpointServices.
func GetVpcEndpointServices ¶
func GetVpcEndpointServices(ctx *pulumi.Context, args *GetVpcEndpointServicesArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointServicesResult, error)
This data source provides the Privatelink Vpc Endpoint Services of the current Alibaba Cloud user.
> **NOTE:** Available since v1.109.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVpcEndpointService, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String("terraform-example"), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } example := privatelink.GetVpcEndpointServicesOutput(ctx, privatelink.GetVpcEndpointServicesOutputArgs{ Ids: pulumi.StringArray{ exampleVpcEndpointService.ID(), }, }, nil) ctx.Export("firstPrivatelinkVpcEndpointServiceId", example.ApplyT(func(example privatelink.GetVpcEndpointServicesResult) (*string, error) { return &example.Services[0].Id, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetVpcEndpointServicesResultOutput ¶ added in v3.9.0
type GetVpcEndpointServicesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointServices.
func GetVpcEndpointServicesOutput ¶ added in v3.9.0
func GetVpcEndpointServicesOutput(ctx *pulumi.Context, args GetVpcEndpointServicesOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointServicesResultOutput
func (GetVpcEndpointServicesResultOutput) AutoAcceptConnection ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) AutoAcceptConnection() pulumi.BoolPtrOutput
Whether to automatically accept terminal node connections..
func (GetVpcEndpointServicesResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointServicesResultOutput) ElementType() reflect.Type
func (GetVpcEndpointServicesResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointServicesResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointServicesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetVpcEndpointServicesResultOutput) Names ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) Names() pulumi.StringArrayOutput
A list of Vpc Endpoint Service names.
func (GetVpcEndpointServicesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointServicesResultOutput) ServiceBusinessStatus ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) ServiceBusinessStatus() pulumi.StringPtrOutput
The business status of the terminal node service..
func (GetVpcEndpointServicesResultOutput) Services ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) Services() GetVpcEndpointServicesServiceArrayOutput
A list of Privatelink Vpc Endpoint Services. Each element contains the following attributes:
func (GetVpcEndpointServicesResultOutput) Status ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) Status() pulumi.StringPtrOutput
The Status of Vpc Endpoint Service.
func (GetVpcEndpointServicesResultOutput) Tags ¶ added in v3.64.0
func (o GetVpcEndpointServicesResultOutput) Tags() pulumi.StringMapOutput
The tags of Vpc Endpoint Service.
func (GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutput() GetVpcEndpointServicesResultOutput
func (GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) ToGetVpcEndpointServicesResultOutputWithContext(ctx context.Context) GetVpcEndpointServicesResultOutput
func (GetVpcEndpointServicesResultOutput) VpcEndpointServiceName ¶ added in v3.9.0
func (o GetVpcEndpointServicesResultOutput) VpcEndpointServiceName() pulumi.StringPtrOutput
The name of Vpc Endpoint Service.
type GetVpcEndpointServicesService ¶
type GetVpcEndpointServicesService struct { // Whether to automatically accept terminal node connections. AutoAcceptConnection bool `pulumi:"autoAcceptConnection"` // The connection bandwidth. ConnectBandwidth int `pulumi:"connectBandwidth"` // The ID of the Vpc Endpoint Service. Id string `pulumi:"id"` // The business status of the terminal node service. Valid Value: `Normal`, `FinancialLocked` and `SecurityLocked`. ServiceBusinessStatus string `pulumi:"serviceBusinessStatus"` // The description of the terminal node service. ServiceDescription string `pulumi:"serviceDescription"` // The domain of service. ServiceDomain string `pulumi:"serviceDomain"` // The ID of the Vpc Endpoint Service. ServiceId string `pulumi:"serviceId"` // The Status of Vpc Endpoint Service. Valid Value: `Active`, `Creating`, `Deleted`, `Deleting` and `Pending`. Status string `pulumi:"status"` // The tags of Vpc Endpoint Service. Tags map[string]string `pulumi:"tags"` // The name of Vpc Endpoint Service. VpcEndpointServiceName string `pulumi:"vpcEndpointServiceName"` }
type GetVpcEndpointServicesServiceArgs ¶
type GetVpcEndpointServicesServiceArgs struct { // Whether to automatically accept terminal node connections. AutoAcceptConnection pulumi.BoolInput `pulumi:"autoAcceptConnection"` // The connection bandwidth. ConnectBandwidth pulumi.IntInput `pulumi:"connectBandwidth"` // The ID of the Vpc Endpoint Service. Id pulumi.StringInput `pulumi:"id"` // The business status of the terminal node service. Valid Value: `Normal`, `FinancialLocked` and `SecurityLocked`. ServiceBusinessStatus pulumi.StringInput `pulumi:"serviceBusinessStatus"` // The description of the terminal node service. ServiceDescription pulumi.StringInput `pulumi:"serviceDescription"` // The domain of service. ServiceDomain pulumi.StringInput `pulumi:"serviceDomain"` // The ID of the Vpc Endpoint Service. ServiceId pulumi.StringInput `pulumi:"serviceId"` // The Status of Vpc Endpoint Service. Valid Value: `Active`, `Creating`, `Deleted`, `Deleting` and `Pending`. Status pulumi.StringInput `pulumi:"status"` // The tags of Vpc Endpoint Service. Tags pulumi.StringMapInput `pulumi:"tags"` // The name of Vpc Endpoint Service. VpcEndpointServiceName pulumi.StringInput `pulumi:"vpcEndpointServiceName"` }
func (GetVpcEndpointServicesServiceArgs) ElementType ¶
func (GetVpcEndpointServicesServiceArgs) ElementType() reflect.Type
func (GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutput ¶
func (i GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutput() GetVpcEndpointServicesServiceOutput
func (GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutputWithContext ¶
func (i GetVpcEndpointServicesServiceArgs) ToGetVpcEndpointServicesServiceOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceOutput
type GetVpcEndpointServicesServiceArray ¶
type GetVpcEndpointServicesServiceArray []GetVpcEndpointServicesServiceInput
func (GetVpcEndpointServicesServiceArray) ElementType ¶
func (GetVpcEndpointServicesServiceArray) ElementType() reflect.Type
func (GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutput ¶
func (i GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutput() GetVpcEndpointServicesServiceArrayOutput
func (GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutputWithContext ¶
func (i GetVpcEndpointServicesServiceArray) ToGetVpcEndpointServicesServiceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceArrayOutput
type GetVpcEndpointServicesServiceArrayInput ¶
type GetVpcEndpointServicesServiceArrayInput interface { pulumi.Input ToGetVpcEndpointServicesServiceArrayOutput() GetVpcEndpointServicesServiceArrayOutput ToGetVpcEndpointServicesServiceArrayOutputWithContext(context.Context) GetVpcEndpointServicesServiceArrayOutput }
GetVpcEndpointServicesServiceArrayInput is an input type that accepts GetVpcEndpointServicesServiceArray and GetVpcEndpointServicesServiceArrayOutput values. You can construct a concrete instance of `GetVpcEndpointServicesServiceArrayInput` via:
GetVpcEndpointServicesServiceArray{ GetVpcEndpointServicesServiceArgs{...} }
type GetVpcEndpointServicesServiceArrayOutput ¶
type GetVpcEndpointServicesServiceArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServicesServiceArrayOutput) ElementType ¶
func (GetVpcEndpointServicesServiceArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutput ¶
func (o GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutput() GetVpcEndpointServicesServiceArrayOutput
func (GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutputWithContext ¶
func (o GetVpcEndpointServicesServiceArrayOutput) ToGetVpcEndpointServicesServiceArrayOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceArrayOutput
type GetVpcEndpointServicesServiceInput ¶
type GetVpcEndpointServicesServiceInput interface { pulumi.Input ToGetVpcEndpointServicesServiceOutput() GetVpcEndpointServicesServiceOutput ToGetVpcEndpointServicesServiceOutputWithContext(context.Context) GetVpcEndpointServicesServiceOutput }
GetVpcEndpointServicesServiceInput is an input type that accepts GetVpcEndpointServicesServiceArgs and GetVpcEndpointServicesServiceOutput values. You can construct a concrete instance of `GetVpcEndpointServicesServiceInput` via:
GetVpcEndpointServicesServiceArgs{...}
type GetVpcEndpointServicesServiceOutput ¶
type GetVpcEndpointServicesServiceOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServicesServiceOutput) AutoAcceptConnection ¶
func (o GetVpcEndpointServicesServiceOutput) AutoAcceptConnection() pulumi.BoolOutput
Whether to automatically accept terminal node connections.
func (GetVpcEndpointServicesServiceOutput) ConnectBandwidth ¶
func (o GetVpcEndpointServicesServiceOutput) ConnectBandwidth() pulumi.IntOutput
The connection bandwidth.
func (GetVpcEndpointServicesServiceOutput) ElementType ¶
func (GetVpcEndpointServicesServiceOutput) ElementType() reflect.Type
func (GetVpcEndpointServicesServiceOutput) Id ¶
func (o GetVpcEndpointServicesServiceOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint Service.
func (GetVpcEndpointServicesServiceOutput) ServiceBusinessStatus ¶
func (o GetVpcEndpointServicesServiceOutput) ServiceBusinessStatus() pulumi.StringOutput
The business status of the terminal node service. Valid Value: `Normal`, `FinancialLocked` and `SecurityLocked`.
func (GetVpcEndpointServicesServiceOutput) ServiceDescription ¶
func (o GetVpcEndpointServicesServiceOutput) ServiceDescription() pulumi.StringOutput
The description of the terminal node service.
func (GetVpcEndpointServicesServiceOutput) ServiceDomain ¶
func (o GetVpcEndpointServicesServiceOutput) ServiceDomain() pulumi.StringOutput
The domain of service.
func (GetVpcEndpointServicesServiceOutput) ServiceId ¶
func (o GetVpcEndpointServicesServiceOutput) ServiceId() pulumi.StringOutput
The ID of the Vpc Endpoint Service.
func (GetVpcEndpointServicesServiceOutput) Status ¶
func (o GetVpcEndpointServicesServiceOutput) Status() pulumi.StringOutput
The Status of Vpc Endpoint Service. Valid Value: `Active`, `Creating`, `Deleted`, `Deleting` and `Pending`.
func (GetVpcEndpointServicesServiceOutput) Tags ¶ added in v3.64.0
func (o GetVpcEndpointServicesServiceOutput) Tags() pulumi.StringMapOutput
The tags of Vpc Endpoint Service.
func (GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutput ¶
func (o GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutput() GetVpcEndpointServicesServiceOutput
func (GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutputWithContext ¶
func (o GetVpcEndpointServicesServiceOutput) ToGetVpcEndpointServicesServiceOutputWithContext(ctx context.Context) GetVpcEndpointServicesServiceOutput
func (GetVpcEndpointServicesServiceOutput) VpcEndpointServiceName ¶
func (o GetVpcEndpointServicesServiceOutput) VpcEndpointServiceName() pulumi.StringOutput
The name of Vpc Endpoint Service.
type GetVpcEndpointZonesArgs ¶
type GetVpcEndpointZonesArgs struct { // The ID of the Vpc Endpoint. EndpointId string `pulumi:"endpointId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Status of Vpc Endpoint Zone. Valid Values: `Connected`, `Connecting`, `Creating`, `Deleted`, `Deleting`, `Disconnected`, `Disconnecting` and `Wait`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getVpcEndpointZones.
type GetVpcEndpointZonesOutputArgs ¶ added in v3.9.0
type GetVpcEndpointZonesOutputArgs struct { // The ID of the Vpc Endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Status of Vpc Endpoint Zone. Valid Values: `Connected`, `Connecting`, `Creating`, `Deleted`, `Deleting`, `Disconnected`, `Disconnecting` and `Wait`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getVpcEndpointZones.
func (GetVpcEndpointZonesOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointZonesOutputArgs) ElementType() reflect.Type
type GetVpcEndpointZonesResult ¶
type GetVpcEndpointZonesResult struct { EndpointId string `pulumi:"endpointId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` Zones []GetVpcEndpointZonesZone `pulumi:"zones"` }
A collection of values returned by getVpcEndpointZones.
func GetVpcEndpointZones ¶
func GetVpcEndpointZones(ctx *pulumi.Context, args *GetVpcEndpointZonesArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointZonesResult, error)
This data source provides the Privatelink Vpc Endpoint Zones of the current Alibaba Cloud user.
> **NOTE:** Available in v1.111.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatelink.GetVpcEndpointZones(ctx, &privatelink.GetVpcEndpointZonesArgs{ EndpointId: "ep-gw8boxxxxx", }, nil) if err != nil { return err } ctx.Export("firstPrivatelinkVpcEndpointZoneId", example.Zones[0].Id) return nil }) }
```
type GetVpcEndpointZonesResultOutput ¶ added in v3.9.0
type GetVpcEndpointZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointZones.
func GetVpcEndpointZonesOutput ¶ added in v3.9.0
func GetVpcEndpointZonesOutput(ctx *pulumi.Context, args GetVpcEndpointZonesOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointZonesResultOutput
func (GetVpcEndpointZonesResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointZonesResultOutput) ElementType() reflect.Type
func (GetVpcEndpointZonesResultOutput) EndpointId ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) EndpointId() pulumi.StringOutput
func (GetVpcEndpointZonesResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointZonesResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointZonesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointZonesResultOutput) Status ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) Status() pulumi.StringPtrOutput
func (GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutput() GetVpcEndpointZonesResultOutput
func (GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) ToGetVpcEndpointZonesResultOutputWithContext(ctx context.Context) GetVpcEndpointZonesResultOutput
func (GetVpcEndpointZonesResultOutput) Zones ¶ added in v3.9.0
func (o GetVpcEndpointZonesResultOutput) Zones() GetVpcEndpointZonesZoneArrayOutput
type GetVpcEndpointZonesZone ¶
type GetVpcEndpointZonesZone struct { // Terminal node network card. EniId string `pulumi:"eniId"` // IP address of the terminal node network card. EniIp string `pulumi:"eniIp"` // The ID of the Vpc Endpoint Zone. Id string `pulumi:"id"` // The Status of Vpc Endpoint Zone.. Status string `pulumi:"status"` // The vSwitch id. VswitchId string `pulumi:"vswitchId"` // The Zone Domain. ZoneDomain string `pulumi:"zoneDomain"` // The Zone Id. ZoneId string `pulumi:"zoneId"` }
type GetVpcEndpointZonesZoneArgs ¶
type GetVpcEndpointZonesZoneArgs struct { // Terminal node network card. EniId pulumi.StringInput `pulumi:"eniId"` // IP address of the terminal node network card. EniIp pulumi.StringInput `pulumi:"eniIp"` // The ID of the Vpc Endpoint Zone. Id pulumi.StringInput `pulumi:"id"` // The Status of Vpc Endpoint Zone.. Status pulumi.StringInput `pulumi:"status"` // The vSwitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The Zone Domain. ZoneDomain pulumi.StringInput `pulumi:"zoneDomain"` // The Zone Id. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetVpcEndpointZonesZoneArgs) ElementType ¶
func (GetVpcEndpointZonesZoneArgs) ElementType() reflect.Type
func (GetVpcEndpointZonesZoneArgs) ToGetVpcEndpointZonesZoneOutput ¶
func (i GetVpcEndpointZonesZoneArgs) ToGetVpcEndpointZonesZoneOutput() GetVpcEndpointZonesZoneOutput
func (GetVpcEndpointZonesZoneArgs) ToGetVpcEndpointZonesZoneOutputWithContext ¶
func (i GetVpcEndpointZonesZoneArgs) ToGetVpcEndpointZonesZoneOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneOutput
type GetVpcEndpointZonesZoneArray ¶
type GetVpcEndpointZonesZoneArray []GetVpcEndpointZonesZoneInput
func (GetVpcEndpointZonesZoneArray) ElementType ¶
func (GetVpcEndpointZonesZoneArray) ElementType() reflect.Type
func (GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutput ¶
func (i GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutput() GetVpcEndpointZonesZoneArrayOutput
func (GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutputWithContext ¶
func (i GetVpcEndpointZonesZoneArray) ToGetVpcEndpointZonesZoneArrayOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneArrayOutput
type GetVpcEndpointZonesZoneArrayInput ¶
type GetVpcEndpointZonesZoneArrayInput interface { pulumi.Input ToGetVpcEndpointZonesZoneArrayOutput() GetVpcEndpointZonesZoneArrayOutput ToGetVpcEndpointZonesZoneArrayOutputWithContext(context.Context) GetVpcEndpointZonesZoneArrayOutput }
GetVpcEndpointZonesZoneArrayInput is an input type that accepts GetVpcEndpointZonesZoneArray and GetVpcEndpointZonesZoneArrayOutput values. You can construct a concrete instance of `GetVpcEndpointZonesZoneArrayInput` via:
GetVpcEndpointZonesZoneArray{ GetVpcEndpointZonesZoneArgs{...} }
type GetVpcEndpointZonesZoneArrayOutput ¶
type GetVpcEndpointZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointZonesZoneArrayOutput) ElementType ¶
func (GetVpcEndpointZonesZoneArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointZonesZoneArrayOutput) Index ¶
func (o GetVpcEndpointZonesZoneArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointZonesZoneOutput
func (GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutput ¶
func (o GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutput() GetVpcEndpointZonesZoneArrayOutput
func (GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutputWithContext ¶
func (o GetVpcEndpointZonesZoneArrayOutput) ToGetVpcEndpointZonesZoneArrayOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneArrayOutput
type GetVpcEndpointZonesZoneInput ¶
type GetVpcEndpointZonesZoneInput interface { pulumi.Input ToGetVpcEndpointZonesZoneOutput() GetVpcEndpointZonesZoneOutput ToGetVpcEndpointZonesZoneOutputWithContext(context.Context) GetVpcEndpointZonesZoneOutput }
GetVpcEndpointZonesZoneInput is an input type that accepts GetVpcEndpointZonesZoneArgs and GetVpcEndpointZonesZoneOutput values. You can construct a concrete instance of `GetVpcEndpointZonesZoneInput` via:
GetVpcEndpointZonesZoneArgs{...}
type GetVpcEndpointZonesZoneOutput ¶
type GetVpcEndpointZonesZoneOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointZonesZoneOutput) ElementType ¶
func (GetVpcEndpointZonesZoneOutput) ElementType() reflect.Type
func (GetVpcEndpointZonesZoneOutput) EniId ¶
func (o GetVpcEndpointZonesZoneOutput) EniId() pulumi.StringOutput
Terminal node network card.
func (GetVpcEndpointZonesZoneOutput) EniIp ¶
func (o GetVpcEndpointZonesZoneOutput) EniIp() pulumi.StringOutput
IP address of the terminal node network card.
func (GetVpcEndpointZonesZoneOutput) Id ¶
func (o GetVpcEndpointZonesZoneOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint Zone.
func (GetVpcEndpointZonesZoneOutput) Status ¶
func (o GetVpcEndpointZonesZoneOutput) Status() pulumi.StringOutput
The Status of Vpc Endpoint Zone..
func (GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutput ¶
func (o GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutput() GetVpcEndpointZonesZoneOutput
func (GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutputWithContext ¶
func (o GetVpcEndpointZonesZoneOutput) ToGetVpcEndpointZonesZoneOutputWithContext(ctx context.Context) GetVpcEndpointZonesZoneOutput
func (GetVpcEndpointZonesZoneOutput) VswitchId ¶
func (o GetVpcEndpointZonesZoneOutput) VswitchId() pulumi.StringOutput
The vSwitch id.
func (GetVpcEndpointZonesZoneOutput) ZoneDomain ¶
func (o GetVpcEndpointZonesZoneOutput) ZoneDomain() pulumi.StringOutput
The Zone Domain.
func (GetVpcEndpointZonesZoneOutput) ZoneId ¶
func (o GetVpcEndpointZonesZoneOutput) ZoneId() pulumi.StringOutput
The Zone Id.
type GetVpcEndpointsArgs ¶
type GetVpcEndpointsArgs struct { // The status of Connection. ConnectionStatus *string `pulumi:"connectionStatus"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Vpc Endpoint IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Vpc Endpoint name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The name of the terminal node service associated with the terminal node. ServiceName *string `pulumi:"serviceName"` // The status of Vpc Endpoint. Status *string `pulumi:"status"` // The name of Vpc Endpoint. VpcEndpointName *string `pulumi:"vpcEndpointName"` // The private network to which the terminal node belongs.. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getVpcEndpoints.
type GetVpcEndpointsEndpoint ¶
type GetVpcEndpointsEndpoint struct { // The Bandwidth. Bandwidth int `pulumi:"bandwidth"` // The status of Connection. ConnectionStatus string `pulumi:"connectionStatus"` // The status of Endpoint Business. EndpointBusinessStatus string `pulumi:"endpointBusinessStatus"` // The description of Vpc Endpoint. EndpointDescription string `pulumi:"endpointDescription"` // The Endpoint Domain. EndpointDomain string `pulumi:"endpointDomain"` // The ID of the Vpc Endpoint. EndpointId string `pulumi:"endpointId"` // The ID of the Vpc Endpoint. Id string `pulumi:"id"` // The security group associated with the terminal node network card. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The terminal node service associated with the terminal node. ServiceId string `pulumi:"serviceId"` // The name of the terminal node service associated with the terminal node. ServiceName string `pulumi:"serviceName"` // The status of Vpc Endpoint. Status string `pulumi:"status"` // The name of Vpc Endpoint. VpcEndpointName string `pulumi:"vpcEndpointName"` // The private network to which the terminal node belongs. VpcId string `pulumi:"vpcId"` }
type GetVpcEndpointsEndpointArgs ¶
type GetVpcEndpointsEndpointArgs struct { // The Bandwidth. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The status of Connection. ConnectionStatus pulumi.StringInput `pulumi:"connectionStatus"` // The status of Endpoint Business. EndpointBusinessStatus pulumi.StringInput `pulumi:"endpointBusinessStatus"` // The description of Vpc Endpoint. EndpointDescription pulumi.StringInput `pulumi:"endpointDescription"` // The Endpoint Domain. EndpointDomain pulumi.StringInput `pulumi:"endpointDomain"` // The ID of the Vpc Endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // The ID of the Vpc Endpoint. Id pulumi.StringInput `pulumi:"id"` // The security group associated with the terminal node network card. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // The terminal node service associated with the terminal node. ServiceId pulumi.StringInput `pulumi:"serviceId"` // The name of the terminal node service associated with the terminal node. ServiceName pulumi.StringInput `pulumi:"serviceName"` // The status of Vpc Endpoint. Status pulumi.StringInput `pulumi:"status"` // The name of Vpc Endpoint. VpcEndpointName pulumi.StringInput `pulumi:"vpcEndpointName"` // The private network to which the terminal node belongs. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetVpcEndpointsEndpointArgs) ElementType ¶
func (GetVpcEndpointsEndpointArgs) ElementType() reflect.Type
func (GetVpcEndpointsEndpointArgs) ToGetVpcEndpointsEndpointOutput ¶
func (i GetVpcEndpointsEndpointArgs) ToGetVpcEndpointsEndpointOutput() GetVpcEndpointsEndpointOutput
func (GetVpcEndpointsEndpointArgs) ToGetVpcEndpointsEndpointOutputWithContext ¶
func (i GetVpcEndpointsEndpointArgs) ToGetVpcEndpointsEndpointOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointOutput
type GetVpcEndpointsEndpointArray ¶
type GetVpcEndpointsEndpointArray []GetVpcEndpointsEndpointInput
func (GetVpcEndpointsEndpointArray) ElementType ¶
func (GetVpcEndpointsEndpointArray) ElementType() reflect.Type
func (GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutput ¶
func (i GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutput() GetVpcEndpointsEndpointArrayOutput
func (GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutputWithContext ¶
func (i GetVpcEndpointsEndpointArray) ToGetVpcEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointArrayOutput
type GetVpcEndpointsEndpointArrayInput ¶
type GetVpcEndpointsEndpointArrayInput interface { pulumi.Input ToGetVpcEndpointsEndpointArrayOutput() GetVpcEndpointsEndpointArrayOutput ToGetVpcEndpointsEndpointArrayOutputWithContext(context.Context) GetVpcEndpointsEndpointArrayOutput }
GetVpcEndpointsEndpointArrayInput is an input type that accepts GetVpcEndpointsEndpointArray and GetVpcEndpointsEndpointArrayOutput values. You can construct a concrete instance of `GetVpcEndpointsEndpointArrayInput` via:
GetVpcEndpointsEndpointArray{ GetVpcEndpointsEndpointArgs{...} }
type GetVpcEndpointsEndpointArrayOutput ¶
type GetVpcEndpointsEndpointArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointsEndpointArrayOutput) ElementType ¶
func (GetVpcEndpointsEndpointArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointsEndpointArrayOutput) Index ¶
func (o GetVpcEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointsEndpointOutput
func (GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutput ¶
func (o GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutput() GetVpcEndpointsEndpointArrayOutput
func (GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutputWithContext ¶
func (o GetVpcEndpointsEndpointArrayOutput) ToGetVpcEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointArrayOutput
type GetVpcEndpointsEndpointInput ¶
type GetVpcEndpointsEndpointInput interface { pulumi.Input ToGetVpcEndpointsEndpointOutput() GetVpcEndpointsEndpointOutput ToGetVpcEndpointsEndpointOutputWithContext(context.Context) GetVpcEndpointsEndpointOutput }
GetVpcEndpointsEndpointInput is an input type that accepts GetVpcEndpointsEndpointArgs and GetVpcEndpointsEndpointOutput values. You can construct a concrete instance of `GetVpcEndpointsEndpointInput` via:
GetVpcEndpointsEndpointArgs{...}
type GetVpcEndpointsEndpointOutput ¶
type GetVpcEndpointsEndpointOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointsEndpointOutput) Bandwidth ¶
func (o GetVpcEndpointsEndpointOutput) Bandwidth() pulumi.IntOutput
The Bandwidth.
func (GetVpcEndpointsEndpointOutput) ConnectionStatus ¶
func (o GetVpcEndpointsEndpointOutput) ConnectionStatus() pulumi.StringOutput
The status of Connection.
func (GetVpcEndpointsEndpointOutput) ElementType ¶
func (GetVpcEndpointsEndpointOutput) ElementType() reflect.Type
func (GetVpcEndpointsEndpointOutput) EndpointBusinessStatus ¶
func (o GetVpcEndpointsEndpointOutput) EndpointBusinessStatus() pulumi.StringOutput
The status of Endpoint Business.
func (GetVpcEndpointsEndpointOutput) EndpointDescription ¶
func (o GetVpcEndpointsEndpointOutput) EndpointDescription() pulumi.StringOutput
The description of Vpc Endpoint.
func (GetVpcEndpointsEndpointOutput) EndpointDomain ¶
func (o GetVpcEndpointsEndpointOutput) EndpointDomain() pulumi.StringOutput
The Endpoint Domain.
func (GetVpcEndpointsEndpointOutput) EndpointId ¶
func (o GetVpcEndpointsEndpointOutput) EndpointId() pulumi.StringOutput
The ID of the Vpc Endpoint.
func (GetVpcEndpointsEndpointOutput) Id ¶
func (o GetVpcEndpointsEndpointOutput) Id() pulumi.StringOutput
The ID of the Vpc Endpoint.
func (GetVpcEndpointsEndpointOutput) SecurityGroupIds ¶
func (o GetVpcEndpointsEndpointOutput) SecurityGroupIds() pulumi.StringArrayOutput
The security group associated with the terminal node network card.
func (GetVpcEndpointsEndpointOutput) ServiceId ¶
func (o GetVpcEndpointsEndpointOutput) ServiceId() pulumi.StringOutput
The terminal node service associated with the terminal node.
func (GetVpcEndpointsEndpointOutput) ServiceName ¶
func (o GetVpcEndpointsEndpointOutput) ServiceName() pulumi.StringOutput
The name of the terminal node service associated with the terminal node.
func (GetVpcEndpointsEndpointOutput) Status ¶
func (o GetVpcEndpointsEndpointOutput) Status() pulumi.StringOutput
The status of Vpc Endpoint.
func (GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutput ¶
func (o GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutput() GetVpcEndpointsEndpointOutput
func (GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutputWithContext ¶
func (o GetVpcEndpointsEndpointOutput) ToGetVpcEndpointsEndpointOutputWithContext(ctx context.Context) GetVpcEndpointsEndpointOutput
func (GetVpcEndpointsEndpointOutput) VpcEndpointName ¶
func (o GetVpcEndpointsEndpointOutput) VpcEndpointName() pulumi.StringOutput
The name of Vpc Endpoint.
func (GetVpcEndpointsEndpointOutput) VpcId ¶
func (o GetVpcEndpointsEndpointOutput) VpcId() pulumi.StringOutput
The private network to which the terminal node belongs.
type GetVpcEndpointsOutputArgs ¶ added in v3.9.0
type GetVpcEndpointsOutputArgs struct { // The status of Connection. ConnectionStatus pulumi.StringPtrInput `pulumi:"connectionStatus"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Vpc Endpoint IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Vpc Endpoint name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The name of the terminal node service associated with the terminal node. ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` // The status of Vpc Endpoint. Status pulumi.StringPtrInput `pulumi:"status"` // The name of Vpc Endpoint. VpcEndpointName pulumi.StringPtrInput `pulumi:"vpcEndpointName"` // The private network to which the terminal node belongs.. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getVpcEndpoints.
func (GetVpcEndpointsOutputArgs) ElementType ¶ added in v3.9.0
func (GetVpcEndpointsOutputArgs) ElementType() reflect.Type
type GetVpcEndpointsResult ¶
type GetVpcEndpointsResult struct { ConnectionStatus *string `pulumi:"connectionStatus"` EnableDetails *bool `pulumi:"enableDetails"` Endpoints []GetVpcEndpointsEndpoint `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"` ServiceName *string `pulumi:"serviceName"` Status *string `pulumi:"status"` VpcEndpointName *string `pulumi:"vpcEndpointName"` VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getVpcEndpoints.
func GetVpcEndpoints ¶
func GetVpcEndpoints(ctx *pulumi.Context, args *GetVpcEndpointsArgs, opts ...pulumi.InvokeOption) (*GetVpcEndpointsResult, error)
This data source provides the Privatelink Vpc Endpoints of the current Alibaba Cloud user.
> **NOTE:** Available in v1.109.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatelink.GetVpcEndpoints(ctx, &privatelink.GetVpcEndpointsArgs{ Ids: []string{ "example_value", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstPrivatelinkVpcEndpointId", example.Endpoints[0].Id) return nil }) }
```
type GetVpcEndpointsResultOutput ¶ added in v3.9.0
type GetVpcEndpointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpoints.
func GetVpcEndpointsOutput ¶ added in v3.9.0
func GetVpcEndpointsOutput(ctx *pulumi.Context, args GetVpcEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetVpcEndpointsResultOutput
func (GetVpcEndpointsResultOutput) ConnectionStatus ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) ConnectionStatus() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) ElementType ¶ added in v3.9.0
func (GetVpcEndpointsResultOutput) ElementType() reflect.Type
func (GetVpcEndpointsResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetVpcEndpointsResultOutput) Endpoints ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) Endpoints() GetVpcEndpointsEndpointArrayOutput
func (GetVpcEndpointsResultOutput) Id ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcEndpointsResultOutput) Ids ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) Ids() pulumi.StringArrayOutput
func (GetVpcEndpointsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) Names ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) Names() pulumi.StringArrayOutput
func (GetVpcEndpointsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) ServiceName ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) ServiceName() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) Status ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) Status() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutput ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutput() GetVpcEndpointsResultOutput
func (GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutputWithContext ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) ToGetVpcEndpointsResultOutputWithContext(ctx context.Context) GetVpcEndpointsResultOutput
func (GetVpcEndpointsResultOutput) VpcEndpointName ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) VpcEndpointName() pulumi.StringPtrOutput
func (GetVpcEndpointsResultOutput) VpcId ¶ added in v3.9.0
func (o GetVpcEndpointsResultOutput) VpcId() pulumi.StringPtrOutput
type VpcEndpoint ¶
type VpcEndpoint struct { pulumi.CustomResourceState // The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // The state of the endpoint connection. ConnectionStatus pulumi.StringOutput `pulumi:"connectionStatus"` // The time when the endpoint was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The service state of the endpoint. EndpointBusinessStatus pulumi.StringOutput `pulumi:"endpointBusinessStatus"` // The description of the endpoint. EndpointDescription pulumi.StringPtrOutput `pulumi:"endpointDescription"` // The domain name of the endpoint. EndpointDomain pulumi.StringOutput `pulumi:"endpointDomain"` // The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). EndpointType pulumi.StringOutput `pulumi:"endpointType"` // RAM access policies. PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"` // Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values: // - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode. // - **false (default)**: disables user authentication. ProtectedEnabled pulumi.BoolPtrOutput `pulumi:"protectedEnabled"` // The resource group ID. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // The ID of the endpoint service with which the endpoint is associated. ServiceId pulumi.StringPtrOutput `pulumi:"serviceId"` // The name of the endpoint service with which the endpoint is associated. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // The state of the endpoint. Status pulumi.StringOutput `pulumi:"status"` // The list of tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // The name of the endpoint. VpcEndpointName pulumi.StringPtrOutput `pulumi:"vpcEndpointName"` // The ID of the VPC to which the endpoint belongs. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned. ZonePrivateIpAddressCount pulumi.IntOutput `pulumi:"zonePrivateIpAddressCount"` }
Provides a Private Link Vpc Endpoint resource.
For information about Private Link Vpc Endpoint and how to use it, see [What is Vpc Endpoint](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-createvpcendpoint).
> **NOTE:** Available since v1.109.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "terraform-example" if param := cfg.Get("name"); param != "" { name = param } _default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil) if err != nil { return err } defaultbFzA4a, err := vpc.NewNetwork(ctx, "defaultbFzA4a", &vpc.NetworkArgs{ Description: pulumi.String("example-terraform"), CidrBlock: pulumi.String("172.16.0.0/12"), VpcName: pulumi.String(name), }) if err != nil { return err } default1FTFrP, err := ecs.NewSecurityGroup(ctx, "default1FTFrP", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: defaultbFzA4a.ID(), }) if err != nil { return err } _, err = ecs.NewSecurityGroup(ctx, "defaultjljY5S", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: defaultbFzA4a.ID(), }) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "Version": "1", "Statement": []map[string]interface{}{ map[string]interface{}{ "Effect": "Allow", "Action": []string{ "*", }, "Resource": []string{ "*", }, "Principal": "*", }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = privatelink.NewVpcEndpoint(ctx, "default", &privatelink.VpcEndpointArgs{ EndpointDescription: pulumi.String(name), VpcEndpointName: pulumi.String(name), ResourceGroupId: pulumi.String(_default.Ids[0]), EndpointType: pulumi.String("Interface"), VpcId: defaultbFzA4a.ID(), ServiceName: pulumi.String("com.aliyuncs.privatelink.ap-southeast-5.oss"), DryRun: pulumi.Bool(false), ZonePrivateIpAddressCount: pulumi.Int(1), PolicyDocument: pulumi.String(json0), SecurityGroupIds: pulumi.StringArray{ default1FTFrP.ID(), }, ServiceId: pulumi.String("epsrv-k1apjysze8u1l9t6uyg9"), ProtectedEnabled: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpoint:VpcEndpoint example <id> ```
func GetVpcEndpoint ¶
func GetVpcEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointState, opts ...pulumi.ResourceOption) (*VpcEndpoint, error)
GetVpcEndpoint gets an existing VpcEndpoint 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 NewVpcEndpoint ¶
func NewVpcEndpoint(ctx *pulumi.Context, name string, args *VpcEndpointArgs, opts ...pulumi.ResourceOption) (*VpcEndpoint, error)
NewVpcEndpoint registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpoint) ElementType ¶
func (*VpcEndpoint) ElementType() reflect.Type
func (*VpcEndpoint) ToVpcEndpointOutput ¶
func (i *VpcEndpoint) ToVpcEndpointOutput() VpcEndpointOutput
func (*VpcEndpoint) ToVpcEndpointOutputWithContext ¶
func (i *VpcEndpoint) ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
type VpcEndpointArgs ¶
type VpcEndpointArgs struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The description of the endpoint. EndpointDescription pulumi.StringPtrInput // The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). EndpointType pulumi.StringPtrInput // RAM access policies. PolicyDocument pulumi.StringPtrInput // Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values: // - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode. // - **false (default)**: disables user authentication. ProtectedEnabled pulumi.BoolPtrInput // The resource group ID. ResourceGroupId pulumi.StringPtrInput // The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups. SecurityGroupIds pulumi.StringArrayInput // The ID of the endpoint service with which the endpoint is associated. ServiceId pulumi.StringPtrInput // The name of the endpoint service with which the endpoint is associated. ServiceName pulumi.StringPtrInput // The list of tags. Tags pulumi.StringMapInput // The name of the endpoint. VpcEndpointName pulumi.StringPtrInput // The ID of the VPC to which the endpoint belongs. VpcId pulumi.StringInput // The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned. ZonePrivateIpAddressCount pulumi.IntPtrInput }
The set of arguments for constructing a VpcEndpoint resource.
func (VpcEndpointArgs) ElementType ¶
func (VpcEndpointArgs) ElementType() reflect.Type
type VpcEndpointArray ¶
type VpcEndpointArray []VpcEndpointInput
func (VpcEndpointArray) ElementType ¶
func (VpcEndpointArray) ElementType() reflect.Type
func (VpcEndpointArray) ToVpcEndpointArrayOutput ¶
func (i VpcEndpointArray) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
func (VpcEndpointArray) ToVpcEndpointArrayOutputWithContext ¶
func (i VpcEndpointArray) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
type VpcEndpointArrayInput ¶
type VpcEndpointArrayInput interface { pulumi.Input ToVpcEndpointArrayOutput() VpcEndpointArrayOutput ToVpcEndpointArrayOutputWithContext(context.Context) VpcEndpointArrayOutput }
VpcEndpointArrayInput is an input type that accepts VpcEndpointArray and VpcEndpointArrayOutput values. You can construct a concrete instance of `VpcEndpointArrayInput` via:
VpcEndpointArray{ VpcEndpointArgs{...} }
type VpcEndpointArrayOutput ¶
type VpcEndpointArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointArrayOutput) ElementType ¶
func (VpcEndpointArrayOutput) ElementType() reflect.Type
func (VpcEndpointArrayOutput) Index ¶
func (o VpcEndpointArrayOutput) Index(i pulumi.IntInput) VpcEndpointOutput
func (VpcEndpointArrayOutput) ToVpcEndpointArrayOutput ¶
func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
func (VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext ¶
func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
type VpcEndpointInput ¶
type VpcEndpointInput interface { pulumi.Input ToVpcEndpointOutput() VpcEndpointOutput ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput }
type VpcEndpointMap ¶
type VpcEndpointMap map[string]VpcEndpointInput
func (VpcEndpointMap) ElementType ¶
func (VpcEndpointMap) ElementType() reflect.Type
func (VpcEndpointMap) ToVpcEndpointMapOutput ¶
func (i VpcEndpointMap) ToVpcEndpointMapOutput() VpcEndpointMapOutput
func (VpcEndpointMap) ToVpcEndpointMapOutputWithContext ¶
func (i VpcEndpointMap) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
type VpcEndpointMapInput ¶
type VpcEndpointMapInput interface { pulumi.Input ToVpcEndpointMapOutput() VpcEndpointMapOutput ToVpcEndpointMapOutputWithContext(context.Context) VpcEndpointMapOutput }
VpcEndpointMapInput is an input type that accepts VpcEndpointMap and VpcEndpointMapOutput values. You can construct a concrete instance of `VpcEndpointMapInput` via:
VpcEndpointMap{ "key": VpcEndpointArgs{...} }
type VpcEndpointMapOutput ¶
type VpcEndpointMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointMapOutput) ElementType ¶
func (VpcEndpointMapOutput) ElementType() reflect.Type
func (VpcEndpointMapOutput) MapIndex ¶
func (o VpcEndpointMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointOutput
func (VpcEndpointMapOutput) ToVpcEndpointMapOutput ¶
func (o VpcEndpointMapOutput) ToVpcEndpointMapOutput() VpcEndpointMapOutput
func (VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext ¶
func (o VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
type VpcEndpointOutput ¶
type VpcEndpointOutput struct{ *pulumi.OutputState }
func (VpcEndpointOutput) Bandwidth ¶ added in v3.27.0
func (o VpcEndpointOutput) Bandwidth() pulumi.IntOutput
The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
func (VpcEndpointOutput) ConnectionStatus ¶ added in v3.27.0
func (o VpcEndpointOutput) ConnectionStatus() pulumi.StringOutput
The state of the endpoint connection.
func (VpcEndpointOutput) CreateTime ¶ added in v3.45.0
func (o VpcEndpointOutput) CreateTime() pulumi.StringOutput
The time when the endpoint was created.
func (VpcEndpointOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. Valid values: - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
func (VpcEndpointOutput) ElementType ¶
func (VpcEndpointOutput) ElementType() reflect.Type
func (VpcEndpointOutput) EndpointBusinessStatus ¶ added in v3.27.0
func (o VpcEndpointOutput) EndpointBusinessStatus() pulumi.StringOutput
The service state of the endpoint.
func (VpcEndpointOutput) EndpointDescription ¶ added in v3.27.0
func (o VpcEndpointOutput) EndpointDescription() pulumi.StringPtrOutput
The description of the endpoint.
func (VpcEndpointOutput) EndpointDomain ¶ added in v3.27.0
func (o VpcEndpointOutput) EndpointDomain() pulumi.StringOutput
The domain name of the endpoint.
func (VpcEndpointOutput) EndpointType ¶ added in v3.45.0
func (o VpcEndpointOutput) EndpointType() pulumi.StringOutput
The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
func (VpcEndpointOutput) PolicyDocument ¶ added in v3.55.2
func (o VpcEndpointOutput) PolicyDocument() pulumi.StringOutput
RAM access policies.
func (VpcEndpointOutput) ProtectedEnabled ¶ added in v3.45.0
func (o VpcEndpointOutput) ProtectedEnabled() pulumi.BoolPtrOutput
Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values: - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode. - **false (default)**: disables user authentication.
func (VpcEndpointOutput) ResourceGroupId ¶ added in v3.45.0
func (o VpcEndpointOutput) ResourceGroupId() pulumi.StringOutput
The resource group ID.
func (VpcEndpointOutput) SecurityGroupIds ¶ added in v3.27.0
func (o VpcEndpointOutput) SecurityGroupIds() pulumi.StringArrayOutput
The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
func (VpcEndpointOutput) ServiceId ¶ added in v3.27.0
func (o VpcEndpointOutput) ServiceId() pulumi.StringPtrOutput
The ID of the endpoint service with which the endpoint is associated.
func (VpcEndpointOutput) ServiceName ¶ added in v3.27.0
func (o VpcEndpointOutput) ServiceName() pulumi.StringOutput
The name of the endpoint service with which the endpoint is associated.
func (VpcEndpointOutput) Status ¶ added in v3.27.0
func (o VpcEndpointOutput) Status() pulumi.StringOutput
The state of the endpoint.
func (VpcEndpointOutput) Tags ¶ added in v3.45.0
func (o VpcEndpointOutput) Tags() pulumi.StringMapOutput
The list of tags.
func (VpcEndpointOutput) ToVpcEndpointOutput ¶
func (o VpcEndpointOutput) ToVpcEndpointOutput() VpcEndpointOutput
func (VpcEndpointOutput) ToVpcEndpointOutputWithContext ¶
func (o VpcEndpointOutput) ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
func (VpcEndpointOutput) VpcEndpointName ¶ added in v3.27.0
func (o VpcEndpointOutput) VpcEndpointName() pulumi.StringPtrOutput
The name of the endpoint.
func (VpcEndpointOutput) VpcId ¶ added in v3.27.0
func (o VpcEndpointOutput) VpcId() pulumi.StringOutput
The ID of the VPC to which the endpoint belongs.
func (VpcEndpointOutput) ZonePrivateIpAddressCount ¶ added in v3.45.0
func (o VpcEndpointOutput) ZonePrivateIpAddressCount() pulumi.IntOutput
The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned.
type VpcEndpointService ¶
type VpcEndpointService struct { pulumi.CustomResourceState // Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values: // - **true** // - **false**. AutoAcceptConnection pulumi.BoolPtrOutput `pulumi:"autoAcceptConnection"` // The default bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s. ConnectBandwidth pulumi.IntOutput `pulumi:"connectBandwidth"` // The time when the endpoint service was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Specifies whether to perform only a dry run, without performing the actual request. // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The payer of the endpoint service. Valid values: // - **Endpoint**: the service consumer. // - **EndpointService**: the service provider. Payer pulumi.StringOutput `pulumi:"payer"` // The resource group ID. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The service state of the endpoint service. ServiceBusinessStatus pulumi.StringOutput `pulumi:"serviceBusinessStatus"` // The description of the endpoint service. ServiceDescription pulumi.StringPtrOutput `pulumi:"serviceDescription"` // The domain name of the endpoint service. ServiceDomain pulumi.StringOutput `pulumi:"serviceDomain"` // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ServiceResourceType pulumi.StringOutput `pulumi:"serviceResourceType"` // Specifies whether to enable IPv6 for the endpoint service. Valid values: // - **true** // - **false (default)**. ServiceSupportIpv6 pulumi.BoolOutput `pulumi:"serviceSupportIpv6"` // The state of the endpoint service. Status pulumi.StringOutput `pulumi:"status"` // The list of tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // The name of the endpoint service. VpcEndpointServiceName pulumi.StringOutput `pulumi:"vpcEndpointServiceName"` // Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values: // - **true** // - **false (default)**. ZoneAffinityEnabled pulumi.BoolOutput `pulumi:"zoneAffinityEnabled"` }
Provides a Private Link Vpc Endpoint Service resource.
For information about Private Link Vpc Endpoint Service and how to use it, see [What is Vpc Endpoint Service](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-createvpcendpointservice).
> **NOTE:** Available since v1.109.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } _, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String(name), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint Service can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpointService:VpcEndpointService example <id> ```
func GetVpcEndpointService ¶
func GetVpcEndpointService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointServiceState, opts ...pulumi.ResourceOption) (*VpcEndpointService, error)
GetVpcEndpointService gets an existing VpcEndpointService 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 NewVpcEndpointService ¶
func NewVpcEndpointService(ctx *pulumi.Context, name string, args *VpcEndpointServiceArgs, opts ...pulumi.ResourceOption) (*VpcEndpointService, error)
NewVpcEndpointService registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointService) ElementType ¶
func (*VpcEndpointService) ElementType() reflect.Type
func (*VpcEndpointService) ToVpcEndpointServiceOutput ¶
func (i *VpcEndpointService) ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
func (*VpcEndpointService) ToVpcEndpointServiceOutputWithContext ¶
func (i *VpcEndpointService) ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
type VpcEndpointServiceArgs ¶
type VpcEndpointServiceArgs struct { // Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values: // - **true** // - **false**. AutoAcceptConnection pulumi.BoolPtrInput // The default bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s. ConnectBandwidth pulumi.IntPtrInput // Specifies whether to perform only a dry run, without performing the actual request. // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The payer of the endpoint service. Valid values: // - **Endpoint**: the service consumer. // - **EndpointService**: the service provider. Payer pulumi.StringPtrInput // The resource group ID. ResourceGroupId pulumi.StringPtrInput // The description of the endpoint service. ServiceDescription pulumi.StringPtrInput // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ServiceResourceType pulumi.StringPtrInput // Specifies whether to enable IPv6 for the endpoint service. Valid values: // - **true** // - **false (default)**. ServiceSupportIpv6 pulumi.BoolPtrInput // The list of tags. Tags pulumi.StringMapInput // Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values: // - **true** // - **false (default)**. ZoneAffinityEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a VpcEndpointService resource.
func (VpcEndpointServiceArgs) ElementType ¶
func (VpcEndpointServiceArgs) ElementType() reflect.Type
type VpcEndpointServiceArray ¶
type VpcEndpointServiceArray []VpcEndpointServiceInput
func (VpcEndpointServiceArray) ElementType ¶
func (VpcEndpointServiceArray) ElementType() reflect.Type
func (VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutput ¶
func (i VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
func (VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutputWithContext ¶
func (i VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
type VpcEndpointServiceArrayInput ¶
type VpcEndpointServiceArrayInput interface { pulumi.Input ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput ToVpcEndpointServiceArrayOutputWithContext(context.Context) VpcEndpointServiceArrayOutput }
VpcEndpointServiceArrayInput is an input type that accepts VpcEndpointServiceArray and VpcEndpointServiceArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceArrayInput` via:
VpcEndpointServiceArray{ VpcEndpointServiceArgs{...} }
type VpcEndpointServiceArrayOutput ¶
type VpcEndpointServiceArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceArrayOutput) ElementType ¶
func (VpcEndpointServiceArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceArrayOutput) Index ¶
func (o VpcEndpointServiceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceOutput
func (VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput ¶
func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
func (VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext ¶
func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
type VpcEndpointServiceConnection ¶
type VpcEndpointServiceConnection struct { pulumi.CustomResourceState // The bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The endpoint ID. EndpointId pulumi.StringOutput `pulumi:"endpointId"` // The endpoint service ID. ServiceId pulumi.StringOutput `pulumi:"serviceId"` // The state of the endpoint connection. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Private Link Vpc Endpoint Connection resource. vpc endpoint connection.
For information about Private Link Vpc Endpoint Connection and how to use it, see [What is Vpc Endpoint Connection](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-enablevpcendpointzoneconnection).
> **NOTE:** Available since v1.110.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } exampleVpcEndpointService, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String(name), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.1.0.0/16"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "example", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: exampleSwitch.ID(), LoadBalancerSpec: pulumi.String("slb.s2.small"), AddressType: pulumi.String("intranet"), }) if err != nil { return err } exampleVpcEndpointServiceResource, err := privatelink.NewVpcEndpointServiceResource(ctx, "example", &privatelink.VpcEndpointServiceResourceArgs{ ServiceId: exampleVpcEndpointService.ID(), ResourceId: exampleApplicationLoadBalancer.ID(), ResourceType: pulumi.String("slb"), }) if err != nil { return err } exampleVpcEndpoint, err := privatelink.NewVpcEndpoint(ctx, "example", &privatelink.VpcEndpointArgs{ ServiceId: exampleVpcEndpointServiceResource.ServiceId, SecurityGroupIds: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VpcId: exampleNetwork.ID(), VpcEndpointName: pulumi.String(name), }) if err != nil { return err } _, err = privatelink.NewVpcEndpointServiceConnection(ctx, "example", &privatelink.VpcEndpointServiceConnectionArgs{ EndpointId: exampleVpcEndpoint.ID(), ServiceId: exampleVpcEndpoint.ServiceId, Bandwidth: pulumi.Int(1024), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint Connection can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpointServiceConnection:VpcEndpointServiceConnection example <service_id>:<endpoint_id> ```
func GetVpcEndpointServiceConnection ¶
func GetVpcEndpointServiceConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointServiceConnectionState, opts ...pulumi.ResourceOption) (*VpcEndpointServiceConnection, error)
GetVpcEndpointServiceConnection gets an existing VpcEndpointServiceConnection 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 NewVpcEndpointServiceConnection ¶
func NewVpcEndpointServiceConnection(ctx *pulumi.Context, name string, args *VpcEndpointServiceConnectionArgs, opts ...pulumi.ResourceOption) (*VpcEndpointServiceConnection, error)
NewVpcEndpointServiceConnection registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointServiceConnection) ElementType ¶
func (*VpcEndpointServiceConnection) ElementType() reflect.Type
func (*VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutput ¶
func (i *VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutput() VpcEndpointServiceConnectionOutput
func (*VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutputWithContext ¶
func (i *VpcEndpointServiceConnection) ToVpcEndpointServiceConnectionOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionOutput
type VpcEndpointServiceConnectionArgs ¶
type VpcEndpointServiceConnectionArgs struct { // The bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s. Bandwidth pulumi.IntPtrInput // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The endpoint ID. EndpointId pulumi.StringInput // The endpoint service ID. ServiceId pulumi.StringInput }
The set of arguments for constructing a VpcEndpointServiceConnection resource.
func (VpcEndpointServiceConnectionArgs) ElementType ¶
func (VpcEndpointServiceConnectionArgs) ElementType() reflect.Type
type VpcEndpointServiceConnectionArray ¶
type VpcEndpointServiceConnectionArray []VpcEndpointServiceConnectionInput
func (VpcEndpointServiceConnectionArray) ElementType ¶
func (VpcEndpointServiceConnectionArray) ElementType() reflect.Type
func (VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutput ¶
func (i VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutput() VpcEndpointServiceConnectionArrayOutput
func (VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutputWithContext ¶
func (i VpcEndpointServiceConnectionArray) ToVpcEndpointServiceConnectionArrayOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionArrayOutput
type VpcEndpointServiceConnectionArrayInput ¶
type VpcEndpointServiceConnectionArrayInput interface { pulumi.Input ToVpcEndpointServiceConnectionArrayOutput() VpcEndpointServiceConnectionArrayOutput ToVpcEndpointServiceConnectionArrayOutputWithContext(context.Context) VpcEndpointServiceConnectionArrayOutput }
VpcEndpointServiceConnectionArrayInput is an input type that accepts VpcEndpointServiceConnectionArray and VpcEndpointServiceConnectionArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceConnectionArrayInput` via:
VpcEndpointServiceConnectionArray{ VpcEndpointServiceConnectionArgs{...} }
type VpcEndpointServiceConnectionArrayOutput ¶
type VpcEndpointServiceConnectionArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceConnectionArrayOutput) ElementType ¶
func (VpcEndpointServiceConnectionArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutput ¶
func (o VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutput() VpcEndpointServiceConnectionArrayOutput
func (VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutputWithContext ¶
func (o VpcEndpointServiceConnectionArrayOutput) ToVpcEndpointServiceConnectionArrayOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionArrayOutput
type VpcEndpointServiceConnectionInput ¶
type VpcEndpointServiceConnectionInput interface { pulumi.Input ToVpcEndpointServiceConnectionOutput() VpcEndpointServiceConnectionOutput ToVpcEndpointServiceConnectionOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionOutput }
type VpcEndpointServiceConnectionMap ¶
type VpcEndpointServiceConnectionMap map[string]VpcEndpointServiceConnectionInput
func (VpcEndpointServiceConnectionMap) ElementType ¶
func (VpcEndpointServiceConnectionMap) ElementType() reflect.Type
func (VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutput ¶
func (i VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutput() VpcEndpointServiceConnectionMapOutput
func (VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutputWithContext ¶
func (i VpcEndpointServiceConnectionMap) ToVpcEndpointServiceConnectionMapOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionMapOutput
type VpcEndpointServiceConnectionMapInput ¶
type VpcEndpointServiceConnectionMapInput interface { pulumi.Input ToVpcEndpointServiceConnectionMapOutput() VpcEndpointServiceConnectionMapOutput ToVpcEndpointServiceConnectionMapOutputWithContext(context.Context) VpcEndpointServiceConnectionMapOutput }
VpcEndpointServiceConnectionMapInput is an input type that accepts VpcEndpointServiceConnectionMap and VpcEndpointServiceConnectionMapOutput values. You can construct a concrete instance of `VpcEndpointServiceConnectionMapInput` via:
VpcEndpointServiceConnectionMap{ "key": VpcEndpointServiceConnectionArgs{...} }
type VpcEndpointServiceConnectionMapOutput ¶
type VpcEndpointServiceConnectionMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceConnectionMapOutput) ElementType ¶
func (VpcEndpointServiceConnectionMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceConnectionMapOutput) MapIndex ¶
func (o VpcEndpointServiceConnectionMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceConnectionOutput
func (VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutput ¶
func (o VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutput() VpcEndpointServiceConnectionMapOutput
func (VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutputWithContext ¶
func (o VpcEndpointServiceConnectionMapOutput) ToVpcEndpointServiceConnectionMapOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionMapOutput
type VpcEndpointServiceConnectionOutput ¶
type VpcEndpointServiceConnectionOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceConnectionOutput) Bandwidth ¶ added in v3.27.0
func (o VpcEndpointServiceConnectionOutput) Bandwidth() pulumi.IntOutput
The bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
func (VpcEndpointServiceConnectionOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointServiceConnectionOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. Valid values: - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
func (VpcEndpointServiceConnectionOutput) ElementType ¶
func (VpcEndpointServiceConnectionOutput) ElementType() reflect.Type
func (VpcEndpointServiceConnectionOutput) EndpointId ¶ added in v3.27.0
func (o VpcEndpointServiceConnectionOutput) EndpointId() pulumi.StringOutput
The endpoint ID.
func (VpcEndpointServiceConnectionOutput) ServiceId ¶ added in v3.27.0
func (o VpcEndpointServiceConnectionOutput) ServiceId() pulumi.StringOutput
The endpoint service ID.
func (VpcEndpointServiceConnectionOutput) Status ¶ added in v3.27.0
func (o VpcEndpointServiceConnectionOutput) Status() pulumi.StringOutput
The state of the endpoint connection.
func (VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutput ¶
func (o VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutput() VpcEndpointServiceConnectionOutput
func (VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutputWithContext ¶
func (o VpcEndpointServiceConnectionOutput) ToVpcEndpointServiceConnectionOutputWithContext(ctx context.Context) VpcEndpointServiceConnectionOutput
type VpcEndpointServiceConnectionState ¶
type VpcEndpointServiceConnectionState struct { // The bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s. Bandwidth pulumi.IntPtrInput // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The endpoint ID. EndpointId pulumi.StringPtrInput // The endpoint service ID. ServiceId pulumi.StringPtrInput // The state of the endpoint connection. Status pulumi.StringPtrInput }
func (VpcEndpointServiceConnectionState) ElementType ¶
func (VpcEndpointServiceConnectionState) ElementType() reflect.Type
type VpcEndpointServiceInput ¶
type VpcEndpointServiceInput interface { pulumi.Input ToVpcEndpointServiceOutput() VpcEndpointServiceOutput ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput }
type VpcEndpointServiceMap ¶
type VpcEndpointServiceMap map[string]VpcEndpointServiceInput
func (VpcEndpointServiceMap) ElementType ¶
func (VpcEndpointServiceMap) ElementType() reflect.Type
func (VpcEndpointServiceMap) ToVpcEndpointServiceMapOutput ¶
func (i VpcEndpointServiceMap) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
func (VpcEndpointServiceMap) ToVpcEndpointServiceMapOutputWithContext ¶
func (i VpcEndpointServiceMap) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
type VpcEndpointServiceMapInput ¶
type VpcEndpointServiceMapInput interface { pulumi.Input ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput ToVpcEndpointServiceMapOutputWithContext(context.Context) VpcEndpointServiceMapOutput }
VpcEndpointServiceMapInput is an input type that accepts VpcEndpointServiceMap and VpcEndpointServiceMapOutput values. You can construct a concrete instance of `VpcEndpointServiceMapInput` via:
VpcEndpointServiceMap{ "key": VpcEndpointServiceArgs{...} }
type VpcEndpointServiceMapOutput ¶
type VpcEndpointServiceMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceMapOutput) ElementType ¶
func (VpcEndpointServiceMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceMapOutput) MapIndex ¶
func (o VpcEndpointServiceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceOutput
func (VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput ¶
func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
func (VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext ¶
func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
type VpcEndpointServiceOutput ¶
type VpcEndpointServiceOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceOutput) AutoAcceptConnection ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) AutoAcceptConnection() pulumi.BoolPtrOutput
Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values: - **true** - **false**.
func (VpcEndpointServiceOutput) ConnectBandwidth ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) ConnectBandwidth() pulumi.IntOutput
The default bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.
func (VpcEndpointServiceOutput) CreateTime ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) CreateTime() pulumi.StringOutput
The time when the endpoint service was created.
func (VpcEndpointServiceOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
func (VpcEndpointServiceOutput) ElementType ¶
func (VpcEndpointServiceOutput) ElementType() reflect.Type
func (VpcEndpointServiceOutput) Payer ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) Payer() pulumi.StringOutput
The payer of the endpoint service. Valid values: - **Endpoint**: the service consumer. - **EndpointService**: the service provider.
func (VpcEndpointServiceOutput) ResourceGroupId ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) ResourceGroupId() pulumi.StringOutput
The resource group ID.
func (VpcEndpointServiceOutput) ServiceBusinessStatus ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) ServiceBusinessStatus() pulumi.StringOutput
The service state of the endpoint service.
func (VpcEndpointServiceOutput) ServiceDescription ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) ServiceDescription() pulumi.StringPtrOutput
The description of the endpoint service.
func (VpcEndpointServiceOutput) ServiceDomain ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) ServiceDomain() pulumi.StringOutput
The domain name of the endpoint service.
func (VpcEndpointServiceOutput) ServiceResourceType ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) ServiceResourceType() pulumi.StringOutput
Service resource type, value: - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). - **alb**: indicates that the service resource type is Application Load Balancer (ALB). - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
func (VpcEndpointServiceOutput) ServiceSupportIpv6 ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) ServiceSupportIpv6() pulumi.BoolOutput
Specifies whether to enable IPv6 for the endpoint service. Valid values: - **true** - **false (default)**.
func (VpcEndpointServiceOutput) Status ¶ added in v3.27.0
func (o VpcEndpointServiceOutput) Status() pulumi.StringOutput
The state of the endpoint service.
func (VpcEndpointServiceOutput) Tags ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) Tags() pulumi.StringMapOutput
The list of tags.
func (VpcEndpointServiceOutput) ToVpcEndpointServiceOutput ¶
func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
func (VpcEndpointServiceOutput) ToVpcEndpointServiceOutputWithContext ¶
func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
func (VpcEndpointServiceOutput) VpcEndpointServiceName ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) VpcEndpointServiceName() pulumi.StringOutput
The name of the endpoint service.
func (VpcEndpointServiceOutput) ZoneAffinityEnabled ¶ added in v3.45.0
func (o VpcEndpointServiceOutput) ZoneAffinityEnabled() pulumi.BoolOutput
Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values: - **true** - **false (default)**.
type VpcEndpointServiceResource ¶
type VpcEndpointServiceResource struct { pulumi.CustomResourceState // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The service resource ID. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ResourceType pulumi.StringOutput `pulumi:"resourceType"` // The endpoint service ID. ServiceId pulumi.StringOutput `pulumi:"serviceId"` // The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb). ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a Private Link Vpc Endpoint Service Resource resource. Endpoint service resource.
For information about Private Link Vpc Endpoint Service Resource and how to use it, see [What is Vpc Endpoint Service Resource](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-attachresourcetovpcendpointservice).
> **NOTE:** Available since v1.110.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } exampleVpcEndpointService, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String(name), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.1.0.0/16"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "example", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: exampleSwitch.ID(), LoadBalancerSpec: pulumi.String("slb.s2.small"), AddressType: pulumi.String("intranet"), }) if err != nil { return err } _, err = privatelink.NewVpcEndpoint(ctx, "example", &privatelink.VpcEndpointArgs{ ServiceId: exampleVpcEndpointService.ID(), SecurityGroupIds: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VpcId: exampleNetwork.ID(), VpcEndpointName: pulumi.String(name), }) if err != nil { return err } _, err = privatelink.NewVpcEndpointServiceResource(ctx, "example", &privatelink.VpcEndpointServiceResourceArgs{ ServiceId: exampleVpcEndpointService.ID(), ResourceId: exampleApplicationLoadBalancer.ID(), ResourceType: pulumi.String("slb"), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint Service Resource can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpointServiceResource:VpcEndpointServiceResource example <service_id>:<resource_id>:<zone_id> ```
func GetVpcEndpointServiceResource ¶
func GetVpcEndpointServiceResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointServiceResourceState, opts ...pulumi.ResourceOption) (*VpcEndpointServiceResource, error)
GetVpcEndpointServiceResource gets an existing VpcEndpointServiceResource 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 NewVpcEndpointServiceResource ¶
func NewVpcEndpointServiceResource(ctx *pulumi.Context, name string, args *VpcEndpointServiceResourceArgs, opts ...pulumi.ResourceOption) (*VpcEndpointServiceResource, error)
NewVpcEndpointServiceResource registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointServiceResource) ElementType ¶
func (*VpcEndpointServiceResource) ElementType() reflect.Type
func (*VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutput ¶
func (i *VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutput() VpcEndpointServiceResourceOutput
func (*VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutputWithContext ¶
func (i *VpcEndpointServiceResource) ToVpcEndpointServiceResourceOutputWithContext(ctx context.Context) VpcEndpointServiceResourceOutput
type VpcEndpointServiceResourceArgs ¶
type VpcEndpointServiceResourceArgs struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The service resource ID. ResourceId pulumi.StringInput // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ResourceType pulumi.StringInput // The endpoint service ID. ServiceId pulumi.StringInput // The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb). ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a VpcEndpointServiceResource resource.
func (VpcEndpointServiceResourceArgs) ElementType ¶
func (VpcEndpointServiceResourceArgs) ElementType() reflect.Type
type VpcEndpointServiceResourceArray ¶
type VpcEndpointServiceResourceArray []VpcEndpointServiceResourceInput
func (VpcEndpointServiceResourceArray) ElementType ¶
func (VpcEndpointServiceResourceArray) ElementType() reflect.Type
func (VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutput ¶
func (i VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutput() VpcEndpointServiceResourceArrayOutput
func (VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutputWithContext ¶
func (i VpcEndpointServiceResourceArray) ToVpcEndpointServiceResourceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceResourceArrayOutput
type VpcEndpointServiceResourceArrayInput ¶
type VpcEndpointServiceResourceArrayInput interface { pulumi.Input ToVpcEndpointServiceResourceArrayOutput() VpcEndpointServiceResourceArrayOutput ToVpcEndpointServiceResourceArrayOutputWithContext(context.Context) VpcEndpointServiceResourceArrayOutput }
VpcEndpointServiceResourceArrayInput is an input type that accepts VpcEndpointServiceResourceArray and VpcEndpointServiceResourceArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceResourceArrayInput` via:
VpcEndpointServiceResourceArray{ VpcEndpointServiceResourceArgs{...} }
type VpcEndpointServiceResourceArrayOutput ¶
type VpcEndpointServiceResourceArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceResourceArrayOutput) ElementType ¶
func (VpcEndpointServiceResourceArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceResourceArrayOutput) Index ¶
func (o VpcEndpointServiceResourceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceResourceOutput
func (VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutput ¶
func (o VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutput() VpcEndpointServiceResourceArrayOutput
func (VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutputWithContext ¶
func (o VpcEndpointServiceResourceArrayOutput) ToVpcEndpointServiceResourceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceResourceArrayOutput
type VpcEndpointServiceResourceInput ¶
type VpcEndpointServiceResourceInput interface { pulumi.Input ToVpcEndpointServiceResourceOutput() VpcEndpointServiceResourceOutput ToVpcEndpointServiceResourceOutputWithContext(ctx context.Context) VpcEndpointServiceResourceOutput }
type VpcEndpointServiceResourceMap ¶
type VpcEndpointServiceResourceMap map[string]VpcEndpointServiceResourceInput
func (VpcEndpointServiceResourceMap) ElementType ¶
func (VpcEndpointServiceResourceMap) ElementType() reflect.Type
func (VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutput ¶
func (i VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutput() VpcEndpointServiceResourceMapOutput
func (VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutputWithContext ¶
func (i VpcEndpointServiceResourceMap) ToVpcEndpointServiceResourceMapOutputWithContext(ctx context.Context) VpcEndpointServiceResourceMapOutput
type VpcEndpointServiceResourceMapInput ¶
type VpcEndpointServiceResourceMapInput interface { pulumi.Input ToVpcEndpointServiceResourceMapOutput() VpcEndpointServiceResourceMapOutput ToVpcEndpointServiceResourceMapOutputWithContext(context.Context) VpcEndpointServiceResourceMapOutput }
VpcEndpointServiceResourceMapInput is an input type that accepts VpcEndpointServiceResourceMap and VpcEndpointServiceResourceMapOutput values. You can construct a concrete instance of `VpcEndpointServiceResourceMapInput` via:
VpcEndpointServiceResourceMap{ "key": VpcEndpointServiceResourceArgs{...} }
type VpcEndpointServiceResourceMapOutput ¶
type VpcEndpointServiceResourceMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceResourceMapOutput) ElementType ¶
func (VpcEndpointServiceResourceMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceResourceMapOutput) MapIndex ¶
func (o VpcEndpointServiceResourceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceResourceOutput
func (VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutput ¶
func (o VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutput() VpcEndpointServiceResourceMapOutput
func (VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutputWithContext ¶
func (o VpcEndpointServiceResourceMapOutput) ToVpcEndpointServiceResourceMapOutputWithContext(ctx context.Context) VpcEndpointServiceResourceMapOutput
type VpcEndpointServiceResourceOutput ¶
type VpcEndpointServiceResourceOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceResourceOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointServiceResourceOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. Valid values: - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned. - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
func (VpcEndpointServiceResourceOutput) ElementType ¶
func (VpcEndpointServiceResourceOutput) ElementType() reflect.Type
func (VpcEndpointServiceResourceOutput) ResourceId ¶ added in v3.27.0
func (o VpcEndpointServiceResourceOutput) ResourceId() pulumi.StringOutput
The service resource ID.
func (VpcEndpointServiceResourceOutput) ResourceType ¶ added in v3.27.0
func (o VpcEndpointServiceResourceOutput) ResourceType() pulumi.StringOutput
Service resource type, value: - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). - **alb**: indicates that the service resource type is Application Load Balancer (ALB). - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
func (VpcEndpointServiceResourceOutput) ServiceId ¶ added in v3.27.0
func (o VpcEndpointServiceResourceOutput) ServiceId() pulumi.StringOutput
The endpoint service ID.
func (VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutput ¶
func (o VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutput() VpcEndpointServiceResourceOutput
func (VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutputWithContext ¶
func (o VpcEndpointServiceResourceOutput) ToVpcEndpointServiceResourceOutputWithContext(ctx context.Context) VpcEndpointServiceResourceOutput
func (VpcEndpointServiceResourceOutput) ZoneId ¶ added in v3.45.0
func (o VpcEndpointServiceResourceOutput) ZoneId() pulumi.StringOutput
The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb).
type VpcEndpointServiceResourceState ¶
type VpcEndpointServiceResourceState struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The service resource ID. ResourceId pulumi.StringPtrInput // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ResourceType pulumi.StringPtrInput // The endpoint service ID. ServiceId pulumi.StringPtrInput // The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb). ZoneId pulumi.StringPtrInput }
func (VpcEndpointServiceResourceState) ElementType ¶
func (VpcEndpointServiceResourceState) ElementType() reflect.Type
type VpcEndpointServiceState ¶
type VpcEndpointServiceState struct { // Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values: // - **true** // - **false**. AutoAcceptConnection pulumi.BoolPtrInput // The default bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s. ConnectBandwidth pulumi.IntPtrInput // The time when the endpoint service was created. CreateTime pulumi.StringPtrInput // Specifies whether to perform only a dry run, without performing the actual request. // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The payer of the endpoint service. Valid values: // - **Endpoint**: the service consumer. // - **EndpointService**: the service provider. Payer pulumi.StringPtrInput // The resource group ID. ResourceGroupId pulumi.StringPtrInput // The service state of the endpoint service. ServiceBusinessStatus pulumi.StringPtrInput // The description of the endpoint service. ServiceDescription pulumi.StringPtrInput // The domain name of the endpoint service. ServiceDomain pulumi.StringPtrInput // Service resource type, value: // - **slb**: indicates that the service resource type is Classic Load Balancer (CLB). // - **alb**: indicates that the service resource type is Application Load Balancer (ALB). // - **nlb**: indicates that the service resource type is Network Load Balancer (NLB). ServiceResourceType pulumi.StringPtrInput // Specifies whether to enable IPv6 for the endpoint service. Valid values: // - **true** // - **false (default)**. ServiceSupportIpv6 pulumi.BoolPtrInput // The state of the endpoint service. Status pulumi.StringPtrInput // The list of tags. Tags pulumi.StringMapInput // The name of the endpoint service. VpcEndpointServiceName pulumi.StringPtrInput // Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values: // - **true** // - **false (default)**. ZoneAffinityEnabled pulumi.BoolPtrInput }
func (VpcEndpointServiceState) ElementType ¶
func (VpcEndpointServiceState) ElementType() reflect.Type
type VpcEndpointServiceUser ¶
type VpcEndpointServiceUser struct { pulumi.CustomResourceState // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The endpoint service ID. ServiceId pulumi.StringOutput `pulumi:"serviceId"` // The whitelist in the format of ARN. UserArn pulumi.StringPtrOutput `pulumi:"userArn"` // The ID of the Alibaba Cloud account in the whitelist of the endpoint service. UserId pulumi.StringOutput `pulumi:"userId"` }
Provides a Private Link Vpc Endpoint Service User resource.
Endpoint service user whitelist.
For information about Private Link Vpc Endpoint Service User and how to use it, see [What is Vpc Endpoint Service User](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-addusertovpcendpointservice).
> **NOTE:** Available since v1.110.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tfexampleuser" if param := cfg.Get("name"); param != "" { name = param } example, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String(name), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } exampleUser, err := ram.NewUser(ctx, "example", &ram.UserArgs{ Name: pulumi.String(name), DisplayName: pulumi.String("user_display_name"), Mobile: pulumi.String("86-18688888888"), Email: pulumi.String("hello.uuu@aaa.com"), Comments: pulumi.String("yoyoyo"), }) if err != nil { return err } _, err = privatelink.NewVpcEndpointServiceUser(ctx, "example", &privatelink.VpcEndpointServiceUserArgs{ ServiceId: example.ID(), UserId: exampleUser.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint Service User can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpointServiceUser:VpcEndpointServiceUser example <service_id>:<user_id> ```
func GetVpcEndpointServiceUser ¶
func GetVpcEndpointServiceUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointServiceUserState, opts ...pulumi.ResourceOption) (*VpcEndpointServiceUser, error)
GetVpcEndpointServiceUser gets an existing VpcEndpointServiceUser 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 NewVpcEndpointServiceUser ¶
func NewVpcEndpointServiceUser(ctx *pulumi.Context, name string, args *VpcEndpointServiceUserArgs, opts ...pulumi.ResourceOption) (*VpcEndpointServiceUser, error)
NewVpcEndpointServiceUser registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointServiceUser) ElementType ¶
func (*VpcEndpointServiceUser) ElementType() reflect.Type
func (*VpcEndpointServiceUser) ToVpcEndpointServiceUserOutput ¶
func (i *VpcEndpointServiceUser) ToVpcEndpointServiceUserOutput() VpcEndpointServiceUserOutput
func (*VpcEndpointServiceUser) ToVpcEndpointServiceUserOutputWithContext ¶
func (i *VpcEndpointServiceUser) ToVpcEndpointServiceUserOutputWithContext(ctx context.Context) VpcEndpointServiceUserOutput
type VpcEndpointServiceUserArgs ¶
type VpcEndpointServiceUserArgs struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrInput // The endpoint service ID. ServiceId pulumi.StringInput // The whitelist in the format of ARN. UserArn pulumi.StringPtrInput // The ID of the Alibaba Cloud account in the whitelist of the endpoint service. UserId pulumi.StringInput }
The set of arguments for constructing a VpcEndpointServiceUser resource.
func (VpcEndpointServiceUserArgs) ElementType ¶
func (VpcEndpointServiceUserArgs) ElementType() reflect.Type
type VpcEndpointServiceUserArray ¶
type VpcEndpointServiceUserArray []VpcEndpointServiceUserInput
func (VpcEndpointServiceUserArray) ElementType ¶
func (VpcEndpointServiceUserArray) ElementType() reflect.Type
func (VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutput ¶
func (i VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutput() VpcEndpointServiceUserArrayOutput
func (VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutputWithContext ¶
func (i VpcEndpointServiceUserArray) ToVpcEndpointServiceUserArrayOutputWithContext(ctx context.Context) VpcEndpointServiceUserArrayOutput
type VpcEndpointServiceUserArrayInput ¶
type VpcEndpointServiceUserArrayInput interface { pulumi.Input ToVpcEndpointServiceUserArrayOutput() VpcEndpointServiceUserArrayOutput ToVpcEndpointServiceUserArrayOutputWithContext(context.Context) VpcEndpointServiceUserArrayOutput }
VpcEndpointServiceUserArrayInput is an input type that accepts VpcEndpointServiceUserArray and VpcEndpointServiceUserArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceUserArrayInput` via:
VpcEndpointServiceUserArray{ VpcEndpointServiceUserArgs{...} }
type VpcEndpointServiceUserArrayOutput ¶
type VpcEndpointServiceUserArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceUserArrayOutput) ElementType ¶
func (VpcEndpointServiceUserArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceUserArrayOutput) Index ¶
func (o VpcEndpointServiceUserArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceUserOutput
func (VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutput ¶
func (o VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutput() VpcEndpointServiceUserArrayOutput
func (VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutputWithContext ¶
func (o VpcEndpointServiceUserArrayOutput) ToVpcEndpointServiceUserArrayOutputWithContext(ctx context.Context) VpcEndpointServiceUserArrayOutput
type VpcEndpointServiceUserInput ¶
type VpcEndpointServiceUserInput interface { pulumi.Input ToVpcEndpointServiceUserOutput() VpcEndpointServiceUserOutput ToVpcEndpointServiceUserOutputWithContext(ctx context.Context) VpcEndpointServiceUserOutput }
type VpcEndpointServiceUserMap ¶
type VpcEndpointServiceUserMap map[string]VpcEndpointServiceUserInput
func (VpcEndpointServiceUserMap) ElementType ¶
func (VpcEndpointServiceUserMap) ElementType() reflect.Type
func (VpcEndpointServiceUserMap) ToVpcEndpointServiceUserMapOutput ¶
func (i VpcEndpointServiceUserMap) ToVpcEndpointServiceUserMapOutput() VpcEndpointServiceUserMapOutput
func (VpcEndpointServiceUserMap) ToVpcEndpointServiceUserMapOutputWithContext ¶
func (i VpcEndpointServiceUserMap) ToVpcEndpointServiceUserMapOutputWithContext(ctx context.Context) VpcEndpointServiceUserMapOutput
type VpcEndpointServiceUserMapInput ¶
type VpcEndpointServiceUserMapInput interface { pulumi.Input ToVpcEndpointServiceUserMapOutput() VpcEndpointServiceUserMapOutput ToVpcEndpointServiceUserMapOutputWithContext(context.Context) VpcEndpointServiceUserMapOutput }
VpcEndpointServiceUserMapInput is an input type that accepts VpcEndpointServiceUserMap and VpcEndpointServiceUserMapOutput values. You can construct a concrete instance of `VpcEndpointServiceUserMapInput` via:
VpcEndpointServiceUserMap{ "key": VpcEndpointServiceUserArgs{...} }
type VpcEndpointServiceUserMapOutput ¶
type VpcEndpointServiceUserMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceUserMapOutput) ElementType ¶
func (VpcEndpointServiceUserMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceUserMapOutput) MapIndex ¶
func (o VpcEndpointServiceUserMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceUserOutput
func (VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutput ¶
func (o VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutput() VpcEndpointServiceUserMapOutput
func (VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutputWithContext ¶
func (o VpcEndpointServiceUserMapOutput) ToVpcEndpointServiceUserMapOutputWithContext(ctx context.Context) VpcEndpointServiceUserMapOutput
type VpcEndpointServiceUserOutput ¶
type VpcEndpointServiceUserOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceUserOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointServiceUserOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
func (VpcEndpointServiceUserOutput) ElementType ¶
func (VpcEndpointServiceUserOutput) ElementType() reflect.Type
func (VpcEndpointServiceUserOutput) ServiceId ¶ added in v3.27.0
func (o VpcEndpointServiceUserOutput) ServiceId() pulumi.StringOutput
The endpoint service ID.
func (VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutput ¶
func (o VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutput() VpcEndpointServiceUserOutput
func (VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutputWithContext ¶
func (o VpcEndpointServiceUserOutput) ToVpcEndpointServiceUserOutputWithContext(ctx context.Context) VpcEndpointServiceUserOutput
func (VpcEndpointServiceUserOutput) UserArn ¶ added in v3.64.0
func (o VpcEndpointServiceUserOutput) UserArn() pulumi.StringPtrOutput
The whitelist in the format of ARN.
func (VpcEndpointServiceUserOutput) UserId ¶ added in v3.27.0
func (o VpcEndpointServiceUserOutput) UserId() pulumi.StringOutput
The ID of the Alibaba Cloud account in the whitelist of the endpoint service.
type VpcEndpointServiceUserState ¶
type VpcEndpointServiceUserState struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrInput // The endpoint service ID. ServiceId pulumi.StringPtrInput // The whitelist in the format of ARN. UserArn pulumi.StringPtrInput // The ID of the Alibaba Cloud account in the whitelist of the endpoint service. UserId pulumi.StringPtrInput }
func (VpcEndpointServiceUserState) ElementType ¶
func (VpcEndpointServiceUserState) ElementType() reflect.Type
type VpcEndpointState ¶
type VpcEndpointState struct { // The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s. Bandwidth pulumi.IntPtrInput // The state of the endpoint connection. ConnectionStatus pulumi.StringPtrInput // The time when the endpoint was created. CreateTime pulumi.StringPtrInput // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. // - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun pulumi.BoolPtrInput // The service state of the endpoint. EndpointBusinessStatus pulumi.StringPtrInput // The description of the endpoint. EndpointDescription pulumi.StringPtrInput // The domain name of the endpoint. EndpointDomain pulumi.StringPtrInput // The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). EndpointType pulumi.StringPtrInput // RAM access policies. PolicyDocument pulumi.StringPtrInput // Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values: // - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode. // - **false (default)**: disables user authentication. ProtectedEnabled pulumi.BoolPtrInput // The resource group ID. ResourceGroupId pulumi.StringPtrInput // The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups. SecurityGroupIds pulumi.StringArrayInput // The ID of the endpoint service with which the endpoint is associated. ServiceId pulumi.StringPtrInput // The name of the endpoint service with which the endpoint is associated. ServiceName pulumi.StringPtrInput // The state of the endpoint. Status pulumi.StringPtrInput // The list of tags. Tags pulumi.StringMapInput // The name of the endpoint. VpcEndpointName pulumi.StringPtrInput // The ID of the VPC to which the endpoint belongs. VpcId pulumi.StringPtrInput // The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned. ZonePrivateIpAddressCount pulumi.IntPtrInput }
func (VpcEndpointState) ElementType ¶
func (VpcEndpointState) ElementType() reflect.Type
type VpcEndpointZone ¶
type VpcEndpointZone struct { pulumi.CustomResourceState // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The endpoint ID. EndpointId pulumi.StringOutput `pulumi:"endpointId"` // The IP address of the endpoint ENI. EniIp pulumi.StringOutput `pulumi:"eniIp"` // The state of the zone. Status pulumi.StringOutput `pulumi:"status"` // The ID of the vSwitch in the zone. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` // The zone ID. ZoneId pulumi.StringPtrOutput `pulumi:"zoneId"` }
Provides a Private Link Vpc Endpoint Zone resource.
For information about Private Link Vpc Endpoint Zone and how to use it, see [What is Vpc Endpoint Zone](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-addzonetovpcendpoint).
> **NOTE:** Available since v1.111.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } exampleVpcEndpointService, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{ ServiceDescription: pulumi.String(name), ConnectBandwidth: pulumi.Int(103), AutoAcceptConnection: pulumi.Bool(false), }) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.1.0.0/16"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "example", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: exampleSwitch.ID(), LoadBalancerSpec: pulumi.String("slb.s2.small"), AddressType: pulumi.String("intranet"), }) if err != nil { return err } exampleVpcEndpointServiceResource, err := privatelink.NewVpcEndpointServiceResource(ctx, "example", &privatelink.VpcEndpointServiceResourceArgs{ ServiceId: exampleVpcEndpointService.ID(), ResourceId: exampleApplicationLoadBalancer.ID(), ResourceType: pulumi.String("slb"), }) if err != nil { return err } exampleVpcEndpoint, err := privatelink.NewVpcEndpoint(ctx, "example", &privatelink.VpcEndpointArgs{ ServiceId: exampleVpcEndpointServiceResource.ServiceId, SecurityGroupIds: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VpcId: exampleNetwork.ID(), VpcEndpointName: pulumi.String(name), }) if err != nil { return err } _, err = privatelink.NewVpcEndpointZone(ctx, "example", &privatelink.VpcEndpointZoneArgs{ EndpointId: exampleVpcEndpoint.ID(), VswitchId: exampleSwitch.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } return nil }) }
```
## Import
Private Link Vpc Endpoint Zone can be imported using the id, e.g.
```sh $ pulumi import alicloud:privatelink/vpcEndpointZone:VpcEndpointZone example <endpoint_id>:<zone_id> ```
func GetVpcEndpointZone ¶
func GetVpcEndpointZone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointZoneState, opts ...pulumi.ResourceOption) (*VpcEndpointZone, error)
GetVpcEndpointZone gets an existing VpcEndpointZone 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 NewVpcEndpointZone ¶
func NewVpcEndpointZone(ctx *pulumi.Context, name string, args *VpcEndpointZoneArgs, opts ...pulumi.ResourceOption) (*VpcEndpointZone, error)
NewVpcEndpointZone registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointZone) ElementType ¶
func (*VpcEndpointZone) ElementType() reflect.Type
func (*VpcEndpointZone) ToVpcEndpointZoneOutput ¶
func (i *VpcEndpointZone) ToVpcEndpointZoneOutput() VpcEndpointZoneOutput
func (*VpcEndpointZone) ToVpcEndpointZoneOutputWithContext ¶
func (i *VpcEndpointZone) ToVpcEndpointZoneOutputWithContext(ctx context.Context) VpcEndpointZoneOutput
type VpcEndpointZoneArgs ¶
type VpcEndpointZoneArgs struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrInput // The endpoint ID. EndpointId pulumi.StringInput // The IP address of the endpoint ENI. EniIp pulumi.StringPtrInput // The ID of the vSwitch in the zone. VswitchId pulumi.StringInput // The zone ID. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a VpcEndpointZone resource.
func (VpcEndpointZoneArgs) ElementType ¶
func (VpcEndpointZoneArgs) ElementType() reflect.Type
type VpcEndpointZoneArray ¶
type VpcEndpointZoneArray []VpcEndpointZoneInput
func (VpcEndpointZoneArray) ElementType ¶
func (VpcEndpointZoneArray) ElementType() reflect.Type
func (VpcEndpointZoneArray) ToVpcEndpointZoneArrayOutput ¶
func (i VpcEndpointZoneArray) ToVpcEndpointZoneArrayOutput() VpcEndpointZoneArrayOutput
func (VpcEndpointZoneArray) ToVpcEndpointZoneArrayOutputWithContext ¶
func (i VpcEndpointZoneArray) ToVpcEndpointZoneArrayOutputWithContext(ctx context.Context) VpcEndpointZoneArrayOutput
type VpcEndpointZoneArrayInput ¶
type VpcEndpointZoneArrayInput interface { pulumi.Input ToVpcEndpointZoneArrayOutput() VpcEndpointZoneArrayOutput ToVpcEndpointZoneArrayOutputWithContext(context.Context) VpcEndpointZoneArrayOutput }
VpcEndpointZoneArrayInput is an input type that accepts VpcEndpointZoneArray and VpcEndpointZoneArrayOutput values. You can construct a concrete instance of `VpcEndpointZoneArrayInput` via:
VpcEndpointZoneArray{ VpcEndpointZoneArgs{...} }
type VpcEndpointZoneArrayOutput ¶
type VpcEndpointZoneArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointZoneArrayOutput) ElementType ¶
func (VpcEndpointZoneArrayOutput) ElementType() reflect.Type
func (VpcEndpointZoneArrayOutput) Index ¶
func (o VpcEndpointZoneArrayOutput) Index(i pulumi.IntInput) VpcEndpointZoneOutput
func (VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutput ¶
func (o VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutput() VpcEndpointZoneArrayOutput
func (VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutputWithContext ¶
func (o VpcEndpointZoneArrayOutput) ToVpcEndpointZoneArrayOutputWithContext(ctx context.Context) VpcEndpointZoneArrayOutput
type VpcEndpointZoneInput ¶
type VpcEndpointZoneInput interface { pulumi.Input ToVpcEndpointZoneOutput() VpcEndpointZoneOutput ToVpcEndpointZoneOutputWithContext(ctx context.Context) VpcEndpointZoneOutput }
type VpcEndpointZoneMap ¶
type VpcEndpointZoneMap map[string]VpcEndpointZoneInput
func (VpcEndpointZoneMap) ElementType ¶
func (VpcEndpointZoneMap) ElementType() reflect.Type
func (VpcEndpointZoneMap) ToVpcEndpointZoneMapOutput ¶
func (i VpcEndpointZoneMap) ToVpcEndpointZoneMapOutput() VpcEndpointZoneMapOutput
func (VpcEndpointZoneMap) ToVpcEndpointZoneMapOutputWithContext ¶
func (i VpcEndpointZoneMap) ToVpcEndpointZoneMapOutputWithContext(ctx context.Context) VpcEndpointZoneMapOutput
type VpcEndpointZoneMapInput ¶
type VpcEndpointZoneMapInput interface { pulumi.Input ToVpcEndpointZoneMapOutput() VpcEndpointZoneMapOutput ToVpcEndpointZoneMapOutputWithContext(context.Context) VpcEndpointZoneMapOutput }
VpcEndpointZoneMapInput is an input type that accepts VpcEndpointZoneMap and VpcEndpointZoneMapOutput values. You can construct a concrete instance of `VpcEndpointZoneMapInput` via:
VpcEndpointZoneMap{ "key": VpcEndpointZoneArgs{...} }
type VpcEndpointZoneMapOutput ¶
type VpcEndpointZoneMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointZoneMapOutput) ElementType ¶
func (VpcEndpointZoneMapOutput) ElementType() reflect.Type
func (VpcEndpointZoneMapOutput) MapIndex ¶
func (o VpcEndpointZoneMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointZoneOutput
func (VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutput ¶
func (o VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutput() VpcEndpointZoneMapOutput
func (VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutputWithContext ¶
func (o VpcEndpointZoneMapOutput) ToVpcEndpointZoneMapOutputWithContext(ctx context.Context) VpcEndpointZoneMapOutput
type VpcEndpointZoneOutput ¶
type VpcEndpointZoneOutput struct{ *pulumi.OutputState }
func (VpcEndpointZoneOutput) DryRun ¶ added in v3.27.0
func (o VpcEndpointZoneOutput) DryRun() pulumi.BoolPtrOutput
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
func (VpcEndpointZoneOutput) ElementType ¶
func (VpcEndpointZoneOutput) ElementType() reflect.Type
func (VpcEndpointZoneOutput) EndpointId ¶ added in v3.27.0
func (o VpcEndpointZoneOutput) EndpointId() pulumi.StringOutput
The endpoint ID.
func (VpcEndpointZoneOutput) EniIp ¶ added in v3.45.0
func (o VpcEndpointZoneOutput) EniIp() pulumi.StringOutput
The IP address of the endpoint ENI.
func (VpcEndpointZoneOutput) Status ¶ added in v3.27.0
func (o VpcEndpointZoneOutput) Status() pulumi.StringOutput
The state of the zone.
func (VpcEndpointZoneOutput) ToVpcEndpointZoneOutput ¶
func (o VpcEndpointZoneOutput) ToVpcEndpointZoneOutput() VpcEndpointZoneOutput
func (VpcEndpointZoneOutput) ToVpcEndpointZoneOutputWithContext ¶
func (o VpcEndpointZoneOutput) ToVpcEndpointZoneOutputWithContext(ctx context.Context) VpcEndpointZoneOutput
func (VpcEndpointZoneOutput) VswitchId ¶ added in v3.27.0
func (o VpcEndpointZoneOutput) VswitchId() pulumi.StringOutput
The ID of the vSwitch in the zone.
func (VpcEndpointZoneOutput) ZoneId ¶ added in v3.27.0
func (o VpcEndpointZoneOutput) ZoneId() pulumi.StringPtrOutput
The zone ID.
type VpcEndpointZoneState ¶
type VpcEndpointZoneState struct { // Specifies whether to perform only a dry run, without performing the actual request. Valid values: DryRun pulumi.BoolPtrInput // The endpoint ID. EndpointId pulumi.StringPtrInput // The IP address of the endpoint ENI. EniIp pulumi.StringPtrInput // The state of the zone. Status pulumi.StringPtrInput // The ID of the vSwitch in the zone. VswitchId pulumi.StringPtrInput // The zone ID. ZoneId pulumi.StringPtrInput }
func (VpcEndpointZoneState) ElementType ¶
func (VpcEndpointZoneState) ElementType() reflect.Type
Source Files
¶
- getService.go
- getVpcEndpointConnections.go
- getVpcEndpointServiceResources.go
- getVpcEndpointServiceUsers.go
- getVpcEndpointServices.go
- getVpcEndpointZones.go
- getVpcEndpoints.go
- init.go
- pulumiTypes.go
- vpcEndpoint.go
- vpcEndpointService.go
- vpcEndpointServiceConnection.go
- vpcEndpointServiceResource.go
- vpcEndpointServiceUser.go
- vpcEndpointZone.go