config

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Module networking.v4.aws.config of Nutanix Cluster Management APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsSubnet

type AwsSubnet struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Annotation string for cloud resources.
	*/
	Annotation *string `json:"annotation,omitempty"`
	/*
	  Availability Zone in which resource is situated.
	*/
	AvailabilityZone *string `json:"availabilityZone"`
	/*
	  Cloud subnet mask.
	*/
	Cidr *string `json:"cidr"`

	CloudType *CloudType `json:"cloudType"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  Cloud subnet gateway IP.
	*/
	GatewayIp *string `json:"gatewayIp"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import1.ApiLink `json:"links,omitempty"`
	/*
	  Cloud subnet Id.
	*/
	SubnetId *string `json:"subnetId"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  AWS VPC ID where cluster is deployed.
	*/
	VpcId *string `json:"vpcId"`
}

NC2A Subnet in the given VPC.

func NewAwsSubnet

func NewAwsSubnet() *AwsSubnet

func (*AwsSubnet) MarshalJSON

func (p *AwsSubnet) MarshalJSON() ([]byte, error)

func (*AwsSubnet) UnmarshalJSON

func (p *AwsSubnet) UnmarshalJSON(b []byte) error

type CloudType

type CloudType int

Enum defining different cloud platforms.

const (
	CLOUDTYPE_UNKNOWN  CloudType = 0
	CLOUDTYPE_REDACTED CloudType = 1
	CLOUDTYPE_AWS      CloudType = 2
	CLOUDTYPE_AZURE    CloudType = 3
)

func (CloudType) GetName

func (e CloudType) GetName() string

Returns the name of the enum

func (*CloudType) MarshalJSON

func (e *CloudType) MarshalJSON() ([]byte, error)

func (CloudType) Ref

func (e CloudType) Ref() *CloudType

func (*CloudType) UnmarshalJSON

func (e *CloudType) UnmarshalJSON(b []byte) error

type FileDetail

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

func NewFileDetail

func NewFileDetail() *FileDetail

Jump to

Keyboard shortcuts

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