nodetype

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDiskType

func PossibleValuesForDiskType() []string

func PossibleValuesForManagedResourceProvisioningState

func PossibleValuesForManagedResourceProvisioningState() []string

func ValidateManagedClusterID

func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)

ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID

func ValidateNodeTypeID

func ValidateNodeTypeID(input interface{}, key string) (warnings []string, errors []error)

ValidateNodeTypeID checks that 'input' can be parsed as a Node Type ID

Types

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteNodeResponse

type DeleteNodeResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DiskType

type DiskType string
const (
	DiskTypePremiumLRS     DiskType = "Premium_LRS"
	DiskTypeStandardLRS    DiskType = "Standard_LRS"
	DiskTypeStandardSSDLRS DiskType = "StandardSSD_LRS"
)

type EndpointRangeDescription

type EndpointRangeDescription struct {
	EndPort   int64 `json:"endPort"`
	StartPort int64 `json:"startPort"`
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *NodeType
}

type ListByManagedClustersCompleteResult

type ListByManagedClustersCompleteResult struct {
	Items []NodeType
}

type ListByManagedClustersResponse

type ListByManagedClustersResponse struct {
	HttpResponse *http.Response
	Model        *[]NodeType
	// contains filtered or unexported fields
}

func (ListByManagedClustersResponse) HasMore

func (r ListByManagedClustersResponse) HasMore() bool

func (ListByManagedClustersResponse) LoadMore

type ManagedClusterId

type ManagedClusterId struct {
	SubscriptionId    string
	ResourceGroupName string
	ClusterName       string
}

ManagedClusterId is a struct representing the Resource ID for a Managed Cluster

func NewManagedClusterID

func NewManagedClusterID(subscriptionId string, resourceGroupName string, clusterName string) ManagedClusterId

NewManagedClusterID returns a new ManagedClusterId struct

func ParseManagedClusterID

func ParseManagedClusterID(input string) (*ManagedClusterId, error)

ParseManagedClusterID parses 'input' into a ManagedClusterId

func ParseManagedClusterIDInsensitively

func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)

ParseManagedClusterIDInsensitively parses 'input' case-insensitively into a ManagedClusterId note: this method should only be used for API response data and not user input

func (ManagedClusterId) ID

func (id ManagedClusterId) ID() string

ID returns the formatted Managed Cluster ID

func (ManagedClusterId) Segments

func (id ManagedClusterId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID

func (ManagedClusterId) String

func (id ManagedClusterId) String() string

String returns a human-readable description of this Managed Cluster ID

type ManagedResourceProvisioningState

type ManagedResourceProvisioningState string
const (
	ManagedResourceProvisioningStateCanceled  ManagedResourceProvisioningState = "Canceled"
	ManagedResourceProvisioningStateCreated   ManagedResourceProvisioningState = "Created"
	ManagedResourceProvisioningStateCreating  ManagedResourceProvisioningState = "Creating"
	ManagedResourceProvisioningStateDeleted   ManagedResourceProvisioningState = "Deleted"
	ManagedResourceProvisioningStateDeleting  ManagedResourceProvisioningState = "Deleting"
	ManagedResourceProvisioningStateFailed    ManagedResourceProvisioningState = "Failed"
	ManagedResourceProvisioningStateNone      ManagedResourceProvisioningState = "None"
	ManagedResourceProvisioningStateOther     ManagedResourceProvisioningState = "Other"
	ManagedResourceProvisioningStateSucceeded ManagedResourceProvisioningState = "Succeeded"
	ManagedResourceProvisioningStateUpdating  ManagedResourceProvisioningState = "Updating"
)

type NodeType

type NodeType struct {
	Id         *string             `json:"id,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Properties *NodeTypeProperties `json:"properties,omitempty"`
	SystemData *SystemData         `json:"systemData,omitempty"`
	Tags       *map[string]string  `json:"tags,omitempty"`
	Type       *string             `json:"type,omitempty"`
}

type NodeTypeActionParameters

type NodeTypeActionParameters struct {
	Force *bool    `json:"force,omitempty"`
	Nodes []string `json:"nodes"`
}

type NodeTypeClient

type NodeTypeClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewNodeTypeClientWithBaseURI

func NewNodeTypeClientWithBaseURI(endpoint string) NodeTypeClient

func (NodeTypeClient) CreateOrUpdate

func (c NodeTypeClient) CreateOrUpdate(ctx context.Context, id NodeTypeId, input NodeType) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (NodeTypeClient) CreateOrUpdateThenPoll

func (c NodeTypeClient) CreateOrUpdateThenPoll(ctx context.Context, id NodeTypeId, input NodeType) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (NodeTypeClient) Delete

func (c NodeTypeClient) Delete(ctx context.Context, id NodeTypeId) (result DeleteResponse, err error)

Delete ...

func (NodeTypeClient) DeleteNode

func (c NodeTypeClient) DeleteNode(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result DeleteNodeResponse, err error)

DeleteNode ...

func (NodeTypeClient) DeleteNodeThenPoll

func (c NodeTypeClient) DeleteNodeThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error

DeleteNodeThenPoll performs DeleteNode then polls until it's completed

func (NodeTypeClient) DeleteThenPoll

func (c NodeTypeClient) DeleteThenPoll(ctx context.Context, id NodeTypeId) error

DeleteThenPoll performs Delete then polls until it's completed

func (NodeTypeClient) Get

func (c NodeTypeClient) Get(ctx context.Context, id NodeTypeId) (result GetResponse, err error)

Get ...

func (NodeTypeClient) ListByManagedClusters

func (c NodeTypeClient) ListByManagedClusters(ctx context.Context, id ManagedClusterId) (resp ListByManagedClustersResponse, err error)

ListByManagedClusters ...

func (NodeTypeClient) ListByManagedClustersComplete

func (c NodeTypeClient) ListByManagedClustersComplete(ctx context.Context, id ManagedClusterId) (ListByManagedClustersCompleteResult, error)

ListByManagedClustersComplete retrieves all of the results into a single object

func (NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate

func (c NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate NodeTypePredicate) (resp ListByManagedClustersCompleteResult, err error)

ListByManagedClustersCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (NodeTypeClient) Reimage

func (c NodeTypeClient) Reimage(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result ReimageResponse, err error)

Reimage ...

func (NodeTypeClient) ReimageThenPoll

func (c NodeTypeClient) ReimageThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error

ReimageThenPoll performs Reimage then polls until it's completed

func (NodeTypeClient) Restart

func (c NodeTypeClient) Restart(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result RestartResponse, err error)

Restart ...

func (NodeTypeClient) RestartThenPoll

func (c NodeTypeClient) RestartThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error

RestartThenPoll performs Restart then polls until it's completed

func (NodeTypeClient) Update

func (c NodeTypeClient) Update(ctx context.Context, id NodeTypeId, input NodeTypeUpdateParameters) (result UpdateResponse, err error)

Update ...

type NodeTypeId

type NodeTypeId struct {
	SubscriptionId    string
	ResourceGroupName string
	ClusterName       string
	NodeTypeName      string
}

NodeTypeId is a struct representing the Resource ID for a Node Type

func NewNodeTypeID

func NewNodeTypeID(subscriptionId string, resourceGroupName string, clusterName string, nodeTypeName string) NodeTypeId

NewNodeTypeID returns a new NodeTypeId struct

func ParseNodeTypeID

func ParseNodeTypeID(input string) (*NodeTypeId, error)

ParseNodeTypeID parses 'input' into a NodeTypeId

func ParseNodeTypeIDInsensitively

func ParseNodeTypeIDInsensitively(input string) (*NodeTypeId, error)

ParseNodeTypeIDInsensitively parses 'input' case-insensitively into a NodeTypeId note: this method should only be used for API response data and not user input

func (NodeTypeId) ID

func (id NodeTypeId) ID() string

ID returns the formatted Node Type ID

func (NodeTypeId) Segments

func (id NodeTypeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Node Type ID

func (NodeTypeId) String

func (id NodeTypeId) String() string

String returns a human-readable description of this Node Type ID

type NodeTypePredicate

type NodeTypePredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (NodeTypePredicate) Matches

func (p NodeTypePredicate) Matches(input NodeType) bool

type NodeTypeProperties

type NodeTypeProperties struct {
	ApplicationPorts        *EndpointRangeDescription          `json:"applicationPorts,omitempty"`
	Capacities              *map[string]string                 `json:"capacities,omitempty"`
	DataDiskSizeGB          int64                              `json:"dataDiskSizeGB"`
	DataDiskType            *DiskType                          `json:"dataDiskType,omitempty"`
	EphemeralPorts          *EndpointRangeDescription          `json:"ephemeralPorts,omitempty"`
	IsPrimary               bool                               `json:"isPrimary"`
	IsStateless             *bool                              `json:"isStateless,omitempty"`
	MultiplePlacementGroups *bool                              `json:"multiplePlacementGroups,omitempty"`
	PlacementProperties     *map[string]string                 `json:"placementProperties,omitempty"`
	ProvisioningState       *ManagedResourceProvisioningState  `json:"provisioningState,omitempty"`
	VmExtensions            *[]VMSSExtension                   `json:"vmExtensions,omitempty"`
	VmImageOffer            *string                            `json:"vmImageOffer,omitempty"`
	VmImagePublisher        *string                            `json:"vmImagePublisher,omitempty"`
	VmImageSku              *string                            `json:"vmImageSku,omitempty"`
	VmImageVersion          *string                            `json:"vmImageVersion,omitempty"`
	VmInstanceCount         int64                              `json:"vmInstanceCount"`
	VmManagedIdentity       *identity.UserAssignedIdentityList `json:"vmManagedIdentity,omitempty"`
	VmSecrets               *[]VaultSecretGroup                `json:"vmSecrets,omitempty"`
	VmSize                  *string                            `json:"vmSize,omitempty"`
}

type NodeTypeUpdateParameters

type NodeTypeUpdateParameters struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type ReimageResponse

type ReimageResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RestartResponse

type RestartResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type SystemData

type SystemData struct {
	CreatedAt          *string `json:"createdAt,omitempty"`
	CreatedBy          *string `json:"createdBy,omitempty"`
	CreatedByType      *string `json:"createdByType,omitempty"`
	LastModifiedAt     *string `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string `json:"lastModifiedByType,omitempty"`
}

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *NodeType
}

type VMSSExtension

type VMSSExtension struct {
	Name       string                  `json:"name"`
	Properties VMSSExtensionProperties `json:"properties"`
}

type VMSSExtensionProperties

type VMSSExtensionProperties struct {
	AutoUpgradeMinorVersion  *bool        `json:"autoUpgradeMinorVersion,omitempty"`
	ForceUpdateTag           *string      `json:"forceUpdateTag,omitempty"`
	ProtectedSettings        *interface{} `json:"protectedSettings,omitempty"`
	ProvisionAfterExtensions *[]string    `json:"provisionAfterExtensions,omitempty"`
	ProvisioningState        *string      `json:"provisioningState,omitempty"`
	Publisher                string       `json:"publisher"`
	Settings                 *interface{} `json:"settings,omitempty"`
	Type                     string       `json:"type"`
	TypeHandlerVersion       string       `json:"typeHandlerVersion"`
}

type VaultCertificate

type VaultCertificate struct {
	CertificateStore string `json:"certificateStore"`
	CertificateUrl   string `json:"certificateUrl"`
}

type VaultSecretGroup

type VaultSecretGroup struct {
	SourceVault       SubResource        `json:"sourceVault"`
	VaultCertificates []VaultCertificate `json:"vaultCertificates"`
}

Jump to

Keyboard shortcuts

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