networkmanagement

package
v3.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectivityTest

type ConnectivityTest struct {
	pulumi.CustomResourceState

	// The user-supplied description of the Connectivity Test. Maximum of 512 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address,
	// Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP
	// address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from
	// route information. If the destination you specify is a VM instance and the instance has multiple network interfaces,
	// then you must also specify either a destination IP address or VPC network to identify the destination interface. A
	// reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints
	// that you don't intend to test.
	Destination ConnectivityTestDestinationOutput `pulumi:"destination"`
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Unique name for the connectivity test.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// IP Protocol of the test. When not provided, "TCP" is assumed.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
	// project boundaries.
	RelatedProjects pulumi.StringArrayOutput `pulumi:"relatedProjects"`
	// Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine
	// (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is
	// an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC
	// network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information.
	// If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the
	// source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient
	// to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis
	// proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend
	// to test.
	Source ConnectivityTestSourceOutput `pulumi:"source"`
}

func GetConnectivityTest

func GetConnectivityTest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectivityTestState, opts ...pulumi.ResourceOption) (*ConnectivityTest, error)

GetConnectivityTest gets an existing ConnectivityTest 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 NewConnectivityTest

func NewConnectivityTest(ctx *pulumi.Context,
	name string, args *ConnectivityTestArgs, opts ...pulumi.ResourceOption) (*ConnectivityTest, error)

NewConnectivityTest registers a new resource with the given unique name, arguments, and options.

type ConnectivityTestArgs

type ConnectivityTestArgs struct {
	// The user-supplied description of the Connectivity Test. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address,
	// Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP
	// address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from
	// route information. If the destination you specify is a VM instance and the instance has multiple network interfaces,
	// then you must also specify either a destination IP address or VPC network to identify the destination interface. A
	// reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints
	// that you don't intend to test.
	Destination ConnectivityTestDestinationInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// Unique name for the connectivity test.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// IP Protocol of the test. When not provided, "TCP" is assumed.
	Protocol pulumi.StringPtrInput
	// Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
	// project boundaries.
	RelatedProjects pulumi.StringArrayInput
	// Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine
	// (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is
	// an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC
	// network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information.
	// If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the
	// source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient
	// to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis
	// proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend
	// to test.
	Source ConnectivityTestSourceInput
}

The set of arguments for constructing a ConnectivityTest resource.

func (ConnectivityTestArgs) ElementType

func (ConnectivityTestArgs) ElementType() reflect.Type

type ConnectivityTestDestination

type ConnectivityTestDestination struct {
	Instance  *string `pulumi:"instance"`
	IpAddress *string `pulumi:"ipAddress"`
	Network   *string `pulumi:"network"`
	Port      *int    `pulumi:"port"`
	ProjectId *string `pulumi:"projectId"`
}

type ConnectivityTestDestinationArgs

type ConnectivityTestDestinationArgs struct {
	Instance  pulumi.StringPtrInput `pulumi:"instance"`
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	Network   pulumi.StringPtrInput `pulumi:"network"`
	Port      pulumi.IntPtrInput    `pulumi:"port"`
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

func (ConnectivityTestDestinationArgs) ElementType

func (ConnectivityTestDestinationArgs) ToConnectivityTestDestinationOutput

func (i ConnectivityTestDestinationArgs) ToConnectivityTestDestinationOutput() ConnectivityTestDestinationOutput

func (ConnectivityTestDestinationArgs) ToConnectivityTestDestinationOutputWithContext

func (i ConnectivityTestDestinationArgs) ToConnectivityTestDestinationOutputWithContext(ctx context.Context) ConnectivityTestDestinationOutput

func (ConnectivityTestDestinationArgs) ToConnectivityTestDestinationPtrOutput

func (i ConnectivityTestDestinationArgs) ToConnectivityTestDestinationPtrOutput() ConnectivityTestDestinationPtrOutput

func (ConnectivityTestDestinationArgs) ToConnectivityTestDestinationPtrOutputWithContext

func (i ConnectivityTestDestinationArgs) ToConnectivityTestDestinationPtrOutputWithContext(ctx context.Context) ConnectivityTestDestinationPtrOutput

type ConnectivityTestDestinationInput

type ConnectivityTestDestinationInput interface {
	pulumi.Input

	ToConnectivityTestDestinationOutput() ConnectivityTestDestinationOutput
	ToConnectivityTestDestinationOutputWithContext(context.Context) ConnectivityTestDestinationOutput
}

ConnectivityTestDestinationInput is an input type that accepts ConnectivityTestDestinationArgs and ConnectivityTestDestinationOutput values. You can construct a concrete instance of `ConnectivityTestDestinationInput` via:

ConnectivityTestDestinationArgs{...}

type ConnectivityTestDestinationOutput

type ConnectivityTestDestinationOutput struct{ *pulumi.OutputState }

func (ConnectivityTestDestinationOutput) ElementType

func (ConnectivityTestDestinationOutput) Instance

func (ConnectivityTestDestinationOutput) IpAddress

func (ConnectivityTestDestinationOutput) Network

func (ConnectivityTestDestinationOutput) Port

func (ConnectivityTestDestinationOutput) ProjectId

func (ConnectivityTestDestinationOutput) ToConnectivityTestDestinationOutput

func (o ConnectivityTestDestinationOutput) ToConnectivityTestDestinationOutput() ConnectivityTestDestinationOutput

func (ConnectivityTestDestinationOutput) ToConnectivityTestDestinationOutputWithContext

func (o ConnectivityTestDestinationOutput) ToConnectivityTestDestinationOutputWithContext(ctx context.Context) ConnectivityTestDestinationOutput

func (ConnectivityTestDestinationOutput) ToConnectivityTestDestinationPtrOutput

func (o ConnectivityTestDestinationOutput) ToConnectivityTestDestinationPtrOutput() ConnectivityTestDestinationPtrOutput

func (ConnectivityTestDestinationOutput) ToConnectivityTestDestinationPtrOutputWithContext

func (o ConnectivityTestDestinationOutput) ToConnectivityTestDestinationPtrOutputWithContext(ctx context.Context) ConnectivityTestDestinationPtrOutput

type ConnectivityTestDestinationPtrInput

type ConnectivityTestDestinationPtrInput interface {
	pulumi.Input

	ToConnectivityTestDestinationPtrOutput() ConnectivityTestDestinationPtrOutput
	ToConnectivityTestDestinationPtrOutputWithContext(context.Context) ConnectivityTestDestinationPtrOutput
}

ConnectivityTestDestinationPtrInput is an input type that accepts ConnectivityTestDestinationArgs, ConnectivityTestDestinationPtr and ConnectivityTestDestinationPtrOutput values. You can construct a concrete instance of `ConnectivityTestDestinationPtrInput` via:

		 ConnectivityTestDestinationArgs{...}

 or:

		 nil

type ConnectivityTestDestinationPtrOutput

type ConnectivityTestDestinationPtrOutput struct{ *pulumi.OutputState }

func (ConnectivityTestDestinationPtrOutput) Elem

func (ConnectivityTestDestinationPtrOutput) ElementType

func (ConnectivityTestDestinationPtrOutput) Instance

func (ConnectivityTestDestinationPtrOutput) IpAddress

func (ConnectivityTestDestinationPtrOutput) Network

func (ConnectivityTestDestinationPtrOutput) Port

func (ConnectivityTestDestinationPtrOutput) ProjectId

func (ConnectivityTestDestinationPtrOutput) ToConnectivityTestDestinationPtrOutput

func (o ConnectivityTestDestinationPtrOutput) ToConnectivityTestDestinationPtrOutput() ConnectivityTestDestinationPtrOutput

func (ConnectivityTestDestinationPtrOutput) ToConnectivityTestDestinationPtrOutputWithContext

func (o ConnectivityTestDestinationPtrOutput) ToConnectivityTestDestinationPtrOutputWithContext(ctx context.Context) ConnectivityTestDestinationPtrOutput

type ConnectivityTestSource

type ConnectivityTestSource struct {
	Instance    *string `pulumi:"instance"`
	IpAddress   *string `pulumi:"ipAddress"`
	Network     *string `pulumi:"network"`
	NetworkType *string `pulumi:"networkType"`
	Port        *int    `pulumi:"port"`
	ProjectId   *string `pulumi:"projectId"`
}

type ConnectivityTestSourceArgs

type ConnectivityTestSourceArgs struct {
	Instance    pulumi.StringPtrInput `pulumi:"instance"`
	IpAddress   pulumi.StringPtrInput `pulumi:"ipAddress"`
	Network     pulumi.StringPtrInput `pulumi:"network"`
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	Port        pulumi.IntPtrInput    `pulumi:"port"`
	ProjectId   pulumi.StringPtrInput `pulumi:"projectId"`
}

func (ConnectivityTestSourceArgs) ElementType

func (ConnectivityTestSourceArgs) ElementType() reflect.Type

func (ConnectivityTestSourceArgs) ToConnectivityTestSourceOutput

func (i ConnectivityTestSourceArgs) ToConnectivityTestSourceOutput() ConnectivityTestSourceOutput

func (ConnectivityTestSourceArgs) ToConnectivityTestSourceOutputWithContext

func (i ConnectivityTestSourceArgs) ToConnectivityTestSourceOutputWithContext(ctx context.Context) ConnectivityTestSourceOutput

func (ConnectivityTestSourceArgs) ToConnectivityTestSourcePtrOutput

func (i ConnectivityTestSourceArgs) ToConnectivityTestSourcePtrOutput() ConnectivityTestSourcePtrOutput

func (ConnectivityTestSourceArgs) ToConnectivityTestSourcePtrOutputWithContext

func (i ConnectivityTestSourceArgs) ToConnectivityTestSourcePtrOutputWithContext(ctx context.Context) ConnectivityTestSourcePtrOutput

type ConnectivityTestSourceInput

type ConnectivityTestSourceInput interface {
	pulumi.Input

	ToConnectivityTestSourceOutput() ConnectivityTestSourceOutput
	ToConnectivityTestSourceOutputWithContext(context.Context) ConnectivityTestSourceOutput
}

ConnectivityTestSourceInput is an input type that accepts ConnectivityTestSourceArgs and ConnectivityTestSourceOutput values. You can construct a concrete instance of `ConnectivityTestSourceInput` via:

ConnectivityTestSourceArgs{...}

type ConnectivityTestSourceOutput

type ConnectivityTestSourceOutput struct{ *pulumi.OutputState }

func (ConnectivityTestSourceOutput) ElementType

func (ConnectivityTestSourceOutput) Instance

func (ConnectivityTestSourceOutput) IpAddress

func (ConnectivityTestSourceOutput) Network

func (ConnectivityTestSourceOutput) NetworkType

func (ConnectivityTestSourceOutput) Port

func (ConnectivityTestSourceOutput) ProjectId

func (ConnectivityTestSourceOutput) ToConnectivityTestSourceOutput

func (o ConnectivityTestSourceOutput) ToConnectivityTestSourceOutput() ConnectivityTestSourceOutput

func (ConnectivityTestSourceOutput) ToConnectivityTestSourceOutputWithContext

func (o ConnectivityTestSourceOutput) ToConnectivityTestSourceOutputWithContext(ctx context.Context) ConnectivityTestSourceOutput

func (ConnectivityTestSourceOutput) ToConnectivityTestSourcePtrOutput

func (o ConnectivityTestSourceOutput) ToConnectivityTestSourcePtrOutput() ConnectivityTestSourcePtrOutput

func (ConnectivityTestSourceOutput) ToConnectivityTestSourcePtrOutputWithContext

func (o ConnectivityTestSourceOutput) ToConnectivityTestSourcePtrOutputWithContext(ctx context.Context) ConnectivityTestSourcePtrOutput

type ConnectivityTestSourcePtrInput

type ConnectivityTestSourcePtrInput interface {
	pulumi.Input

	ToConnectivityTestSourcePtrOutput() ConnectivityTestSourcePtrOutput
	ToConnectivityTestSourcePtrOutputWithContext(context.Context) ConnectivityTestSourcePtrOutput
}

ConnectivityTestSourcePtrInput is an input type that accepts ConnectivityTestSourceArgs, ConnectivityTestSourcePtr and ConnectivityTestSourcePtrOutput values. You can construct a concrete instance of `ConnectivityTestSourcePtrInput` via:

		 ConnectivityTestSourceArgs{...}

 or:

		 nil

type ConnectivityTestSourcePtrOutput

type ConnectivityTestSourcePtrOutput struct{ *pulumi.OutputState }

func (ConnectivityTestSourcePtrOutput) Elem

func (ConnectivityTestSourcePtrOutput) ElementType

func (ConnectivityTestSourcePtrOutput) Instance

func (ConnectivityTestSourcePtrOutput) IpAddress

func (ConnectivityTestSourcePtrOutput) Network

func (ConnectivityTestSourcePtrOutput) NetworkType

func (ConnectivityTestSourcePtrOutput) Port

func (ConnectivityTestSourcePtrOutput) ProjectId

func (ConnectivityTestSourcePtrOutput) ToConnectivityTestSourcePtrOutput

func (o ConnectivityTestSourcePtrOutput) ToConnectivityTestSourcePtrOutput() ConnectivityTestSourcePtrOutput

func (ConnectivityTestSourcePtrOutput) ToConnectivityTestSourcePtrOutputWithContext

func (o ConnectivityTestSourcePtrOutput) ToConnectivityTestSourcePtrOutputWithContext(ctx context.Context) ConnectivityTestSourcePtrOutput

type ConnectivityTestState

type ConnectivityTestState struct {
	// The user-supplied description of the Connectivity Test. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address,
	// Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP
	// address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from
	// route information. If the destination you specify is a VM instance and the instance has multiple network interfaces,
	// then you must also specify either a destination IP address or VPC network to identify the destination interface. A
	// reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints
	// that you don't intend to test.
	Destination ConnectivityTestDestinationPtrInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// Unique name for the connectivity test.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// IP Protocol of the test. When not provided, "TCP" is assumed.
	Protocol pulumi.StringPtrInput
	// Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
	// project boundaries.
	RelatedProjects pulumi.StringArrayInput
	// Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine
	// (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is
	// an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC
	// network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information.
	// If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the
	// source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient
	// to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis
	// proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend
	// to test.
	Source ConnectivityTestSourcePtrInput
}

func (ConnectivityTestState) ElementType

func (ConnectivityTestState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL