managedcluster

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccess

func PossibleValuesForAccess() []string

func PossibleValuesForAddonFeatures

func PossibleValuesForAddonFeatures() []string

func PossibleValuesForClusterState

func PossibleValuesForClusterState() []string

func PossibleValuesForClusterUpgradeCadence

func PossibleValuesForClusterUpgradeCadence() []string

func PossibleValuesForClusterUpgradeMode

func PossibleValuesForClusterUpgradeMode() []string

func PossibleValuesForDirection

func PossibleValuesForDirection() []string

func PossibleValuesForManagedResourceProvisioningState

func PossibleValuesForManagedResourceProvisioningState() []string

func PossibleValuesForNsgProtocol

func PossibleValuesForNsgProtocol() []string

func PossibleValuesForProbeProtocol

func PossibleValuesForProbeProtocol() []string

func PossibleValuesForProtocol

func PossibleValuesForProtocol() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []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 ValidateResourceGroupID

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

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateSubscriptionID

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

ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID

Types

type Access

type Access string
const (
	AccessAllow Access = "allow"
	AccessDeny  Access = "deny"
)

type AddonFeatures

type AddonFeatures string
const (
	AddonFeaturesBackupRestoreService   AddonFeatures = "BackupRestoreService"
	AddonFeaturesDnsService             AddonFeatures = "DnsService"
	AddonFeaturesResourceMonitorService AddonFeatures = "ResourceMonitorService"
)

type ApplicationTypeVersionsCleanupPolicy

type ApplicationTypeVersionsCleanupPolicy struct {
	MaxUnusedVersionsToKeep int64 `json:"maxUnusedVersionsToKeep"`
}

type AzureActiveDirectory

type AzureActiveDirectory struct {
	ClientApplication  *string `json:"clientApplication,omitempty"`
	ClusterApplication *string `json:"clusterApplication,omitempty"`
	TenantId           *string `json:"tenantId,omitempty"`
}

type ClientCertificate

type ClientCertificate struct {
	CommonName       *string `json:"commonName,omitempty"`
	IsAdmin          bool    `json:"isAdmin"`
	IssuerThumbprint *string `json:"issuerThumbprint,omitempty"`
	Thumbprint       *string `json:"thumbprint,omitempty"`
}

type ClusterState

type ClusterState string
const (
	ClusterStateBaselineUpgrade ClusterState = "BaselineUpgrade"
	ClusterStateDeploying       ClusterState = "Deploying"
	ClusterStateReady           ClusterState = "Ready"
	ClusterStateUpgradeFailed   ClusterState = "UpgradeFailed"
	ClusterStateUpgrading       ClusterState = "Upgrading"
	ClusterStateWaitingForNodes ClusterState = "WaitingForNodes"
)

type ClusterUpgradeCadence

type ClusterUpgradeCadence string
const (
	ClusterUpgradeCadenceWaveOne  ClusterUpgradeCadence = "Wave1"
	ClusterUpgradeCadenceWaveTwo  ClusterUpgradeCadence = "Wave2"
	ClusterUpgradeCadenceWaveZero ClusterUpgradeCadence = "Wave0"
)

type ClusterUpgradeMode

type ClusterUpgradeMode string
const (
	ClusterUpgradeModeAutomatic ClusterUpgradeMode = "Automatic"
	ClusterUpgradeModeManual    ClusterUpgradeMode = "Manual"
)

type CreateOrUpdateResponse

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

type DeleteResponse

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

type Direction

type Direction string
const (
	DirectionInbound  Direction = "inbound"
	DirectionOutbound Direction = "outbound"
)

type GetResponse

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

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []ManagedCluster
}

type ListByResourceGroupResponse

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

func (ListByResourceGroupResponse) HasMore

func (r ListByResourceGroupResponse) HasMore() bool

func (ListByResourceGroupResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []ManagedCluster
}

type ListBySubscriptionResponse

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

func (ListBySubscriptionResponse) HasMore

func (r ListBySubscriptionResponse) HasMore() bool

func (ListBySubscriptionResponse) LoadMore

type LoadBalancingRule

type LoadBalancingRule struct {
	BackendPort      int64         `json:"backendPort"`
	FrontendPort     int64         `json:"frontendPort"`
	ProbePort        *int64        `json:"probePort,omitempty"`
	ProbeProtocol    ProbeProtocol `json:"probeProtocol"`
	ProbeRequestPath *string       `json:"probeRequestPath,omitempty"`
	Protocol         Protocol      `json:"protocol"`
}

type ManagedCluster

type ManagedCluster struct {
	Etag       *string                   `json:"etag,omitempty"`
	Id         *string                   `json:"id,omitempty"`
	Location   string                    `json:"location"`
	Name       *string                   `json:"name,omitempty"`
	Properties *ManagedClusterProperties `json:"properties,omitempty"`
	Sku        *Sku                      `json:"sku,omitempty"`
	SystemData *SystemData               `json:"systemData,omitempty"`
	Tags       *map[string]string        `json:"tags,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type ManagedClusterClient

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

func NewManagedClusterClientWithBaseURI

func NewManagedClusterClientWithBaseURI(endpoint string) ManagedClusterClient

func (ManagedClusterClient) CreateOrUpdate

func (c ManagedClusterClient) CreateOrUpdate(ctx context.Context, id ManagedClusterId, input ManagedCluster) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (ManagedClusterClient) CreateOrUpdateThenPoll

func (c ManagedClusterClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedClusterId, input ManagedCluster) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ManagedClusterClient) Delete

func (c ManagedClusterClient) Delete(ctx context.Context, id ManagedClusterId) (result DeleteResponse, err error)

Delete ...

func (ManagedClusterClient) DeleteThenPoll

func (c ManagedClusterClient) DeleteThenPoll(ctx context.Context, id ManagedClusterId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ManagedClusterClient) Get

Get ...

func (ManagedClusterClient) ListByResourceGroup

func (c ManagedClusterClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)

ListByResourceGroup ...

func (ManagedClusterClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (ManagedClusterClient) ListByResourceGroupCompleteMatchingPredicate

func (c ManagedClusterClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate ManagedClusterPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedClusterClient) ListBySubscription

func (c ManagedClusterClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)

ListBySubscription ...

func (ManagedClusterClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (ManagedClusterClient) ListBySubscriptionCompleteMatchingPredicate

func (c ManagedClusterClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate ManagedClusterPredicate) (resp ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedClusterClient) Update

Update ...

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 ManagedClusterPredicate

type ManagedClusterPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedClusterPredicate) Matches

func (p ManagedClusterPredicate) Matches(input ManagedCluster) bool

type ManagedClusterProperties

type ManagedClusterProperties struct {
	AddonFeatures                        *[]AddonFeatures                      `json:"addonFeatures,omitempty"`
	AdminPassword                        *string                               `json:"adminPassword,omitempty"`
	AdminUserName                        string                                `json:"adminUserName"`
	AllowRdpAccess                       *bool                                 `json:"allowRdpAccess,omitempty"`
	ApplicationTypeVersionsCleanupPolicy *ApplicationTypeVersionsCleanupPolicy `json:"applicationTypeVersionsCleanupPolicy,omitempty"`
	AzureActiveDirectory                 *AzureActiveDirectory                 `json:"azureActiveDirectory,omitempty"`
	ClientConnectionPort                 *int64                                `json:"clientConnectionPort,omitempty"`
	Clients                              *[]ClientCertificate                  `json:"clients,omitempty"`
	ClusterCertificateThumbprints        *[]string                             `json:"clusterCertificateThumbprints,omitempty"`
	ClusterCodeVersion                   *string                               `json:"clusterCodeVersion,omitempty"`
	ClusterId                            *string                               `json:"clusterId,omitempty"`
	ClusterState                         *ClusterState                         `json:"clusterState,omitempty"`
	ClusterUpgradeCadence                *ClusterUpgradeCadence                `json:"clusterUpgradeCadence,omitempty"`
	ClusterUpgradeMode                   *ClusterUpgradeMode                   `json:"clusterUpgradeMode,omitempty"`
	DnsName                              string                                `json:"dnsName"`
	EnableAutoOSUpgrade                  *bool                                 `json:"enableAutoOSUpgrade,omitempty"`
	FabricSettings                       *[]SettingsSectionDescription         `json:"fabricSettings,omitempty"`
	Fqdn                                 *string                               `json:"fqdn,omitempty"`
	HttpGatewayConnectionPort            *int64                                `json:"httpGatewayConnectionPort,omitempty"`
	Ipv4Address                          *string                               `json:"ipv4Address,omitempty"`
	LoadBalancingRules                   *[]LoadBalancingRule                  `json:"loadBalancingRules,omitempty"`
	NetworkSecurityRules                 *[]NetworkSecurityRule                `json:"networkSecurityRules,omitempty"`
	ProvisioningState                    *ManagedResourceProvisioningState     `json:"provisioningState,omitempty"`
	ZonalResiliency                      *bool                                 `json:"zonalResiliency,omitempty"`
}

type ManagedClusterUpdateParameters

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

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 NetworkSecurityRule

type NetworkSecurityRule struct {
	Access                     Access      `json:"access"`
	Description                *string     `json:"description,omitempty"`
	DestinationAddressPrefixes *[]string   `json:"destinationAddressPrefixes,omitempty"`
	DestinationPortRanges      *[]string   `json:"destinationPortRanges,omitempty"`
	Direction                  Direction   `json:"direction"`
	Name                       string      `json:"name"`
	Priority                   int64       `json:"priority"`
	Protocol                   NsgProtocol `json:"protocol"`
	SourceAddressPrefixes      *[]string   `json:"sourceAddressPrefixes,omitempty"`
	SourcePortRanges           *[]string   `json:"sourcePortRanges,omitempty"`
}

type NsgProtocol

type NsgProtocol string
const (
	NsgProtocolAh    NsgProtocol = "ah"
	NsgProtocolEsp   NsgProtocol = "esp"
	NsgProtocolHttp  NsgProtocol = "http"
	NsgProtocolHttps NsgProtocol = "https"
	NsgProtocolIcmp  NsgProtocol = "icmp"
	NsgProtocolTcp   NsgProtocol = "tcp"
	NsgProtocolUdp   NsgProtocol = "udp"
)

type ProbeProtocol

type ProbeProtocol string
const (
	ProbeProtocolHttp  ProbeProtocol = "http"
	ProbeProtocolHttps ProbeProtocol = "https"
	ProbeProtocolTcp   ProbeProtocol = "tcp"
)

type Protocol

type Protocol string
const (
	ProtocolTcp Protocol = "tcp"
	ProtocolUdp Protocol = "udp"
)

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

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

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Resource Group ID

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type SettingsParameterDescription

type SettingsParameterDescription struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type SettingsSectionDescription

type SettingsSectionDescription struct {
	Name       string                         `json:"name"`
	Parameters []SettingsParameterDescription `json:"parameters"`
}

type Sku

type Sku struct {
	Name SkuName `json:"name"`
}

type SkuName

type SkuName string
const (
	SkuNameBasic    SkuName = "Basic"
	SkuNameStandard SkuName = "Standard"
)

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

SubscriptionId is a struct representing the Resource ID for a Subscription

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

NewSubscriptionID returns a new SubscriptionId struct

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses 'input' into a SubscriptionId

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

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

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

ID returns the formatted Subscription ID

func (SubscriptionId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Subscription ID

func (SubscriptionId) String

func (id SubscriptionId) String() string

String returns a human-readable description of this Subscription ID

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        *ManagedCluster
}

Jump to

Keyboard shortcuts

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