managedclusters

package
v0.20230317.1154451 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2022-11-01/managedclusters Documentation

The managedclusters SDK allows for interaction with the Azure Resource Manager Service containerservice (API Version 2022-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2022-11-01/managedclusters"

Client Initialization

client := managedclusters.NewManagedClustersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedClustersClient.CreateOrUpdate

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

payload := managedclusters.ManagedCluster{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.Delete

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.Get

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.GetAccessProfile

ctx := context.TODO()
id := managedclusters.NewAccessProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue", "accessProfileValue")

read, err := client.GetAccessProfile(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.GetCommandResult

ctx := context.TODO()
id := managedclusters.NewCommandResultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue", "commandIdValue")

read, err := client.GetCommandResult(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.GetOSOptions

ctx := context.TODO()
id := managedclusters.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

read, err := client.GetOSOptions(ctx, id, managedclusters.DefaultGetOSOptionsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.GetUpgradeProfile

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

read, err := client.GetUpgradeProfile(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.List

ctx := context.TODO()
id := managedclusters.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedClustersClient.ListByResourceGroup

ctx := context.TODO()
id := managedclusters.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedClustersClient.ListClusterAdminCredentials

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

read, err := client.ListClusterAdminCredentials(ctx, id, managedclusters.DefaultListClusterAdminCredentialsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.ListClusterMonitoringUserCredentials

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

read, err := client.ListClusterMonitoringUserCredentials(ctx, id, managedclusters.DefaultListClusterMonitoringUserCredentialsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.ListClusterUserCredentials

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

read, err := client.ListClusterUserCredentials(ctx, id, managedclusters.DefaultListClusterUserCredentialsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedClustersClient.ListOutboundNetworkDependenciesEndpoints

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

// alternatively `client.ListOutboundNetworkDependenciesEndpoints(ctx, id)` can be used to do batched pagination
items, err := client.ListOutboundNetworkDependenciesEndpointsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedClustersClient.ResetAADProfile

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

payload := managedclusters.ManagedClusterAADProfile{
	// ...
}


if err := client.ResetAADProfileThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.ResetServicePrincipalProfile

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

payload := managedclusters.ManagedClusterServicePrincipalProfile{
	// ...
}


if err := client.ResetServicePrincipalProfileThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.RotateClusterCertificates

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

if err := client.RotateClusterCertificatesThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.RotateServiceAccountSigningKeys

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

if err := client.RotateServiceAccountSigningKeysThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.RunCommand

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

payload := managedclusters.RunCommandRequest{
	// ...
}


if err := client.RunCommandThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.Start

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

if err := client.StartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.Stop

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

if err := client.StopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedClustersClient.UpdateTags

ctx := context.TODO()
id := managedclusters.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

payload := managedclusters.TagsObject{
	// ...
}


if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAgentPoolMode

func PossibleValuesForAgentPoolMode() []string

func PossibleValuesForAgentPoolType

func PossibleValuesForAgentPoolType() []string

func PossibleValuesForCode

func PossibleValuesForCode() []string

func PossibleValuesForExpander

func PossibleValuesForExpander() []string

func PossibleValuesForFormat

func PossibleValuesForFormat() []string

func PossibleValuesForGPUInstanceProfile

func PossibleValuesForGPUInstanceProfile() []string

func PossibleValuesForIPFamily

func PossibleValuesForIPFamily() []string

func PossibleValuesForKeyVaultNetworkAccessTypes

func PossibleValuesForKeyVaultNetworkAccessTypes() []string

func PossibleValuesForKubeletDiskType

func PossibleValuesForKubeletDiskType() []string

func PossibleValuesForLicenseType

func PossibleValuesForLicenseType() []string

func PossibleValuesForLoadBalancerSku

func PossibleValuesForLoadBalancerSku() []string

func PossibleValuesForManagedClusterPodIdentityProvisioningState

func PossibleValuesForManagedClusterPodIdentityProvisioningState() []string

func PossibleValuesForManagedClusterSKUName

func PossibleValuesForManagedClusterSKUName() []string

func PossibleValuesForManagedClusterSKUTier

func PossibleValuesForManagedClusterSKUTier() []string

func PossibleValuesForNetworkMode

func PossibleValuesForNetworkMode() []string

func PossibleValuesForNetworkPlugin

func PossibleValuesForNetworkPlugin() []string

func PossibleValuesForNetworkPolicy

func PossibleValuesForNetworkPolicy() []string

func PossibleValuesForOSDiskType

func PossibleValuesForOSDiskType() []string

func PossibleValuesForOSSKU

func PossibleValuesForOSSKU() []string

func PossibleValuesForOSType

func PossibleValuesForOSType() []string

func PossibleValuesForOutboundType

func PossibleValuesForOutboundType() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForScaleDownMode

func PossibleValuesForScaleDownMode() []string

func PossibleValuesForScaleSetEvictionPolicy

func PossibleValuesForScaleSetEvictionPolicy() []string

func PossibleValuesForScaleSetPriority

func PossibleValuesForScaleSetPriority() []string

func PossibleValuesForUpgradeChannel

func PossibleValuesForUpgradeChannel() []string

func PossibleValuesForWorkloadRuntime

func PossibleValuesForWorkloadRuntime() []string

func ValidateAccessProfileID

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

ValidateAccessProfileID checks that 'input' can be parsed as a Access Profile ID

func ValidateCommandResultID

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

ValidateCommandResultID checks that 'input' can be parsed as a Command Result ID

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateManagedClusterID

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

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

Types

type AccessProfile

type AccessProfile struct {
	KubeConfig *string `json:"kubeConfig,omitempty"`
}

type AccessProfileId

type AccessProfileId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ManagedClusterName string
	AccessProfileName  string
}

AccessProfileId is a struct representing the Resource ID for a Access Profile

func NewAccessProfileID

func NewAccessProfileID(subscriptionId string, resourceGroupName string, managedClusterName string, accessProfileName string) AccessProfileId

NewAccessProfileID returns a new AccessProfileId struct

func ParseAccessProfileID

func ParseAccessProfileID(input string) (*AccessProfileId, error)

ParseAccessProfileID parses 'input' into a AccessProfileId

func ParseAccessProfileIDInsensitively

func ParseAccessProfileIDInsensitively(input string) (*AccessProfileId, error)

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

func (AccessProfileId) ID

func (id AccessProfileId) ID() string

ID returns the formatted Access Profile ID

func (AccessProfileId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Access Profile ID

func (AccessProfileId) String

func (id AccessProfileId) String() string

String returns a human-readable description of this Access Profile ID

type AgentPoolMode

type AgentPoolMode string
const (
	AgentPoolModeSystem AgentPoolMode = "System"
	AgentPoolModeUser   AgentPoolMode = "User"
)

type AgentPoolType

type AgentPoolType string
const (
	AgentPoolTypeAvailabilitySet         AgentPoolType = "AvailabilitySet"
	AgentPoolTypeVirtualMachineScaleSets AgentPoolType = "VirtualMachineScaleSets"
)

type AgentPoolUpgradeSettings

type AgentPoolUpgradeSettings struct {
	MaxSurge *string `json:"maxSurge,omitempty"`
}

type AzureKeyVaultKms

type AzureKeyVaultKms struct {
	Enabled               *bool                       `json:"enabled,omitempty"`
	KeyId                 *string                     `json:"keyId,omitempty"`
	KeyVaultNetworkAccess *KeyVaultNetworkAccessTypes `json:"keyVaultNetworkAccess,omitempty"`
	KeyVaultResourceId    *string                     `json:"keyVaultResourceId,omitempty"`
}

type Code

type Code string
const (
	CodeRunning Code = "Running"
	CodeStopped Code = "Stopped"
)

type CommandResultId

type CommandResultId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ManagedClusterName string
	CommandId          string
}

CommandResultId is a struct representing the Resource ID for a Command Result

func NewCommandResultID

func NewCommandResultID(subscriptionId string, resourceGroupName string, managedClusterName string, commandId string) CommandResultId

NewCommandResultID returns a new CommandResultId struct

func ParseCommandResultID

func ParseCommandResultID(input string) (*CommandResultId, error)

ParseCommandResultID parses 'input' into a CommandResultId

func ParseCommandResultIDInsensitively

func ParseCommandResultIDInsensitively(input string) (*CommandResultId, error)

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

func (CommandResultId) ID

func (id CommandResultId) ID() string

ID returns the formatted Command Result ID

func (CommandResultId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Command Result ID

func (CommandResultId) String

func (id CommandResultId) String() string

String returns a human-readable description of this Command Result ID

type CommandResultProperties

type CommandResultProperties struct {
	ExitCode          *int64  `json:"exitCode,omitempty"`
	FinishedAt        *string `json:"finishedAt,omitempty"`
	Logs              *string `json:"logs,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
	Reason            *string `json:"reason,omitempty"`
	StartedAt         *string `json:"startedAt,omitempty"`
}

func (*CommandResultProperties) GetFinishedAtAsTime

func (o *CommandResultProperties) GetFinishedAtAsTime() (*time.Time, error)

func (*CommandResultProperties) GetStartedAtAsTime

func (o *CommandResultProperties) GetStartedAtAsTime() (*time.Time, error)

func (*CommandResultProperties) SetFinishedAtAsTime

func (o *CommandResultProperties) SetFinishedAtAsTime(input time.Time)

func (*CommandResultProperties) SetStartedAtAsTime

func (o *CommandResultProperties) SetStartedAtAsTime(input time.Time)

type ContainerServiceLinuxProfile

type ContainerServiceLinuxProfile struct {
	AdminUsername string                           `json:"adminUsername"`
	Ssh           ContainerServiceSshConfiguration `json:"ssh"`
}

type ContainerServiceNetworkProfile

type ContainerServiceNetworkProfile struct {
	DnsServiceIP        *string                            `json:"dnsServiceIP,omitempty"`
	DockerBridgeCidr    *string                            `json:"dockerBridgeCidr,omitempty"`
	IPFamilies          *[]IPFamily                        `json:"ipFamilies,omitempty"`
	LoadBalancerProfile *ManagedClusterLoadBalancerProfile `json:"loadBalancerProfile,omitempty"`
	LoadBalancerSku     *LoadBalancerSku                   `json:"loadBalancerSku,omitempty"`
	NatGatewayProfile   *ManagedClusterNATGatewayProfile   `json:"natGatewayProfile,omitempty"`
	NetworkMode         *NetworkMode                       `json:"networkMode,omitempty"`
	NetworkPlugin       *NetworkPlugin                     `json:"networkPlugin,omitempty"`
	NetworkPolicy       *NetworkPolicy                     `json:"networkPolicy,omitempty"`
	OutboundType        *OutboundType                      `json:"outboundType,omitempty"`
	PodCidr             *string                            `json:"podCidr,omitempty"`
	PodCidrs            *[]string                          `json:"podCidrs,omitempty"`
	ServiceCidr         *string                            `json:"serviceCidr,omitempty"`
	ServiceCidrs        *[]string                          `json:"serviceCidrs,omitempty"`
}

type ContainerServiceSshConfiguration

type ContainerServiceSshConfiguration struct {
	PublicKeys []ContainerServiceSshPublicKey `json:"publicKeys"`
}

type ContainerServiceSshPublicKey

type ContainerServiceSshPublicKey struct {
	KeyData string `json:"keyData"`
}

type CreateOrUpdateOperationResponse

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

type CreationData

type CreationData struct {
	SourceResourceId *string `json:"sourceResourceId,omitempty"`
}

type CredentialResult

type CredentialResult struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type CredentialResults

type CredentialResults struct {
	Kubeconfigs *[]CredentialResult `json:"kubeconfigs,omitempty"`
}

type DeleteOperationResponse

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

type EndpointDependency

type EndpointDependency struct {
	DomainName      *string           `json:"domainName,omitempty"`
	EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"`
}

type EndpointDetail

type EndpointDetail struct {
	Description *string `json:"description,omitempty"`
	IPAddress   *string `json:"ipAddress,omitempty"`
	Port        *int64  `json:"port,omitempty"`
	Protocol    *string `json:"protocol,omitempty"`
}

type Expander

type Expander string
const (
	ExpanderLeastNegativewaste Expander = "least-waste"
	ExpanderMostNegativepods   Expander = "most-pods"
	ExpanderPriority           Expander = "priority"
	ExpanderRandom             Expander = "random"
)

type Format

type Format string
const (
	FormatAzure Format = "azure"
	FormatExec  Format = "exec"
)

type GPUInstanceProfile

type GPUInstanceProfile string
const (
	GPUInstanceProfileMIGFourg  GPUInstanceProfile = "MIG4g"
	GPUInstanceProfileMIGOneg   GPUInstanceProfile = "MIG1g"
	GPUInstanceProfileMIGSeveng GPUInstanceProfile = "MIG7g"
	GPUInstanceProfileMIGThreeg GPUInstanceProfile = "MIG3g"
	GPUInstanceProfileMIGTwog   GPUInstanceProfile = "MIG2g"
)

type GetAccessProfileOperationResponse

type GetAccessProfileOperationResponse struct {
	HttpResponse *http.Response
	Model        *ManagedClusterAccessProfile
}

type GetCommandResultOperationResponse

type GetCommandResultOperationResponse struct {
	HttpResponse *http.Response
	Model        *RunCommandResult
}

type GetOSOptionsOperationOptions

type GetOSOptionsOperationOptions struct {
	ResourceType *string
}

func DefaultGetOSOptionsOperationOptions

func DefaultGetOSOptionsOperationOptions() GetOSOptionsOperationOptions

type GetOSOptionsOperationResponse

type GetOSOptionsOperationResponse struct {
	HttpResponse *http.Response
	Model        *OSOptionProfile
}

type GetOperationResponse

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

type GetUpgradeProfileOperationResponse

type GetUpgradeProfileOperationResponse struct {
	HttpResponse *http.Response
	Model        *ManagedClusterUpgradeProfile
}

type IPFamily

type IPFamily string
const (
	IPFamilyIPvFour IPFamily = "IPv4"
	IPFamilyIPvSix  IPFamily = "IPv6"
)

type KeyVaultNetworkAccessTypes

type KeyVaultNetworkAccessTypes string
const (
	KeyVaultNetworkAccessTypesPrivate KeyVaultNetworkAccessTypes = "Private"
	KeyVaultNetworkAccessTypesPublic  KeyVaultNetworkAccessTypes = "Public"
)

type KubeletConfig

type KubeletConfig struct {
	AllowedUnsafeSysctls  *[]string `json:"allowedUnsafeSysctls,omitempty"`
	ContainerLogMaxFiles  *int64    `json:"containerLogMaxFiles,omitempty"`
	ContainerLogMaxSizeMB *int64    `json:"containerLogMaxSizeMB,omitempty"`
	CpuCfsQuota           *bool     `json:"cpuCfsQuota,omitempty"`
	CpuCfsQuotaPeriod     *string   `json:"cpuCfsQuotaPeriod,omitempty"`
	CpuManagerPolicy      *string   `json:"cpuManagerPolicy,omitempty"`
	FailSwapOn            *bool     `json:"failSwapOn,omitempty"`
	ImageGcHighThreshold  *int64    `json:"imageGcHighThreshold,omitempty"`
	ImageGcLowThreshold   *int64    `json:"imageGcLowThreshold,omitempty"`
	PodMaxPids            *int64    `json:"podMaxPids,omitempty"`
	TopologyManagerPolicy *string   `json:"topologyManagerPolicy,omitempty"`
}

type KubeletDiskType

type KubeletDiskType string
const (
	KubeletDiskTypeOS        KubeletDiskType = "OS"
	KubeletDiskTypeTemporary KubeletDiskType = "Temporary"
)

type LicenseType

type LicenseType string
const (
	LicenseTypeNone          LicenseType = "None"
	LicenseTypeWindowsServer LicenseType = "Windows_Server"
)

type LinuxOSConfig

type LinuxOSConfig struct {
	SwapFileSizeMB             *int64        `json:"swapFileSizeMB,omitempty"`
	Sysctls                    *SysctlConfig `json:"sysctls,omitempty"`
	TransparentHugePageDefrag  *string       `json:"transparentHugePageDefrag,omitempty"`
	TransparentHugePageEnabled *string       `json:"transparentHugePageEnabled,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []ManagedCluster
}

type ListByResourceGroupOperationResponse

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

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListClusterAdminCredentialsOperationOptions

type ListClusterAdminCredentialsOperationOptions struct {
	ServerFqdn *string
}

func DefaultListClusterAdminCredentialsOperationOptions

func DefaultListClusterAdminCredentialsOperationOptions() ListClusterAdminCredentialsOperationOptions

type ListClusterAdminCredentialsOperationResponse

type ListClusterAdminCredentialsOperationResponse struct {
	HttpResponse *http.Response
	Model        *CredentialResults
}

type ListClusterMonitoringUserCredentialsOperationOptions

type ListClusterMonitoringUserCredentialsOperationOptions struct {
	ServerFqdn *string
}

func DefaultListClusterMonitoringUserCredentialsOperationOptions

func DefaultListClusterMonitoringUserCredentialsOperationOptions() ListClusterMonitoringUserCredentialsOperationOptions

type ListClusterMonitoringUserCredentialsOperationResponse

type ListClusterMonitoringUserCredentialsOperationResponse struct {
	HttpResponse *http.Response
	Model        *CredentialResults
}

type ListClusterUserCredentialsOperationOptions

type ListClusterUserCredentialsOperationOptions struct {
	Format     *Format
	ServerFqdn *string
}

func DefaultListClusterUserCredentialsOperationOptions

func DefaultListClusterUserCredentialsOperationOptions() ListClusterUserCredentialsOperationOptions

type ListClusterUserCredentialsOperationResponse

type ListClusterUserCredentialsOperationResponse struct {
	HttpResponse *http.Response
	Model        *CredentialResults
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []ManagedCluster
}

type ListOperationResponse

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

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type ListOutboundNetworkDependenciesEndpointsCompleteResult

type ListOutboundNetworkDependenciesEndpointsCompleteResult struct {
	Items []OutboundEnvironmentEndpoint
}

type ListOutboundNetworkDependenciesEndpointsOperationResponse

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

func (ListOutboundNetworkDependenciesEndpointsOperationResponse) HasMore

func (ListOutboundNetworkDependenciesEndpointsOperationResponse) LoadMore

type LoadBalancerSku

type LoadBalancerSku string
const (
	LoadBalancerSkuBasic    LoadBalancerSku = "basic"
	LoadBalancerSkuStandard LoadBalancerSku = "standard"
)

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ManagedCluster

type ManagedCluster struct {
	ExtendedLocation *edgezones.Model                  `json:"extendedLocation,omitempty"`
	Id               *string                           `json:"id,omitempty"`
	Identity         *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Location         string                            `json:"location"`
	Name             *string                           `json:"name,omitempty"`
	Properties       *ManagedClusterProperties         `json:"properties,omitempty"`
	Sku              *ManagedClusterSKU                `json:"sku,omitempty"`
	SystemData       *systemdata.SystemData            `json:"systemData,omitempty"`
	Tags             *map[string]string                `json:"tags,omitempty"`
	Type             *string                           `json:"type,omitempty"`
}

type ManagedClusterAADProfile

type ManagedClusterAADProfile struct {
	AdminGroupObjectIDs *[]string `json:"adminGroupObjectIDs,omitempty"`
	ClientAppID         *string   `json:"clientAppID,omitempty"`
	EnableAzureRBAC     *bool     `json:"enableAzureRBAC,omitempty"`
	Managed             *bool     `json:"managed,omitempty"`
	ServerAppID         *string   `json:"serverAppID,omitempty"`
	ServerAppSecret     *string   `json:"serverAppSecret,omitempty"`
	TenantID            *string   `json:"tenantID,omitempty"`
}

type ManagedClusterAPIServerAccessProfile

type ManagedClusterAPIServerAccessProfile struct {
	AuthorizedIPRanges             *[]string `json:"authorizedIPRanges,omitempty"`
	DisableRunCommand              *bool     `json:"disableRunCommand,omitempty"`
	EnablePrivateCluster           *bool     `json:"enablePrivateCluster,omitempty"`
	EnablePrivateClusterPublicFQDN *bool     `json:"enablePrivateClusterPublicFQDN,omitempty"`
	PrivateDNSZone                 *string   `json:"privateDNSZone,omitempty"`
}

type ManagedClusterAccessProfile

type ManagedClusterAccessProfile struct {
	Id         *string                `json:"id,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties *AccessProfile         `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Tags       *map[string]string     `json:"tags,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type ManagedClusterAddonProfile

type ManagedClusterAddonProfile struct {
	Config   *map[string]string    `json:"config,omitempty"`
	Enabled  bool                  `json:"enabled"`
	Identity *UserAssignedIdentity `json:"identity,omitempty"`
}

type ManagedClusterAgentPoolProfile

type ManagedClusterAgentPoolProfile struct {
	AvailabilityZones          *zones.Schema             `json:"availabilityZones,omitempty"`
	Count                      *int64                    `json:"count,omitempty"`
	CreationData               *CreationData             `json:"creationData,omitempty"`
	CurrentOrchestratorVersion *string                   `json:"currentOrchestratorVersion,omitempty"`
	EnableAutoScaling          *bool                     `json:"enableAutoScaling,omitempty"`
	EnableEncryptionAtHost     *bool                     `json:"enableEncryptionAtHost,omitempty"`
	EnableFIPS                 *bool                     `json:"enableFIPS,omitempty"`
	EnableNodePublicIP         *bool                     `json:"enableNodePublicIP,omitempty"`
	EnableUltraSSD             *bool                     `json:"enableUltraSSD,omitempty"`
	GpuInstanceProfile         *GPUInstanceProfile       `json:"gpuInstanceProfile,omitempty"`
	HostGroupID                *string                   `json:"hostGroupID,omitempty"`
	KubeletConfig              *KubeletConfig            `json:"kubeletConfig,omitempty"`
	KubeletDiskType            *KubeletDiskType          `json:"kubeletDiskType,omitempty"`
	LinuxOSConfig              *LinuxOSConfig            `json:"linuxOSConfig,omitempty"`
	MaxCount                   *int64                    `json:"maxCount,omitempty"`
	MaxPods                    *int64                    `json:"maxPods,omitempty"`
	MinCount                   *int64                    `json:"minCount,omitempty"`
	Mode                       *AgentPoolMode            `json:"mode,omitempty"`
	Name                       string                    `json:"name"`
	NodeImageVersion           *string                   `json:"nodeImageVersion,omitempty"`
	NodeLabels                 *map[string]string        `json:"nodeLabels,omitempty"`
	NodePublicIPPrefixID       *string                   `json:"nodePublicIPPrefixID,omitempty"`
	NodeTaints                 *[]string                 `json:"nodeTaints,omitempty"`
	OrchestratorVersion        *string                   `json:"orchestratorVersion,omitempty"`
	OsDiskSizeGB               *int64                    `json:"osDiskSizeGB,omitempty"`
	OsDiskType                 *OSDiskType               `json:"osDiskType,omitempty"`
	OsSKU                      *OSSKU                    `json:"osSKU,omitempty"`
	OsType                     *OSType                   `json:"osType,omitempty"`
	PodSubnetID                *string                   `json:"podSubnetID,omitempty"`
	PowerState                 *PowerState               `json:"powerState,omitempty"`
	ProvisioningState          *string                   `json:"provisioningState,omitempty"`
	ProximityPlacementGroupID  *string                   `json:"proximityPlacementGroupID,omitempty"`
	ScaleDownMode              *ScaleDownMode            `json:"scaleDownMode,omitempty"`
	ScaleSetEvictionPolicy     *ScaleSetEvictionPolicy   `json:"scaleSetEvictionPolicy,omitempty"`
	ScaleSetPriority           *ScaleSetPriority         `json:"scaleSetPriority,omitempty"`
	SpotMaxPrice               *float64                  `json:"spotMaxPrice,omitempty"`
	Tags                       *map[string]string        `json:"tags,omitempty"`
	Type                       *AgentPoolType            `json:"type,omitempty"`
	UpgradeSettings            *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"`
	VMSize                     *string                   `json:"vmSize,omitempty"`
	VnetSubnetID               *string                   `json:"vnetSubnetID,omitempty"`
	WorkloadRuntime            *WorkloadRuntime          `json:"workloadRuntime,omitempty"`
}

type ManagedClusterAutoUpgradeProfile

type ManagedClusterAutoUpgradeProfile struct {
	UpgradeChannel *UpgradeChannel `json:"upgradeChannel,omitempty"`
}

type ManagedClusterHTTPProxyConfig

type ManagedClusterHTTPProxyConfig struct {
	HTTPProxy  *string   `json:"httpProxy,omitempty"`
	HTTPSProxy *string   `json:"httpsProxy,omitempty"`
	NoProxy    *[]string `json:"noProxy,omitempty"`
	TrustedCa  *string   `json:"trustedCa,omitempty"`
}

type ManagedClusterId

type ManagedClusterId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ManagedClusterName string
}

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

func NewManagedClusterID

func NewManagedClusterID(subscriptionId string, resourceGroupName string, managedClusterName 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 ManagedClusterLoadBalancerProfile

type ManagedClusterLoadBalancerProfile struct {
	AllocatedOutboundPorts              *int64                                               `json:"allocatedOutboundPorts,omitempty"`
	EffectiveOutboundIPs                *[]ResourceReference                                 `json:"effectiveOutboundIPs,omitempty"`
	EnableMultipleStandardLoadBalancers *bool                                                `json:"enableMultipleStandardLoadBalancers,omitempty"`
	IdleTimeoutInMinutes                *int64                                               `json:"idleTimeoutInMinutes,omitempty"`
	ManagedOutboundIPs                  *ManagedClusterLoadBalancerProfileManagedOutboundIPs `json:"managedOutboundIPs,omitempty"`
	OutboundIPPrefixes                  *ManagedClusterLoadBalancerProfileOutboundIPPrefixes `json:"outboundIPPrefixes,omitempty"`
	OutboundIPs                         *ManagedClusterLoadBalancerProfileOutboundIPs        `json:"outboundIPs,omitempty"`
}

type ManagedClusterLoadBalancerProfileManagedOutboundIPs

type ManagedClusterLoadBalancerProfileManagedOutboundIPs struct {
	Count     *int64 `json:"count,omitempty"`
	CountIPv6 *int64 `json:"countIPv6,omitempty"`
}

type ManagedClusterLoadBalancerProfileOutboundIPPrefixes

type ManagedClusterLoadBalancerProfileOutboundIPPrefixes struct {
	PublicIPPrefixes *[]ResourceReference `json:"publicIPPrefixes,omitempty"`
}

type ManagedClusterLoadBalancerProfileOutboundIPs

type ManagedClusterLoadBalancerProfileOutboundIPs struct {
	PublicIPs *[]ResourceReference `json:"publicIPs,omitempty"`
}

type ManagedClusterManagedOutboundIPProfile

type ManagedClusterManagedOutboundIPProfile struct {
	Count *int64 `json:"count,omitempty"`
}

type ManagedClusterNATGatewayProfile

type ManagedClusterNATGatewayProfile struct {
	EffectiveOutboundIPs     *[]ResourceReference                    `json:"effectiveOutboundIPs,omitempty"`
	IdleTimeoutInMinutes     *int64                                  `json:"idleTimeoutInMinutes,omitempty"`
	ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile `json:"managedOutboundIPProfile,omitempty"`
}

type ManagedClusterOIDCIssuerProfile

type ManagedClusterOIDCIssuerProfile struct {
	Enabled   *bool   `json:"enabled,omitempty"`
	IssuerURL *string `json:"issuerURL,omitempty"`
}

type ManagedClusterOperationPredicate

type ManagedClusterOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedClusterOperationPredicate) Matches

type ManagedClusterPodIdentity

type ManagedClusterPodIdentity struct {
	BindingSelector   *string                                     `json:"bindingSelector,omitempty"`
	Identity          UserAssignedIdentity                        `json:"identity"`
	Name              string                                      `json:"name"`
	Namespace         string                                      `json:"namespace"`
	ProvisioningInfo  *ManagedClusterPodIdentityProvisioningInfo  `json:"provisioningInfo,omitempty"`
	ProvisioningState *ManagedClusterPodIdentityProvisioningState `json:"provisioningState,omitempty"`
}

type ManagedClusterPodIdentityException

type ManagedClusterPodIdentityException struct {
	Name      string            `json:"name"`
	Namespace string            `json:"namespace"`
	PodLabels map[string]string `json:"podLabels"`
}

type ManagedClusterPodIdentityProfile

type ManagedClusterPodIdentityProfile struct {
	AllowNetworkPluginKubenet      *bool                                 `json:"allowNetworkPluginKubenet,omitempty"`
	Enabled                        *bool                                 `json:"enabled,omitempty"`
	UserAssignedIdentities         *[]ManagedClusterPodIdentity          `json:"userAssignedIdentities,omitempty"`
	UserAssignedIdentityExceptions *[]ManagedClusterPodIdentityException `json:"userAssignedIdentityExceptions,omitempty"`
}

type ManagedClusterPodIdentityProvisioningError

type ManagedClusterPodIdentityProvisioningError struct {
	Error *ManagedClusterPodIdentityProvisioningErrorBody `json:"error,omitempty"`
}

type ManagedClusterPodIdentityProvisioningErrorBody

type ManagedClusterPodIdentityProvisioningErrorBody struct {
	Code    *string                                           `json:"code,omitempty"`
	Details *[]ManagedClusterPodIdentityProvisioningErrorBody `json:"details,omitempty"`
	Message *string                                           `json:"message,omitempty"`
	Target  *string                                           `json:"target,omitempty"`
}

type ManagedClusterPodIdentityProvisioningInfo

type ManagedClusterPodIdentityProvisioningInfo struct {
	Error *ManagedClusterPodIdentityProvisioningError `json:"error,omitempty"`
}

type ManagedClusterPodIdentityProvisioningState

type ManagedClusterPodIdentityProvisioningState string
const (
	ManagedClusterPodIdentityProvisioningStateAssigned  ManagedClusterPodIdentityProvisioningState = "Assigned"
	ManagedClusterPodIdentityProvisioningStateCanceled  ManagedClusterPodIdentityProvisioningState = "Canceled"
	ManagedClusterPodIdentityProvisioningStateDeleting  ManagedClusterPodIdentityProvisioningState = "Deleting"
	ManagedClusterPodIdentityProvisioningStateFailed    ManagedClusterPodIdentityProvisioningState = "Failed"
	ManagedClusterPodIdentityProvisioningStateSucceeded ManagedClusterPodIdentityProvisioningState = "Succeeded"
	ManagedClusterPodIdentityProvisioningStateUpdating  ManagedClusterPodIdentityProvisioningState = "Updating"
)

type ManagedClusterPoolUpgradeProfile

type ManagedClusterPoolUpgradeProfile struct {
	KubernetesVersion string                                             `json:"kubernetesVersion"`
	Name              *string                                            `json:"name,omitempty"`
	OsType            OSType                                             `json:"osType"`
	Upgrades          *[]ManagedClusterPoolUpgradeProfileUpgradesInlined `json:"upgrades,omitempty"`
}

type ManagedClusterPoolUpgradeProfileUpgradesInlined

type ManagedClusterPoolUpgradeProfileUpgradesInlined struct {
	IsPreview         *bool   `json:"isPreview,omitempty"`
	KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
}

type ManagedClusterProperties

type ManagedClusterProperties struct {
	AadProfile                *ManagedClusterAADProfile                  `json:"aadProfile,omitempty"`
	AddonProfiles             *map[string]ManagedClusterAddonProfile     `json:"addonProfiles,omitempty"`
	AgentPoolProfiles         *[]ManagedClusterAgentPoolProfile          `json:"agentPoolProfiles,omitempty"`
	ApiServerAccessProfile    *ManagedClusterAPIServerAccessProfile      `json:"apiServerAccessProfile,omitempty"`
	AutoScalerProfile         *ManagedClusterPropertiesAutoScalerProfile `json:"autoScalerProfile,omitempty"`
	AutoUpgradeProfile        *ManagedClusterAutoUpgradeProfile          `json:"autoUpgradeProfile,omitempty"`
	AzurePortalFQDN           *string                                    `json:"azurePortalFQDN,omitempty"`
	CurrentKubernetesVersion  *string                                    `json:"currentKubernetesVersion,omitempty"`
	DisableLocalAccounts      *bool                                      `json:"disableLocalAccounts,omitempty"`
	DiskEncryptionSetID       *string                                    `json:"diskEncryptionSetID,omitempty"`
	DnsPrefix                 *string                                    `json:"dnsPrefix,omitempty"`
	EnablePodSecurityPolicy   *bool                                      `json:"enablePodSecurityPolicy,omitempty"`
	EnableRBAC                *bool                                      `json:"enableRBAC,omitempty"`
	Fqdn                      *string                                    `json:"fqdn,omitempty"`
	FqdnSubdomain             *string                                    `json:"fqdnSubdomain,omitempty"`
	HTTPProxyConfig           *ManagedClusterHTTPProxyConfig             `json:"httpProxyConfig,omitempty"`
	IdentityProfile           *map[string]UserAssignedIdentity           `json:"identityProfile,omitempty"`
	KubernetesVersion         *string                                    `json:"kubernetesVersion,omitempty"`
	LinuxProfile              *ContainerServiceLinuxProfile              `json:"linuxProfile,omitempty"`
	MaxAgentPools             *int64                                     `json:"maxAgentPools,omitempty"`
	NetworkProfile            *ContainerServiceNetworkProfile            `json:"networkProfile,omitempty"`
	NodeResourceGroup         *string                                    `json:"nodeResourceGroup,omitempty"`
	OidcIssuerProfile         *ManagedClusterOIDCIssuerProfile           `json:"oidcIssuerProfile,omitempty"`
	PodIdentityProfile        *ManagedClusterPodIdentityProfile          `json:"podIdentityProfile,omitempty"`
	PowerState                *PowerState                                `json:"powerState,omitempty"`
	PrivateFQDN               *string                                    `json:"privateFQDN,omitempty"`
	PrivateLinkResources      *[]PrivateLinkResource                     `json:"privateLinkResources,omitempty"`
	ProvisioningState         *string                                    `json:"provisioningState,omitempty"`
	PublicNetworkAccess       *PublicNetworkAccess                       `json:"publicNetworkAccess,omitempty"`
	SecurityProfile           *ManagedClusterSecurityProfile             `json:"securityProfile,omitempty"`
	ServicePrincipalProfile   *ManagedClusterServicePrincipalProfile     `json:"servicePrincipalProfile,omitempty"`
	StorageProfile            *ManagedClusterStorageProfile              `json:"storageProfile,omitempty"`
	WindowsProfile            *ManagedClusterWindowsProfile              `json:"windowsProfile,omitempty"`
	WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile   `json:"workloadAutoScalerProfile,omitempty"`
}

type ManagedClusterPropertiesAutoScalerProfile

type ManagedClusterPropertiesAutoScalerProfile struct {
	BalanceSimilarNodeGroups      *string   `json:"balance-similar-node-groups,omitempty"`
	Expander                      *Expander `json:"expander,omitempty"`
	MaxEmptyBulkDelete            *string   `json:"max-empty-bulk-delete,omitempty"`
	MaxGracefulTerminationSec     *string   `json:"max-graceful-termination-sec,omitempty"`
	MaxNodeProvisionTime          *string   `json:"max-node-provision-time,omitempty"`
	MaxTotalUnreadyPercentage     *string   `json:"max-total-unready-percentage,omitempty"`
	NewPodScaleUpDelay            *string   `json:"new-pod-scale-up-delay,omitempty"`
	OkTotalUnreadyCount           *string   `json:"ok-total-unready-count,omitempty"`
	ScaleDownDelayAfterAdd        *string   `json:"scale-down-delay-after-add,omitempty"`
	ScaleDownDelayAfterDelete     *string   `json:"scale-down-delay-after-delete,omitempty"`
	ScaleDownDelayAfterFailure    *string   `json:"scale-down-delay-after-failure,omitempty"`
	ScaleDownUnneededTime         *string   `json:"scale-down-unneeded-time,omitempty"`
	ScaleDownUnreadyTime          *string   `json:"scale-down-unready-time,omitempty"`
	ScaleDownUtilizationThreshold *string   `json:"scale-down-utilization-threshold,omitempty"`
	ScanInterval                  *string   `json:"scan-interval,omitempty"`
	SkipNodesWithLocalStorage     *string   `json:"skip-nodes-with-local-storage,omitempty"`
	SkipNodesWithSystemPods       *string   `json:"skip-nodes-with-system-pods,omitempty"`
}

type ManagedClusterSKU

type ManagedClusterSKU struct {
	Name *ManagedClusterSKUName `json:"name,omitempty"`
	Tier *ManagedClusterSKUTier `json:"tier,omitempty"`
}

type ManagedClusterSKUName

type ManagedClusterSKUName string
const (
	ManagedClusterSKUNameBasic ManagedClusterSKUName = "Basic"
)

type ManagedClusterSKUTier

type ManagedClusterSKUTier string
const (
	ManagedClusterSKUTierFree ManagedClusterSKUTier = "Free"
	ManagedClusterSKUTierPaid ManagedClusterSKUTier = "Paid"
)

type ManagedClusterSecurityProfile

type ManagedClusterSecurityProfile struct {
	AzureKeyVaultKms *AzureKeyVaultKms                      `json:"azureKeyVaultKms,omitempty"`
	Defender         *ManagedClusterSecurityProfileDefender `json:"defender,omitempty"`
}

type ManagedClusterSecurityProfileDefender

type ManagedClusterSecurityProfileDefender struct {
	LogAnalyticsWorkspaceResourceId *string                                                  `json:"logAnalyticsWorkspaceResourceId,omitempty"`
	SecurityMonitoring              *ManagedClusterSecurityProfileDefenderSecurityMonitoring `json:"securityMonitoring,omitempty"`
}

type ManagedClusterSecurityProfileDefenderSecurityMonitoring

type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedClusterServicePrincipalProfile

type ManagedClusterServicePrincipalProfile struct {
	ClientId string  `json:"clientId"`
	Secret   *string `json:"secret,omitempty"`
}

type ManagedClusterStorageProfile

type ManagedClusterStorageProfile struct {
	BlobCSIDriver      *ManagedClusterStorageProfileBlobCSIDriver      `json:"blobCSIDriver,omitempty"`
	DiskCSIDriver      *ManagedClusterStorageProfileDiskCSIDriver      `json:"diskCSIDriver,omitempty"`
	FileCSIDriver      *ManagedClusterStorageProfileFileCSIDriver      `json:"fileCSIDriver,omitempty"`
	SnapshotController *ManagedClusterStorageProfileSnapshotController `json:"snapshotController,omitempty"`
}

type ManagedClusterStorageProfileBlobCSIDriver

type ManagedClusterStorageProfileBlobCSIDriver struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedClusterStorageProfileDiskCSIDriver

type ManagedClusterStorageProfileDiskCSIDriver struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedClusterStorageProfileFileCSIDriver

type ManagedClusterStorageProfileFileCSIDriver struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedClusterStorageProfileSnapshotController

type ManagedClusterStorageProfileSnapshotController struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedClusterUpgradeProfile

type ManagedClusterUpgradeProfile struct {
	Id         *string                                `json:"id,omitempty"`
	Name       *string                                `json:"name,omitempty"`
	Properties ManagedClusterUpgradeProfileProperties `json:"properties"`
	Type       *string                                `json:"type,omitempty"`
}

type ManagedClusterUpgradeProfileProperties

type ManagedClusterUpgradeProfileProperties struct {
	AgentPoolProfiles   []ManagedClusterPoolUpgradeProfile `json:"agentPoolProfiles"`
	ControlPlaneProfile ManagedClusterPoolUpgradeProfile   `json:"controlPlaneProfile"`
}

type ManagedClusterWindowsProfile

type ManagedClusterWindowsProfile struct {
	AdminPassword  *string             `json:"adminPassword,omitempty"`
	AdminUsername  string              `json:"adminUsername"`
	EnableCSIProxy *bool               `json:"enableCSIProxy,omitempty"`
	GmsaProfile    *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
	LicenseType    *LicenseType        `json:"licenseType,omitempty"`
}

type ManagedClusterWorkloadAutoScalerProfile

type ManagedClusterWorkloadAutoScalerProfile struct {
	Keda *ManagedClusterWorkloadAutoScalerProfileKeda `json:"keda,omitempty"`
}

type ManagedClusterWorkloadAutoScalerProfileKeda

type ManagedClusterWorkloadAutoScalerProfileKeda struct {
	Enabled bool `json:"enabled"`
}

type ManagedClustersClient

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

func NewManagedClustersClientWithBaseURI

func NewManagedClustersClientWithBaseURI(endpoint string) ManagedClustersClient

func (ManagedClustersClient) CreateOrUpdate

CreateOrUpdate ...

func (ManagedClustersClient) CreateOrUpdateThenPoll

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

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ManagedClustersClient) Delete

Delete ...

func (ManagedClustersClient) DeleteThenPoll

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

DeleteThenPoll performs Delete then polls until it's completed

func (ManagedClustersClient) Get

Get ...

func (ManagedClustersClient) GetAccessProfile

GetAccessProfile ...

func (ManagedClustersClient) GetCommandResult

GetCommandResult ...

func (ManagedClustersClient) GetOSOptions

GetOSOptions ...

func (ManagedClustersClient) GetUpgradeProfile

GetUpgradeProfile ...

func (ManagedClustersClient) List

List ...

func (ManagedClustersClient) ListByResourceGroup

ListByResourceGroup ...

func (ManagedClustersClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (ManagedClustersClient) ListByResourceGroupCompleteMatchingPredicate

func (c ManagedClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ManagedClusterOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedClustersClient) ListClusterAdminCredentials

ListClusterAdminCredentials ...

func (ManagedClustersClient) ListClusterMonitoringUserCredentials

ListClusterMonitoringUserCredentials ...

func (ManagedClustersClient) ListClusterUserCredentials

ListClusterUserCredentials ...

func (ManagedClustersClient) ListComplete

ListComplete retrieves all of the results into a single object

func (ManagedClustersClient) ListCompleteMatchingPredicate

func (c ManagedClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ManagedClusterOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpoints

func (c ManagedClustersClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id ManagedClusterId) (resp ListOutboundNetworkDependenciesEndpointsOperationResponse, err error)

ListOutboundNetworkDependenciesEndpoints ...

func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsComplete

func (c ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id ManagedClusterId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)

ListOutboundNetworkDependenciesEndpointsComplete retrieves all of the results into a single object

func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate

func (c ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate OutboundEnvironmentEndpointOperationPredicate) (resp ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)

ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedClustersClient) ResetAADProfile

ResetAADProfile ...

func (ManagedClustersClient) ResetAADProfileThenPoll

func (c ManagedClustersClient) ResetAADProfileThenPoll(ctx context.Context, id ManagedClusterId, input ManagedClusterAADProfile) error

ResetAADProfileThenPoll performs ResetAADProfile then polls until it's completed

func (ManagedClustersClient) ResetServicePrincipalProfile

ResetServicePrincipalProfile ...

func (ManagedClustersClient) ResetServicePrincipalProfileThenPoll

func (c ManagedClustersClient) ResetServicePrincipalProfileThenPoll(ctx context.Context, id ManagedClusterId, input ManagedClusterServicePrincipalProfile) error

ResetServicePrincipalProfileThenPoll performs ResetServicePrincipalProfile then polls until it's completed

func (ManagedClustersClient) RotateClusterCertificates

RotateClusterCertificates ...

func (ManagedClustersClient) RotateClusterCertificatesThenPoll

func (c ManagedClustersClient) RotateClusterCertificatesThenPoll(ctx context.Context, id ManagedClusterId) error

RotateClusterCertificatesThenPoll performs RotateClusterCertificates then polls until it's completed

func (ManagedClustersClient) RotateServiceAccountSigningKeys

func (c ManagedClustersClient) RotateServiceAccountSigningKeys(ctx context.Context, id ManagedClusterId) (result RotateServiceAccountSigningKeysOperationResponse, err error)

RotateServiceAccountSigningKeys ...

func (ManagedClustersClient) RotateServiceAccountSigningKeysThenPoll

func (c ManagedClustersClient) RotateServiceAccountSigningKeysThenPoll(ctx context.Context, id ManagedClusterId) error

RotateServiceAccountSigningKeysThenPoll performs RotateServiceAccountSigningKeys then polls until it's completed

func (ManagedClustersClient) RunCommand

RunCommand ...

func (ManagedClustersClient) RunCommandThenPoll

func (c ManagedClustersClient) RunCommandThenPoll(ctx context.Context, id ManagedClusterId, input RunCommandRequest) error

RunCommandThenPoll performs RunCommand then polls until it's completed

func (ManagedClustersClient) Start

Start ...

func (ManagedClustersClient) StartThenPoll

func (c ManagedClustersClient) StartThenPoll(ctx context.Context, id ManagedClusterId) error

StartThenPoll performs Start then polls until it's completed

func (ManagedClustersClient) Stop

Stop ...

func (ManagedClustersClient) StopThenPoll

StopThenPoll performs Stop then polls until it's completed

func (ManagedClustersClient) UpdateTags

UpdateTags ...

func (ManagedClustersClient) UpdateTagsThenPoll

func (c ManagedClustersClient) UpdateTagsThenPoll(ctx context.Context, id ManagedClusterId, input TagsObject) error

UpdateTagsThenPoll performs UpdateTags then polls until it's completed

type NetworkMode

type NetworkMode string
const (
	NetworkModeBridge      NetworkMode = "bridge"
	NetworkModeTransparent NetworkMode = "transparent"
)

type NetworkPlugin

type NetworkPlugin string
const (
	NetworkPluginAzure   NetworkPlugin = "azure"
	NetworkPluginKubenet NetworkPlugin = "kubenet"
	NetworkPluginNone    NetworkPlugin = "none"
)

type NetworkPolicy

type NetworkPolicy string
const (
	NetworkPolicyAzure  NetworkPolicy = "azure"
	NetworkPolicyCalico NetworkPolicy = "calico"
)

type OSDiskType

type OSDiskType string
const (
	OSDiskTypeEphemeral OSDiskType = "Ephemeral"
	OSDiskTypeManaged   OSDiskType = "Managed"
)

type OSOptionProfile

type OSOptionProfile struct {
	Id         *string              `json:"id,omitempty"`
	Name       *string              `json:"name,omitempty"`
	Properties OSOptionPropertyList `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

type OSOptionProperty

type OSOptionProperty struct {
	EnableFipsImage bool   `json:"enable-fips-image"`
	OsType          string `json:"os-type"`
}

type OSOptionPropertyList

type OSOptionPropertyList struct {
	OsOptionPropertyList []OSOptionProperty `json:"osOptionPropertyList"`
}

type OSSKU

type OSSKU string
const (
	OSSKUCBLMariner            OSSKU = "CBLMariner"
	OSSKUUbuntu                OSSKU = "Ubuntu"
	OSSKUWindowsTwoZeroOneNine OSSKU = "Windows2019"
	OSSKUWindowsTwoZeroTwoTwo  OSSKU = "Windows2022"
)

type OSType

type OSType string
const (
	OSTypeLinux   OSType = "Linux"
	OSTypeWindows OSType = "Windows"
)

type OutboundEnvironmentEndpoint

type OutboundEnvironmentEndpoint struct {
	Category  *string               `json:"category,omitempty"`
	Endpoints *[]EndpointDependency `json:"endpoints,omitempty"`
}

type OutboundEnvironmentEndpointOperationPredicate

type OutboundEnvironmentEndpointOperationPredicate struct {
	Category *string
}

func (OutboundEnvironmentEndpointOperationPredicate) Matches

type OutboundType

type OutboundType string
const (
	OutboundTypeLoadBalancer           OutboundType = "loadBalancer"
	OutboundTypeManagedNATGateway      OutboundType = "managedNATGateway"
	OutboundTypeUserAssignedNATGateway OutboundType = "userAssignedNATGateway"
	OutboundTypeUserDefinedRouting     OutboundType = "userDefinedRouting"
)

type PowerState

type PowerState struct {
	Code *Code `json:"code,omitempty"`
}

type PrivateLinkResource

type PrivateLinkResource struct {
	GroupId              *string   `json:"groupId,omitempty"`
	Id                   *string   `json:"id,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	PrivateLinkServiceID *string   `json:"privateLinkServiceID,omitempty"`
	RequiredMembers      *[]string `json:"requiredMembers,omitempty"`
	Type                 *string   `json:"type,omitempty"`
}

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

type ResetAADProfileOperationResponse

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

type ResetServicePrincipalProfileOperationResponse

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

type ResourceReference

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

type RotateClusterCertificatesOperationResponse

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

type RotateServiceAccountSigningKeysOperationResponse

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

type RunCommandOperationResponse

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

type RunCommandRequest

type RunCommandRequest struct {
	ClusterToken *string `json:"clusterToken,omitempty"`
	Command      string  `json:"command"`
	Context      *string `json:"context,omitempty"`
}

type RunCommandResult

type RunCommandResult struct {
	Id         *string                  `json:"id,omitempty"`
	Properties *CommandResultProperties `json:"properties,omitempty"`
}

type ScaleDownMode

type ScaleDownMode string
const (
	ScaleDownModeDeallocate ScaleDownMode = "Deallocate"
	ScaleDownModeDelete     ScaleDownMode = "Delete"
)

type ScaleSetEvictionPolicy

type ScaleSetEvictionPolicy string
const (
	ScaleSetEvictionPolicyDeallocate ScaleSetEvictionPolicy = "Deallocate"
	ScaleSetEvictionPolicyDelete     ScaleSetEvictionPolicy = "Delete"
)

type ScaleSetPriority

type ScaleSetPriority string
const (
	ScaleSetPriorityRegular ScaleSetPriority = "Regular"
	ScaleSetPrioritySpot    ScaleSetPriority = "Spot"
)

type StartOperationResponse

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

type StopOperationResponse

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

type SysctlConfig

type SysctlConfig struct {
	FsAioMaxNr                     *int64  `json:"fsAioMaxNr,omitempty"`
	FsFileMax                      *int64  `json:"fsFileMax,omitempty"`
	FsInotifyMaxUserWatches        *int64  `json:"fsInotifyMaxUserWatches,omitempty"`
	FsNrOpen                       *int64  `json:"fsNrOpen,omitempty"`
	KernelThreadsMax               *int64  `json:"kernelThreadsMax,omitempty"`
	NetCoreNetdevMaxBacklog        *int64  `json:"netCoreNetdevMaxBacklog,omitempty"`
	NetCoreOptmemMax               *int64  `json:"netCoreOptmemMax,omitempty"`
	NetCoreRmemDefault             *int64  `json:"netCoreRmemDefault,omitempty"`
	NetCoreRmemMax                 *int64  `json:"netCoreRmemMax,omitempty"`
	NetCoreSomaxconn               *int64  `json:"netCoreSomaxconn,omitempty"`
	NetCoreWmemDefault             *int64  `json:"netCoreWmemDefault,omitempty"`
	NetCoreWmemMax                 *int64  `json:"netCoreWmemMax,omitempty"`
	NetIPv4IPLocalPortRange        *string `json:"netIpv4IpLocalPortRange,omitempty"`
	NetIPv4NeighDefaultGcThresh1   *int64  `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
	NetIPv4NeighDefaultGcThresh2   *int64  `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
	NetIPv4NeighDefaultGcThresh3   *int64  `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
	NetIPv4TcpFinTimeout           *int64  `json:"netIpv4TcpFinTimeout,omitempty"`
	NetIPv4TcpKeepaliveProbes      *int64  `json:"netIpv4TcpKeepaliveProbes,omitempty"`
	NetIPv4TcpKeepaliveTime        *int64  `json:"netIpv4TcpKeepaliveTime,omitempty"`
	NetIPv4TcpMaxSynBacklog        *int64  `json:"netIpv4TcpMaxSynBacklog,omitempty"`
	NetIPv4TcpMaxTwBuckets         *int64  `json:"netIpv4TcpMaxTwBuckets,omitempty"`
	NetIPv4TcpTwReuse              *bool   `json:"netIpv4TcpTwReuse,omitempty"`
	NetIPv4TcpkeepaliveIntvl       *int64  `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
	NetNetfilterNfConntrackBuckets *int64  `json:"netNetfilterNfConntrackBuckets,omitempty"`
	NetNetfilterNfConntrackMax     *int64  `json:"netNetfilterNfConntrackMax,omitempty"`
	VMMaxMapCount                  *int64  `json:"vmMaxMapCount,omitempty"`
	VMSwappiness                   *int64  `json:"vmSwappiness,omitempty"`
	VMVfsCachePressure             *int64  `json:"vmVfsCachePressure,omitempty"`
}

type TagsObject

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

type UpdateTagsOperationResponse

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

type UpgradeChannel

type UpgradeChannel string
const (
	UpgradeChannelNodeNegativeimage UpgradeChannel = "node-image"
	UpgradeChannelNone              UpgradeChannel = "none"
	UpgradeChannelPatch             UpgradeChannel = "patch"
	UpgradeChannelRapid             UpgradeChannel = "rapid"
	UpgradeChannelStable            UpgradeChannel = "stable"
)

type UserAssignedIdentity

type UserAssignedIdentity struct {
	ClientId   *string `json:"clientId,omitempty"`
	ObjectId   *string `json:"objectId,omitempty"`
	ResourceId *string `json:"resourceId,omitempty"`
}

type WindowsGmsaProfile

type WindowsGmsaProfile struct {
	DnsServer      *string `json:"dnsServer,omitempty"`
	Enabled        *bool   `json:"enabled,omitempty"`
	RootDomainName *string `json:"rootDomainName,omitempty"`
}

type WorkloadRuntime

type WorkloadRuntime string
const (
	WorkloadRuntimeOCIContainer WorkloadRuntime = "OCIContainer"
	WorkloadRuntimeWasmWasi     WorkloadRuntime = "WasmWasi"
)

Source Files

Jump to

Keyboard shortcuts

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