Documentation ¶
Index ¶
- type Hub
- type HubArgs
- type HubArray
- type HubArrayInput
- type HubArrayOutput
- type HubInput
- type HubMap
- type HubMapInput
- type HubMapOutput
- type HubOutput
- func (o HubOutput) CreateTime() pulumi.StringOutput
- func (o HubOutput) Description() pulumi.StringPtrOutput
- func (o HubOutput) EffectiveLabels() pulumi.StringMapOutput
- func (HubOutput) ElementType() reflect.Type
- func (o HubOutput) ExportPsc() pulumi.BoolOutput
- func (o HubOutput) Labels() pulumi.StringMapOutput
- func (o HubOutput) Name() pulumi.StringOutput
- func (o HubOutput) Project() pulumi.StringOutput
- func (o HubOutput) PulumiLabels() pulumi.StringMapOutput
- func (o HubOutput) RoutingVpcs() HubRoutingVpcArrayOutput
- func (o HubOutput) State() pulumi.StringOutput
- func (o HubOutput) ToHubOutput() HubOutput
- func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput
- func (o HubOutput) UniqueId() pulumi.StringOutput
- func (o HubOutput) UpdateTime() pulumi.StringOutput
- type HubRoutingVpc
- type HubRoutingVpcArgs
- type HubRoutingVpcArray
- type HubRoutingVpcArrayInput
- type HubRoutingVpcArrayOutput
- func (HubRoutingVpcArrayOutput) ElementType() reflect.Type
- func (o HubRoutingVpcArrayOutput) Index(i pulumi.IntInput) HubRoutingVpcOutput
- func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput
- func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput
- type HubRoutingVpcInput
- type HubRoutingVpcOutput
- type HubState
- type InternalRange
- type InternalRangeArgs
- type InternalRangeArray
- type InternalRangeArrayInput
- type InternalRangeArrayOutput
- func (InternalRangeArrayOutput) ElementType() reflect.Type
- func (o InternalRangeArrayOutput) Index(i pulumi.IntInput) InternalRangeOutput
- func (o InternalRangeArrayOutput) ToInternalRangeArrayOutput() InternalRangeArrayOutput
- func (o InternalRangeArrayOutput) ToInternalRangeArrayOutputWithContext(ctx context.Context) InternalRangeArrayOutput
- type InternalRangeInput
- type InternalRangeMap
- type InternalRangeMapInput
- type InternalRangeMapOutput
- func (InternalRangeMapOutput) ElementType() reflect.Type
- func (o InternalRangeMapOutput) MapIndex(k pulumi.StringInput) InternalRangeOutput
- func (o InternalRangeMapOutput) ToInternalRangeMapOutput() InternalRangeMapOutput
- func (o InternalRangeMapOutput) ToInternalRangeMapOutputWithContext(ctx context.Context) InternalRangeMapOutput
- type InternalRangeOutput
- func (o InternalRangeOutput) Description() pulumi.StringPtrOutput
- func (o InternalRangeOutput) EffectiveLabels() pulumi.StringMapOutput
- func (InternalRangeOutput) ElementType() reflect.Type
- func (o InternalRangeOutput) IpCidrRange() pulumi.StringOutput
- func (o InternalRangeOutput) Labels() pulumi.StringMapOutput
- func (o InternalRangeOutput) Name() pulumi.StringOutput
- func (o InternalRangeOutput) Network() pulumi.StringOutput
- func (o InternalRangeOutput) Overlaps() pulumi.StringArrayOutput
- func (o InternalRangeOutput) Peering() pulumi.StringOutput
- func (o InternalRangeOutput) PrefixLength() pulumi.IntPtrOutput
- func (o InternalRangeOutput) Project() pulumi.StringOutput
- func (o InternalRangeOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InternalRangeOutput) TargetCidrRanges() pulumi.StringArrayOutput
- func (o InternalRangeOutput) ToInternalRangeOutput() InternalRangeOutput
- func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
- func (o InternalRangeOutput) Usage() pulumi.StringOutput
- func (o InternalRangeOutput) Users() pulumi.StringArrayOutput
- type InternalRangeState
- type PolicyBasedRoute
- type PolicyBasedRouteArgs
- type PolicyBasedRouteArray
- type PolicyBasedRouteArrayInput
- type PolicyBasedRouteArrayOutput
- func (PolicyBasedRouteArrayOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteArrayOutput) Index(i pulumi.IntInput) PolicyBasedRouteOutput
- func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput
- func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutputWithContext(ctx context.Context) PolicyBasedRouteArrayOutput
- type PolicyBasedRouteFilter
- type PolicyBasedRouteFilterArgs
- func (PolicyBasedRouteFilterArgs) ElementType() reflect.Type
- func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput
- func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput
- func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
- func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
- type PolicyBasedRouteFilterInput
- type PolicyBasedRouteFilterOutput
- func (o PolicyBasedRouteFilterOutput) DestRange() pulumi.StringPtrOutput
- func (PolicyBasedRouteFilterOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteFilterOutput) IpProtocol() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterOutput) ProtocolVersion() pulumi.StringOutput
- func (o PolicyBasedRouteFilterOutput) SrcRange() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput
- func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput
- func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
- func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
- type PolicyBasedRouteFilterPtrInput
- type PolicyBasedRouteFilterPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) DestRange() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) Elem() PolicyBasedRouteFilterOutput
- func (PolicyBasedRouteFilterPtrOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteFilterPtrOutput) IpProtocol() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) ProtocolVersion() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) SrcRange() pulumi.StringPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
- func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
- type PolicyBasedRouteInput
- type PolicyBasedRouteInterconnectAttachment
- type PolicyBasedRouteInterconnectAttachmentArgs
- func (PolicyBasedRouteInterconnectAttachmentArgs) ElementType() reflect.Type
- func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput
- func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput
- func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
- func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
- type PolicyBasedRouteInterconnectAttachmentInput
- type PolicyBasedRouteInterconnectAttachmentOutput
- func (PolicyBasedRouteInterconnectAttachmentOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteInterconnectAttachmentOutput) Region() pulumi.StringOutput
- func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput
- func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput
- func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
- func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
- type PolicyBasedRouteInterconnectAttachmentPtrInput
- type PolicyBasedRouteInterconnectAttachmentPtrOutput
- func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) Elem() PolicyBasedRouteInterconnectAttachmentOutput
- func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) Region() pulumi.StringPtrOutput
- func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
- func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
- type PolicyBasedRouteMap
- type PolicyBasedRouteMapInput
- type PolicyBasedRouteMapOutput
- func (PolicyBasedRouteMapOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteMapOutput) MapIndex(k pulumi.StringInput) PolicyBasedRouteOutput
- func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput
- func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutputWithContext(ctx context.Context) PolicyBasedRouteMapOutput
- type PolicyBasedRouteOutput
- func (o PolicyBasedRouteOutput) CreateTime() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) Description() pulumi.StringPtrOutput
- func (o PolicyBasedRouteOutput) EffectiveLabels() pulumi.StringMapOutput
- func (PolicyBasedRouteOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteOutput) Filter() PolicyBasedRouteFilterOutput
- func (o PolicyBasedRouteOutput) InterconnectAttachment() PolicyBasedRouteInterconnectAttachmentPtrOutput
- func (o PolicyBasedRouteOutput) Kind() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) Labels() pulumi.StringMapOutput
- func (o PolicyBasedRouteOutput) Name() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) Network() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) NextHopIlbIp() pulumi.StringPtrOutput
- func (o PolicyBasedRouteOutput) NextHopOtherRoutes() pulumi.StringPtrOutput
- func (o PolicyBasedRouteOutput) Priority() pulumi.IntPtrOutput
- func (o PolicyBasedRouteOutput) Project() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) PulumiLabels() pulumi.StringMapOutput
- func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutput() PolicyBasedRouteOutput
- func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput
- func (o PolicyBasedRouteOutput) UpdateTime() pulumi.StringOutput
- func (o PolicyBasedRouteOutput) VirtualMachine() PolicyBasedRouteVirtualMachinePtrOutput
- func (o PolicyBasedRouteOutput) Warnings() PolicyBasedRouteWarningArrayOutput
- type PolicyBasedRouteState
- type PolicyBasedRouteVirtualMachine
- type PolicyBasedRouteVirtualMachineArgs
- func (PolicyBasedRouteVirtualMachineArgs) ElementType() reflect.Type
- func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput
- func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput
- func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
- func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
- type PolicyBasedRouteVirtualMachineInput
- type PolicyBasedRouteVirtualMachineOutput
- func (PolicyBasedRouteVirtualMachineOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteVirtualMachineOutput) Tags() pulumi.StringArrayOutput
- func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput
- func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput
- func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
- func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
- type PolicyBasedRouteVirtualMachinePtrInput
- type PolicyBasedRouteVirtualMachinePtrOutput
- func (o PolicyBasedRouteVirtualMachinePtrOutput) Elem() PolicyBasedRouteVirtualMachineOutput
- func (PolicyBasedRouteVirtualMachinePtrOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteVirtualMachinePtrOutput) Tags() pulumi.StringArrayOutput
- func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
- func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
- type PolicyBasedRouteWarning
- type PolicyBasedRouteWarningArgs
- type PolicyBasedRouteWarningArray
- func (PolicyBasedRouteWarningArray) ElementType() reflect.Type
- func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput
- func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput
- type PolicyBasedRouteWarningArrayInput
- type PolicyBasedRouteWarningArrayOutput
- func (PolicyBasedRouteWarningArrayOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteWarningArrayOutput) Index(i pulumi.IntInput) PolicyBasedRouteWarningOutput
- func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput
- func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput
- type PolicyBasedRouteWarningInput
- type PolicyBasedRouteWarningOutput
- func (o PolicyBasedRouteWarningOutput) Code() pulumi.StringPtrOutput
- func (o PolicyBasedRouteWarningOutput) Data() pulumi.StringMapOutput
- func (PolicyBasedRouteWarningOutput) ElementType() reflect.Type
- func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput
- func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutputWithContext(ctx context.Context) PolicyBasedRouteWarningOutput
- func (o PolicyBasedRouteWarningOutput) WarningMessage() pulumi.StringPtrOutput
- type RegionalEndpoint
- type RegionalEndpointArgs
- type RegionalEndpointArray
- type RegionalEndpointArrayInput
- type RegionalEndpointArrayOutput
- func (RegionalEndpointArrayOutput) ElementType() reflect.Type
- func (o RegionalEndpointArrayOutput) Index(i pulumi.IntInput) RegionalEndpointOutput
- func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput
- func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutputWithContext(ctx context.Context) RegionalEndpointArrayOutput
- type RegionalEndpointInput
- type RegionalEndpointMap
- type RegionalEndpointMapInput
- type RegionalEndpointMapOutput
- func (RegionalEndpointMapOutput) ElementType() reflect.Type
- func (o RegionalEndpointMapOutput) MapIndex(k pulumi.StringInput) RegionalEndpointOutput
- func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutput() RegionalEndpointMapOutput
- func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutputWithContext(ctx context.Context) RegionalEndpointMapOutput
- type RegionalEndpointOutput
- func (o RegionalEndpointOutput) AccessType() pulumi.StringOutput
- func (o RegionalEndpointOutput) Address() pulumi.StringOutput
- func (o RegionalEndpointOutput) CreateTime() pulumi.StringOutput
- func (o RegionalEndpointOutput) Description() pulumi.StringPtrOutput
- func (o RegionalEndpointOutput) EffectiveLabels() pulumi.StringMapOutput
- func (RegionalEndpointOutput) ElementType() reflect.Type
- func (o RegionalEndpointOutput) Labels() pulumi.StringMapOutput
- func (o RegionalEndpointOutput) Location() pulumi.StringOutput
- func (o RegionalEndpointOutput) Name() pulumi.StringOutput
- func (o RegionalEndpointOutput) Network() pulumi.StringOutput
- func (o RegionalEndpointOutput) Project() pulumi.StringOutput
- func (o RegionalEndpointOutput) PscForwardingRule() pulumi.StringOutput
- func (o RegionalEndpointOutput) PulumiLabels() pulumi.StringMapOutput
- func (o RegionalEndpointOutput) Subnetwork() pulumi.StringOutput
- func (o RegionalEndpointOutput) TargetGoogleApi() pulumi.StringOutput
- func (o RegionalEndpointOutput) ToRegionalEndpointOutput() RegionalEndpointOutput
- func (o RegionalEndpointOutput) ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput
- func (o RegionalEndpointOutput) UpdateTime() pulumi.StringOutput
- type RegionalEndpointState
- type ServiceConnectionPolicy
- type ServiceConnectionPolicyArgs
- type ServiceConnectionPolicyArray
- func (ServiceConnectionPolicyArray) ElementType() reflect.Type
- func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput
- func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput
- type ServiceConnectionPolicyArrayInput
- type ServiceConnectionPolicyArrayOutput
- func (ServiceConnectionPolicyArrayOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyArrayOutput) Index(i pulumi.IntInput) ServiceConnectionPolicyOutput
- func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput
- func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput
- type ServiceConnectionPolicyInput
- type ServiceConnectionPolicyMap
- func (ServiceConnectionPolicyMap) ElementType() reflect.Type
- func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput
- func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput
- type ServiceConnectionPolicyMapInput
- type ServiceConnectionPolicyMapOutput
- func (ServiceConnectionPolicyMapOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyMapOutput) MapIndex(k pulumi.StringInput) ServiceConnectionPolicyOutput
- func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput
- func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput
- type ServiceConnectionPolicyOutput
- func (o ServiceConnectionPolicyOutput) CreateTime() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Description() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyOutput) EffectiveLabels() pulumi.StringMapOutput
- func (ServiceConnectionPolicyOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyOutput) Etag() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Infrastructure() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Labels() pulumi.StringMapOutput
- func (o ServiceConnectionPolicyOutput) Location() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Name() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Network() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) Project() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) PscConfig() ServiceConnectionPolicyPscConfigPtrOutput
- func (o ServiceConnectionPolicyOutput) PscConnections() ServiceConnectionPolicyPscConnectionArrayOutput
- func (o ServiceConnectionPolicyOutput) PulumiLabels() pulumi.StringMapOutput
- func (o ServiceConnectionPolicyOutput) ServiceClass() pulumi.StringOutput
- func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput
- func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput
- func (o ServiceConnectionPolicyOutput) UpdateTime() pulumi.StringOutput
- type ServiceConnectionPolicyPscConfig
- type ServiceConnectionPolicyPscConfigArgs
- func (ServiceConnectionPolicyPscConfigArgs) ElementType() reflect.Type
- func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput
- func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput
- func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
- func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
- type ServiceConnectionPolicyPscConfigInput
- type ServiceConnectionPolicyPscConfigOutput
- func (ServiceConnectionPolicyPscConfigOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConfigOutput) Limit() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConfigOutput) Subnetworks() pulumi.StringArrayOutput
- func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput
- func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput
- func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
- func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
- type ServiceConnectionPolicyPscConfigPtrInput
- type ServiceConnectionPolicyPscConfigPtrOutput
- func (o ServiceConnectionPolicyPscConfigPtrOutput) Elem() ServiceConnectionPolicyPscConfigOutput
- func (ServiceConnectionPolicyPscConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConfigPtrOutput) Limit() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConfigPtrOutput) Subnetworks() pulumi.StringArrayOutput
- func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
- func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
- type ServiceConnectionPolicyPscConnection
- type ServiceConnectionPolicyPscConnectionArgs
- func (ServiceConnectionPolicyPscConnectionArgs) ElementType() reflect.Type
- func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput
- func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput
- type ServiceConnectionPolicyPscConnectionArray
- func (ServiceConnectionPolicyPscConnectionArray) ElementType() reflect.Type
- func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput
- func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput
- type ServiceConnectionPolicyPscConnectionArrayInput
- type ServiceConnectionPolicyPscConnectionArrayOutput
- func (ServiceConnectionPolicyPscConnectionArrayOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionArrayOutput) Index(i pulumi.IntInput) ServiceConnectionPolicyPscConnectionOutput
- func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput
- func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput
- type ServiceConnectionPolicyPscConnectionError
- type ServiceConnectionPolicyPscConnectionErrorArgs
- func (ServiceConnectionPolicyPscConnectionErrorArgs) ElementType() reflect.Type
- func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput
- func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput
- func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
- func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
- type ServiceConnectionPolicyPscConnectionErrorInfo
- type ServiceConnectionPolicyPscConnectionErrorInfoArgs
- func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ElementType() reflect.Type
- func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- type ServiceConnectionPolicyPscConnectionErrorInfoInput
- type ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Domain() pulumi.StringPtrOutput
- func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Metadata() pulumi.StringMapOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Reason() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- type ServiceConnectionPolicyPscConnectionErrorInfoPtrInput
- type ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Domain() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Elem() ServiceConnectionPolicyPscConnectionErrorInfoOutput
- func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Metadata() pulumi.StringMapOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Reason() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- type ServiceConnectionPolicyPscConnectionErrorInput
- type ServiceConnectionPolicyPscConnectionErrorOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) Code() pulumi.IntPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) Details() pulumi.StringMapArrayOutput
- func (ServiceConnectionPolicyPscConnectionErrorOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) Message() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
- type ServiceConnectionPolicyPscConnectionErrorPtrInput
- type ServiceConnectionPolicyPscConnectionErrorPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Code() pulumi.IntPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Details() pulumi.StringMapArrayOutput
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Elem() ServiceConnectionPolicyPscConnectionErrorOutput
- func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Message() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
- func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
- type ServiceConnectionPolicyPscConnectionInput
- type ServiceConnectionPolicyPscConnectionOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerAddress() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerForwardingRule() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerTargetProject() pulumi.StringPtrOutput
- func (ServiceConnectionPolicyPscConnectionOutput) ElementType() reflect.Type
- func (o ServiceConnectionPolicyPscConnectionOutput) Error() ServiceConnectionPolicyPscConnectionErrorPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ErrorInfo() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ErrorType() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) GceOperation() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) PscConnectionId() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) State() pulumi.StringPtrOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput
- func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput
- type ServiceConnectionPolicyState
- type Spoke
- type SpokeArgs
- type SpokeArray
- type SpokeArrayInput
- type SpokeArrayOutput
- type SpokeInput
- type SpokeLinkedInterconnectAttachments
- type SpokeLinkedInterconnectAttachmentsArgs
- func (SpokeLinkedInterconnectAttachmentsArgs) ElementType() reflect.Type
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- type SpokeLinkedInterconnectAttachmentsInput
- type SpokeLinkedInterconnectAttachmentsOutput
- func (SpokeLinkedInterconnectAttachmentsOutput) ElementType() reflect.Type
- func (o SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedInterconnectAttachmentsPtrInput
- type SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Elem() SpokeLinkedInterconnectAttachmentsOutput
- func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedRouterApplianceInstances
- type SpokeLinkedRouterApplianceInstancesArgs
- func (SpokeLinkedRouterApplianceInstancesArgs) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedRouterApplianceInstancesInput
- type SpokeLinkedRouterApplianceInstancesInstance
- type SpokeLinkedRouterApplianceInstancesInstanceArgs
- func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
- type SpokeLinkedRouterApplianceInstancesInstanceArray
- func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- type SpokeLinkedRouterApplianceInstancesInstanceArrayInput
- type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) Index(i pulumi.IntInput) SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- type SpokeLinkedRouterApplianceInstancesInstanceInput
- type SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress() pulumi.StringPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
- type SpokeLinkedRouterApplianceInstancesOutput
- func (SpokeLinkedRouterApplianceInstancesOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedRouterApplianceInstancesPtrInput
- type SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Elem() SpokeLinkedRouterApplianceInstancesOutput
- func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedVpcNetwork
- type SpokeLinkedVpcNetworkArgs
- func (SpokeLinkedVpcNetworkArgs) ElementType() reflect.Type
- func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput
- func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput
- func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
- func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
- type SpokeLinkedVpcNetworkInput
- type SpokeLinkedVpcNetworkOutput
- func (SpokeLinkedVpcNetworkOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpcNetworkOutput) ExcludeExportRanges() pulumi.StringArrayOutput
- func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput
- func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput
- func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeLinkedVpcNetworkOutput) Uri() pulumi.StringOutput
- type SpokeLinkedVpcNetworkPtrInput
- type SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeLinkedVpcNetworkPtrOutput) Elem() SpokeLinkedVpcNetworkOutput
- func (SpokeLinkedVpcNetworkPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpcNetworkPtrOutput) ExcludeExportRanges() pulumi.StringArrayOutput
- func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeLinkedVpcNetworkPtrOutput) Uri() pulumi.StringPtrOutput
- type SpokeLinkedVpnTunnels
- type SpokeLinkedVpnTunnelsArgs
- func (SpokeLinkedVpnTunnelsArgs) ElementType() reflect.Type
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- type SpokeLinkedVpnTunnelsInput
- type SpokeLinkedVpnTunnelsOutput
- func (SpokeLinkedVpnTunnelsOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedVpnTunnelsPtrInput
- type SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) Elem() SpokeLinkedVpnTunnelsOutput
- func (SpokeLinkedVpnTunnelsPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) Uris() pulumi.StringArrayOutput
- type SpokeMap
- type SpokeMapInput
- type SpokeMapOutput
- type SpokeOutput
- func (o SpokeOutput) CreateTime() pulumi.StringOutput
- func (o SpokeOutput) Description() pulumi.StringPtrOutput
- func (o SpokeOutput) EffectiveLabels() pulumi.StringMapOutput
- func (SpokeOutput) ElementType() reflect.Type
- func (o SpokeOutput) Hub() pulumi.StringOutput
- func (o SpokeOutput) Labels() pulumi.StringMapOutput
- func (o SpokeOutput) LinkedInterconnectAttachments() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeOutput) LinkedRouterApplianceInstances() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeOutput) LinkedVpcNetwork() SpokeLinkedVpcNetworkPtrOutput
- func (o SpokeOutput) LinkedVpnTunnels() SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeOutput) Location() pulumi.StringOutput
- func (o SpokeOutput) Name() pulumi.StringOutput
- func (o SpokeOutput) Project() pulumi.StringOutput
- func (o SpokeOutput) PulumiLabels() pulumi.StringMapOutput
- func (o SpokeOutput) State() pulumi.StringOutput
- func (o SpokeOutput) ToSpokeOutput() SpokeOutput
- func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
- func (o SpokeOutput) UniqueId() pulumi.StringOutput
- func (o SpokeOutput) UpdateTime() pulumi.StringOutput
- type SpokeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct { pulumi.CustomResourceState // Output only. The time the hub was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // An optional description of the hub. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. ExportPsc pulumi.BoolOutput `pulumi:"exportPsc"` // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` // // *** Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. // Structure is documented below. RoutingVpcs HubRoutingVpcArrayOutput `pulumi:"routingVpcs"` // Output only. The current lifecycle state of this hub. State pulumi.StringOutput `pulumi:"state"` // Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id. UniqueId pulumi.StringOutput `pulumi:"uniqueId"` // Output only. The time the hub was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
The NetworkConnectivity Hub resource
To get more information about Hub, see:
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.global.hubs) * How-to Guides
- [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
## Example Usage
### Network Connectivity Hub Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := networkconnectivity.NewHub(ctx, "primary", &networkconnectivity.HubArgs{ Name: pulumi.String("basic"), Description: pulumi.String("A sample hub"), Labels: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Hub With Export Psc
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := networkconnectivity.NewHub(ctx, "primary", &networkconnectivity.HubArgs{ Name: pulumi.String("basic"), Description: pulumi.String("A sample hub with Private Service Connect transitivity is enabled"), ExportPsc: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Hub can be imported using any of these accepted formats:
* `projects/{{project}}/locations/global/hubs/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, Hub can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/hub:Hub default projects/{{project}}/locations/global/hubs/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/hub:Hub default {{project}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/hub:Hub default {{name}} ```
func GetHub ¶
func GetHub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubState, opts ...pulumi.ResourceOption) (*Hub, error)
GetHub gets an existing Hub 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 NewHub ¶
func NewHub(ctx *pulumi.Context, name string, args *HubArgs, opts ...pulumi.ResourceOption) (*Hub, error)
NewHub registers a new resource with the given unique name, arguments, and options.
func (*Hub) ElementType ¶
func (*Hub) ToHubOutput ¶
type HubArgs ¶
type HubArgs struct { // An optional description of the hub. Description pulumi.StringPtrInput // Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. ExportPsc pulumi.BoolPtrInput // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Hub resource.
func (HubArgs) ElementType ¶
type HubArray ¶
type HubArray []HubInput
func (HubArray) ElementType ¶
func (HubArray) ToHubArrayOutput ¶
func (i HubArray) ToHubArrayOutput() HubArrayOutput
func (HubArray) ToHubArrayOutputWithContext ¶
func (i HubArray) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput
type HubArrayInput ¶
type HubArrayInput interface { pulumi.Input ToHubArrayOutput() HubArrayOutput ToHubArrayOutputWithContext(context.Context) HubArrayOutput }
HubArrayInput is an input type that accepts HubArray and HubArrayOutput values. You can construct a concrete instance of `HubArrayInput` via:
HubArray{ HubArgs{...} }
type HubArrayOutput ¶
type HubArrayOutput struct{ *pulumi.OutputState }
func (HubArrayOutput) ElementType ¶
func (HubArrayOutput) ElementType() reflect.Type
func (HubArrayOutput) ToHubArrayOutput ¶
func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput
func (HubArrayOutput) ToHubArrayOutputWithContext ¶
func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput
type HubMap ¶
func (HubMap) ElementType ¶
func (HubMap) ToHubMapOutput ¶
func (i HubMap) ToHubMapOutput() HubMapOutput
func (HubMap) ToHubMapOutputWithContext ¶
func (i HubMap) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput
type HubMapInput ¶
type HubMapInput interface { pulumi.Input ToHubMapOutput() HubMapOutput ToHubMapOutputWithContext(context.Context) HubMapOutput }
HubMapInput is an input type that accepts HubMap and HubMapOutput values. You can construct a concrete instance of `HubMapInput` via:
HubMap{ "key": HubArgs{...} }
type HubMapOutput ¶
type HubMapOutput struct{ *pulumi.OutputState }
func (HubMapOutput) ElementType ¶
func (HubMapOutput) ElementType() reflect.Type
func (HubMapOutput) MapIndex ¶
func (o HubMapOutput) MapIndex(k pulumi.StringInput) HubOutput
func (HubMapOutput) ToHubMapOutput ¶
func (o HubMapOutput) ToHubMapOutput() HubMapOutput
func (HubMapOutput) ToHubMapOutputWithContext ¶
func (o HubMapOutput) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput
type HubOutput ¶
type HubOutput struct{ *pulumi.OutputState }
func (HubOutput) CreateTime ¶
func (o HubOutput) CreateTime() pulumi.StringOutput
Output only. The time the hub was created.
func (HubOutput) Description ¶
func (o HubOutput) Description() pulumi.StringPtrOutput
An optional description of the hub.
func (HubOutput) EffectiveLabels ¶
func (o HubOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (HubOutput) ElementType ¶
func (HubOutput) ExportPsc ¶
func (o HubOutput) ExportPsc() pulumi.BoolOutput
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
func (HubOutput) Labels ¶
func (o HubOutput) Labels() pulumi.StringMapOutput
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (HubOutput) Name ¶
func (o HubOutput) Name() pulumi.StringOutput
Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
***
func (HubOutput) Project ¶
func (o HubOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (HubOutput) PulumiLabels ¶
func (o HubOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (HubOutput) RoutingVpcs ¶
func (o HubOutput) RoutingVpcs() HubRoutingVpcArrayOutput
The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. Structure is documented below.
func (HubOutput) State ¶
func (o HubOutput) State() pulumi.StringOutput
Output only. The current lifecycle state of this hub.
func (HubOutput) ToHubOutput ¶
func (HubOutput) ToHubOutputWithContext ¶
func (HubOutput) UniqueId ¶
func (o HubOutput) UniqueId() pulumi.StringOutput
Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
func (HubOutput) UpdateTime ¶
func (o HubOutput) UpdateTime() pulumi.StringOutput
Output only. The time the hub was last updated.
type HubRoutingVpc ¶
type HubRoutingVpc struct { // The URI of the VPC network. Uri *string `pulumi:"uri"` }
type HubRoutingVpcArgs ¶
type HubRoutingVpcArgs struct { // The URI of the VPC network. Uri pulumi.StringPtrInput `pulumi:"uri"` }
func (HubRoutingVpcArgs) ElementType ¶
func (HubRoutingVpcArgs) ElementType() reflect.Type
func (HubRoutingVpcArgs) ToHubRoutingVpcOutput ¶
func (i HubRoutingVpcArgs) ToHubRoutingVpcOutput() HubRoutingVpcOutput
func (HubRoutingVpcArgs) ToHubRoutingVpcOutputWithContext ¶
func (i HubRoutingVpcArgs) ToHubRoutingVpcOutputWithContext(ctx context.Context) HubRoutingVpcOutput
type HubRoutingVpcArray ¶
type HubRoutingVpcArray []HubRoutingVpcInput
func (HubRoutingVpcArray) ElementType ¶
func (HubRoutingVpcArray) ElementType() reflect.Type
func (HubRoutingVpcArray) ToHubRoutingVpcArrayOutput ¶
func (i HubRoutingVpcArray) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput
func (HubRoutingVpcArray) ToHubRoutingVpcArrayOutputWithContext ¶
func (i HubRoutingVpcArray) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput
type HubRoutingVpcArrayInput ¶
type HubRoutingVpcArrayInput interface { pulumi.Input ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput ToHubRoutingVpcArrayOutputWithContext(context.Context) HubRoutingVpcArrayOutput }
HubRoutingVpcArrayInput is an input type that accepts HubRoutingVpcArray and HubRoutingVpcArrayOutput values. You can construct a concrete instance of `HubRoutingVpcArrayInput` via:
HubRoutingVpcArray{ HubRoutingVpcArgs{...} }
type HubRoutingVpcArrayOutput ¶
type HubRoutingVpcArrayOutput struct{ *pulumi.OutputState }
func (HubRoutingVpcArrayOutput) ElementType ¶
func (HubRoutingVpcArrayOutput) ElementType() reflect.Type
func (HubRoutingVpcArrayOutput) Index ¶
func (o HubRoutingVpcArrayOutput) Index(i pulumi.IntInput) HubRoutingVpcOutput
func (HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput ¶
func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput
func (HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext ¶
func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput
type HubRoutingVpcInput ¶
type HubRoutingVpcInput interface { pulumi.Input ToHubRoutingVpcOutput() HubRoutingVpcOutput ToHubRoutingVpcOutputWithContext(context.Context) HubRoutingVpcOutput }
HubRoutingVpcInput is an input type that accepts HubRoutingVpcArgs and HubRoutingVpcOutput values. You can construct a concrete instance of `HubRoutingVpcInput` via:
HubRoutingVpcArgs{...}
type HubRoutingVpcOutput ¶
type HubRoutingVpcOutput struct{ *pulumi.OutputState }
func (HubRoutingVpcOutput) ElementType ¶
func (HubRoutingVpcOutput) ElementType() reflect.Type
func (HubRoutingVpcOutput) ToHubRoutingVpcOutput ¶
func (o HubRoutingVpcOutput) ToHubRoutingVpcOutput() HubRoutingVpcOutput
func (HubRoutingVpcOutput) ToHubRoutingVpcOutputWithContext ¶
func (o HubRoutingVpcOutput) ToHubRoutingVpcOutputWithContext(ctx context.Context) HubRoutingVpcOutput
func (HubRoutingVpcOutput) Uri ¶
func (o HubRoutingVpcOutput) Uri() pulumi.StringPtrOutput
The URI of the VPC network.
type HubState ¶
type HubState struct { // Output only. The time the hub was created. CreateTime pulumi.StringPtrInput // An optional description of the hub. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. ExportPsc pulumi.BoolPtrInput // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. // Structure is documented below. RoutingVpcs HubRoutingVpcArrayInput // Output only. The current lifecycle state of this hub. State pulumi.StringPtrInput // Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id. UniqueId pulumi.StringPtrInput // Output only. The time the hub was last updated. UpdateTime pulumi.StringPtrInput }
func (HubState) ElementType ¶
type InternalRange ¶
type InternalRange struct { pulumi.CustomResourceState // An optional description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // The IP range that this internal range defines. IpCidrRange pulumi.StringOutput `pulumi:"ipCidrRange"` // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The name of the policy based route. Name pulumi.StringOutput `pulumi:"name"` // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringOutput `pulumi:"network"` // Optional. Types of resources that are allowed to overlap with the current internal range. // Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`. Overlaps pulumi.StringArrayOutput `pulumi:"overlaps"` // The type of peering set for this internal range. // Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`. // // *** Peering pulumi.StringOutput `pulumi:"peering"` // An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. // If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength pulumi.IntPtrOutput `pulumi:"prefixLength"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Optional. Can be set to narrow down or pick a different address space while searching for a free range. // If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRanges pulumi.StringArrayOutput `pulumi:"targetCidrRanges"` // The type of usage set for this InternalRange. // Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`. Usage pulumi.StringOutput `pulumi:"usage"` // Output only. The list of resources that refer to this internal range. // Resources that use the internal range for their range allocation are referred to as users of the range. // Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty. Users pulumi.StringArrayOutput `pulumi:"users"` }
The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
To get more information about InternalRange, see:
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.internalRanges) * How-to Guides
- [Use internal ranges](https://cloud.google.com/vpc/docs/create-use-internal-ranges)
## Example Usage
### Network Connectivity Internal Ranges Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("internal-ranges"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } _, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{ Name: pulumi.String("basic"), Description: pulumi.String("Test internal range"), Network: defaultNetwork.SelfLink, Usage: pulumi.String("FOR_VPC"), Peering: pulumi.String("FOR_SELF"), IpCidrRange: pulumi.String("10.0.0.0/24"), Labels: pulumi.StringMap{ "label-a": pulumi.String("b"), }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Internal Ranges Automatic Reservation
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("internal-ranges"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } _, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{ Name: pulumi.String("automatic-reservation"), Network: defaultNetwork.ID(), Usage: pulumi.String("FOR_VPC"), Peering: pulumi.String("FOR_SELF"), PrefixLength: pulumi.Int(24), TargetCidrRanges: pulumi.StringArray{ pulumi.String("192.16.0.0/16"), }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Internal Ranges External Ranges
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("internal-ranges"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } _, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{ Name: pulumi.String("external-ranges"), Network: defaultNetwork.ID(), Usage: pulumi.String("EXTERNAL_TO_VPC"), Peering: pulumi.String("FOR_SELF"), IpCidrRange: pulumi.String("172.16.0.0/24"), Labels: pulumi.StringMap{ "external-reserved-range": pulumi.String("on-premises"), }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Internal Ranges Reserve With Overlap
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("internal-ranges"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("overlapping-subnet"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: defaultNetwork.ID(), }) if err != nil { return err } _, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{ Name: pulumi.String("overlap-range"), Description: pulumi.String("Test internal range"), Network: defaultNetwork.ID(), Usage: pulumi.String("FOR_VPC"), Peering: pulumi.String("FOR_SELF"), IpCidrRange: pulumi.String("10.0.0.0/30"), Overlaps: pulumi.StringArray{ pulumi.String("OVERLAP_EXISTING_SUBNET_RANGE"), }, }, pulumi.DependsOn([]pulumi.Resource{ defaultSubnetwork, })) if err != nil { return err } return nil }) }
```
## Import
InternalRange can be imported using any of these accepted formats:
* `projects/{{project}}/locations/global/internalRanges/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, InternalRange can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default projects/{{project}}/locations/global/internalRanges/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default {{project}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default {{name}} ```
func GetInternalRange ¶
func GetInternalRange(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternalRangeState, opts ...pulumi.ResourceOption) (*InternalRange, error)
GetInternalRange gets an existing InternalRange 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 NewInternalRange ¶
func NewInternalRange(ctx *pulumi.Context, name string, args *InternalRangeArgs, opts ...pulumi.ResourceOption) (*InternalRange, error)
NewInternalRange registers a new resource with the given unique name, arguments, and options.
func (*InternalRange) ElementType ¶
func (*InternalRange) ElementType() reflect.Type
func (*InternalRange) ToInternalRangeOutput ¶
func (i *InternalRange) ToInternalRangeOutput() InternalRangeOutput
func (*InternalRange) ToInternalRangeOutputWithContext ¶
func (i *InternalRange) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
type InternalRangeArgs ¶
type InternalRangeArgs struct { // An optional description of this resource. Description pulumi.StringPtrInput // The IP range that this internal range defines. IpCidrRange pulumi.StringPtrInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The name of the policy based route. Name pulumi.StringPtrInput // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringInput // Optional. Types of resources that are allowed to overlap with the current internal range. // Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`. Overlaps pulumi.StringArrayInput // The type of peering set for this internal range. // Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`. // // *** Peering pulumi.StringInput // An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. // If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Optional. Can be set to narrow down or pick a different address space while searching for a free range. // If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRanges pulumi.StringArrayInput // The type of usage set for this InternalRange. // Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`. Usage pulumi.StringInput }
The set of arguments for constructing a InternalRange resource.
func (InternalRangeArgs) ElementType ¶
func (InternalRangeArgs) ElementType() reflect.Type
type InternalRangeArray ¶
type InternalRangeArray []InternalRangeInput
func (InternalRangeArray) ElementType ¶
func (InternalRangeArray) ElementType() reflect.Type
func (InternalRangeArray) ToInternalRangeArrayOutput ¶
func (i InternalRangeArray) ToInternalRangeArrayOutput() InternalRangeArrayOutput
func (InternalRangeArray) ToInternalRangeArrayOutputWithContext ¶
func (i InternalRangeArray) ToInternalRangeArrayOutputWithContext(ctx context.Context) InternalRangeArrayOutput
type InternalRangeArrayInput ¶
type InternalRangeArrayInput interface { pulumi.Input ToInternalRangeArrayOutput() InternalRangeArrayOutput ToInternalRangeArrayOutputWithContext(context.Context) InternalRangeArrayOutput }
InternalRangeArrayInput is an input type that accepts InternalRangeArray and InternalRangeArrayOutput values. You can construct a concrete instance of `InternalRangeArrayInput` via:
InternalRangeArray{ InternalRangeArgs{...} }
type InternalRangeArrayOutput ¶
type InternalRangeArrayOutput struct{ *pulumi.OutputState }
func (InternalRangeArrayOutput) ElementType ¶
func (InternalRangeArrayOutput) ElementType() reflect.Type
func (InternalRangeArrayOutput) Index ¶
func (o InternalRangeArrayOutput) Index(i pulumi.IntInput) InternalRangeOutput
func (InternalRangeArrayOutput) ToInternalRangeArrayOutput ¶
func (o InternalRangeArrayOutput) ToInternalRangeArrayOutput() InternalRangeArrayOutput
func (InternalRangeArrayOutput) ToInternalRangeArrayOutputWithContext ¶
func (o InternalRangeArrayOutput) ToInternalRangeArrayOutputWithContext(ctx context.Context) InternalRangeArrayOutput
type InternalRangeInput ¶
type InternalRangeInput interface { pulumi.Input ToInternalRangeOutput() InternalRangeOutput ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput }
type InternalRangeMap ¶
type InternalRangeMap map[string]InternalRangeInput
func (InternalRangeMap) ElementType ¶
func (InternalRangeMap) ElementType() reflect.Type
func (InternalRangeMap) ToInternalRangeMapOutput ¶
func (i InternalRangeMap) ToInternalRangeMapOutput() InternalRangeMapOutput
func (InternalRangeMap) ToInternalRangeMapOutputWithContext ¶
func (i InternalRangeMap) ToInternalRangeMapOutputWithContext(ctx context.Context) InternalRangeMapOutput
type InternalRangeMapInput ¶
type InternalRangeMapInput interface { pulumi.Input ToInternalRangeMapOutput() InternalRangeMapOutput ToInternalRangeMapOutputWithContext(context.Context) InternalRangeMapOutput }
InternalRangeMapInput is an input type that accepts InternalRangeMap and InternalRangeMapOutput values. You can construct a concrete instance of `InternalRangeMapInput` via:
InternalRangeMap{ "key": InternalRangeArgs{...} }
type InternalRangeMapOutput ¶
type InternalRangeMapOutput struct{ *pulumi.OutputState }
func (InternalRangeMapOutput) ElementType ¶
func (InternalRangeMapOutput) ElementType() reflect.Type
func (InternalRangeMapOutput) MapIndex ¶
func (o InternalRangeMapOutput) MapIndex(k pulumi.StringInput) InternalRangeOutput
func (InternalRangeMapOutput) ToInternalRangeMapOutput ¶
func (o InternalRangeMapOutput) ToInternalRangeMapOutput() InternalRangeMapOutput
func (InternalRangeMapOutput) ToInternalRangeMapOutputWithContext ¶
func (o InternalRangeMapOutput) ToInternalRangeMapOutputWithContext(ctx context.Context) InternalRangeMapOutput
type InternalRangeOutput ¶
type InternalRangeOutput struct{ *pulumi.OutputState }
func (InternalRangeOutput) Description ¶
func (o InternalRangeOutput) Description() pulumi.StringPtrOutput
An optional description of this resource.
func (InternalRangeOutput) EffectiveLabels ¶
func (o InternalRangeOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (InternalRangeOutput) ElementType ¶
func (InternalRangeOutput) ElementType() reflect.Type
func (InternalRangeOutput) IpCidrRange ¶
func (o InternalRangeOutput) IpCidrRange() pulumi.StringOutput
The IP range that this internal range defines.
func (InternalRangeOutput) Labels ¶
func (o InternalRangeOutput) Labels() pulumi.StringMapOutput
User-defined labels.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (InternalRangeOutput) Name ¶
func (o InternalRangeOutput) Name() pulumi.StringOutput
The name of the policy based route.
func (InternalRangeOutput) Network ¶
func (o InternalRangeOutput) Network() pulumi.StringOutput
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
func (InternalRangeOutput) Overlaps ¶
func (o InternalRangeOutput) Overlaps() pulumi.StringArrayOutput
Optional. Types of resources that are allowed to overlap with the current internal range. Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.
func (InternalRangeOutput) Peering ¶
func (o InternalRangeOutput) Peering() pulumi.StringOutput
The type of peering set for this internal range. Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`.
***
func (InternalRangeOutput) PrefixLength ¶
func (o InternalRangeOutput) PrefixLength() pulumi.IntPtrOutput
An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
func (InternalRangeOutput) Project ¶
func (o InternalRangeOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InternalRangeOutput) PulumiLabels ¶
func (o InternalRangeOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InternalRangeOutput) TargetCidrRanges ¶
func (o InternalRangeOutput) TargetCidrRanges() pulumi.StringArrayOutput
Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
func (InternalRangeOutput) ToInternalRangeOutput ¶
func (o InternalRangeOutput) ToInternalRangeOutput() InternalRangeOutput
func (InternalRangeOutput) ToInternalRangeOutputWithContext ¶
func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
func (InternalRangeOutput) Usage ¶
func (o InternalRangeOutput) Usage() pulumi.StringOutput
The type of usage set for this InternalRange. Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
func (InternalRangeOutput) Users ¶
func (o InternalRangeOutput) Users() pulumi.StringArrayOutput
Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
type InternalRangeState ¶
type InternalRangeState struct { // An optional description of this resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // The IP range that this internal range defines. IpCidrRange pulumi.StringPtrInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The name of the policy based route. Name pulumi.StringPtrInput // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringPtrInput // Optional. Types of resources that are allowed to overlap with the current internal range. // Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`. Overlaps pulumi.StringArrayInput // The type of peering set for this internal range. // Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`. // // *** Peering pulumi.StringPtrInput // An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. // If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Optional. Can be set to narrow down or pick a different address space while searching for a free range. // If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRanges pulumi.StringArrayInput // The type of usage set for this InternalRange. // Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`. Usage pulumi.StringPtrInput // Output only. The list of resources that refer to this internal range. // Resources that use the internal range for their range allocation are referred to as users of the range. // Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty. Users pulumi.StringArrayInput }
func (InternalRangeState) ElementType ¶
func (InternalRangeState) ElementType() reflect.Type
type PolicyBasedRoute ¶
type PolicyBasedRoute struct { pulumi.CustomResourceState // Time when the policy-based route was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // An optional description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // The filter to match L4 traffic. // Structure is documented below. Filter PolicyBasedRouteFilterOutput `pulumi:"filter"` // The interconnect attachments that this policy-based route applies to. InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrOutput `pulumi:"interconnectAttachment"` // Type of this resource. Kind pulumi.StringOutput `pulumi:"kind"` // User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your // configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The name of the policy based route. Name pulumi.StringOutput `pulumi:"name"` // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringOutput `pulumi:"network"` // The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. NextHopIlbIp pulumi.StringPtrOutput `pulumi:"nextHopIlbIp"` // Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"] NextHopOtherRoutes pulumi.StringPtrOutput `pulumi:"nextHopOtherRoutes"` // The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching // policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered // priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. Priority pulumi.IntPtrOutput `pulumi:"priority"` Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Time when the policy-based route was created. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // VM instances to which this policy-based route applies to. VirtualMachine PolicyBasedRouteVirtualMachinePtrOutput `pulumi:"virtualMachine"` // If potential misconfigurations are detected for this route, this field will be populated with warning messages. // Structure is documented below. Warnings PolicyBasedRouteWarningArrayOutput `pulumi:"warnings"` }
Policy-based Routes are more powerful routes that route L4 network traffic based on not just destination IP, but also source IP, protocol and more. A Policy-based Route always take precedence when it conflicts with other types of routes.
To get more information about PolicyBasedRoute, see:
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.global.policyBasedRoutes) * How-to Guides
- [Use policy-based routes](https://cloud.google.com/vpc/docs/use-policy-based-routes#api)
## Example Usage
### Network Connectivity Policy Based Route Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{ Name: pulumi.String("my-network"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } _, err = networkconnectivity.NewPolicyBasedRoute(ctx, "default", &networkconnectivity.PolicyBasedRouteArgs{ Name: pulumi.String("my-pbr"), Network: myNetwork.ID(), Filter: &networkconnectivity.PolicyBasedRouteFilterArgs{ ProtocolVersion: pulumi.String("IPV4"), }, NextHopOtherRoutes: pulumi.String("DEFAULT_ROUTING"), }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Policy Based Route Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{ Name: pulumi.String("my-network"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } // This example substitutes an arbitrary internal IP for an internal network // load balancer for brevity. Consult https://cloud.google.com/load-balancing/docs/internal // to set one up. ilb, err := compute.NewGlobalAddress(ctx, "ilb", &compute.GlobalAddressArgs{ Name: pulumi.String("my-ilb"), }) if err != nil { return err } _, err = networkconnectivity.NewPolicyBasedRoute(ctx, "default", &networkconnectivity.PolicyBasedRouteArgs{ Name: pulumi.String("my-pbr"), Description: pulumi.String("My routing policy"), Network: myNetwork.ID(), Priority: pulumi.Int(2302), Filter: &networkconnectivity.PolicyBasedRouteFilterArgs{ ProtocolVersion: pulumi.String("IPV4"), IpProtocol: pulumi.String("UDP"), SrcRange: pulumi.String("10.0.0.0/24"), DestRange: pulumi.String("0.0.0.0/0"), }, NextHopIlbIp: ilb.Address, VirtualMachine: &networkconnectivity.PolicyBasedRouteVirtualMachineArgs{ Tags: pulumi.StringArray{ pulumi.String("restricted"), }, }, Labels: pulumi.StringMap{ "env": pulumi.String("default"), }, }) if err != nil { return err } return nil }) }
```
## Import
PolicyBasedRoute can be imported using any of these accepted formats:
* `projects/{{project}}/locations/global/policyBasedRoutes/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, PolicyBasedRoute can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default projects/{{project}}/locations/global/policyBasedRoutes/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{project}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{name}} ```
func GetPolicyBasedRoute ¶
func GetPolicyBasedRoute(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyBasedRouteState, opts ...pulumi.ResourceOption) (*PolicyBasedRoute, error)
GetPolicyBasedRoute gets an existing PolicyBasedRoute 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 NewPolicyBasedRoute ¶
func NewPolicyBasedRoute(ctx *pulumi.Context, name string, args *PolicyBasedRouteArgs, opts ...pulumi.ResourceOption) (*PolicyBasedRoute, error)
NewPolicyBasedRoute registers a new resource with the given unique name, arguments, and options.
func (*PolicyBasedRoute) ElementType ¶
func (*PolicyBasedRoute) ElementType() reflect.Type
func (*PolicyBasedRoute) ToPolicyBasedRouteOutput ¶
func (i *PolicyBasedRoute) ToPolicyBasedRouteOutput() PolicyBasedRouteOutput
func (*PolicyBasedRoute) ToPolicyBasedRouteOutputWithContext ¶
func (i *PolicyBasedRoute) ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput
type PolicyBasedRouteArgs ¶
type PolicyBasedRouteArgs struct { // An optional description of this resource. Description pulumi.StringPtrInput // The filter to match L4 traffic. // Structure is documented below. Filter PolicyBasedRouteFilterInput // The interconnect attachments that this policy-based route applies to. InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrInput // User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your // configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput // The name of the policy based route. Name pulumi.StringPtrInput // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringInput // The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. NextHopIlbIp pulumi.StringPtrInput // Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"] NextHopOtherRoutes pulumi.StringPtrInput // The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching // policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered // priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. Priority pulumi.IntPtrInput Project pulumi.StringPtrInput // VM instances to which this policy-based route applies to. VirtualMachine PolicyBasedRouteVirtualMachinePtrInput }
The set of arguments for constructing a PolicyBasedRoute resource.
func (PolicyBasedRouteArgs) ElementType ¶
func (PolicyBasedRouteArgs) ElementType() reflect.Type
type PolicyBasedRouteArray ¶
type PolicyBasedRouteArray []PolicyBasedRouteInput
func (PolicyBasedRouteArray) ElementType ¶
func (PolicyBasedRouteArray) ElementType() reflect.Type
func (PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutput ¶
func (i PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput
func (PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutputWithContext ¶
func (i PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutputWithContext(ctx context.Context) PolicyBasedRouteArrayOutput
type PolicyBasedRouteArrayInput ¶
type PolicyBasedRouteArrayInput interface { pulumi.Input ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput ToPolicyBasedRouteArrayOutputWithContext(context.Context) PolicyBasedRouteArrayOutput }
PolicyBasedRouteArrayInput is an input type that accepts PolicyBasedRouteArray and PolicyBasedRouteArrayOutput values. You can construct a concrete instance of `PolicyBasedRouteArrayInput` via:
PolicyBasedRouteArray{ PolicyBasedRouteArgs{...} }
type PolicyBasedRouteArrayOutput ¶
type PolicyBasedRouteArrayOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteArrayOutput) ElementType ¶
func (PolicyBasedRouteArrayOutput) ElementType() reflect.Type
func (PolicyBasedRouteArrayOutput) Index ¶
func (o PolicyBasedRouteArrayOutput) Index(i pulumi.IntInput) PolicyBasedRouteOutput
func (PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutput ¶
func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput
func (PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutputWithContext ¶
func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutputWithContext(ctx context.Context) PolicyBasedRouteArrayOutput
type PolicyBasedRouteFilter ¶
type PolicyBasedRouteFilter struct { // The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. // // *** DestRange *string `pulumi:"destRange"` // The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'. IpProtocol *string `pulumi:"ipProtocol"` // Internet protocol versions this policy-based route applies to. // Possible values are: `IPV4`. ProtocolVersion string `pulumi:"protocolVersion"` // The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. SrcRange *string `pulumi:"srcRange"` }
type PolicyBasedRouteFilterArgs ¶
type PolicyBasedRouteFilterArgs struct { // The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. // // *** DestRange pulumi.StringPtrInput `pulumi:"destRange"` // The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'. IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` // Internet protocol versions this policy-based route applies to. // Possible values are: `IPV4`. ProtocolVersion pulumi.StringInput `pulumi:"protocolVersion"` // The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. SrcRange pulumi.StringPtrInput `pulumi:"srcRange"` }
func (PolicyBasedRouteFilterArgs) ElementType ¶
func (PolicyBasedRouteFilterArgs) ElementType() reflect.Type
func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutput ¶
func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput
func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutputWithContext ¶
func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput
func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutput ¶
func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutputWithContext ¶
func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
type PolicyBasedRouteFilterInput ¶
type PolicyBasedRouteFilterInput interface { pulumi.Input ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput ToPolicyBasedRouteFilterOutputWithContext(context.Context) PolicyBasedRouteFilterOutput }
PolicyBasedRouteFilterInput is an input type that accepts PolicyBasedRouteFilterArgs and PolicyBasedRouteFilterOutput values. You can construct a concrete instance of `PolicyBasedRouteFilterInput` via:
PolicyBasedRouteFilterArgs{...}
type PolicyBasedRouteFilterOutput ¶
type PolicyBasedRouteFilterOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteFilterOutput) DestRange ¶
func (o PolicyBasedRouteFilterOutput) DestRange() pulumi.StringPtrOutput
The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
***
func (PolicyBasedRouteFilterOutput) ElementType ¶
func (PolicyBasedRouteFilterOutput) ElementType() reflect.Type
func (PolicyBasedRouteFilterOutput) IpProtocol ¶
func (o PolicyBasedRouteFilterOutput) IpProtocol() pulumi.StringPtrOutput
The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
func (PolicyBasedRouteFilterOutput) ProtocolVersion ¶
func (o PolicyBasedRouteFilterOutput) ProtocolVersion() pulumi.StringOutput
Internet protocol versions this policy-based route applies to. Possible values are: `IPV4`.
func (PolicyBasedRouteFilterOutput) SrcRange ¶
func (o PolicyBasedRouteFilterOutput) SrcRange() pulumi.StringPtrOutput
The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutput ¶
func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput
func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutputWithContext ¶
func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput
func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutput ¶
func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutputWithContext ¶
func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
type PolicyBasedRouteFilterPtrInput ¶
type PolicyBasedRouteFilterPtrInput interface { pulumi.Input ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput ToPolicyBasedRouteFilterPtrOutputWithContext(context.Context) PolicyBasedRouteFilterPtrOutput }
PolicyBasedRouteFilterPtrInput is an input type that accepts PolicyBasedRouteFilterArgs, PolicyBasedRouteFilterPtr and PolicyBasedRouteFilterPtrOutput values. You can construct a concrete instance of `PolicyBasedRouteFilterPtrInput` via:
PolicyBasedRouteFilterArgs{...} or: nil
func PolicyBasedRouteFilterPtr ¶
func PolicyBasedRouteFilterPtr(v *PolicyBasedRouteFilterArgs) PolicyBasedRouteFilterPtrInput
type PolicyBasedRouteFilterPtrOutput ¶
type PolicyBasedRouteFilterPtrOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteFilterPtrOutput) DestRange ¶
func (o PolicyBasedRouteFilterPtrOutput) DestRange() pulumi.StringPtrOutput
The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
***
func (PolicyBasedRouteFilterPtrOutput) Elem ¶
func (o PolicyBasedRouteFilterPtrOutput) Elem() PolicyBasedRouteFilterOutput
func (PolicyBasedRouteFilterPtrOutput) ElementType ¶
func (PolicyBasedRouteFilterPtrOutput) ElementType() reflect.Type
func (PolicyBasedRouteFilterPtrOutput) IpProtocol ¶
func (o PolicyBasedRouteFilterPtrOutput) IpProtocol() pulumi.StringPtrOutput
The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
func (PolicyBasedRouteFilterPtrOutput) ProtocolVersion ¶
func (o PolicyBasedRouteFilterPtrOutput) ProtocolVersion() pulumi.StringPtrOutput
Internet protocol versions this policy-based route applies to. Possible values are: `IPV4`.
func (PolicyBasedRouteFilterPtrOutput) SrcRange ¶
func (o PolicyBasedRouteFilterPtrOutput) SrcRange() pulumi.StringPtrOutput
The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
func (PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutput ¶
func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
func (PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutputWithContext ¶
func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput
type PolicyBasedRouteInput ¶
type PolicyBasedRouteInput interface { pulumi.Input ToPolicyBasedRouteOutput() PolicyBasedRouteOutput ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput }
type PolicyBasedRouteInterconnectAttachment ¶
type PolicyBasedRouteInterconnectAttachment struct { // Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments. Region string `pulumi:"region"` }
type PolicyBasedRouteInterconnectAttachmentArgs ¶
type PolicyBasedRouteInterconnectAttachmentArgs struct { // Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments. Region pulumi.StringInput `pulumi:"region"` }
func (PolicyBasedRouteInterconnectAttachmentArgs) ElementType ¶
func (PolicyBasedRouteInterconnectAttachmentArgs) ElementType() reflect.Type
func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutput ¶
func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput
func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext ¶
func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput
func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutput ¶
func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext ¶
func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
type PolicyBasedRouteInterconnectAttachmentInput ¶
type PolicyBasedRouteInterconnectAttachmentInput interface { pulumi.Input ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(context.Context) PolicyBasedRouteInterconnectAttachmentOutput }
PolicyBasedRouteInterconnectAttachmentInput is an input type that accepts PolicyBasedRouteInterconnectAttachmentArgs and PolicyBasedRouteInterconnectAttachmentOutput values. You can construct a concrete instance of `PolicyBasedRouteInterconnectAttachmentInput` via:
PolicyBasedRouteInterconnectAttachmentArgs{...}
type PolicyBasedRouteInterconnectAttachmentOutput ¶
type PolicyBasedRouteInterconnectAttachmentOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteInterconnectAttachmentOutput) ElementType ¶
func (PolicyBasedRouteInterconnectAttachmentOutput) ElementType() reflect.Type
func (PolicyBasedRouteInterconnectAttachmentOutput) Region ¶
func (o PolicyBasedRouteInterconnectAttachmentOutput) Region() pulumi.StringOutput
Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.
func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutput ¶
func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput
func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext ¶
func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput
func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput ¶
func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext ¶
func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
type PolicyBasedRouteInterconnectAttachmentPtrInput ¶
type PolicyBasedRouteInterconnectAttachmentPtrInput interface { pulumi.Input ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput }
PolicyBasedRouteInterconnectAttachmentPtrInput is an input type that accepts PolicyBasedRouteInterconnectAttachmentArgs, PolicyBasedRouteInterconnectAttachmentPtr and PolicyBasedRouteInterconnectAttachmentPtrOutput values. You can construct a concrete instance of `PolicyBasedRouteInterconnectAttachmentPtrInput` via:
PolicyBasedRouteInterconnectAttachmentArgs{...} or: nil
func PolicyBasedRouteInterconnectAttachmentPtr ¶
func PolicyBasedRouteInterconnectAttachmentPtr(v *PolicyBasedRouteInterconnectAttachmentArgs) PolicyBasedRouteInterconnectAttachmentPtrInput
type PolicyBasedRouteInterconnectAttachmentPtrOutput ¶
type PolicyBasedRouteInterconnectAttachmentPtrOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ElementType ¶
func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ElementType() reflect.Type
func (PolicyBasedRouteInterconnectAttachmentPtrOutput) Region ¶
func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) Region() pulumi.StringPtrOutput
Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.
func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput ¶
func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext ¶
func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
type PolicyBasedRouteMap ¶
type PolicyBasedRouteMap map[string]PolicyBasedRouteInput
func (PolicyBasedRouteMap) ElementType ¶
func (PolicyBasedRouteMap) ElementType() reflect.Type
func (PolicyBasedRouteMap) ToPolicyBasedRouteMapOutput ¶
func (i PolicyBasedRouteMap) ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput
func (PolicyBasedRouteMap) ToPolicyBasedRouteMapOutputWithContext ¶
func (i PolicyBasedRouteMap) ToPolicyBasedRouteMapOutputWithContext(ctx context.Context) PolicyBasedRouteMapOutput
type PolicyBasedRouteMapInput ¶
type PolicyBasedRouteMapInput interface { pulumi.Input ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput ToPolicyBasedRouteMapOutputWithContext(context.Context) PolicyBasedRouteMapOutput }
PolicyBasedRouteMapInput is an input type that accepts PolicyBasedRouteMap and PolicyBasedRouteMapOutput values. You can construct a concrete instance of `PolicyBasedRouteMapInput` via:
PolicyBasedRouteMap{ "key": PolicyBasedRouteArgs{...} }
type PolicyBasedRouteMapOutput ¶
type PolicyBasedRouteMapOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteMapOutput) ElementType ¶
func (PolicyBasedRouteMapOutput) ElementType() reflect.Type
func (PolicyBasedRouteMapOutput) MapIndex ¶
func (o PolicyBasedRouteMapOutput) MapIndex(k pulumi.StringInput) PolicyBasedRouteOutput
func (PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutput ¶
func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput
func (PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutputWithContext ¶
func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutputWithContext(ctx context.Context) PolicyBasedRouteMapOutput
type PolicyBasedRouteOutput ¶
type PolicyBasedRouteOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteOutput) CreateTime ¶
func (o PolicyBasedRouteOutput) CreateTime() pulumi.StringOutput
Time when the policy-based route was created.
func (PolicyBasedRouteOutput) Description ¶
func (o PolicyBasedRouteOutput) Description() pulumi.StringPtrOutput
An optional description of this resource.
func (PolicyBasedRouteOutput) EffectiveLabels ¶
func (o PolicyBasedRouteOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (PolicyBasedRouteOutput) ElementType ¶
func (PolicyBasedRouteOutput) ElementType() reflect.Type
func (PolicyBasedRouteOutput) Filter ¶
func (o PolicyBasedRouteOutput) Filter() PolicyBasedRouteFilterOutput
The filter to match L4 traffic. Structure is documented below.
func (PolicyBasedRouteOutput) InterconnectAttachment ¶
func (o PolicyBasedRouteOutput) InterconnectAttachment() PolicyBasedRouteInterconnectAttachmentPtrOutput
The interconnect attachments that this policy-based route applies to.
func (PolicyBasedRouteOutput) Kind ¶
func (o PolicyBasedRouteOutput) Kind() pulumi.StringOutput
Type of this resource.
func (PolicyBasedRouteOutput) Labels ¶
func (o PolicyBasedRouteOutput) Labels() pulumi.StringMapOutput
User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
func (PolicyBasedRouteOutput) Name ¶
func (o PolicyBasedRouteOutput) Name() pulumi.StringOutput
The name of the policy based route.
func (PolicyBasedRouteOutput) Network ¶
func (o PolicyBasedRouteOutput) Network() pulumi.StringOutput
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
func (PolicyBasedRouteOutput) NextHopIlbIp ¶
func (o PolicyBasedRouteOutput) NextHopIlbIp() pulumi.StringPtrOutput
The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
func (PolicyBasedRouteOutput) NextHopOtherRoutes ¶
func (o PolicyBasedRouteOutput) NextHopOtherRoutes() pulumi.StringPtrOutput
Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]
func (PolicyBasedRouteOutput) Priority ¶
func (o PolicyBasedRouteOutput) Priority() pulumi.IntPtrOutput
The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
func (PolicyBasedRouteOutput) Project ¶
func (o PolicyBasedRouteOutput) Project() pulumi.StringOutput
func (PolicyBasedRouteOutput) PulumiLabels ¶
func (o PolicyBasedRouteOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (PolicyBasedRouteOutput) ToPolicyBasedRouteOutput ¶
func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutput() PolicyBasedRouteOutput
func (PolicyBasedRouteOutput) ToPolicyBasedRouteOutputWithContext ¶
func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput
func (PolicyBasedRouteOutput) UpdateTime ¶
func (o PolicyBasedRouteOutput) UpdateTime() pulumi.StringOutput
Time when the policy-based route was created.
func (PolicyBasedRouteOutput) VirtualMachine ¶
func (o PolicyBasedRouteOutput) VirtualMachine() PolicyBasedRouteVirtualMachinePtrOutput
VM instances to which this policy-based route applies to.
func (PolicyBasedRouteOutput) Warnings ¶
func (o PolicyBasedRouteOutput) Warnings() PolicyBasedRouteWarningArrayOutput
If potential misconfigurations are detected for this route, this field will be populated with warning messages. Structure is documented below.
type PolicyBasedRouteState ¶
type PolicyBasedRouteState struct { // Time when the policy-based route was created. CreateTime pulumi.StringPtrInput // An optional description of this resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // The filter to match L4 traffic. // Structure is documented below. Filter PolicyBasedRouteFilterPtrInput // The interconnect attachments that this policy-based route applies to. InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrInput // Type of this resource. Kind pulumi.StringPtrInput // User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your // configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput // The name of the policy based route. Name pulumi.StringPtrInput // Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. Network pulumi.StringPtrInput // The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. NextHopIlbIp pulumi.StringPtrInput // Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"] NextHopOtherRoutes pulumi.StringPtrInput // The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching // policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered // priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. Priority pulumi.IntPtrInput Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Time when the policy-based route was created. UpdateTime pulumi.StringPtrInput // VM instances to which this policy-based route applies to. VirtualMachine PolicyBasedRouteVirtualMachinePtrInput // If potential misconfigurations are detected for this route, this field will be populated with warning messages. // Structure is documented below. Warnings PolicyBasedRouteWarningArrayInput }
func (PolicyBasedRouteState) ElementType ¶
func (PolicyBasedRouteState) ElementType() reflect.Type
type PolicyBasedRouteVirtualMachine ¶
type PolicyBasedRouteVirtualMachine struct { // A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR. Tags []string `pulumi:"tags"` }
type PolicyBasedRouteVirtualMachineArgs ¶
type PolicyBasedRouteVirtualMachineArgs struct { // A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR. Tags pulumi.StringArrayInput `pulumi:"tags"` }
func (PolicyBasedRouteVirtualMachineArgs) ElementType ¶
func (PolicyBasedRouteVirtualMachineArgs) ElementType() reflect.Type
func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutput ¶
func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput
func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutputWithContext ¶
func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput
func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutput ¶
func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext ¶
func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
type PolicyBasedRouteVirtualMachineInput ¶
type PolicyBasedRouteVirtualMachineInput interface { pulumi.Input ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput ToPolicyBasedRouteVirtualMachineOutputWithContext(context.Context) PolicyBasedRouteVirtualMachineOutput }
PolicyBasedRouteVirtualMachineInput is an input type that accepts PolicyBasedRouteVirtualMachineArgs and PolicyBasedRouteVirtualMachineOutput values. You can construct a concrete instance of `PolicyBasedRouteVirtualMachineInput` via:
PolicyBasedRouteVirtualMachineArgs{...}
type PolicyBasedRouteVirtualMachineOutput ¶
type PolicyBasedRouteVirtualMachineOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteVirtualMachineOutput) ElementType ¶
func (PolicyBasedRouteVirtualMachineOutput) ElementType() reflect.Type
func (PolicyBasedRouteVirtualMachineOutput) Tags ¶
func (o PolicyBasedRouteVirtualMachineOutput) Tags() pulumi.StringArrayOutput
A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutput ¶
func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput
func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutputWithContext ¶
func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput
func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutput ¶
func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext ¶
func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
type PolicyBasedRouteVirtualMachinePtrInput ¶
type PolicyBasedRouteVirtualMachinePtrInput interface { pulumi.Input ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(context.Context) PolicyBasedRouteVirtualMachinePtrOutput }
PolicyBasedRouteVirtualMachinePtrInput is an input type that accepts PolicyBasedRouteVirtualMachineArgs, PolicyBasedRouteVirtualMachinePtr and PolicyBasedRouteVirtualMachinePtrOutput values. You can construct a concrete instance of `PolicyBasedRouteVirtualMachinePtrInput` via:
PolicyBasedRouteVirtualMachineArgs{...} or: nil
func PolicyBasedRouteVirtualMachinePtr ¶
func PolicyBasedRouteVirtualMachinePtr(v *PolicyBasedRouteVirtualMachineArgs) PolicyBasedRouteVirtualMachinePtrInput
type PolicyBasedRouteVirtualMachinePtrOutput ¶
type PolicyBasedRouteVirtualMachinePtrOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteVirtualMachinePtrOutput) ElementType ¶
func (PolicyBasedRouteVirtualMachinePtrOutput) ElementType() reflect.Type
func (PolicyBasedRouteVirtualMachinePtrOutput) Tags ¶
func (o PolicyBasedRouteVirtualMachinePtrOutput) Tags() pulumi.StringArrayOutput
A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
func (PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutput ¶
func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
func (PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext ¶
func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput
type PolicyBasedRouteWarning ¶
type PolicyBasedRouteWarning struct { // (Output) // A warning code, if applicable. Code *string `pulumi:"code"` // (Output) // Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement. Data map[string]string `pulumi:"data"` // (Output) // A human-readable description of the warning code. WarningMessage *string `pulumi:"warningMessage"` }
type PolicyBasedRouteWarningArgs ¶
type PolicyBasedRouteWarningArgs struct { // (Output) // A warning code, if applicable. Code pulumi.StringPtrInput `pulumi:"code"` // (Output) // Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement. Data pulumi.StringMapInput `pulumi:"data"` // (Output) // A human-readable description of the warning code. WarningMessage pulumi.StringPtrInput `pulumi:"warningMessage"` }
func (PolicyBasedRouteWarningArgs) ElementType ¶
func (PolicyBasedRouteWarningArgs) ElementType() reflect.Type
func (PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutput ¶
func (i PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput
func (PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutputWithContext ¶
func (i PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutputWithContext(ctx context.Context) PolicyBasedRouteWarningOutput
type PolicyBasedRouteWarningArray ¶
type PolicyBasedRouteWarningArray []PolicyBasedRouteWarningInput
func (PolicyBasedRouteWarningArray) ElementType ¶
func (PolicyBasedRouteWarningArray) ElementType() reflect.Type
func (PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutput ¶
func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput
func (PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutputWithContext ¶
func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput
type PolicyBasedRouteWarningArrayInput ¶
type PolicyBasedRouteWarningArrayInput interface { pulumi.Input ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput ToPolicyBasedRouteWarningArrayOutputWithContext(context.Context) PolicyBasedRouteWarningArrayOutput }
PolicyBasedRouteWarningArrayInput is an input type that accepts PolicyBasedRouteWarningArray and PolicyBasedRouteWarningArrayOutput values. You can construct a concrete instance of `PolicyBasedRouteWarningArrayInput` via:
PolicyBasedRouteWarningArray{ PolicyBasedRouteWarningArgs{...} }
type PolicyBasedRouteWarningArrayOutput ¶
type PolicyBasedRouteWarningArrayOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteWarningArrayOutput) ElementType ¶
func (PolicyBasedRouteWarningArrayOutput) ElementType() reflect.Type
func (PolicyBasedRouteWarningArrayOutput) Index ¶
func (o PolicyBasedRouteWarningArrayOutput) Index(i pulumi.IntInput) PolicyBasedRouteWarningOutput
func (PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutput ¶
func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput
func (PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutputWithContext ¶
func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput
type PolicyBasedRouteWarningInput ¶
type PolicyBasedRouteWarningInput interface { pulumi.Input ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput ToPolicyBasedRouteWarningOutputWithContext(context.Context) PolicyBasedRouteWarningOutput }
PolicyBasedRouteWarningInput is an input type that accepts PolicyBasedRouteWarningArgs and PolicyBasedRouteWarningOutput values. You can construct a concrete instance of `PolicyBasedRouteWarningInput` via:
PolicyBasedRouteWarningArgs{...}
type PolicyBasedRouteWarningOutput ¶
type PolicyBasedRouteWarningOutput struct{ *pulumi.OutputState }
func (PolicyBasedRouteWarningOutput) Code ¶
func (o PolicyBasedRouteWarningOutput) Code() pulumi.StringPtrOutput
(Output) A warning code, if applicable.
func (PolicyBasedRouteWarningOutput) Data ¶
func (o PolicyBasedRouteWarningOutput) Data() pulumi.StringMapOutput
(Output) Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
func (PolicyBasedRouteWarningOutput) ElementType ¶
func (PolicyBasedRouteWarningOutput) ElementType() reflect.Type
func (PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutput ¶
func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput
func (PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutputWithContext ¶
func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutputWithContext(ctx context.Context) PolicyBasedRouteWarningOutput
func (PolicyBasedRouteWarningOutput) WarningMessage ¶
func (o PolicyBasedRouteWarningOutput) WarningMessage() pulumi.StringPtrOutput
(Output) A human-readable description of the warning code.
type RegionalEndpoint ¶
type RegionalEndpoint struct { pulumi.CustomResourceState // The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. // Possible values are: `GLOBAL`, `REGIONAL`. AccessType pulumi.StringOutput `pulumi:"accessType"` // The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` // > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork. Address pulumi.StringOutput `pulumi:"address"` // Time when the RegionalEndpoint was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location of the RegionalEndpoint. // // *** Location pulumi.StringOutput `pulumi:"location"` // The name of the RegionalEndpoint. Name pulumi.StringOutput `pulumi:"name"` // The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}` Network pulumi.StringOutput `pulumi:"network"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}` PscForwardingRule pulumi.StringOutput `pulumi:"pscForwardingRule"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` Subnetwork pulumi.StringOutput `pulumi:"subnetwork"` // The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\". TargetGoogleApi pulumi.StringOutput `pulumi:"targetGoogleApi"` // Time when the RegionalEndpoint was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Regional Private Service Connect (PSC) endpoint resource.
To get more information about RegionalEndpoint, see:
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.regionalEndpoints) * How-to Guides
- [Access regional Google APIs through endpoints](https://cloud.google.com/vpc/docs/access-regional-google-apis-endpoints)
## Example Usage
### Network Connectivity Regional Endpoint Regional Access
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{ Name: pulumi.String("my-network"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{ Name: pulumi.String("my-subnetwork"), IpCidrRange: pulumi.String("192.168.0.0/24"), Region: pulumi.String("us-central1"), Network: myNetwork.ID(), }) if err != nil { return err } _, err = networkconnectivity.NewRegionalEndpoint(ctx, "default", &networkconnectivity.RegionalEndpointArgs{ Name: pulumi.String("my-rep"), Location: pulumi.String("us-central1"), TargetGoogleApi: pulumi.String("storage.us-central1.p.rep.googleapis.com"), AccessType: pulumi.String("REGIONAL"), Address: pulumi.String("192.168.0.5"), Network: myNetwork.ID(), Subnetwork: mySubnetwork.ID(), Description: pulumi.String("My RegionalEndpoint targeting Google API storage.us-central1.p.rep.googleapis.com"), Labels: pulumi.StringMap{ "env": pulumi.String("default"), }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Regional Endpoint Global Access
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{ Name: pulumi.String("my-network"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{ Name: pulumi.String("my-subnetwork"), IpCidrRange: pulumi.String("192.168.0.0/24"), Region: pulumi.String("us-central1"), Network: myNetwork.ID(), }) if err != nil { return err } _, err = networkconnectivity.NewRegionalEndpoint(ctx, "default", &networkconnectivity.RegionalEndpointArgs{ Name: pulumi.String("my-rep"), Location: pulumi.String("us-central1"), TargetGoogleApi: pulumi.String("storage.us-central1.p.rep.googleapis.com"), AccessType: pulumi.String("GLOBAL"), Address: pulumi.String("192.168.0.4"), Network: myNetwork.ID(), Subnetwork: mySubnetwork.ID(), }) if err != nil { return err } return nil }) }
```
## Import
RegionalEndpoint can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/regionalEndpoints/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, RegionalEndpoint can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default projects/{{project}}/locations/{{location}}/regionalEndpoints/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default {{location}}/{{name}} ```
func GetRegionalEndpoint ¶
func GetRegionalEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalEndpointState, opts ...pulumi.ResourceOption) (*RegionalEndpoint, error)
GetRegionalEndpoint gets an existing RegionalEndpoint 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 NewRegionalEndpoint ¶
func NewRegionalEndpoint(ctx *pulumi.Context, name string, args *RegionalEndpointArgs, opts ...pulumi.ResourceOption) (*RegionalEndpoint, error)
NewRegionalEndpoint registers a new resource with the given unique name, arguments, and options.
func (*RegionalEndpoint) ElementType ¶
func (*RegionalEndpoint) ElementType() reflect.Type
func (*RegionalEndpoint) ToRegionalEndpointOutput ¶
func (i *RegionalEndpoint) ToRegionalEndpointOutput() RegionalEndpointOutput
func (*RegionalEndpoint) ToRegionalEndpointOutputWithContext ¶
func (i *RegionalEndpoint) ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput
type RegionalEndpointArgs ¶
type RegionalEndpointArgs struct { // The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. // Possible values are: `GLOBAL`, `REGIONAL`. AccessType pulumi.StringInput // The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` // > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork. Address pulumi.StringPtrInput // A description of this resource. Description pulumi.StringPtrInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the RegionalEndpoint. // // *** Location pulumi.StringInput // The name of the RegionalEndpoint. Name pulumi.StringPtrInput // The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}` Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` Subnetwork pulumi.StringPtrInput // The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\". TargetGoogleApi pulumi.StringInput }
The set of arguments for constructing a RegionalEndpoint resource.
func (RegionalEndpointArgs) ElementType ¶
func (RegionalEndpointArgs) ElementType() reflect.Type
type RegionalEndpointArray ¶
type RegionalEndpointArray []RegionalEndpointInput
func (RegionalEndpointArray) ElementType ¶
func (RegionalEndpointArray) ElementType() reflect.Type
func (RegionalEndpointArray) ToRegionalEndpointArrayOutput ¶
func (i RegionalEndpointArray) ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput
func (RegionalEndpointArray) ToRegionalEndpointArrayOutputWithContext ¶
func (i RegionalEndpointArray) ToRegionalEndpointArrayOutputWithContext(ctx context.Context) RegionalEndpointArrayOutput
type RegionalEndpointArrayInput ¶
type RegionalEndpointArrayInput interface { pulumi.Input ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput ToRegionalEndpointArrayOutputWithContext(context.Context) RegionalEndpointArrayOutput }
RegionalEndpointArrayInput is an input type that accepts RegionalEndpointArray and RegionalEndpointArrayOutput values. You can construct a concrete instance of `RegionalEndpointArrayInput` via:
RegionalEndpointArray{ RegionalEndpointArgs{...} }
type RegionalEndpointArrayOutput ¶
type RegionalEndpointArrayOutput struct{ *pulumi.OutputState }
func (RegionalEndpointArrayOutput) ElementType ¶
func (RegionalEndpointArrayOutput) ElementType() reflect.Type
func (RegionalEndpointArrayOutput) Index ¶
func (o RegionalEndpointArrayOutput) Index(i pulumi.IntInput) RegionalEndpointOutput
func (RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutput ¶
func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput
func (RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutputWithContext ¶
func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutputWithContext(ctx context.Context) RegionalEndpointArrayOutput
type RegionalEndpointInput ¶
type RegionalEndpointInput interface { pulumi.Input ToRegionalEndpointOutput() RegionalEndpointOutput ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput }
type RegionalEndpointMap ¶
type RegionalEndpointMap map[string]RegionalEndpointInput
func (RegionalEndpointMap) ElementType ¶
func (RegionalEndpointMap) ElementType() reflect.Type
func (RegionalEndpointMap) ToRegionalEndpointMapOutput ¶
func (i RegionalEndpointMap) ToRegionalEndpointMapOutput() RegionalEndpointMapOutput
func (RegionalEndpointMap) ToRegionalEndpointMapOutputWithContext ¶
func (i RegionalEndpointMap) ToRegionalEndpointMapOutputWithContext(ctx context.Context) RegionalEndpointMapOutput
type RegionalEndpointMapInput ¶
type RegionalEndpointMapInput interface { pulumi.Input ToRegionalEndpointMapOutput() RegionalEndpointMapOutput ToRegionalEndpointMapOutputWithContext(context.Context) RegionalEndpointMapOutput }
RegionalEndpointMapInput is an input type that accepts RegionalEndpointMap and RegionalEndpointMapOutput values. You can construct a concrete instance of `RegionalEndpointMapInput` via:
RegionalEndpointMap{ "key": RegionalEndpointArgs{...} }
type RegionalEndpointMapOutput ¶
type RegionalEndpointMapOutput struct{ *pulumi.OutputState }
func (RegionalEndpointMapOutput) ElementType ¶
func (RegionalEndpointMapOutput) ElementType() reflect.Type
func (RegionalEndpointMapOutput) MapIndex ¶
func (o RegionalEndpointMapOutput) MapIndex(k pulumi.StringInput) RegionalEndpointOutput
func (RegionalEndpointMapOutput) ToRegionalEndpointMapOutput ¶
func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutput() RegionalEndpointMapOutput
func (RegionalEndpointMapOutput) ToRegionalEndpointMapOutputWithContext ¶
func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutputWithContext(ctx context.Context) RegionalEndpointMapOutput
type RegionalEndpointOutput ¶
type RegionalEndpointOutput struct{ *pulumi.OutputState }
func (RegionalEndpointOutput) AccessType ¶
func (o RegionalEndpointOutput) AccessType() pulumi.StringOutput
The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. Possible values are: `GLOBAL`, `REGIONAL`.
func (RegionalEndpointOutput) Address ¶
func (o RegionalEndpointOutput) Address() pulumi.StringOutput
The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork.
func (RegionalEndpointOutput) CreateTime ¶
func (o RegionalEndpointOutput) CreateTime() pulumi.StringOutput
Time when the RegionalEndpoint was created.
func (RegionalEndpointOutput) Description ¶
func (o RegionalEndpointOutput) Description() pulumi.StringPtrOutput
A description of this resource.
func (RegionalEndpointOutput) EffectiveLabels ¶
func (o RegionalEndpointOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (RegionalEndpointOutput) ElementType ¶
func (RegionalEndpointOutput) ElementType() reflect.Type
func (RegionalEndpointOutput) Labels ¶
func (o RegionalEndpointOutput) Labels() pulumi.StringMapOutput
User-defined labels.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (RegionalEndpointOutput) Location ¶
func (o RegionalEndpointOutput) Location() pulumi.StringOutput
The location of the RegionalEndpoint.
***
func (RegionalEndpointOutput) Name ¶
func (o RegionalEndpointOutput) Name() pulumi.StringOutput
The name of the RegionalEndpoint.
func (RegionalEndpointOutput) Network ¶
func (o RegionalEndpointOutput) Network() pulumi.StringOutput
The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`
func (RegionalEndpointOutput) Project ¶
func (o RegionalEndpointOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RegionalEndpointOutput) PscForwardingRule ¶
func (o RegionalEndpointOutput) PscForwardingRule() pulumi.StringOutput
The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}`
func (RegionalEndpointOutput) PulumiLabels ¶
func (o RegionalEndpointOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (RegionalEndpointOutput) Subnetwork ¶
func (o RegionalEndpointOutput) Subnetwork() pulumi.StringOutput
The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
func (RegionalEndpointOutput) TargetGoogleApi ¶
func (o RegionalEndpointOutput) TargetGoogleApi() pulumi.StringOutput
The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".
func (RegionalEndpointOutput) ToRegionalEndpointOutput ¶
func (o RegionalEndpointOutput) ToRegionalEndpointOutput() RegionalEndpointOutput
func (RegionalEndpointOutput) ToRegionalEndpointOutputWithContext ¶
func (o RegionalEndpointOutput) ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput
func (RegionalEndpointOutput) UpdateTime ¶
func (o RegionalEndpointOutput) UpdateTime() pulumi.StringOutput
Time when the RegionalEndpoint was updated.
type RegionalEndpointState ¶
type RegionalEndpointState struct { // The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. // Possible values are: `GLOBAL`, `REGIONAL`. AccessType pulumi.StringPtrInput // The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` // > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork. Address pulumi.StringPtrInput // Time when the RegionalEndpoint was created. CreateTime pulumi.StringPtrInput // A description of this resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the RegionalEndpoint. // // *** Location pulumi.StringPtrInput // The name of the RegionalEndpoint. Name pulumi.StringPtrInput // The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}` Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}` PscForwardingRule pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` Subnetwork pulumi.StringPtrInput // The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\". TargetGoogleApi pulumi.StringPtrInput // Time when the RegionalEndpoint was updated. UpdateTime pulumi.StringPtrInput }
func (RegionalEndpointState) ElementType ¶
func (RegionalEndpointState) ElementType() reflect.Type
type ServiceConnectionPolicy ¶
type ServiceConnectionPolicy struct { pulumi.CustomResourceState // The timestamp when the resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Free-text description of the resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etag pulumi.StringOutput `pulumi:"etag"` // The type of underlying resources used to create the connection. Infrastructure pulumi.StringOutput `pulumi:"infrastructure"` // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location of the ServiceConnectionPolicy. // // *** Location pulumi.StringOutput `pulumi:"location"` // The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names Name pulumi.StringOutput `pulumi:"name"` // The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. Network pulumi.StringOutput `pulumi:"network"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. // Structure is documented below. PscConfig ServiceConnectionPolicyPscConfigPtrOutput `pulumi:"pscConfig"` // Information about each Private Service Connect connection. // Structure is documented below. PscConnections ServiceConnectionPolicyPscConnectionArrayOutput `pulumi:"pscConnections"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. // It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. ServiceClass pulumi.StringOutput `pulumi:"serviceClass"` // The timestamp when the resource was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Manage Service Connection Policies.
To get more information about ServiceConnectionPolicy, see:
* [API documentation](https://cloud.google.com/secure-web-proxy/docs/reference/networkconnectivity/rest/v1/projects.locations.networkConnectionPolicies) * How-to Guides
- [About Service Connection Policies](https://cloud.google.com/vpc/docs/about-service-connection-policies#service-policies)
## Example Usage
### Network Connectivity Policy Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{ Name: pulumi.String("producer-net"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{ Name: pulumi.String("producer-subnet"), IpCidrRange: pulumi.String("10.0.0.0/16"), Region: pulumi.String("us-central1"), Network: producerNet.ID(), }) if err != nil { return err } _, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{ Name: pulumi.String("my-network-connectivity-policy"), Location: pulumi.String("us-central1"), ServiceClass: pulumi.String("my-basic-service-class"), Description: pulumi.String("my basic service connection policy"), Network: producerNet.ID(), PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{ Subnetworks: pulumi.StringArray{ producerSubnet.ID(), }, Limit: pulumi.String("2"), }, }) if err != nil { return err } return nil }) }
```
## Import
ServiceConnectionPolicy can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/serviceConnectionPolicies/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, ServiceConnectionPolicy can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default projects/{{project}}/locations/{{location}}/serviceConnectionPolicies/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default {{location}}/{{name}} ```
func GetServiceConnectionPolicy ¶
func GetServiceConnectionPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceConnectionPolicyState, opts ...pulumi.ResourceOption) (*ServiceConnectionPolicy, error)
GetServiceConnectionPolicy gets an existing ServiceConnectionPolicy 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 NewServiceConnectionPolicy ¶
func NewServiceConnectionPolicy(ctx *pulumi.Context, name string, args *ServiceConnectionPolicyArgs, opts ...pulumi.ResourceOption) (*ServiceConnectionPolicy, error)
NewServiceConnectionPolicy registers a new resource with the given unique name, arguments, and options.
func (*ServiceConnectionPolicy) ElementType ¶
func (*ServiceConnectionPolicy) ElementType() reflect.Type
func (*ServiceConnectionPolicy) ToServiceConnectionPolicyOutput ¶
func (i *ServiceConnectionPolicy) ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput
func (*ServiceConnectionPolicy) ToServiceConnectionPolicyOutputWithContext ¶
func (i *ServiceConnectionPolicy) ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput
type ServiceConnectionPolicyArgs ¶
type ServiceConnectionPolicyArgs struct { // Free-text description of the resource. Description pulumi.StringPtrInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the ServiceConnectionPolicy. // // *** Location pulumi.StringInput // The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names Name pulumi.StringPtrInput // The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. Network pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. // Structure is documented below. PscConfig ServiceConnectionPolicyPscConfigPtrInput // The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. // It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. ServiceClass pulumi.StringInput }
The set of arguments for constructing a ServiceConnectionPolicy resource.
func (ServiceConnectionPolicyArgs) ElementType ¶
func (ServiceConnectionPolicyArgs) ElementType() reflect.Type
type ServiceConnectionPolicyArray ¶
type ServiceConnectionPolicyArray []ServiceConnectionPolicyInput
func (ServiceConnectionPolicyArray) ElementType ¶
func (ServiceConnectionPolicyArray) ElementType() reflect.Type
func (ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutput ¶
func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput
func (ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutputWithContext ¶
func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput
type ServiceConnectionPolicyArrayInput ¶
type ServiceConnectionPolicyArrayInput interface { pulumi.Input ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput ToServiceConnectionPolicyArrayOutputWithContext(context.Context) ServiceConnectionPolicyArrayOutput }
ServiceConnectionPolicyArrayInput is an input type that accepts ServiceConnectionPolicyArray and ServiceConnectionPolicyArrayOutput values. You can construct a concrete instance of `ServiceConnectionPolicyArrayInput` via:
ServiceConnectionPolicyArray{ ServiceConnectionPolicyArgs{...} }
type ServiceConnectionPolicyArrayOutput ¶
type ServiceConnectionPolicyArrayOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyArrayOutput) ElementType ¶
func (ServiceConnectionPolicyArrayOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyArrayOutput) Index ¶
func (o ServiceConnectionPolicyArrayOutput) Index(i pulumi.IntInput) ServiceConnectionPolicyOutput
func (ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutput ¶
func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput
func (ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutputWithContext ¶
func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput
type ServiceConnectionPolicyInput ¶
type ServiceConnectionPolicyInput interface { pulumi.Input ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput }
type ServiceConnectionPolicyMap ¶
type ServiceConnectionPolicyMap map[string]ServiceConnectionPolicyInput
func (ServiceConnectionPolicyMap) ElementType ¶
func (ServiceConnectionPolicyMap) ElementType() reflect.Type
func (ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutput ¶
func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput
func (ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutputWithContext ¶
func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput
type ServiceConnectionPolicyMapInput ¶
type ServiceConnectionPolicyMapInput interface { pulumi.Input ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput ToServiceConnectionPolicyMapOutputWithContext(context.Context) ServiceConnectionPolicyMapOutput }
ServiceConnectionPolicyMapInput is an input type that accepts ServiceConnectionPolicyMap and ServiceConnectionPolicyMapOutput values. You can construct a concrete instance of `ServiceConnectionPolicyMapInput` via:
ServiceConnectionPolicyMap{ "key": ServiceConnectionPolicyArgs{...} }
type ServiceConnectionPolicyMapOutput ¶
type ServiceConnectionPolicyMapOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyMapOutput) ElementType ¶
func (ServiceConnectionPolicyMapOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyMapOutput) MapIndex ¶
func (o ServiceConnectionPolicyMapOutput) MapIndex(k pulumi.StringInput) ServiceConnectionPolicyOutput
func (ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutput ¶
func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput
func (ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutputWithContext ¶
func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput
type ServiceConnectionPolicyOutput ¶
type ServiceConnectionPolicyOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyOutput) CreateTime ¶
func (o ServiceConnectionPolicyOutput) CreateTime() pulumi.StringOutput
The timestamp when the resource was created.
func (ServiceConnectionPolicyOutput) Description ¶
func (o ServiceConnectionPolicyOutput) Description() pulumi.StringPtrOutput
Free-text description of the resource.
func (ServiceConnectionPolicyOutput) EffectiveLabels ¶
func (o ServiceConnectionPolicyOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (ServiceConnectionPolicyOutput) ElementType ¶
func (ServiceConnectionPolicyOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyOutput) Etag ¶
func (o ServiceConnectionPolicyOutput) Etag() pulumi.StringOutput
The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
func (ServiceConnectionPolicyOutput) Infrastructure ¶
func (o ServiceConnectionPolicyOutput) Infrastructure() pulumi.StringOutput
The type of underlying resources used to create the connection.
func (ServiceConnectionPolicyOutput) Labels ¶
func (o ServiceConnectionPolicyOutput) Labels() pulumi.StringMapOutput
User-defined labels.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (ServiceConnectionPolicyOutput) Location ¶
func (o ServiceConnectionPolicyOutput) Location() pulumi.StringOutput
The location of the ServiceConnectionPolicy.
***
func (ServiceConnectionPolicyOutput) Name ¶
func (o ServiceConnectionPolicyOutput) Name() pulumi.StringOutput
The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
func (ServiceConnectionPolicyOutput) Network ¶
func (o ServiceConnectionPolicyOutput) Network() pulumi.StringOutput
The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
func (ServiceConnectionPolicyOutput) Project ¶
func (o ServiceConnectionPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (ServiceConnectionPolicyOutput) PscConfig ¶
func (o ServiceConnectionPolicyOutput) PscConfig() ServiceConnectionPolicyPscConfigPtrOutput
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. Structure is documented below.
func (ServiceConnectionPolicyOutput) PscConnections ¶
func (o ServiceConnectionPolicyOutput) PscConnections() ServiceConnectionPolicyPscConnectionArrayOutput
Information about each Private Service Connect connection. Structure is documented below.
func (ServiceConnectionPolicyOutput) PulumiLabels ¶
func (o ServiceConnectionPolicyOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (ServiceConnectionPolicyOutput) ServiceClass ¶
func (o ServiceConnectionPolicyOutput) ServiceClass() pulumi.StringOutput
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
func (ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutput ¶
func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput
func (ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContext ¶
func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput
func (ServiceConnectionPolicyOutput) UpdateTime ¶
func (o ServiceConnectionPolicyOutput) UpdateTime() pulumi.StringOutput
The timestamp when the resource was updated.
type ServiceConnectionPolicyPscConfigArgs ¶
type ServiceConnectionPolicyPscConfigArgs struct { // Max number of PSC connections for this policy. Limit pulumi.StringPtrInput `pulumi:"limit"` // IDs of the subnetworks or fully qualified identifiers for the subnetworks Subnetworks pulumi.StringArrayInput `pulumi:"subnetworks"` }
func (ServiceConnectionPolicyPscConfigArgs) ElementType ¶
func (ServiceConnectionPolicyPscConfigArgs) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutput ¶
func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput
func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutputWithContext ¶
func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput
func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutput ¶
func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutputWithContext ¶
func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
type ServiceConnectionPolicyPscConfigInput ¶
type ServiceConnectionPolicyPscConfigInput interface { pulumi.Input ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput ToServiceConnectionPolicyPscConfigOutputWithContext(context.Context) ServiceConnectionPolicyPscConfigOutput }
ServiceConnectionPolicyPscConfigInput is an input type that accepts ServiceConnectionPolicyPscConfigArgs and ServiceConnectionPolicyPscConfigOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConfigInput` via:
ServiceConnectionPolicyPscConfigArgs{...}
type ServiceConnectionPolicyPscConfigOutput ¶
type ServiceConnectionPolicyPscConfigOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConfigOutput) ElementType ¶
func (ServiceConnectionPolicyPscConfigOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConfigOutput) Limit ¶
func (o ServiceConnectionPolicyPscConfigOutput) Limit() pulumi.StringPtrOutput
Max number of PSC connections for this policy.
func (ServiceConnectionPolicyPscConfigOutput) Subnetworks ¶
func (o ServiceConnectionPolicyPscConfigOutput) Subnetworks() pulumi.StringArrayOutput
IDs of the subnetworks or fully qualified identifiers for the subnetworks
func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutput ¶
func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput
func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutputWithContext ¶
func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput
func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutput ¶
func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
type ServiceConnectionPolicyPscConfigPtrInput ¶
type ServiceConnectionPolicyPscConfigPtrInput interface { pulumi.Input ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput ToServiceConnectionPolicyPscConfigPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConfigPtrOutput }
ServiceConnectionPolicyPscConfigPtrInput is an input type that accepts ServiceConnectionPolicyPscConfigArgs, ServiceConnectionPolicyPscConfigPtr and ServiceConnectionPolicyPscConfigPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConfigPtrInput` via:
ServiceConnectionPolicyPscConfigArgs{...} or: nil
func ServiceConnectionPolicyPscConfigPtr ¶
func ServiceConnectionPolicyPscConfigPtr(v *ServiceConnectionPolicyPscConfigArgs) ServiceConnectionPolicyPscConfigPtrInput
type ServiceConnectionPolicyPscConfigPtrOutput ¶
type ServiceConnectionPolicyPscConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConfigPtrOutput) ElementType ¶
func (ServiceConnectionPolicyPscConfigPtrOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConfigPtrOutput) Limit ¶
func (o ServiceConnectionPolicyPscConfigPtrOutput) Limit() pulumi.StringPtrOutput
Max number of PSC connections for this policy.
func (ServiceConnectionPolicyPscConfigPtrOutput) Subnetworks ¶
func (o ServiceConnectionPolicyPscConfigPtrOutput) Subnetworks() pulumi.StringArrayOutput
IDs of the subnetworks or fully qualified identifiers for the subnetworks
func (ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutput ¶
func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
func (ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput
type ServiceConnectionPolicyPscConnection ¶
type ServiceConnectionPolicyPscConnection struct { // The resource reference of the consumer address. ConsumerAddress *string `pulumi:"consumerAddress"` // The resource reference of the PSC Forwarding Rule within the consumer VPC. ConsumerForwardingRule *string `pulumi:"consumerForwardingRule"` // The project where the PSC connection is created. ConsumerTargetProject *string `pulumi:"consumerTargetProject"` // The most recent error during operating this connection. // Structure is documented below. Error *ServiceConnectionPolicyPscConnectionError `pulumi:"error"` // The error info for the latest error during operating this connection. // Structure is documented below. ErrorInfo *ServiceConnectionPolicyPscConnectionErrorInfo `pulumi:"errorInfo"` // The error type indicates whether the error is consumer facing, producer // facing or system internal. // Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`. ErrorType *string `pulumi:"errorType"` // The last Compute Engine operation to setup PSC connection. GceOperation *string `pulumi:"gceOperation"` // The PSC connection id of the PSC forwarding rule. PscConnectionId *string `pulumi:"pscConnectionId"` // The state of the PSC connection. // Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`. State *string `pulumi:"state"` }
type ServiceConnectionPolicyPscConnectionArgs ¶
type ServiceConnectionPolicyPscConnectionArgs struct { // The resource reference of the consumer address. ConsumerAddress pulumi.StringPtrInput `pulumi:"consumerAddress"` // The resource reference of the PSC Forwarding Rule within the consumer VPC. ConsumerForwardingRule pulumi.StringPtrInput `pulumi:"consumerForwardingRule"` // The project where the PSC connection is created. ConsumerTargetProject pulumi.StringPtrInput `pulumi:"consumerTargetProject"` // The most recent error during operating this connection. // Structure is documented below. Error ServiceConnectionPolicyPscConnectionErrorPtrInput `pulumi:"error"` // The error info for the latest error during operating this connection. // Structure is documented below. ErrorInfo ServiceConnectionPolicyPscConnectionErrorInfoPtrInput `pulumi:"errorInfo"` // The error type indicates whether the error is consumer facing, producer // facing or system internal. // Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`. ErrorType pulumi.StringPtrInput `pulumi:"errorType"` // The last Compute Engine operation to setup PSC connection. GceOperation pulumi.StringPtrInput `pulumi:"gceOperation"` // The PSC connection id of the PSC forwarding rule. PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"` // The state of the PSC connection. // Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`. State pulumi.StringPtrInput `pulumi:"state"` }
func (ServiceConnectionPolicyPscConnectionArgs) ElementType ¶
func (ServiceConnectionPolicyPscConnectionArgs) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutput ¶
func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput
func (ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput
type ServiceConnectionPolicyPscConnectionArray ¶
type ServiceConnectionPolicyPscConnectionArray []ServiceConnectionPolicyPscConnectionInput
func (ServiceConnectionPolicyPscConnectionArray) ElementType ¶
func (ServiceConnectionPolicyPscConnectionArray) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutput ¶
func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput
func (ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput
type ServiceConnectionPolicyPscConnectionArrayInput ¶
type ServiceConnectionPolicyPscConnectionArrayInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionArrayOutput }
ServiceConnectionPolicyPscConnectionArrayInput is an input type that accepts ServiceConnectionPolicyPscConnectionArray and ServiceConnectionPolicyPscConnectionArrayOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionArrayInput` via:
ServiceConnectionPolicyPscConnectionArray{ ServiceConnectionPolicyPscConnectionArgs{...} }
type ServiceConnectionPolicyPscConnectionArrayOutput ¶
type ServiceConnectionPolicyPscConnectionArrayOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionArrayOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionArrayOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutput ¶
func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput
func (ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput
type ServiceConnectionPolicyPscConnectionError ¶
type ServiceConnectionPolicyPscConnectionError struct { // The status code, which should be an enum value of [google.rpc.Code][]. Code *int `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details []map[string]string `pulumi:"details"` // A developer-facing error message. Message *string `pulumi:"message"` }
type ServiceConnectionPolicyPscConnectionErrorArgs ¶
type ServiceConnectionPolicyPscConnectionErrorArgs struct { // The status code, which should be an enum value of [google.rpc.Code][]. Code pulumi.IntPtrInput `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details pulumi.StringMapArrayInput `pulumi:"details"` // A developer-facing error message. Message pulumi.StringPtrInput `pulumi:"message"` }
func (ServiceConnectionPolicyPscConnectionErrorArgs) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorArgs) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutput ¶
func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput
func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput
func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutput ¶
func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
type ServiceConnectionPolicyPscConnectionErrorInfo ¶
type ServiceConnectionPolicyPscConnectionErrorInfo struct { // The logical grouping to which the "reason" belongs. Domain *string `pulumi:"domain"` // Additional structured details about this error. Metadata map[string]string `pulumi:"metadata"` // The reason of the error. Reason *string `pulumi:"reason"` }
type ServiceConnectionPolicyPscConnectionErrorInfoArgs ¶
type ServiceConnectionPolicyPscConnectionErrorInfoArgs struct { // The logical grouping to which the "reason" belongs. Domain pulumi.StringPtrInput `pulumi:"domain"` // Additional structured details about this error. Metadata pulumi.StringMapInput `pulumi:"metadata"` // The reason of the error. Reason pulumi.StringPtrInput `pulumi:"reason"` }
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutput ¶
func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput ¶
func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext ¶
func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
type ServiceConnectionPolicyPscConnectionErrorInfoInput ¶
type ServiceConnectionPolicyPscConnectionErrorInfoInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput }
ServiceConnectionPolicyPscConnectionErrorInfoInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorInfoArgs and ServiceConnectionPolicyPscConnectionErrorInfoOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInfoInput` via:
ServiceConnectionPolicyPscConnectionErrorInfoArgs{...}
type ServiceConnectionPolicyPscConnectionErrorInfoOutput ¶
type ServiceConnectionPolicyPscConnectionErrorInfoOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Domain ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Domain() pulumi.StringPtrOutput
The logical grouping to which the "reason" belongs.
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Metadata ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Metadata() pulumi.StringMapOutput
Additional structured details about this error.
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Reason ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) Reason() pulumi.StringPtrOutput
The reason of the error.
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
type ServiceConnectionPolicyPscConnectionErrorInfoPtrInput ¶
type ServiceConnectionPolicyPscConnectionErrorInfoPtrInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput }
ServiceConnectionPolicyPscConnectionErrorInfoPtrInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorInfoArgs, ServiceConnectionPolicyPscConnectionErrorInfoPtr and ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInfoPtrInput` via:
ServiceConnectionPolicyPscConnectionErrorInfoArgs{...} or: nil
func ServiceConnectionPolicyPscConnectionErrorInfoPtr ¶
func ServiceConnectionPolicyPscConnectionErrorInfoPtr(v *ServiceConnectionPolicyPscConnectionErrorInfoArgs) ServiceConnectionPolicyPscConnectionErrorInfoPtrInput
type ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput ¶
type ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Domain ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Domain() pulumi.StringPtrOutput
The logical grouping to which the "reason" belongs.
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Metadata ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Metadata() pulumi.StringMapOutput
Additional structured details about this error.
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Reason ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Reason() pulumi.StringPtrOutput
The reason of the error.
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
type ServiceConnectionPolicyPscConnectionErrorInput ¶
type ServiceConnectionPolicyPscConnectionErrorInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorOutput }
ServiceConnectionPolicyPscConnectionErrorInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorArgs and ServiceConnectionPolicyPscConnectionErrorOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInput` via:
ServiceConnectionPolicyPscConnectionErrorArgs{...}
type ServiceConnectionPolicyPscConnectionErrorOutput ¶
type ServiceConnectionPolicyPscConnectionErrorOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionErrorOutput) Code ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) Code() pulumi.IntPtrOutput
The status code, which should be an enum value of [google.rpc.Code][].
func (ServiceConnectionPolicyPscConnectionErrorOutput) Details ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) Details() pulumi.StringMapArrayOutput
(Output) A list of messages that carry the error details.
func (ServiceConnectionPolicyPscConnectionErrorOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorOutput) Message ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) Message() pulumi.StringPtrOutput
A developer-facing error message.
func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput
func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput
func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
type ServiceConnectionPolicyPscConnectionErrorPtrInput ¶
type ServiceConnectionPolicyPscConnectionErrorPtrInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput }
ServiceConnectionPolicyPscConnectionErrorPtrInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorArgs, ServiceConnectionPolicyPscConnectionErrorPtr and ServiceConnectionPolicyPscConnectionErrorPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorPtrInput` via:
ServiceConnectionPolicyPscConnectionErrorArgs{...} or: nil
func ServiceConnectionPolicyPscConnectionErrorPtr ¶
func ServiceConnectionPolicyPscConnectionErrorPtr(v *ServiceConnectionPolicyPscConnectionErrorArgs) ServiceConnectionPolicyPscConnectionErrorPtrInput
type ServiceConnectionPolicyPscConnectionErrorPtrOutput ¶
type ServiceConnectionPolicyPscConnectionErrorPtrOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Code ¶
func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Code() pulumi.IntPtrOutput
The status code, which should be an enum value of [google.rpc.Code][].
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Details ¶
func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Details() pulumi.StringMapArrayOutput
(Output) A list of messages that carry the error details.
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Message ¶
func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) Message() pulumi.StringPtrOutput
A developer-facing error message.
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput ¶
func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
type ServiceConnectionPolicyPscConnectionInput ¶
type ServiceConnectionPolicyPscConnectionInput interface { pulumi.Input ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput ToServiceConnectionPolicyPscConnectionOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionOutput }
ServiceConnectionPolicyPscConnectionInput is an input type that accepts ServiceConnectionPolicyPscConnectionArgs and ServiceConnectionPolicyPscConnectionOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionInput` via:
ServiceConnectionPolicyPscConnectionArgs{...}
type ServiceConnectionPolicyPscConnectionOutput ¶
type ServiceConnectionPolicyPscConnectionOutput struct{ *pulumi.OutputState }
func (ServiceConnectionPolicyPscConnectionOutput) ConsumerAddress ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerAddress() pulumi.StringPtrOutput
The resource reference of the consumer address.
func (ServiceConnectionPolicyPscConnectionOutput) ConsumerForwardingRule ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerForwardingRule() pulumi.StringPtrOutput
The resource reference of the PSC Forwarding Rule within the consumer VPC.
func (ServiceConnectionPolicyPscConnectionOutput) ConsumerTargetProject ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ConsumerTargetProject() pulumi.StringPtrOutput
The project where the PSC connection is created.
func (ServiceConnectionPolicyPscConnectionOutput) ElementType ¶
func (ServiceConnectionPolicyPscConnectionOutput) ElementType() reflect.Type
func (ServiceConnectionPolicyPscConnectionOutput) Error ¶
func (o ServiceConnectionPolicyPscConnectionOutput) Error() ServiceConnectionPolicyPscConnectionErrorPtrOutput
The most recent error during operating this connection. Structure is documented below.
func (ServiceConnectionPolicyPscConnectionOutput) ErrorInfo ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ErrorInfo() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
The error info for the latest error during operating this connection. Structure is documented below.
func (ServiceConnectionPolicyPscConnectionOutput) ErrorType ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ErrorType() pulumi.StringPtrOutput
The error type indicates whether the error is consumer facing, producer facing or system internal. Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`.
func (ServiceConnectionPolicyPscConnectionOutput) GceOperation ¶
func (o ServiceConnectionPolicyPscConnectionOutput) GceOperation() pulumi.StringPtrOutput
The last Compute Engine operation to setup PSC connection.
func (ServiceConnectionPolicyPscConnectionOutput) PscConnectionId ¶
func (o ServiceConnectionPolicyPscConnectionOutput) PscConnectionId() pulumi.StringPtrOutput
The PSC connection id of the PSC forwarding rule.
func (ServiceConnectionPolicyPscConnectionOutput) State ¶
func (o ServiceConnectionPolicyPscConnectionOutput) State() pulumi.StringPtrOutput
The state of the PSC connection. Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`.
func (ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutput ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput
func (ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutputWithContext ¶
func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput
type ServiceConnectionPolicyState ¶
type ServiceConnectionPolicyState struct { // The timestamp when the resource was created. CreateTime pulumi.StringPtrInput // Free-text description of the resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etag pulumi.StringPtrInput // The type of underlying resources used to create the connection. Infrastructure pulumi.StringPtrInput // User-defined labels. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the ServiceConnectionPolicy. // // *** Location pulumi.StringPtrInput // The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names Name pulumi.StringPtrInput // The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. // Structure is documented below. PscConfig ServiceConnectionPolicyPscConfigPtrInput // Information about each Private Service Connect connection. // Structure is documented below. PscConnections ServiceConnectionPolicyPscConnectionArrayInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. // It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. ServiceClass pulumi.StringPtrInput // The timestamp when the resource was updated. UpdateTime pulumi.StringPtrInput }
func (ServiceConnectionPolicyState) ElementType ¶
func (ServiceConnectionPolicyState) ElementType() reflect.Type
type Spoke ¶
type Spoke struct { pulumi.CustomResourceState // Output only. The time the spoke was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // An optional description of the spoke. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Immutable. The URI of the hub that this spoke is attached to. Hub pulumi.StringOutput `pulumi:"hub"` // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrOutput `pulumi:"linkedInterconnectAttachments"` // The URIs of linked Router appliance resources // Structure is documented below. LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrOutput `pulumi:"linkedRouterApplianceInstances"` // VPC network that is associated with the spoke. // Structure is documented below. LinkedVpcNetwork SpokeLinkedVpcNetworkPtrOutput `pulumi:"linkedVpcNetwork"` // The URIs of linked VPN tunnel resources // Structure is documented below. LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrOutput `pulumi:"linkedVpnTunnels"` // The location for the resource // // *** Location pulumi.StringOutput `pulumi:"location"` // Immutable. The name of the spoke. Spoke names must be unique. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Output only. The current lifecycle state of this spoke. State pulumi.StringOutput `pulumi:"state"` // Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id. UniqueId pulumi.StringOutput `pulumi:"uniqueId"` // Output only. The time the spoke was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
The NetworkConnectivity Spoke resource
To get more information about Spoke, see:
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.spokes) * How-to Guides
- [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
## Example Usage
### Network Connectivity Spoke Linked Vpc Network Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{ Name: pulumi.String("net"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } basicHub, err := networkconnectivity.NewHub(ctx, "basic_hub", &networkconnectivity.HubArgs{ Name: pulumi.String("hub1"), Description: pulumi.String("A sample hub"), Labels: pulumi.StringMap{ "label-two": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = networkconnectivity.NewSpoke(ctx, "primary", &networkconnectivity.SpokeArgs{ Name: pulumi.String("spoke1"), Location: pulumi.String("global"), Description: pulumi.String("A sample spoke with a linked router appliance instance"), Labels: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, Hub: basicHub.ID(), LinkedVpcNetwork: &networkconnectivity.SpokeLinkedVpcNetworkArgs{ ExcludeExportRanges: pulumi.StringArray{ pulumi.String("198.51.100.0/24"), pulumi.String("10.10.0.0/16"), }, Uri: network.SelfLink, }, }) if err != nil { return err } return nil }) }
``` ### Network Connectivity Spoke Router Appliance Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{ Name: pulumi.String("tf-test-network_2067"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } subnetwork, err := compute.NewSubnetwork(ctx, "subnetwork", &compute.SubnetworkArgs{ Name: pulumi.String("tf-test-subnet_40785"), IpCidrRange: pulumi.String("10.0.0.0/28"), Region: pulumi.String("us-central1"), Network: network.SelfLink, }) if err != nil { return err } instance, err := compute.NewInstance(ctx, "instance", &compute.InstanceArgs{ Name: pulumi.String("tf-test-instance_79169"), MachineType: pulumi.String("e2-medium"), CanIpForward: pulumi.Bool(true), Zone: pulumi.String("us-central1-a"), BootDisk: &compute.InstanceBootDiskArgs{ InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{ Image: pulumi.String("projects/debian-cloud/global/images/debian-10-buster-v20210817"), }, }, NetworkInterfaces: compute.InstanceNetworkInterfaceArray{ &compute.InstanceNetworkInterfaceArgs{ Subnetwork: subnetwork.Name, NetworkIp: pulumi.String("10.0.0.2"), AccessConfigs: compute.InstanceNetworkInterfaceAccessConfigArray{ &compute.InstanceNetworkInterfaceAccessConfigArgs{ NetworkTier: pulumi.String("PREMIUM"), }, }, }, }, }) if err != nil { return err } basicHub, err := networkconnectivity.NewHub(ctx, "basic_hub", &networkconnectivity.HubArgs{ Name: pulumi.String("tf-test-hub_56529"), Description: pulumi.String("A sample hub"), Labels: pulumi.StringMap{ "label-two": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = networkconnectivity.NewSpoke(ctx, "primary", &networkconnectivity.SpokeArgs{ Name: pulumi.String("tf-test-name_75413"), Location: pulumi.String("us-central1"), Description: pulumi.String("A sample spoke with a linked routher appliance instance"), Labels: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, Hub: basicHub.ID(), LinkedRouterApplianceInstances: &networkconnectivity.SpokeLinkedRouterApplianceInstancesArgs{ Instances: networkconnectivity.SpokeLinkedRouterApplianceInstancesInstanceArray{ &networkconnectivity.SpokeLinkedRouterApplianceInstancesInstanceArgs{ VirtualMachine: instance.SelfLink, IpAddress: pulumi.String("10.0.0.2"), }, }, SiteToSiteDataTransfer: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
```
## Import
Spoke can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/spokes/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Spoke can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default projects/{{project}}/locations/{{location}}/spokes/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{location}}/{{name}} ```
func GetSpoke ¶
func GetSpoke(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpokeState, opts ...pulumi.ResourceOption) (*Spoke, error)
GetSpoke gets an existing Spoke 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 NewSpoke ¶
func NewSpoke(ctx *pulumi.Context, name string, args *SpokeArgs, opts ...pulumi.ResourceOption) (*Spoke, error)
NewSpoke registers a new resource with the given unique name, arguments, and options.
func (*Spoke) ElementType ¶
func (*Spoke) ToSpokeOutput ¶
func (i *Spoke) ToSpokeOutput() SpokeOutput
func (*Spoke) ToSpokeOutputWithContext ¶
func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
type SpokeArgs ¶
type SpokeArgs struct { // An optional description of the spoke. Description pulumi.StringPtrInput // Immutable. The URI of the hub that this spoke is attached to. Hub pulumi.StringInput // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput // The URIs of linked Router appliance resources // Structure is documented below. LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput // VPC network that is associated with the spoke. // Structure is documented below. LinkedVpcNetwork SpokeLinkedVpcNetworkPtrInput // The URIs of linked VPN tunnel resources // Structure is documented below. LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrInput // The location for the resource // // *** Location pulumi.StringInput // Immutable. The name of the spoke. Spoke names must be unique. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Spoke resource.
func (SpokeArgs) ElementType ¶
type SpokeArray ¶
type SpokeArray []SpokeInput
func (SpokeArray) ElementType ¶
func (SpokeArray) ElementType() reflect.Type
func (SpokeArray) ToSpokeArrayOutput ¶
func (i SpokeArray) ToSpokeArrayOutput() SpokeArrayOutput
func (SpokeArray) ToSpokeArrayOutputWithContext ¶
func (i SpokeArray) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput
type SpokeArrayInput ¶
type SpokeArrayInput interface { pulumi.Input ToSpokeArrayOutput() SpokeArrayOutput ToSpokeArrayOutputWithContext(context.Context) SpokeArrayOutput }
SpokeArrayInput is an input type that accepts SpokeArray and SpokeArrayOutput values. You can construct a concrete instance of `SpokeArrayInput` via:
SpokeArray{ SpokeArgs{...} }
type SpokeArrayOutput ¶
type SpokeArrayOutput struct{ *pulumi.OutputState }
func (SpokeArrayOutput) ElementType ¶
func (SpokeArrayOutput) ElementType() reflect.Type
func (SpokeArrayOutput) Index ¶
func (o SpokeArrayOutput) Index(i pulumi.IntInput) SpokeOutput
func (SpokeArrayOutput) ToSpokeArrayOutput ¶
func (o SpokeArrayOutput) ToSpokeArrayOutput() SpokeArrayOutput
func (SpokeArrayOutput) ToSpokeArrayOutputWithContext ¶
func (o SpokeArrayOutput) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput
type SpokeInput ¶
type SpokeInput interface { pulumi.Input ToSpokeOutput() SpokeOutput ToSpokeOutputWithContext(ctx context.Context) SpokeOutput }
type SpokeLinkedInterconnectAttachments ¶
type SpokeLinkedInterconnectAttachments struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"` // The URIs of linked interconnect attachment resources Uris []string `pulumi:"uris"` }
type SpokeLinkedInterconnectAttachmentsArgs ¶
type SpokeLinkedInterconnectAttachmentsArgs struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"` // The URIs of linked interconnect attachment resources Uris pulumi.StringArrayInput `pulumi:"uris"` }
func (SpokeLinkedInterconnectAttachmentsArgs) ElementType ¶
func (SpokeLinkedInterconnectAttachmentsArgs) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput ¶
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext ¶
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
type SpokeLinkedInterconnectAttachmentsInput ¶
type SpokeLinkedInterconnectAttachmentsInput interface { pulumi.Input ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput ToSpokeLinkedInterconnectAttachmentsOutputWithContext(context.Context) SpokeLinkedInterconnectAttachmentsOutput }
SpokeLinkedInterconnectAttachmentsInput is an input type that accepts SpokeLinkedInterconnectAttachmentsArgs and SpokeLinkedInterconnectAttachmentsOutput values. You can construct a concrete instance of `SpokeLinkedInterconnectAttachmentsInput` via:
SpokeLinkedInterconnectAttachmentsArgs{...}
type SpokeLinkedInterconnectAttachmentsOutput ¶
type SpokeLinkedInterconnectAttachmentsOutput struct{ *pulumi.OutputState }
func (SpokeLinkedInterconnectAttachmentsOutput) ElementType ¶
func (SpokeLinkedInterconnectAttachmentsOutput) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsOutput) Uris ¶
func (o SpokeLinkedInterconnectAttachmentsOutput) Uris() pulumi.StringArrayOutput
The URIs of linked interconnect attachment resources
type SpokeLinkedInterconnectAttachmentsPtrInput ¶
type SpokeLinkedInterconnectAttachmentsPtrInput interface { pulumi.Input ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput }
SpokeLinkedInterconnectAttachmentsPtrInput is an input type that accepts SpokeLinkedInterconnectAttachmentsArgs, SpokeLinkedInterconnectAttachmentsPtr and SpokeLinkedInterconnectAttachmentsPtrOutput values. You can construct a concrete instance of `SpokeLinkedInterconnectAttachmentsPtrInput` via:
SpokeLinkedInterconnectAttachmentsArgs{...} or: nil
func SpokeLinkedInterconnectAttachmentsPtr ¶
func SpokeLinkedInterconnectAttachmentsPtr(v *SpokeLinkedInterconnectAttachmentsArgs) SpokeLinkedInterconnectAttachmentsPtrInput
type SpokeLinkedInterconnectAttachmentsPtrOutput ¶
type SpokeLinkedInterconnectAttachmentsPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType ¶
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsPtrOutput) Uris ¶
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Uris() pulumi.StringArrayOutput
The URIs of linked interconnect attachment resources
type SpokeLinkedRouterApplianceInstances ¶
type SpokeLinkedRouterApplianceInstances struct { // The list of router appliance instances // Structure is documented below. Instances []SpokeLinkedRouterApplianceInstancesInstance `pulumi:"instances"` // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"` }
type SpokeLinkedRouterApplianceInstancesArgs ¶
type SpokeLinkedRouterApplianceInstancesArgs struct { // The list of router appliance instances // Structure is documented below. Instances SpokeLinkedRouterApplianceInstancesInstanceArrayInput `pulumi:"instances"` // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"` }
func (SpokeLinkedRouterApplianceInstancesArgs) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesArgs) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput ¶
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext ¶
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedRouterApplianceInstancesInput ¶
type SpokeLinkedRouterApplianceInstancesInput interface { pulumi.Input ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput ToSpokeLinkedRouterApplianceInstancesOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesOutput }
SpokeLinkedRouterApplianceInstancesInput is an input type that accepts SpokeLinkedRouterApplianceInstancesArgs and SpokeLinkedRouterApplianceInstancesOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInput` via:
SpokeLinkedRouterApplianceInstancesArgs{...}
type SpokeLinkedRouterApplianceInstancesInstanceArgs ¶
type SpokeLinkedRouterApplianceInstancesInstanceArgs struct { // The IP address on the VM to use for peering. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // The URI of the virtual machine resource VirtualMachine pulumi.StringPtrInput `pulumi:"virtualMachine"` }
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput ¶
func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext ¶
func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
type SpokeLinkedRouterApplianceInstancesInstanceArray ¶
type SpokeLinkedRouterApplianceInstancesInstanceArray []SpokeLinkedRouterApplianceInstancesInstanceInput
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput ¶
func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext ¶
func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
type SpokeLinkedRouterApplianceInstancesInstanceArrayInput ¶
type SpokeLinkedRouterApplianceInstancesInstanceArrayInput interface { pulumi.Input ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput }
SpokeLinkedRouterApplianceInstancesInstanceArrayInput is an input type that accepts SpokeLinkedRouterApplianceInstancesInstanceArray and SpokeLinkedRouterApplianceInstancesInstanceArrayOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInstanceArrayInput` via:
SpokeLinkedRouterApplianceInstancesInstanceArray{ SpokeLinkedRouterApplianceInstancesInstanceArgs{...} }
type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput ¶
type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
type SpokeLinkedRouterApplianceInstancesInstanceInput ¶
type SpokeLinkedRouterApplianceInstancesInstanceInput interface { pulumi.Input ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput }
SpokeLinkedRouterApplianceInstancesInstanceInput is an input type that accepts SpokeLinkedRouterApplianceInstancesInstanceArgs and SpokeLinkedRouterApplianceInstancesInstanceOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInstanceInput` via:
SpokeLinkedRouterApplianceInstancesInstanceArgs{...}
type SpokeLinkedRouterApplianceInstancesInstanceOutput ¶
type SpokeLinkedRouterApplianceInstancesInstanceOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress() pulumi.StringPtrOutput
The IP address on the VM to use for peering.
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine ¶
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
The URI of the virtual machine resource
type SpokeLinkedRouterApplianceInstancesOutput ¶
type SpokeLinkedRouterApplianceInstancesOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesOutput) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesOutput) Instances ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
The list of router appliance instances Structure is documented below.
func (SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedRouterApplianceInstancesPtrInput ¶
type SpokeLinkedRouterApplianceInstancesPtrInput interface { pulumi.Input ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput }
SpokeLinkedRouterApplianceInstancesPtrInput is an input type that accepts SpokeLinkedRouterApplianceInstancesArgs, SpokeLinkedRouterApplianceInstancesPtr and SpokeLinkedRouterApplianceInstancesPtrOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesPtrInput` via:
SpokeLinkedRouterApplianceInstancesArgs{...} or: nil
func SpokeLinkedRouterApplianceInstancesPtr ¶
func SpokeLinkedRouterApplianceInstancesPtr(v *SpokeLinkedRouterApplianceInstancesArgs) SpokeLinkedRouterApplianceInstancesPtrInput
type SpokeLinkedRouterApplianceInstancesPtrOutput ¶
type SpokeLinkedRouterApplianceInstancesPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType ¶
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesPtrOutput) Instances ¶
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
The list of router appliance instances Structure is documented below.
func (SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedVpcNetwork ¶
type SpokeLinkedVpcNetworkArgs ¶
type SpokeLinkedVpcNetworkArgs struct { // IP ranges encompassing the subnets to be excluded from peering. ExcludeExportRanges pulumi.StringArrayInput `pulumi:"excludeExportRanges"` // The URI of the VPC network resource. Uri pulumi.StringInput `pulumi:"uri"` }
func (SpokeLinkedVpcNetworkArgs) ElementType ¶
func (SpokeLinkedVpcNetworkArgs) ElementType() reflect.Type
func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutput ¶
func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput
func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutputWithContext ¶
func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput
func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutput ¶
func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutputWithContext ¶
func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
type SpokeLinkedVpcNetworkInput ¶
type SpokeLinkedVpcNetworkInput interface { pulumi.Input ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput ToSpokeLinkedVpcNetworkOutputWithContext(context.Context) SpokeLinkedVpcNetworkOutput }
SpokeLinkedVpcNetworkInput is an input type that accepts SpokeLinkedVpcNetworkArgs and SpokeLinkedVpcNetworkOutput values. You can construct a concrete instance of `SpokeLinkedVpcNetworkInput` via:
SpokeLinkedVpcNetworkArgs{...}
type SpokeLinkedVpcNetworkOutput ¶
type SpokeLinkedVpcNetworkOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpcNetworkOutput) ElementType ¶
func (SpokeLinkedVpcNetworkOutput) ElementType() reflect.Type
func (SpokeLinkedVpcNetworkOutput) ExcludeExportRanges ¶
func (o SpokeLinkedVpcNetworkOutput) ExcludeExportRanges() pulumi.StringArrayOutput
IP ranges encompassing the subnets to be excluded from peering.
func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutput ¶
func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput
func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutputWithContext ¶
func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput
func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutput ¶
func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext ¶
func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
func (SpokeLinkedVpcNetworkOutput) Uri ¶
func (o SpokeLinkedVpcNetworkOutput) Uri() pulumi.StringOutput
The URI of the VPC network resource.
type SpokeLinkedVpcNetworkPtrInput ¶
type SpokeLinkedVpcNetworkPtrInput interface { pulumi.Input ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput ToSpokeLinkedVpcNetworkPtrOutputWithContext(context.Context) SpokeLinkedVpcNetworkPtrOutput }
SpokeLinkedVpcNetworkPtrInput is an input type that accepts SpokeLinkedVpcNetworkArgs, SpokeLinkedVpcNetworkPtr and SpokeLinkedVpcNetworkPtrOutput values. You can construct a concrete instance of `SpokeLinkedVpcNetworkPtrInput` via:
SpokeLinkedVpcNetworkArgs{...} or: nil
func SpokeLinkedVpcNetworkPtr ¶
func SpokeLinkedVpcNetworkPtr(v *SpokeLinkedVpcNetworkArgs) SpokeLinkedVpcNetworkPtrInput
type SpokeLinkedVpcNetworkPtrOutput ¶
type SpokeLinkedVpcNetworkPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpcNetworkPtrOutput) Elem ¶
func (o SpokeLinkedVpcNetworkPtrOutput) Elem() SpokeLinkedVpcNetworkOutput
func (SpokeLinkedVpcNetworkPtrOutput) ElementType ¶
func (SpokeLinkedVpcNetworkPtrOutput) ElementType() reflect.Type
func (SpokeLinkedVpcNetworkPtrOutput) ExcludeExportRanges ¶
func (o SpokeLinkedVpcNetworkPtrOutput) ExcludeExportRanges() pulumi.StringArrayOutput
IP ranges encompassing the subnets to be excluded from peering.
func (SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutput ¶
func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
func (SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext ¶
func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput
func (SpokeLinkedVpcNetworkPtrOutput) Uri ¶
func (o SpokeLinkedVpcNetworkPtrOutput) Uri() pulumi.StringPtrOutput
The URI of the VPC network resource.
type SpokeLinkedVpnTunnels ¶
type SpokeLinkedVpnTunnels struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"` // The URIs of linked VPN tunnel resources. Uris []string `pulumi:"uris"` }
type SpokeLinkedVpnTunnelsArgs ¶
type SpokeLinkedVpnTunnelsArgs struct { // A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"` // The URIs of linked VPN tunnel resources. Uris pulumi.StringArrayInput `pulumi:"uris"` }
func (SpokeLinkedVpnTunnelsArgs) ElementType ¶
func (SpokeLinkedVpnTunnelsArgs) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput ¶
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext ¶
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput ¶
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
type SpokeLinkedVpnTunnelsInput ¶
type SpokeLinkedVpnTunnelsInput interface { pulumi.Input ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput ToSpokeLinkedVpnTunnelsOutputWithContext(context.Context) SpokeLinkedVpnTunnelsOutput }
SpokeLinkedVpnTunnelsInput is an input type that accepts SpokeLinkedVpnTunnelsArgs and SpokeLinkedVpnTunnelsOutput values. You can construct a concrete instance of `SpokeLinkedVpnTunnelsInput` via:
SpokeLinkedVpnTunnelsArgs{...}
type SpokeLinkedVpnTunnelsOutput ¶
type SpokeLinkedVpnTunnelsOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpnTunnelsOutput) ElementType ¶
func (SpokeLinkedVpnTunnelsOutput) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput ¶
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext ¶
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput ¶
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsOutput) Uris ¶
func (o SpokeLinkedVpnTunnelsOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeLinkedVpnTunnelsPtrInput ¶
type SpokeLinkedVpnTunnelsPtrInput interface { pulumi.Input ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput ToSpokeLinkedVpnTunnelsPtrOutputWithContext(context.Context) SpokeLinkedVpnTunnelsPtrOutput }
SpokeLinkedVpnTunnelsPtrInput is an input type that accepts SpokeLinkedVpnTunnelsArgs, SpokeLinkedVpnTunnelsPtr and SpokeLinkedVpnTunnelsPtrOutput values. You can construct a concrete instance of `SpokeLinkedVpnTunnelsPtrInput` via:
SpokeLinkedVpnTunnelsArgs{...} or: nil
func SpokeLinkedVpnTunnelsPtr ¶
func SpokeLinkedVpnTunnelsPtr(v *SpokeLinkedVpnTunnelsArgs) SpokeLinkedVpnTunnelsPtrInput
type SpokeLinkedVpnTunnelsPtrOutput ¶
type SpokeLinkedVpnTunnelsPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpnTunnelsPtrOutput) Elem ¶
func (o SpokeLinkedVpnTunnelsPtrOutput) Elem() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsPtrOutput) ElementType ¶
func (SpokeLinkedVpnTunnelsPtrOutput) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer ¶
func (o SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
func (SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput ¶
func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶
func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsPtrOutput) Uris ¶
func (o SpokeLinkedVpnTunnelsPtrOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeMap ¶
type SpokeMap map[string]SpokeInput
func (SpokeMap) ElementType ¶
func (SpokeMap) ToSpokeMapOutput ¶
func (i SpokeMap) ToSpokeMapOutput() SpokeMapOutput
func (SpokeMap) ToSpokeMapOutputWithContext ¶
func (i SpokeMap) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput
type SpokeMapInput ¶
type SpokeMapInput interface { pulumi.Input ToSpokeMapOutput() SpokeMapOutput ToSpokeMapOutputWithContext(context.Context) SpokeMapOutput }
SpokeMapInput is an input type that accepts SpokeMap and SpokeMapOutput values. You can construct a concrete instance of `SpokeMapInput` via:
SpokeMap{ "key": SpokeArgs{...} }
type SpokeMapOutput ¶
type SpokeMapOutput struct{ *pulumi.OutputState }
func (SpokeMapOutput) ElementType ¶
func (SpokeMapOutput) ElementType() reflect.Type
func (SpokeMapOutput) MapIndex ¶
func (o SpokeMapOutput) MapIndex(k pulumi.StringInput) SpokeOutput
func (SpokeMapOutput) ToSpokeMapOutput ¶
func (o SpokeMapOutput) ToSpokeMapOutput() SpokeMapOutput
func (SpokeMapOutput) ToSpokeMapOutputWithContext ¶
func (o SpokeMapOutput) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput
type SpokeOutput ¶
type SpokeOutput struct{ *pulumi.OutputState }
func (SpokeOutput) CreateTime ¶
func (o SpokeOutput) CreateTime() pulumi.StringOutput
Output only. The time the spoke was created.
func (SpokeOutput) Description ¶
func (o SpokeOutput) Description() pulumi.StringPtrOutput
An optional description of the spoke.
func (SpokeOutput) EffectiveLabels ¶
func (o SpokeOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (SpokeOutput) ElementType ¶
func (SpokeOutput) ElementType() reflect.Type
func (SpokeOutput) Hub ¶
func (o SpokeOutput) Hub() pulumi.StringOutput
Immutable. The URI of the hub that this spoke is attached to.
func (SpokeOutput) Labels ¶
func (o SpokeOutput) Labels() pulumi.StringMapOutput
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (SpokeOutput) LinkedInterconnectAttachments ¶
func (o SpokeOutput) LinkedInterconnectAttachments() SpokeLinkedInterconnectAttachmentsPtrOutput
A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. Structure is documented below.
func (SpokeOutput) LinkedRouterApplianceInstances ¶
func (o SpokeOutput) LinkedRouterApplianceInstances() SpokeLinkedRouterApplianceInstancesPtrOutput
The URIs of linked Router appliance resources Structure is documented below.
func (SpokeOutput) LinkedVpcNetwork ¶
func (o SpokeOutput) LinkedVpcNetwork() SpokeLinkedVpcNetworkPtrOutput
VPC network that is associated with the spoke. Structure is documented below.
func (SpokeOutput) LinkedVpnTunnels ¶
func (o SpokeOutput) LinkedVpnTunnels() SpokeLinkedVpnTunnelsPtrOutput
The URIs of linked VPN tunnel resources Structure is documented below.
func (SpokeOutput) Location ¶
func (o SpokeOutput) Location() pulumi.StringOutput
The location for the resource
***
func (SpokeOutput) Name ¶
func (o SpokeOutput) Name() pulumi.StringOutput
Immutable. The name of the spoke. Spoke names must be unique.
func (SpokeOutput) Project ¶
func (o SpokeOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (SpokeOutput) PulumiLabels ¶
func (o SpokeOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (SpokeOutput) State ¶
func (o SpokeOutput) State() pulumi.StringOutput
Output only. The current lifecycle state of this spoke.
func (SpokeOutput) ToSpokeOutput ¶
func (o SpokeOutput) ToSpokeOutput() SpokeOutput
func (SpokeOutput) ToSpokeOutputWithContext ¶
func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
func (SpokeOutput) UniqueId ¶
func (o SpokeOutput) UniqueId() pulumi.StringOutput
Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
func (SpokeOutput) UpdateTime ¶
func (o SpokeOutput) UpdateTime() pulumi.StringOutput
Output only. The time the spoke was last updated.
type SpokeState ¶
type SpokeState struct { // Output only. The time the spoke was created. CreateTime pulumi.StringPtrInput // An optional description of the spoke. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Immutable. The URI of the hub that this spoke is attached to. Hub pulumi.StringPtrInput // Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. // Structure is documented below. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput // The URIs of linked Router appliance resources // Structure is documented below. LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput // VPC network that is associated with the spoke. // Structure is documented below. LinkedVpcNetwork SpokeLinkedVpcNetworkPtrInput // The URIs of linked VPN tunnel resources // Structure is documented below. LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrInput // The location for the resource // // *** Location pulumi.StringPtrInput // Immutable. The name of the spoke. Spoke names must be unique. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Output only. The current lifecycle state of this spoke. State pulumi.StringPtrInput // Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id. UniqueId pulumi.StringPtrInput // Output only. The time the spoke was last updated. UpdateTime pulumi.StringPtrInput }
func (SpokeState) ElementType ¶
func (SpokeState) ElementType() reflect.Type