TransportState class
Input properties used for looking up and filtering Transport resources.
Constructors
-
TransportState({Input<
bool?> ? adminEnabled, Input<List< ? advertisedRoutes, Input<String> ?>bool?> ? autoAccept, Input<String?> ? bandwidth, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? generatedActivationKey, Input<String?> ? hub, Input<Map< ? labels, Input<String, String> ?>int?> ? mtuLimit, Input<String?> ? name, Input<String?> ? network, Input<String?> ? peeringNetwork, Input<String?> ? project, Input<String?> ? providedActivationKey, Input<bool?> ? pscRoutingEnabled, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? region, Input<String?> ? remoteAccountId, Input<String?> ? remoteProfile, Input<String?> ? stackType, Input<String?> ? state}) -
Creates a new TransportState.
adminEnabled(Optional, Beta)advertisedRoutesList of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.autoAccept(Optional, Beta)bandwidthBandwidth of the Transport. This must be one of the supported bandwidths for the remote profile.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. generatedActivationKeyOutput onlyGoogle-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.hub(Optional, Beta)labelsOptional labels in key:value format. For more information about labels, see Requirements for labels. mtuLimitOutput onlyThe maximum transmission unit (MTU) of a packet that can be sent over this transport.nameName of the resource, see google.aip.dev/122 for resource naming.networkResource URL of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.peeringNetworkVPC Network URI that was created for the VPC Peering connection to the providednetwork. If VPC Peering is disconnected, this can be used to re-establish.projectThe ID of the project in which the resource belongs.providedActivationKeyKey used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.pscRoutingEnabled(Optional, Beta)pulumiLabelsThe combination of labels configured directly on the resourceregionThe region of this resource. This is required to construct the resource name, but is not sent to the API since the region is already contained in the parent field.remoteAccountIdThe user supplied account id for the CSP associated with the remote profile.remoteProfileResource URL of the remoteTransportProfile that this Transport isstackTypeIP version stack for the established connectivity. stateOutput OnlyState of the underlying connectivity.const -
TransportState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
adminEnabled
→ Input<
bool?> ? -
(Optional, Beta)
Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
final
-
advertisedRoutes
→ Input<
List< ?String> ?> -
List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
final
-
autoAccept
→ Input<
bool?> ? -
(Optional, Beta)
Controls whether resources proposed by the Transport are automatically accepted on behalf of the user.
final
-
bandwidth
→ Input<
String?> ? -
Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional description of this resource.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
generatedActivationKey
→ Input<
String?> ? -
Output onlyGoogle-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
hub
→ Input<
String?> ? -
(Optional, Beta)
The NCC Hub that the Transport should attach to. The hub must be in the same project as the Transport.
final
-
labels
→ Input<
Map< ?String, String> ?> -
Optional labels in key:value format. For more information about labels, see Requirements for labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
mtuLimit
→ Input<
int?> ? -
Output onlyThe maximum transmission unit (MTU) of a packet that can be sent over this transport.final -
name
→ Input<
String?> ? -
Name of the resource, see google.aip.dev/122 for resource naming.
final
-
network
→ Input<
String?> ? -
Resource URL of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
final
-
peeringNetwork
→ Input<
String?> ? -
VPC Network URI that was created for the VPC Peering connection to the provided
network. If VPC Peering is disconnected, this can be used to re-establish.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
providedActivationKey
→ Input<
String?> ? -
Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
final
-
pscRoutingEnabled
→ Input<
bool?> ? -
(Optional, Beta)
Controls whether a Routing VPC Spoke should be created and attached to the NCC Hub.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
region
→ Input<
String?> ? -
The region of this resource. This is required to construct the resource name, but is not sent to the API since the region is already contained in the parent field.
final
-
remoteAccountId
→ Input<
String?> ? -
The user supplied account id for the CSP associated with the remote profile.
final
-
remoteProfile
→ Input<
String?> ? -
Resource URL of the remoteTransportProfile that this Transport is
connecting to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stackType
→ Input<
String?> ? -
IP version stack for the established connectivity.
Possible values are:
IPV4_IPV6,IPV4_ONLY.final -
state
→ Input<
String?> ? -
Output OnlyState of the underlying connectivity.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited