Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package containerservice implements the Azure ARM Containerservice service API version 2021-09-01.
The Container Service Client.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessProfile
- type AgentPool
- type AgentPoolAvailableVersions
- type AgentPoolAvailableVersionsProperties
- type AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
- type AgentPoolListResult
- type AgentPoolListResultIterator
- func (iter *AgentPoolListResultIterator) Next() error
- func (iter *AgentPoolListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AgentPoolListResultIterator) NotDone() bool
- func (iter AgentPoolListResultIterator) Response() AgentPoolListResult
- func (iter AgentPoolListResultIterator) Value() AgentPool
- type AgentPoolListResultPage
- func (page *AgentPoolListResultPage) Next() error
- func (page *AgentPoolListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AgentPoolListResultPage) NotDone() bool
- func (page AgentPoolListResultPage) Response() AgentPoolListResult
- func (page AgentPoolListResultPage) Values() []AgentPool
- type AgentPoolMode
- type AgentPoolType
- type AgentPoolUpgradeProfile
- type AgentPoolUpgradeProfileProperties
- type AgentPoolUpgradeProfilePropertiesUpgradesItem
- type AgentPoolUpgradeSettings
- type AgentPoolsClient
- func (client AgentPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result AgentPoolsCreateOrUpdateFuture, err error)
- func (client AgentPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client AgentPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result AgentPool, err error)
- func (client AgentPoolsClient) CreateOrUpdateSender(req *http.Request) (future AgentPoolsCreateOrUpdateFuture, err error)
- func (client AgentPoolsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result AgentPoolsDeleteFuture, err error)
- func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client AgentPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error)
- func (client AgentPoolsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result AgentPool, err error)
- func (client AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolAvailableVersions, err error)
- func (client AgentPoolsClient) GetAvailableAgentPoolVersionsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client AgentPoolsClient) GetAvailableAgentPoolVersionsResponder(resp *http.Response) (result AgentPoolAvailableVersions, err error)
- func (client AgentPoolsClient) GetAvailableAgentPoolVersionsSender(req *http.Request) (*http.Response, error)
- func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client AgentPoolsClient) GetResponder(resp *http.Response) (result AgentPool, err error)
- func (client AgentPoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AgentPoolsClient) GetUpgradeProfile(ctx context.Context, resourceGroupName string, resourceName string, ...) (result AgentPoolUpgradeProfile, err error)
- func (client AgentPoolsClient) GetUpgradeProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client AgentPoolsClient) GetUpgradeProfileResponder(resp *http.Response) (result AgentPoolUpgradeProfile, err error)
- func (client AgentPoolsClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error)
- func (client AgentPoolsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolListResultPage, err error)
- func (client AgentPoolsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolListResultIterator, err error)
- func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client AgentPoolsClient) ListResponder(resp *http.Response) (result AgentPoolListResult, err error)
- func (client AgentPoolsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AgentPoolsClient) UpgradeNodeImageVersion(ctx context.Context, resourceGroupName string, resourceName string, ...) (result AgentPoolsUpgradeNodeImageVersionFuture, err error)
- func (client AgentPoolsClient) UpgradeNodeImageVersionPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client AgentPoolsClient) UpgradeNodeImageVersionResponder(resp *http.Response) (result AgentPool, err error)
- func (client AgentPoolsClient) UpgradeNodeImageVersionSender(req *http.Request) (future AgentPoolsUpgradeNodeImageVersionFuture, err error)
- type AgentPoolsCreateOrUpdateFuture
- type AgentPoolsDeleteFuture
- type AgentPoolsUpgradeNodeImageVersionFuture
- type BaseClient
- type CloudError
- type CloudErrorBody
- type Code
- type CommandResultProperties
- type ConnectionStatus
- type CreatedByType
- type CreationData
- type CredentialResult
- type CredentialResults
- type DiagnosticsProfile
- type EndpointDependency
- type EndpointDetail
- type Expander
- type ExtendedLocation
- type ExtendedLocationTypes
- type GPUInstanceProfile
- type KubeletConfig
- type KubeletDiskType
- type LicenseType
- type LinuxOSConfig
- type LinuxProfile
- type LoadBalancerSku
- type MaintenanceConfiguration
- type MaintenanceConfigurationListResult
- type MaintenanceConfigurationListResultIterator
- func (iter *MaintenanceConfigurationListResultIterator) Next() error
- func (iter *MaintenanceConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MaintenanceConfigurationListResultIterator) NotDone() bool
- func (iter MaintenanceConfigurationListResultIterator) Response() MaintenanceConfigurationListResult
- func (iter MaintenanceConfigurationListResultIterator) Value() MaintenanceConfiguration
- type MaintenanceConfigurationListResultPage
- func (page *MaintenanceConfigurationListResultPage) Next() error
- func (page *MaintenanceConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page MaintenanceConfigurationListResultPage) NotDone() bool
- func (page MaintenanceConfigurationListResultPage) Response() MaintenanceConfigurationListResult
- func (page MaintenanceConfigurationListResultPage) Values() []MaintenanceConfiguration
- type MaintenanceConfigurationProperties
- type MaintenanceConfigurationsClient
- func (client MaintenanceConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result MaintenanceConfiguration, err error)
- func (client MaintenanceConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MaintenanceConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result MaintenanceConfiguration, err error)
- func (client MaintenanceConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client MaintenanceConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client MaintenanceConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MaintenanceConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MaintenanceConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client MaintenanceConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result MaintenanceConfiguration, err error)
- func (client MaintenanceConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MaintenanceConfigurationsClient) GetResponder(resp *http.Response) (result MaintenanceConfiguration, err error)
- func (client MaintenanceConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client MaintenanceConfigurationsClient) ListByManagedCluster(ctx context.Context, resourceGroupName string, resourceName string) (result MaintenanceConfigurationListResultPage, err error)
- func (client MaintenanceConfigurationsClient) ListByManagedClusterComplete(ctx context.Context, resourceGroupName string, resourceName string) (result MaintenanceConfigurationListResultIterator, err error)
- func (client MaintenanceConfigurationsClient) ListByManagedClusterPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client MaintenanceConfigurationsClient) ListByManagedClusterResponder(resp *http.Response) (result MaintenanceConfigurationListResult, err error)
- func (client MaintenanceConfigurationsClient) ListByManagedClusterSender(req *http.Request) (*http.Response, error)
- type ManagedCluster
- type ManagedClusterAADProfile
- type ManagedClusterAPIServerAccessProfile
- type ManagedClusterAccessProfile
- type ManagedClusterAddonProfile
- type ManagedClusterAddonProfileIdentity
- type ManagedClusterAgentPoolProfile
- type ManagedClusterAgentPoolProfileProperties
- type ManagedClusterAutoUpgradeProfile
- type ManagedClusterHTTPProxyConfig
- type ManagedClusterIdentity
- type ManagedClusterIdentityUserAssignedIdentitiesValue
- type ManagedClusterListResult
- type ManagedClusterListResultIterator
- func (iter *ManagedClusterListResultIterator) Next() error
- func (iter *ManagedClusterListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ManagedClusterListResultIterator) NotDone() bool
- func (iter ManagedClusterListResultIterator) Response() ManagedClusterListResult
- func (iter ManagedClusterListResultIterator) Value() ManagedCluster
- type ManagedClusterListResultPage
- func (page *ManagedClusterListResultPage) Next() error
- func (page *ManagedClusterListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ManagedClusterListResultPage) NotDone() bool
- func (page ManagedClusterListResultPage) Response() ManagedClusterListResult
- func (page ManagedClusterListResultPage) Values() []ManagedCluster
- type ManagedClusterLoadBalancerProfile
- type ManagedClusterLoadBalancerProfileManagedOutboundIPs
- type ManagedClusterLoadBalancerProfileOutboundIPPrefixes
- type ManagedClusterLoadBalancerProfileOutboundIPs
- type ManagedClusterManagedOutboundIPProfile
- type ManagedClusterNATGatewayProfile
- type ManagedClusterPodIdentity
- type ManagedClusterPodIdentityException
- type ManagedClusterPodIdentityProfile
- type ManagedClusterPodIdentityProvisioningError
- type ManagedClusterPodIdentityProvisioningErrorBody
- type ManagedClusterPodIdentityProvisioningInfo
- type ManagedClusterPodIdentityProvisioningState
- type ManagedClusterPoolUpgradeProfile
- type ManagedClusterPoolUpgradeProfileUpgradesItem
- type ManagedClusterProperties
- type ManagedClusterPropertiesAutoScalerProfile
- type ManagedClusterSKU
- type ManagedClusterSKUName
- type ManagedClusterSKUTier
- type ManagedClusterSecurityProfile
- type ManagedClusterSecurityProfileAzureDefender
- type ManagedClusterServicePrincipalProfile
- type ManagedClusterUpgradeProfile
- type ManagedClusterUpgradeProfileProperties
- type ManagedClusterWindowsProfile
- type ManagedClustersClient
- func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClustersCreateOrUpdateFuture, err error)
- func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedCluster, err error)
- func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error)
- func (client ManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersDeleteFuture, err error)
- func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error)
- func (client ManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedCluster, err error)
- func (client ManagedClustersClient) GetAccessProfile(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClusterAccessProfile, err error)
- func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) GetAccessProfileResponder(resp *http.Response) (result ManagedClusterAccessProfile, err error)
- func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) GetCommandResult(ctx context.Context, resourceGroupName string, resourceName string, ...) (result RunCommandResult, err error)
- func (client ManagedClustersClient) GetCommandResultPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) GetCommandResultResponder(resp *http.Response) (result RunCommandResult, err error)
- func (client ManagedClustersClient) GetCommandResultSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) GetOSOptions(ctx context.Context, location string, resourceType string) (result OSOptionProfile, err error)
- func (client ManagedClustersClient) GetOSOptionsPreparer(ctx context.Context, location string, resourceType string) (*http.Request, error)
- func (client ManagedClustersClient) GetOSOptionsResponder(resp *http.Response) (result OSOptionProfile, err error)
- func (client ManagedClustersClient) GetOSOptionsSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) GetResponder(resp *http.Response) (result ManagedCluster, err error)
- func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) GetUpgradeProfile(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClusterUpgradeProfile, err error)
- func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) GetUpgradeProfileResponder(resp *http.Response) (result ManagedClusterUpgradeProfile, err error)
- func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) List(ctx context.Context) (result ManagedClusterListResultPage, err error)
- func (client ManagedClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultPage, err error)
- func (client ManagedClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultIterator, err error)
- func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ManagedClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ManagedClusterListResult, err error)
- func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ListClusterAdminCredentials(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) ListClusterAdminCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ListClusterMonitoringUserCredentials(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ListClusterUserCredentials(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) ListClusterUserCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
- func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ListComplete(ctx context.Context) (result ManagedClusterListResultIterator, err error)
- func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, resourceGroupName string, resourceName string) (result OutboundEnvironmentEndpointCollectionPage, err error)
- func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result OutboundEnvironmentEndpointCollectionIterator, err error)
- func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsResponder(resp *http.Response) (result OutboundEnvironmentEndpointCollection, err error)
- func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ManagedClustersClient) ListResponder(resp *http.Response) (result ManagedClusterListResult, err error)
- func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ManagedClustersClient) ResetAADProfile(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClustersResetAADProfileFuture, err error)
- func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) ResetAADProfileResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error)
- func (client ManagedClustersClient) ResetServicePrincipalProfile(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClustersResetServicePrincipalProfileFuture, err error)
- func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) ResetServicePrincipalProfileResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error)
- func (client ManagedClustersClient) RotateClusterCertificates(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersRotateClusterCertificatesFuture, err error)
- func (client ManagedClustersClient) RotateClusterCertificatesPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) RotateClusterCertificatesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) RotateClusterCertificatesSender(req *http.Request) (future ManagedClustersRotateClusterCertificatesFuture, err error)
- func (client ManagedClustersClient) RunCommand(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClustersRunCommandFuture, err error)
- func (client ManagedClustersClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
- func (client ManagedClustersClient) RunCommandSender(req *http.Request) (future ManagedClustersRunCommandFuture, err error)
- func (client ManagedClustersClient) Start(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersStartFuture, err error)
- func (client ManagedClustersClient) StartPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) StartSender(req *http.Request) (future ManagedClustersStartFuture, err error)
- func (client ManagedClustersClient) Stop(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersStopFuture, err error)
- func (client ManagedClustersClient) StopPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ManagedClustersClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagedClustersClient) StopSender(req *http.Request) (future ManagedClustersStopFuture, err error)
- func (client ManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ManagedClustersUpdateTagsFuture, err error)
- func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result ManagedCluster, err error)
- func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error)
- type ManagedClustersCreateOrUpdateFuture
- type ManagedClustersDeleteFuture
- type ManagedClustersResetAADProfileFuture
- type ManagedClustersResetServicePrincipalProfileFuture
- type ManagedClustersRotateClusterCertificatesFuture
- type ManagedClustersRunCommandFuture
- type ManagedClustersStartFuture
- type ManagedClustersStopFuture
- type ManagedClustersUpdateTagsFuture
- type MasterProfile
- type NetworkMode
- type NetworkPlugin
- type NetworkPolicy
- type NetworkProfile
- type OSDiskType
- type OSOptionProfile
- type OSOptionProperty
- type OSOptionPropertyList
- type OSSKU
- type OSType
- type OperationListResult
- type OperationValue
- type OperationValueDisplay
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OutboundEnvironmentEndpoint
- type OutboundEnvironmentEndpointCollection
- type OutboundEnvironmentEndpointCollectionIterator
- func (iter *OutboundEnvironmentEndpointCollectionIterator) Next() error
- func (iter *OutboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OutboundEnvironmentEndpointCollectionIterator) NotDone() bool
- func (iter OutboundEnvironmentEndpointCollectionIterator) Response() OutboundEnvironmentEndpointCollection
- func (iter OutboundEnvironmentEndpointCollectionIterator) Value() OutboundEnvironmentEndpoint
- type OutboundEnvironmentEndpointCollectionPage
- func (page *OutboundEnvironmentEndpointCollectionPage) Next() error
- func (page *OutboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page OutboundEnvironmentEndpointCollectionPage) NotDone() bool
- func (page OutboundEnvironmentEndpointCollectionPage) Response() OutboundEnvironmentEndpointCollection
- func (page OutboundEnvironmentEndpointCollectionPage) Values() []OutboundEnvironmentEndpoint
- type OutboundType
- type PowerState
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) UpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointConnectionsDeleteFuture
- type PrivateLinkResource
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateLinkResourcesListResult, err error)
- func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResourcesListResult, err error)
- func (client PrivateLinkResourcesClient) ListSender(req *http.Request) (*http.Response, error)
- type PrivateLinkResourcesListResult
- type PrivateLinkServiceConnectionState
- type PublicNetworkAccess
- type ResolvePrivateLinkServiceIDClient
- func (client ResolvePrivateLinkServiceIDClient) POST(ctx context.Context, resourceGroupName string, resourceName string, ...) (result PrivateLinkResource, err error)
- func (client ResolvePrivateLinkServiceIDClient) POSTPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ResolvePrivateLinkServiceIDClient) POSTResponder(resp *http.Response) (result PrivateLinkResource, err error)
- func (client ResolvePrivateLinkServiceIDClient) POSTSender(req *http.Request) (*http.Response, error)
- type Resource
- type ResourceIdentityType
- type ResourceReference
- type RunCommandRequest
- type RunCommandResult
- type SSHConfiguration
- type SSHPublicKey
- type ScaleDownMode
- type ScaleSetEvictionPolicy
- type ScaleSetPriority
- type Snapshot
- type SnapshotListResult
- type SnapshotListResultIterator
- func (iter *SnapshotListResultIterator) Next() error
- func (iter *SnapshotListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SnapshotListResultIterator) NotDone() bool
- func (iter SnapshotListResultIterator) Response() SnapshotListResult
- func (iter SnapshotListResultIterator) Value() Snapshot
- type SnapshotListResultPage
- func (page *SnapshotListResultPage) Next() error
- func (page *SnapshotListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SnapshotListResultPage) NotDone() bool
- func (page SnapshotListResultPage) Response() SnapshotListResult
- func (page SnapshotListResultPage) Values() []Snapshot
- type SnapshotProperties
- type SnapshotType
- type SnapshotsClient
- func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Snapshot, err error)
- func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
- func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SnapshotsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Snapshot, err error)
- func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListResultPage, err error)
- func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListResultPage, err error)
- func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListResultIterator, err error)
- func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotListResult, err error)
- func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListResultIterator, err error)
- func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotListResult, err error)
- func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Snapshot, err error)
- func (client SnapshotsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SnapshotsClient) UpdateTagsResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
- type StorageProfileTypes
- type SubResource
- type SysctlConfig
- type SystemData
- type TagsObject
- type TimeInWeek
- type TimeSpan
- type UpgradeChannel
- type UserAssignedIdentity
- type VMDiagnostics
- type VMSizeTypes
- type WeekDay
- type WindowsGmsaProfile
- type WorkloadRuntime
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Containerservice
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessProfile ¶
type AccessProfile struct { // KubeConfig - Base64-encoded Kubernetes configuration file. KubeConfig *[]byte `json:"kubeConfig,omitempty"` }
AccessProfile profile for enabling a user to access a managed cluster.
type AgentPool ¶
type AgentPool struct { autorest.Response `json:"-"` // ManagedClusterAgentPoolProfileProperties - Properties of an agent pool. *ManagedClusterAgentPoolProfileProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
AgentPool agent Pool.
func (AgentPool) MarshalJSON ¶
MarshalJSON is the custom marshaler for AgentPool.
func (*AgentPool) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for AgentPool struct.
type AgentPoolAvailableVersions ¶
type AgentPoolAvailableVersions struct { autorest.Response `json:"-"` // ID - READ-ONLY; The ID of the agent pool version list. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the agent pool version list. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the agent pool version list. Type *string `json:"type,omitempty"` // AgentPoolAvailableVersionsProperties - Properties of agent pool available versions. *AgentPoolAvailableVersionsProperties `json:"properties,omitempty"` }
AgentPoolAvailableVersions the list of available versions for an agent pool.
func (AgentPoolAvailableVersions) MarshalJSON ¶
func (apav AgentPoolAvailableVersions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgentPoolAvailableVersions.
func (*AgentPoolAvailableVersions) UnmarshalJSON ¶
func (apav *AgentPoolAvailableVersions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AgentPoolAvailableVersions struct.
type AgentPoolAvailableVersionsProperties ¶
type AgentPoolAvailableVersionsProperties struct { // AgentPoolVersions - List of versions available for agent pool. AgentPoolVersions *[]AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem `json:"agentPoolVersions,omitempty"` }
AgentPoolAvailableVersionsProperties the list of available agent pool versions.
type AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem ¶
type AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem struct { // Default - Whether this version is the default agent pool version. Default *bool `json:"default,omitempty"` // KubernetesVersion - The Kubernetes version (major.minor.patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // IsPreview - Whether Kubernetes version is currently in preview. IsPreview *bool `json:"isPreview,omitempty"` }
AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem ...
type AgentPoolListResult ¶
type AgentPoolListResult struct { autorest.Response `json:"-"` // Value - The list of agent pools. Value *[]AgentPool `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of agent pool results. NextLink *string `json:"nextLink,omitempty"` }
AgentPoolListResult the response from the List Agent Pools operation.
func (AgentPoolListResult) IsEmpty ¶
func (aplr AgentPoolListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AgentPoolListResult) MarshalJSON ¶
func (aplr AgentPoolListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgentPoolListResult.
type AgentPoolListResultIterator ¶
type AgentPoolListResultIterator struct {
// contains filtered or unexported fields
}
AgentPoolListResultIterator provides access to a complete listing of AgentPool values.
func NewAgentPoolListResultIterator ¶
func NewAgentPoolListResultIterator(page AgentPoolListResultPage) AgentPoolListResultIterator
Creates a new instance of the AgentPoolListResultIterator type.
func (*AgentPoolListResultIterator) Next ¶
func (iter *AgentPoolListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AgentPoolListResultIterator) NextWithContext ¶
func (iter *AgentPoolListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AgentPoolListResultIterator) NotDone ¶
func (iter AgentPoolListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AgentPoolListResultIterator) Response ¶
func (iter AgentPoolListResultIterator) Response() AgentPoolListResult
Response returns the raw server response from the last page request.
func (AgentPoolListResultIterator) Value ¶
func (iter AgentPoolListResultIterator) Value() AgentPool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AgentPoolListResultPage ¶
type AgentPoolListResultPage struct {
// contains filtered or unexported fields
}
AgentPoolListResultPage contains a page of AgentPool values.
func NewAgentPoolListResultPage ¶
func NewAgentPoolListResultPage(cur AgentPoolListResult, getNextPage func(context.Context, AgentPoolListResult) (AgentPoolListResult, error)) AgentPoolListResultPage
Creates a new instance of the AgentPoolListResultPage type.
func (*AgentPoolListResultPage) Next ¶
func (page *AgentPoolListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AgentPoolListResultPage) NextWithContext ¶
func (page *AgentPoolListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AgentPoolListResultPage) NotDone ¶
func (page AgentPoolListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AgentPoolListResultPage) Response ¶
func (page AgentPoolListResultPage) Response() AgentPoolListResult
Response returns the raw server response from the last page request.
func (AgentPoolListResultPage) Values ¶
func (page AgentPoolListResultPage) Values() []AgentPool
Values returns the slice of values for the current page or nil if there are no values.
type AgentPoolMode ¶
type AgentPoolMode string
AgentPoolMode enumerates the values for agent pool mode.
const ( // AgentPoolModeSystem System agent pools are primarily for hosting critical system pods such as CoreDNS // and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at // least 2vCPUs and 4GB of memory. AgentPoolModeSystem AgentPoolMode = "System" // AgentPoolModeUser User agent pools are primarily for hosting your application pods. AgentPoolModeUser AgentPoolMode = "User" )
func PossibleAgentPoolModeValues ¶
func PossibleAgentPoolModeValues() []AgentPoolMode
PossibleAgentPoolModeValues returns an array of possible values for the AgentPoolMode const type.
type AgentPoolType ¶
type AgentPoolType string
AgentPoolType enumerates the values for agent pool type.
const ( // AgentPoolTypeAvailabilitySet Use of this is strongly discouraged. AgentPoolTypeAvailabilitySet AgentPoolType = "AvailabilitySet" // AgentPoolTypeVirtualMachineScaleSets Create an Agent Pool backed by a Virtual Machine Scale Set. AgentPoolTypeVirtualMachineScaleSets AgentPoolType = "VirtualMachineScaleSets" )
func PossibleAgentPoolTypeValues ¶
func PossibleAgentPoolTypeValues() []AgentPoolType
PossibleAgentPoolTypeValues returns an array of possible values for the AgentPoolType const type.
type AgentPoolUpgradeProfile ¶
type AgentPoolUpgradeProfile struct { autorest.Response `json:"-"` // ID - READ-ONLY; The ID of the agent pool upgrade profile. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the agent pool upgrade profile. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the agent pool upgrade profile. Type *string `json:"type,omitempty"` // AgentPoolUpgradeProfileProperties - The properties of the agent pool upgrade profile. *AgentPoolUpgradeProfileProperties `json:"properties,omitempty"` }
AgentPoolUpgradeProfile the list of available upgrades for an agent pool.
func (AgentPoolUpgradeProfile) MarshalJSON ¶
func (apup AgentPoolUpgradeProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgentPoolUpgradeProfile.
func (*AgentPoolUpgradeProfile) UnmarshalJSON ¶
func (apup *AgentPoolUpgradeProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AgentPoolUpgradeProfile struct.
type AgentPoolUpgradeProfileProperties ¶
type AgentPoolUpgradeProfileProperties struct { // KubernetesVersion - The Kubernetes version (major.minor.patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // OsType - Possible values include: 'OSTypeLinux', 'OSTypeWindows' OsType OSType `json:"osType,omitempty"` // Upgrades - List of orchestrator types and versions available for upgrade. Upgrades *[]AgentPoolUpgradeProfilePropertiesUpgradesItem `json:"upgrades,omitempty"` // LatestNodeImageVersion - The latest AKS supported node image version. LatestNodeImageVersion *string `json:"latestNodeImageVersion,omitempty"` }
AgentPoolUpgradeProfileProperties the list of available upgrade versions.
type AgentPoolUpgradeProfilePropertiesUpgradesItem ¶
type AgentPoolUpgradeProfilePropertiesUpgradesItem struct { // KubernetesVersion - The Kubernetes version (major.minor.patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // IsPreview - Whether the Kubernetes version is currently in preview. IsPreview *bool `json:"isPreview,omitempty"` }
AgentPoolUpgradeProfilePropertiesUpgradesItem ...
type AgentPoolUpgradeSettings ¶
type AgentPoolUpgradeSettings struct { // MaxSurge - This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade MaxSurge *string `json:"maxSurge,omitempty"` }
AgentPoolUpgradeSettings settings for upgrading an agentpool
type AgentPoolsClient ¶
type AgentPoolsClient struct {
BaseClient
}
AgentPoolsClient is the the Container Service Client.
func NewAgentPoolsClient ¶
func NewAgentPoolsClient(subscriptionID string) AgentPoolsClient
NewAgentPoolsClient creates an instance of the AgentPoolsClient client.
func NewAgentPoolsClientWithBaseURI ¶
func NewAgentPoolsClientWithBaseURI(baseURI string, subscriptionID string) AgentPoolsClient
NewAgentPoolsClientWithBaseURI creates an instance of the AgentPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (AgentPoolsClient) CreateOrUpdate ¶
func (client AgentPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, parameters AgentPool) (result AgentPoolsCreateOrUpdateFuture, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. agentPoolName - the name of the agent pool. parameters - the agent pool to create or update.
func (AgentPoolsClient) CreateOrUpdatePreparer ¶
func (client AgentPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, parameters AgentPool) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AgentPoolsClient) CreateOrUpdateResponder ¶
func (client AgentPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result AgentPool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AgentPoolsClient) CreateOrUpdateSender ¶
func (client AgentPoolsClient) CreateOrUpdateSender(req *http.Request) (future AgentPoolsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) Delete ¶
func (client AgentPoolsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (result AgentPoolsDeleteFuture, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. agentPoolName - the name of the agent pool.
func (AgentPoolsClient) DeletePreparer ¶
func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AgentPoolsClient) DeleteResponder ¶
func (client AgentPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AgentPoolsClient) DeleteSender ¶
func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) Get ¶
func (client AgentPoolsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (result AgentPool, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. agentPoolName - the name of the agent pool.
func (AgentPoolsClient) GetAvailableAgentPoolVersions ¶
func (client AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolAvailableVersions, err error)
GetAvailableAgentPoolVersions see [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (AgentPoolsClient) GetAvailableAgentPoolVersionsPreparer ¶
func (client AgentPoolsClient) GetAvailableAgentPoolVersionsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetAvailableAgentPoolVersionsPreparer prepares the GetAvailableAgentPoolVersions request.
func (AgentPoolsClient) GetAvailableAgentPoolVersionsResponder ¶
func (client AgentPoolsClient) GetAvailableAgentPoolVersionsResponder(resp *http.Response) (result AgentPoolAvailableVersions, err error)
GetAvailableAgentPoolVersionsResponder handles the response to the GetAvailableAgentPoolVersions request. The method always closes the http.Response Body.
func (AgentPoolsClient) GetAvailableAgentPoolVersionsSender ¶
func (client AgentPoolsClient) GetAvailableAgentPoolVersionsSender(req *http.Request) (*http.Response, error)
GetAvailableAgentPoolVersionsSender sends the GetAvailableAgentPoolVersions request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) GetPreparer ¶
func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AgentPoolsClient) GetResponder ¶
func (client AgentPoolsClient) GetResponder(resp *http.Response) (result AgentPool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AgentPoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) GetUpgradeProfile ¶
func (client AgentPoolsClient) GetUpgradeProfile(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (result AgentPoolUpgradeProfile, err error)
GetUpgradeProfile sends the get upgrade profile request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. agentPoolName - the name of the agent pool.
func (AgentPoolsClient) GetUpgradeProfilePreparer ¶
func (client AgentPoolsClient) GetUpgradeProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (*http.Request, error)
GetUpgradeProfilePreparer prepares the GetUpgradeProfile request.
func (AgentPoolsClient) GetUpgradeProfileResponder ¶
func (client AgentPoolsClient) GetUpgradeProfileResponder(resp *http.Response) (result AgentPoolUpgradeProfile, err error)
GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always closes the http.Response Body.
func (AgentPoolsClient) GetUpgradeProfileSender ¶
GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) List ¶
func (client AgentPoolsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolListResultPage, err error)
List sends the list request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (AgentPoolsClient) ListComplete ¶
func (client AgentPoolsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result AgentPoolListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AgentPoolsClient) ListPreparer ¶
func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (AgentPoolsClient) ListResponder ¶
func (client AgentPoolsClient) ListResponder(resp *http.Response) (result AgentPoolListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AgentPoolsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AgentPoolsClient) UpgradeNodeImageVersion ¶
func (client AgentPoolsClient) UpgradeNodeImageVersion(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (result AgentPoolsUpgradeNodeImageVersionFuture, err error)
UpgradeNodeImageVersion upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. agentPoolName - the name of the agent pool.
func (AgentPoolsClient) UpgradeNodeImageVersionPreparer ¶
func (client AgentPoolsClient) UpgradeNodeImageVersionPreparer(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string) (*http.Request, error)
UpgradeNodeImageVersionPreparer prepares the UpgradeNodeImageVersion request.
func (AgentPoolsClient) UpgradeNodeImageVersionResponder ¶
func (client AgentPoolsClient) UpgradeNodeImageVersionResponder(resp *http.Response) (result AgentPool, err error)
UpgradeNodeImageVersionResponder handles the response to the UpgradeNodeImageVersion request. The method always closes the http.Response Body.
func (AgentPoolsClient) UpgradeNodeImageVersionSender ¶
func (client AgentPoolsClient) UpgradeNodeImageVersionSender(req *http.Request) (future AgentPoolsUpgradeNodeImageVersionFuture, err error)
UpgradeNodeImageVersionSender sends the UpgradeNodeImageVersion request. The method will close the http.Response Body if it receives an error.
type AgentPoolsCreateOrUpdateFuture ¶
type AgentPoolsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AgentPoolsClient) (AgentPool, error) }
AgentPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AgentPoolsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *AgentPoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AgentPoolsDeleteFuture ¶
type AgentPoolsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AgentPoolsClient) (autorest.Response, error) }
AgentPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AgentPoolsDeleteFuture) UnmarshalJSON ¶
func (future *AgentPoolsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AgentPoolsUpgradeNodeImageVersionFuture ¶
type AgentPoolsUpgradeNodeImageVersionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AgentPoolsClient) (AgentPool, error) }
AgentPoolsUpgradeNodeImageVersionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AgentPoolsUpgradeNodeImageVersionFuture) UnmarshalJSON ¶
func (future *AgentPoolsUpgradeNodeImageVersionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BaseClient ¶
BaseClient is the base client for Containerservice.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CloudError ¶
type CloudError struct { // Error - Details about the error. Error *CloudErrorBody `json:"error,omitempty"` }
CloudError an error response from the Container service.
type CloudErrorBody ¶
type CloudErrorBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // Target - The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` // Details - A list of additional details about the error. Details *[]CloudErrorBody `json:"details,omitempty"` }
CloudErrorBody an error response from the Container service.
type Code ¶
type Code string
Code enumerates the values for code.
func PossibleCodeValues ¶
func PossibleCodeValues() []Code
PossibleCodeValues returns an array of possible values for the Code const type.
type CommandResultProperties ¶
type CommandResultProperties struct { // ProvisioningState - READ-ONLY; provisioning State ProvisioningState *string `json:"provisioningState,omitempty"` // ExitCode - READ-ONLY; The exit code of the command ExitCode *int32 `json:"exitCode,omitempty"` // StartedAt - READ-ONLY; The time when the command started. StartedAt *date.Time `json:"startedAt,omitempty"` // FinishedAt - READ-ONLY; The time when the command finished. FinishedAt *date.Time `json:"finishedAt,omitempty"` // Logs - READ-ONLY; The command output. Logs *string `json:"logs,omitempty"` // Reason - READ-ONLY; An explanation of why provisioningState is set to failed (if so). Reason *string `json:"reason,omitempty"` }
CommandResultProperties the results of a run command
func (CommandResultProperties) MarshalJSON ¶
func (crp CommandResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CommandResultProperties.
type ConnectionStatus ¶
type ConnectionStatus string
ConnectionStatus enumerates the values for connection status.
const ( // ConnectionStatusApproved ... ConnectionStatusApproved ConnectionStatus = "Approved" // ConnectionStatusDisconnected ... ConnectionStatusDisconnected ConnectionStatus = "Disconnected" // ConnectionStatusPending ... ConnectionStatusPending ConnectionStatus = "Pending" // ConnectionStatusRejected ... ConnectionStatusRejected ConnectionStatus = "Rejected" )
func PossibleConnectionStatusValues ¶
func PossibleConnectionStatusValues() []ConnectionStatus
PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type CreationData ¶
type CreationData struct { // SourceResourceID - This is the ARM ID of the source object to be used to create the target object. SourceResourceID *string `json:"sourceResourceId,omitempty"` }
CreationData data used when creating a target resource from a source resource.
type CredentialResult ¶
type CredentialResult struct { // Name - READ-ONLY; The name of the credential. Name *string `json:"name,omitempty"` // Value - READ-ONLY; Base64-encoded Kubernetes configuration file. Value *[]byte `json:"value,omitempty"` }
CredentialResult the credential result response.
func (CredentialResult) MarshalJSON ¶
func (cr CredentialResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CredentialResult.
type CredentialResults ¶
type CredentialResults struct { autorest.Response `json:"-"` // Kubeconfigs - READ-ONLY; Base64-encoded Kubernetes configuration file. Kubeconfigs *[]CredentialResult `json:"kubeconfigs,omitempty"` }
CredentialResults the list credential result response.
func (CredentialResults) MarshalJSON ¶
func (cr CredentialResults) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CredentialResults.
type DiagnosticsProfile ¶
type DiagnosticsProfile struct { // VMDiagnostics - Profile for diagnostics on the container service VMs. VMDiagnostics *VMDiagnostics `json:"vmDiagnostics,omitempty"` }
DiagnosticsProfile profile for diagnostics on the container service cluster.
type EndpointDependency ¶
type EndpointDependency struct { // DomainName - The domain name of the dependency. DomainName *string `json:"domainName,omitempty"` // EndpointDetails - The Ports and Protocols used when connecting to domainName. EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` }
EndpointDependency a domain name that AKS agent nodes are reaching at.
type EndpointDetail ¶
type EndpointDetail struct { // IPAddress - An IP Address that Domain Name currently resolves to. IPAddress *string `json:"ipAddress,omitempty"` // Port - The port an endpoint is connected to. Port *int32 `json:"port,omitempty"` // Protocol - The protocol used for connection Protocol *string `json:"protocol,omitempty"` // Description - Description of the detail Description *string `json:"description,omitempty"` }
EndpointDetail connect information from the AKS agent nodes to a single endpoint.
type Expander ¶
type Expander string
Expander enumerates the values for expander.
const ( // ExpanderLeastWaste Selects the node group that will have the least idle CPU (if tied, unused memory) // after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high // memory nodes, and only want to expand those when there are pending pods that need a lot of those // resources. ExpanderLeastWaste Expander = "least-waste" // ExpanderMostPods Selects the node group that would be able to schedule the most pods when scaling up. // This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note // that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller // nodes at once. ExpanderMostPods Expander = "most-pods" // ExpanderPriority Selects the node group that has the highest priority assigned by the user. It's // configuration is described in more details // [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md). ExpanderPriority Expander = "priority" // ExpanderRandom Used when you don't have a particular need for the node groups to scale differently. ExpanderRandom Expander = "random" )
func PossibleExpanderValues ¶
func PossibleExpanderValues() []Expander
PossibleExpanderValues returns an array of possible values for the Expander const type.
type ExtendedLocation ¶
type ExtendedLocation struct { // Name - The name of the extended location. Name *string `json:"name,omitempty"` // Type - The type of the extended location. Possible values include: 'ExtendedLocationTypesEdgeZone' Type ExtendedLocationTypes `json:"type,omitempty"` }
ExtendedLocation the complex type of the extended location.
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
ExtendedLocationTypes enumerates the values for extended location types.
const ( // ExtendedLocationTypesEdgeZone ... ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone" )
func PossibleExtendedLocationTypesValues ¶
func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes
PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type.
type GPUInstanceProfile ¶
type GPUInstanceProfile string
GPUInstanceProfile enumerates the values for gpu instance profile.
const ( // GPUInstanceProfileMIG1g ... GPUInstanceProfileMIG1g GPUInstanceProfile = "MIG1g" // GPUInstanceProfileMIG2g ... GPUInstanceProfileMIG2g GPUInstanceProfile = "MIG2g" // GPUInstanceProfileMIG3g ... GPUInstanceProfileMIG3g GPUInstanceProfile = "MIG3g" // GPUInstanceProfileMIG4g ... GPUInstanceProfileMIG4g GPUInstanceProfile = "MIG4g" // GPUInstanceProfileMIG7g ... GPUInstanceProfileMIG7g GPUInstanceProfile = "MIG7g" )
func PossibleGPUInstanceProfileValues ¶
func PossibleGPUInstanceProfileValues() []GPUInstanceProfile
PossibleGPUInstanceProfileValues returns an array of possible values for the GPUInstanceProfile const type.
type KubeletConfig ¶
type KubeletConfig struct { // CPUManagerPolicy - The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. CPUManagerPolicy *string `json:"cpuManagerPolicy,omitempty"` // CPUCfsQuota - The default is true. CPUCfsQuota *bool `json:"cpuCfsQuota,omitempty"` // CPUCfsQuotaPeriod - The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. CPUCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"` // ImageGcHighThreshold - To disable image garbage collection, set to 100. The default is 85% ImageGcHighThreshold *int32 `json:"imageGcHighThreshold,omitempty"` // ImageGcLowThreshold - This cannot be set higher than imageGcHighThreshold. The default is 80% ImageGcLowThreshold *int32 `json:"imageGcLowThreshold,omitempty"` // TopologyManagerPolicy - For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"` // AllowedUnsafeSysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). AllowedUnsafeSysctls *[]string `json:"allowedUnsafeSysctls,omitempty"` // FailSwapOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node. FailSwapOn *bool `json:"failSwapOn,omitempty"` // ContainerLogMaxSizeMB - The maximum size (e.g. 10Mi) of container log file before it is rotated. ContainerLogMaxSizeMB *int32 `json:"containerLogMaxSizeMB,omitempty"` // ContainerLogMaxFiles - The maximum number of container log files that can be present for a container. The number must be ≥ 2. ContainerLogMaxFiles *int32 `json:"containerLogMaxFiles,omitempty"` // PodMaxPids - The maximum number of processes per pod. PodMaxPids *int32 `json:"podMaxPids,omitempty"` }
KubeletConfig see [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletDiskType ¶
type KubeletDiskType string
KubeletDiskType enumerates the values for kubelet disk type.
const ( // KubeletDiskTypeOS Kubelet will use the OS disk for its data. KubeletDiskTypeOS KubeletDiskType = "OS" // KubeletDiskTypeTemporary Kubelet will use the temporary disk for its data. KubeletDiskTypeTemporary KubeletDiskType = "Temporary" )
func PossibleKubeletDiskTypeValues ¶
func PossibleKubeletDiskTypeValues() []KubeletDiskType
PossibleKubeletDiskTypeValues returns an array of possible values for the KubeletDiskType const type.
type LicenseType ¶
type LicenseType string
LicenseType enumerates the values for license type.
const ( // LicenseTypeNone No additional licensing is applied. LicenseTypeNone LicenseType = "None" // LicenseTypeWindowsServer Enables Azure Hybrid User Benefits for Windows VMs. LicenseTypeWindowsServer LicenseType = "Windows_Server" )
func PossibleLicenseTypeValues ¶
func PossibleLicenseTypeValues() []LicenseType
PossibleLicenseTypeValues returns an array of possible values for the LicenseType const type.
type LinuxOSConfig ¶
type LinuxOSConfig struct { // Sysctls - Sysctl settings for Linux agent nodes. Sysctls *SysctlConfig `json:"sysctls,omitempty"` // TransparentHugePageEnabled - Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"` // TransparentHugePageDefrag - Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"` // SwapFileSizeMB - The size in MB of a swap file that will be created on each node. SwapFileSizeMB *int32 `json:"swapFileSizeMB,omitempty"` }
LinuxOSConfig see [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxProfile ¶
type LinuxProfile struct { // AdminUsername - The administrator username to use for Linux VMs. AdminUsername *string `json:"adminUsername,omitempty"` // SSH - The SSH configuration for Linux-based VMs running on Azure. SSH *SSHConfiguration `json:"ssh,omitempty"` }
LinuxProfile profile for Linux VMs in the container service cluster.
type LoadBalancerSku ¶
type LoadBalancerSku string
LoadBalancerSku enumerates the values for load balancer sku.
const ( // LoadBalancerSkuBasic Use a basic Load Balancer with limited functionality. LoadBalancerSkuBasic LoadBalancerSku = "basic" // LoadBalancerSkuStandard Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For // more information about on working with the load balancer in the managed cluster, see the [standard Load // Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) article. LoadBalancerSkuStandard LoadBalancerSku = "standard" )
func PossibleLoadBalancerSkuValues ¶
func PossibleLoadBalancerSkuValues() []LoadBalancerSku
PossibleLoadBalancerSkuValues returns an array of possible values for the LoadBalancerSku const type.
type MaintenanceConfiguration ¶
type MaintenanceConfiguration struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; The system metadata relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` // MaintenanceConfigurationProperties - Properties of a default maintenance configuration. *MaintenanceConfigurationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
MaintenanceConfiguration see [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance.
func (MaintenanceConfiguration) MarshalJSON ¶
func (mc MaintenanceConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaintenanceConfiguration.
func (*MaintenanceConfiguration) UnmarshalJSON ¶
func (mc *MaintenanceConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MaintenanceConfiguration struct.
type MaintenanceConfigurationListResult ¶
type MaintenanceConfigurationListResult struct { autorest.Response `json:"-"` // Value - The list of maintenance configurations. Value *[]MaintenanceConfiguration `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of maintenance configuration results. NextLink *string `json:"nextLink,omitempty"` }
MaintenanceConfigurationListResult the response from the List maintenance configurations operation.
func (MaintenanceConfigurationListResult) IsEmpty ¶
func (mclr MaintenanceConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (MaintenanceConfigurationListResult) MarshalJSON ¶
func (mclr MaintenanceConfigurationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MaintenanceConfigurationListResult.
type MaintenanceConfigurationListResultIterator ¶
type MaintenanceConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
MaintenanceConfigurationListResultIterator provides access to a complete listing of MaintenanceConfiguration values.
func NewMaintenanceConfigurationListResultIterator ¶
func NewMaintenanceConfigurationListResultIterator(page MaintenanceConfigurationListResultPage) MaintenanceConfigurationListResultIterator
Creates a new instance of the MaintenanceConfigurationListResultIterator type.
func (*MaintenanceConfigurationListResultIterator) Next ¶
func (iter *MaintenanceConfigurationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MaintenanceConfigurationListResultIterator) NextWithContext ¶
func (iter *MaintenanceConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MaintenanceConfigurationListResultIterator) NotDone ¶
func (iter MaintenanceConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MaintenanceConfigurationListResultIterator) Response ¶
func (iter MaintenanceConfigurationListResultIterator) Response() MaintenanceConfigurationListResult
Response returns the raw server response from the last page request.
func (MaintenanceConfigurationListResultIterator) Value ¶
func (iter MaintenanceConfigurationListResultIterator) Value() MaintenanceConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MaintenanceConfigurationListResultPage ¶
type MaintenanceConfigurationListResultPage struct {
// contains filtered or unexported fields
}
MaintenanceConfigurationListResultPage contains a page of MaintenanceConfiguration values.
func NewMaintenanceConfigurationListResultPage ¶
func NewMaintenanceConfigurationListResultPage(cur MaintenanceConfigurationListResult, getNextPage func(context.Context, MaintenanceConfigurationListResult) (MaintenanceConfigurationListResult, error)) MaintenanceConfigurationListResultPage
Creates a new instance of the MaintenanceConfigurationListResultPage type.
func (*MaintenanceConfigurationListResultPage) Next ¶
func (page *MaintenanceConfigurationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MaintenanceConfigurationListResultPage) NextWithContext ¶
func (page *MaintenanceConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MaintenanceConfigurationListResultPage) NotDone ¶
func (page MaintenanceConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MaintenanceConfigurationListResultPage) Response ¶
func (page MaintenanceConfigurationListResultPage) Response() MaintenanceConfigurationListResult
Response returns the raw server response from the last page request.
func (MaintenanceConfigurationListResultPage) Values ¶
func (page MaintenanceConfigurationListResultPage) Values() []MaintenanceConfiguration
Values returns the slice of values for the current page or nil if there are no values.
type MaintenanceConfigurationProperties ¶
type MaintenanceConfigurationProperties struct { // TimeInWeek - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. TimeInWeek *[]TimeInWeek `json:"timeInWeek,omitempty"` // NotAllowedTime - Time slots on which upgrade is not allowed. NotAllowedTime *[]TimeSpan `json:"notAllowedTime,omitempty"` }
MaintenanceConfigurationProperties properties used to configure planned maintenance for a Managed Cluster.
type MaintenanceConfigurationsClient ¶
type MaintenanceConfigurationsClient struct {
BaseClient
}
MaintenanceConfigurationsClient is the the Container Service Client.
func NewMaintenanceConfigurationsClient ¶
func NewMaintenanceConfigurationsClient(subscriptionID string) MaintenanceConfigurationsClient
NewMaintenanceConfigurationsClient creates an instance of the MaintenanceConfigurationsClient client.
func NewMaintenanceConfigurationsClientWithBaseURI ¶
func NewMaintenanceConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) MaintenanceConfigurationsClient
NewMaintenanceConfigurationsClientWithBaseURI creates an instance of the MaintenanceConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MaintenanceConfigurationsClient) CreateOrUpdate ¶
func (client MaintenanceConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, configName string, parameters MaintenanceConfiguration) (result MaintenanceConfiguration, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. configName - the name of the maintenance configuration. parameters - the maintenance configuration to create or update.
func (MaintenanceConfigurationsClient) CreateOrUpdatePreparer ¶
func (client MaintenanceConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, configName string, parameters MaintenanceConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (MaintenanceConfigurationsClient) CreateOrUpdateResponder ¶
func (client MaintenanceConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result MaintenanceConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (MaintenanceConfigurationsClient) CreateOrUpdateSender ¶
func (client MaintenanceConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (MaintenanceConfigurationsClient) Delete ¶
func (client MaintenanceConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, configName string) (result autorest.Response, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. configName - the name of the maintenance configuration.
func (MaintenanceConfigurationsClient) DeletePreparer ¶
func (client MaintenanceConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, configName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (MaintenanceConfigurationsClient) DeleteResponder ¶
func (client MaintenanceConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (MaintenanceConfigurationsClient) DeleteSender ¶
func (client MaintenanceConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (MaintenanceConfigurationsClient) Get ¶
func (client MaintenanceConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, configName string) (result MaintenanceConfiguration, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. configName - the name of the maintenance configuration.
func (MaintenanceConfigurationsClient) GetPreparer ¶
func (client MaintenanceConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, configName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MaintenanceConfigurationsClient) GetResponder ¶
func (client MaintenanceConfigurationsClient) GetResponder(resp *http.Response) (result MaintenanceConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (MaintenanceConfigurationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (MaintenanceConfigurationsClient) ListByManagedCluster ¶
func (client MaintenanceConfigurationsClient) ListByManagedCluster(ctx context.Context, resourceGroupName string, resourceName string) (result MaintenanceConfigurationListResultPage, err error)
ListByManagedCluster sends the list by managed cluster request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (MaintenanceConfigurationsClient) ListByManagedClusterComplete ¶
func (client MaintenanceConfigurationsClient) ListByManagedClusterComplete(ctx context.Context, resourceGroupName string, resourceName string) (result MaintenanceConfigurationListResultIterator, err error)
ListByManagedClusterComplete enumerates all values, automatically crossing page boundaries as required.
func (MaintenanceConfigurationsClient) ListByManagedClusterPreparer ¶
func (client MaintenanceConfigurationsClient) ListByManagedClusterPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListByManagedClusterPreparer prepares the ListByManagedCluster request.
func (MaintenanceConfigurationsClient) ListByManagedClusterResponder ¶
func (client MaintenanceConfigurationsClient) ListByManagedClusterResponder(resp *http.Response) (result MaintenanceConfigurationListResult, err error)
ListByManagedClusterResponder handles the response to the ListByManagedCluster request. The method always closes the http.Response Body.
func (MaintenanceConfigurationsClient) ListByManagedClusterSender ¶
func (client MaintenanceConfigurationsClient) ListByManagedClusterSender(req *http.Request) (*http.Response, error)
ListByManagedClusterSender sends the ListByManagedCluster request. The method will close the http.Response Body if it receives an error.
type ManagedCluster ¶
type ManagedCluster struct { autorest.Response `json:"-"` // Sku - The managed cluster SKU. Sku *ManagedClusterSKU `json:"sku,omitempty"` // ExtendedLocation - The extended location of the Virtual Machine. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Identity - The identity of the managed cluster, if configured. Identity *ManagedClusterIdentity `json:"identity,omitempty"` // ManagedClusterProperties - Properties of a managed cluster. *ManagedClusterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ManagedCluster managed cluster.
func (ManagedCluster) MarshalJSON ¶
func (mc ManagedCluster) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedCluster.
func (*ManagedCluster) UnmarshalJSON ¶
func (mc *ManagedCluster) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedCluster struct.
type ManagedClusterAADProfile ¶
type ManagedClusterAADProfile struct { // Managed - Whether to enable managed AAD. Managed *bool `json:"managed,omitempty"` // EnableAzureRBAC - Whether to enable Azure RBAC for Kubernetes authorization. EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"` // AdminGroupObjectIDs - The list of AAD group object IDs that will have admin role of the cluster. AdminGroupObjectIDs *[]string `json:"adminGroupObjectIDs,omitempty"` // ClientAppID - The client AAD application ID. ClientAppID *string `json:"clientAppID,omitempty"` // ServerAppID - The server AAD application ID. ServerAppID *string `json:"serverAppID,omitempty"` // ServerAppSecret - The server AAD application secret. ServerAppSecret *string `json:"serverAppSecret,omitempty"` // TenantID - The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. TenantID *string `json:"tenantID,omitempty"` }
ManagedClusterAADProfile for more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAPIServerAccessProfile ¶
type ManagedClusterAPIServerAccessProfile struct { // AuthorizedIPRanges - IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). AuthorizedIPRanges *[]string `json:"authorizedIPRanges,omitempty"` // EnablePrivateCluster - For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"` // PrivateDNSZone - The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. PrivateDNSZone *string `json:"privateDNSZone,omitempty"` // EnablePrivateClusterPublicFQDN - Whether to create additional public FQDN for private cluster or not. EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"` // DisableRunCommand - Whether to disable run command for the cluster or not. DisableRunCommand *bool `json:"disableRunCommand,omitempty"` }
ManagedClusterAPIServerAccessProfile access profile for managed cluster API server.
type ManagedClusterAccessProfile ¶
type ManagedClusterAccessProfile struct { autorest.Response `json:"-"` // AccessProfile - AccessProfile of a managed cluster. *AccessProfile `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ManagedClusterAccessProfile managed cluster Access Profile.
func (ManagedClusterAccessProfile) MarshalJSON ¶
func (mcap ManagedClusterAccessProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterAccessProfile.
func (*ManagedClusterAccessProfile) UnmarshalJSON ¶
func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedClusterAccessProfile struct.
type ManagedClusterAddonProfile ¶
type ManagedClusterAddonProfile struct { // Enabled - Whether the add-on is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Config - Key-value pairs for configuring an add-on. Config map[string]*string `json:"config"` // Identity - READ-ONLY; Information of user assigned identity used by this add-on. Identity *ManagedClusterAddonProfileIdentity `json:"identity,omitempty"` }
ManagedClusterAddonProfile a Kubernetes add-on profile for a managed cluster.
func (ManagedClusterAddonProfile) MarshalJSON ¶
func (mcap ManagedClusterAddonProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterAddonProfile.
type ManagedClusterAddonProfileIdentity ¶
type ManagedClusterAddonProfileIdentity struct { // ResourceID - The resource ID of the user assigned identity. ResourceID *string `json:"resourceId,omitempty"` // ClientID - The client ID of the user assigned identity. ClientID *string `json:"clientId,omitempty"` // ObjectID - The object ID of the user assigned identity. ObjectID *string `json:"objectId,omitempty"` }
ManagedClusterAddonProfileIdentity information of user assigned identity used by this add-on.
type ManagedClusterAgentPoolProfile ¶
type ManagedClusterAgentPoolProfile struct { // Name - Windows agent pool names must be 6 characters or less. Name *string `json:"name,omitempty"` // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. Count *int32 `json:"count,omitempty"` // VMSize - VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions VMSize *string `json:"vmSize,omitempty"` OsDiskSizeGB *int32 `json:"osDiskSizeGB,omitempty"` // OsDiskType - Possible values include: 'OSDiskTypeManaged', 'OSDiskTypeEphemeral' OsDiskType OSDiskType `json:"osDiskType,omitempty"` // KubeletDiskType - Possible values include: 'KubeletDiskTypeOS', 'KubeletDiskTypeTemporary' KubeletDiskType KubeletDiskType `json:"kubeletDiskType,omitempty"` // WorkloadRuntime - Possible values include: 'WorkloadRuntimeOCIContainer', 'WorkloadRuntimeWasmWasi' WorkloadRuntime WorkloadRuntime `json:"workloadRuntime,omitempty"` // VnetSubnetID - If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} VnetSubnetID *string `json:"vnetSubnetID,omitempty"` // PodSubnetID - If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} PodSubnetID *string `json:"podSubnetID,omitempty"` // MaxPods - The maximum number of pods that can run on a node. MaxPods *int32 `json:"maxPods,omitempty"` // OsType - Possible values include: 'OSTypeLinux', 'OSTypeWindows' OsType OSType `json:"osType,omitempty"` // OsSKU - Possible values include: 'OSSKUUbuntu', 'OSSKUCBLMariner' OsSKU OSSKU `json:"osSKU,omitempty"` // MaxCount - The maximum number of nodes for auto-scaling MaxCount *int32 `json:"maxCount,omitempty"` // MinCount - The minimum number of nodes for auto-scaling MinCount *int32 `json:"minCount,omitempty"` // EnableAutoScaling - Whether to enable auto-scaler EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` // ScaleDownMode - This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. Possible values include: 'ScaleDownModeDelete', 'ScaleDownModeDeallocate' ScaleDownMode ScaleDownMode `json:"scaleDownMode,omitempty"` // Type - Possible values include: 'AgentPoolTypeVirtualMachineScaleSets', 'AgentPoolTypeAvailabilitySet' Type AgentPoolType `json:"type,omitempty"` // Mode - Possible values include: 'AgentPoolModeSystem', 'AgentPoolModeUser' Mode AgentPoolMode `json:"mode,omitempty"` // OrchestratorVersion - As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` // NodeImageVersion - READ-ONLY; The version of node image NodeImageVersion *string `json:"nodeImageVersion,omitempty"` // UpgradeSettings - Settings for upgrading the agentpool UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` // ProvisioningState - READ-ONLY; The current deployment or provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // PowerState - When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded PowerState *PowerState `json:"powerState,omitempty"` // AvailabilityZones - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. AvailabilityZones *[]string `json:"availabilityZones,omitempty"` // EnableNodePublicIP - Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` // NodePublicIPPrefixID - This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` // ScaleSetPriority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. Possible values include: 'ScaleSetPrioritySpot', 'ScaleSetPriorityRegular' ScaleSetPriority ScaleSetPriority `json:"scaleSetPriority,omitempty"` // ScaleSetEvictionPolicy - This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. Possible values include: 'ScaleSetEvictionPolicyDelete', 'ScaleSetEvictionPolicyDeallocate' ScaleSetEvictionPolicy ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` // SpotMaxPrice - Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` // Tags - The tags to be persisted on the agent pool virtual machine scale set. Tags map[string]*string `json:"tags"` // NodeLabels - The node labels to be persisted across all nodes in agent pool. NodeLabels map[string]*string `json:"nodeLabels"` // NodeTaints - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. NodeTaints *[]string `json:"nodeTaints,omitempty"` // ProximityPlacementGroupID - The ID for Proximity Placement Group. ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` // KubeletConfig - The Kubelet configuration on the agent pool nodes. KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` // LinuxOSConfig - The OS configuration of Linux agent nodes. LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` // EnableEncryptionAtHost - This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` // EnableUltraSSD - Whether to enable UltraSSD EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` // EnableFIPS - See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. EnableFIPS *bool `json:"enableFIPS,omitempty"` // GpuInstanceProfile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Possible values include: 'GPUInstanceProfileMIG1g', 'GPUInstanceProfileMIG2g', 'GPUInstanceProfileMIG3g', 'GPUInstanceProfileMIG4g', 'GPUInstanceProfileMIG7g' GpuInstanceProfile GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` // CreationData - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. CreationData *CreationData `json:"creationData,omitempty"` }
ManagedClusterAgentPoolProfile profile for the container service agent pool.
func (ManagedClusterAgentPoolProfile) MarshalJSON ¶
func (mcapp ManagedClusterAgentPoolProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterAgentPoolProfile.
type ManagedClusterAgentPoolProfileProperties ¶
type ManagedClusterAgentPoolProfileProperties struct { // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. Count *int32 `json:"count,omitempty"` // VMSize - VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions VMSize *string `json:"vmSize,omitempty"` OsDiskSizeGB *int32 `json:"osDiskSizeGB,omitempty"` // OsDiskType - Possible values include: 'OSDiskTypeManaged', 'OSDiskTypeEphemeral' OsDiskType OSDiskType `json:"osDiskType,omitempty"` // KubeletDiskType - Possible values include: 'KubeletDiskTypeOS', 'KubeletDiskTypeTemporary' KubeletDiskType KubeletDiskType `json:"kubeletDiskType,omitempty"` // WorkloadRuntime - Possible values include: 'WorkloadRuntimeOCIContainer', 'WorkloadRuntimeWasmWasi' WorkloadRuntime WorkloadRuntime `json:"workloadRuntime,omitempty"` // VnetSubnetID - If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} VnetSubnetID *string `json:"vnetSubnetID,omitempty"` // PodSubnetID - If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} PodSubnetID *string `json:"podSubnetID,omitempty"` // MaxPods - The maximum number of pods that can run on a node. MaxPods *int32 `json:"maxPods,omitempty"` // OsType - Possible values include: 'OSTypeLinux', 'OSTypeWindows' OsType OSType `json:"osType,omitempty"` // OsSKU - Possible values include: 'OSSKUUbuntu', 'OSSKUCBLMariner' OsSKU OSSKU `json:"osSKU,omitempty"` // MaxCount - The maximum number of nodes for auto-scaling MaxCount *int32 `json:"maxCount,omitempty"` // MinCount - The minimum number of nodes for auto-scaling MinCount *int32 `json:"minCount,omitempty"` // EnableAutoScaling - Whether to enable auto-scaler EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` // ScaleDownMode - This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. Possible values include: 'ScaleDownModeDelete', 'ScaleDownModeDeallocate' ScaleDownMode ScaleDownMode `json:"scaleDownMode,omitempty"` // Type - Possible values include: 'AgentPoolTypeVirtualMachineScaleSets', 'AgentPoolTypeAvailabilitySet' Type AgentPoolType `json:"type,omitempty"` // Mode - Possible values include: 'AgentPoolModeSystem', 'AgentPoolModeUser' Mode AgentPoolMode `json:"mode,omitempty"` // OrchestratorVersion - As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` // NodeImageVersion - READ-ONLY; The version of node image NodeImageVersion *string `json:"nodeImageVersion,omitempty"` // UpgradeSettings - Settings for upgrading the agentpool UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` // ProvisioningState - READ-ONLY; The current deployment or provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // PowerState - When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded PowerState *PowerState `json:"powerState,omitempty"` // AvailabilityZones - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. AvailabilityZones *[]string `json:"availabilityZones,omitempty"` // EnableNodePublicIP - Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` // NodePublicIPPrefixID - This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` // ScaleSetPriority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. Possible values include: 'ScaleSetPrioritySpot', 'ScaleSetPriorityRegular' ScaleSetPriority ScaleSetPriority `json:"scaleSetPriority,omitempty"` // ScaleSetEvictionPolicy - This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. Possible values include: 'ScaleSetEvictionPolicyDelete', 'ScaleSetEvictionPolicyDeallocate' ScaleSetEvictionPolicy ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` // SpotMaxPrice - Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` // Tags - The tags to be persisted on the agent pool virtual machine scale set. Tags map[string]*string `json:"tags"` // NodeLabels - The node labels to be persisted across all nodes in agent pool. NodeLabels map[string]*string `json:"nodeLabels"` // NodeTaints - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. NodeTaints *[]string `json:"nodeTaints,omitempty"` // ProximityPlacementGroupID - The ID for Proximity Placement Group. ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` // KubeletConfig - The Kubelet configuration on the agent pool nodes. KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` // LinuxOSConfig - The OS configuration of Linux agent nodes. LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` // EnableEncryptionAtHost - This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` // EnableUltraSSD - Whether to enable UltraSSD EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` // EnableFIPS - See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. EnableFIPS *bool `json:"enableFIPS,omitempty"` // GpuInstanceProfile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Possible values include: 'GPUInstanceProfileMIG1g', 'GPUInstanceProfileMIG2g', 'GPUInstanceProfileMIG3g', 'GPUInstanceProfileMIG4g', 'GPUInstanceProfileMIG7g' GpuInstanceProfile GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` // CreationData - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. CreationData *CreationData `json:"creationData,omitempty"` }
ManagedClusterAgentPoolProfileProperties properties for the container service agent pool profile.
func (ManagedClusterAgentPoolProfileProperties) MarshalJSON ¶
func (mcappp ManagedClusterAgentPoolProfileProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterAgentPoolProfileProperties.
type ManagedClusterAutoUpgradeProfile ¶
type ManagedClusterAutoUpgradeProfile struct { // UpgradeChannel - For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). Possible values include: 'UpgradeChannelRapid', 'UpgradeChannelStable', 'UpgradeChannelPatch', 'UpgradeChannelNodeImage', 'UpgradeChannelNone' UpgradeChannel UpgradeChannel `json:"upgradeChannel,omitempty"` }
ManagedClusterAutoUpgradeProfile auto upgrade profile for a managed cluster.
type ManagedClusterHTTPProxyConfig ¶
type ManagedClusterHTTPProxyConfig struct { // HTTPProxy - The HTTP proxy server endpoint to use. HTTPProxy *string `json:"httpProxy,omitempty"` // HTTPSProxy - The HTTPS proxy server endpoint to use. HTTPSProxy *string `json:"httpsProxy,omitempty"` // NoProxy - The endpoints that should not go through proxy. NoProxy *[]string `json:"noProxy,omitempty"` // TrustedCa - Alternative CA cert to use for connecting to proxy servers. TrustedCa *string `json:"trustedCa,omitempty"` }
ManagedClusterHTTPProxyConfig cluster HTTP proxy configuration.
type ManagedClusterIdentity ¶
type ManagedClusterIdentity struct { // PrincipalID - READ-ONLY; The principal id of the system assigned identity which is used by master components. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id of the system assigned identity which is used by master components. TenantID *string `json:"tenantId,omitempty"` // Type - For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeNone' Type ResourceIdentityType `json:"type,omitempty"` // UserAssignedIdentities - The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*ManagedClusterIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` }
ManagedClusterIdentity identity for the managed cluster.
func (ManagedClusterIdentity) MarshalJSON ¶
func (mci ManagedClusterIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterIdentity.
type ManagedClusterIdentityUserAssignedIdentitiesValue ¶
type ManagedClusterIdentityUserAssignedIdentitiesValue struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
ManagedClusterIdentityUserAssignedIdentitiesValue ...
func (ManagedClusterIdentityUserAssignedIdentitiesValue) MarshalJSON ¶
func (mciAiv ManagedClusterIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterIdentityUserAssignedIdentitiesValue.
type ManagedClusterListResult ¶
type ManagedClusterListResult struct { autorest.Response `json:"-"` // Value - The list of managed clusters. Value *[]ManagedCluster `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of managed cluster results. NextLink *string `json:"nextLink,omitempty"` }
ManagedClusterListResult the response from the List Managed Clusters operation.
func (ManagedClusterListResult) IsEmpty ¶
func (mclr ManagedClusterListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ManagedClusterListResult) MarshalJSON ¶
func (mclr ManagedClusterListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterListResult.
type ManagedClusterListResultIterator ¶
type ManagedClusterListResultIterator struct {
// contains filtered or unexported fields
}
ManagedClusterListResultIterator provides access to a complete listing of ManagedCluster values.
func NewManagedClusterListResultIterator ¶
func NewManagedClusterListResultIterator(page ManagedClusterListResultPage) ManagedClusterListResultIterator
Creates a new instance of the ManagedClusterListResultIterator type.
func (*ManagedClusterListResultIterator) Next ¶
func (iter *ManagedClusterListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedClusterListResultIterator) NextWithContext ¶
func (iter *ManagedClusterListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ManagedClusterListResultIterator) NotDone ¶
func (iter ManagedClusterListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ManagedClusterListResultIterator) Response ¶
func (iter ManagedClusterListResultIterator) Response() ManagedClusterListResult
Response returns the raw server response from the last page request.
func (ManagedClusterListResultIterator) Value ¶
func (iter ManagedClusterListResultIterator) Value() ManagedCluster
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ManagedClusterListResultPage ¶
type ManagedClusterListResultPage struct {
// contains filtered or unexported fields
}
ManagedClusterListResultPage contains a page of ManagedCluster values.
func NewManagedClusterListResultPage ¶
func NewManagedClusterListResultPage(cur ManagedClusterListResult, getNextPage func(context.Context, ManagedClusterListResult) (ManagedClusterListResult, error)) ManagedClusterListResultPage
Creates a new instance of the ManagedClusterListResultPage type.
func (*ManagedClusterListResultPage) Next ¶
func (page *ManagedClusterListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ManagedClusterListResultPage) NextWithContext ¶
func (page *ManagedClusterListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ManagedClusterListResultPage) NotDone ¶
func (page ManagedClusterListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ManagedClusterListResultPage) Response ¶
func (page ManagedClusterListResultPage) Response() ManagedClusterListResult
Response returns the raw server response from the last page request.
func (ManagedClusterListResultPage) Values ¶
func (page ManagedClusterListResultPage) Values() []ManagedCluster
Values returns the slice of values for the current page or nil if there are no values.
type ManagedClusterLoadBalancerProfile ¶
type ManagedClusterLoadBalancerProfile struct { // ManagedOutboundIPs - Desired managed outbound IPs for the cluster load balancer. ManagedOutboundIPs *ManagedClusterLoadBalancerProfileManagedOutboundIPs `json:"managedOutboundIPs,omitempty"` // OutboundIPPrefixes - Desired outbound IP Prefix resources for the cluster load balancer. OutboundIPPrefixes *ManagedClusterLoadBalancerProfileOutboundIPPrefixes `json:"outboundIPPrefixes,omitempty"` // OutboundIPs - Desired outbound IP resources for the cluster load balancer. OutboundIPs *ManagedClusterLoadBalancerProfileOutboundIPs `json:"outboundIPs,omitempty"` // EffectiveOutboundIPs - The effective outbound IP resources of the cluster load balancer. EffectiveOutboundIPs *[]ResourceReference `json:"effectiveOutboundIPs,omitempty"` // AllocatedOutboundPorts - The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"` // IdleTimeoutInMinutes - Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // EnableMultipleStandardLoadBalancers - Enable multiple standard load balancers per AKS cluster or not. EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"` }
ManagedClusterLoadBalancerProfile profile of the managed cluster load balancer.
type ManagedClusterLoadBalancerProfileManagedOutboundIPs ¶
type ManagedClusterLoadBalancerProfileManagedOutboundIPs struct { // Count - The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. Count *int32 `json:"count,omitempty"` }
ManagedClusterLoadBalancerProfileManagedOutboundIPs desired managed outbound IPs for the cluster load balancer.
type ManagedClusterLoadBalancerProfileOutboundIPPrefixes ¶
type ManagedClusterLoadBalancerProfileOutboundIPPrefixes struct { // PublicIPPrefixes - A list of public IP prefix resources. PublicIPPrefixes *[]ResourceReference `json:"publicIPPrefixes,omitempty"` }
ManagedClusterLoadBalancerProfileOutboundIPPrefixes desired outbound IP Prefix resources for the cluster load balancer.
type ManagedClusterLoadBalancerProfileOutboundIPs ¶
type ManagedClusterLoadBalancerProfileOutboundIPs struct { // PublicIPs - A list of public IP resources. PublicIPs *[]ResourceReference `json:"publicIPs,omitempty"` }
ManagedClusterLoadBalancerProfileOutboundIPs desired outbound IP resources for the cluster load balancer.
type ManagedClusterManagedOutboundIPProfile ¶
type ManagedClusterManagedOutboundIPProfile struct { // Count - The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. Count *int32 `json:"count,omitempty"` }
ManagedClusterManagedOutboundIPProfile profile of the managed outbound IP resources of the managed cluster.
type ManagedClusterNATGatewayProfile ¶
type ManagedClusterNATGatewayProfile struct { // ManagedOutboundIPProfile - Profile of the managed outbound IP resources of the cluster NAT gateway. ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile `json:"managedOutboundIPProfile,omitempty"` // EffectiveOutboundIPs - The effective outbound IP resources of the cluster NAT gateway. EffectiveOutboundIPs *[]ResourceReference `json:"effectiveOutboundIPs,omitempty"` // IdleTimeoutInMinutes - Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` }
ManagedClusterNATGatewayProfile profile of the managed cluster NAT gateway.
type ManagedClusterPodIdentity ¶
type ManagedClusterPodIdentity struct { // Name - The name of the pod identity. Name *string `json:"name,omitempty"` // Namespace - The namespace of the pod identity. Namespace *string `json:"namespace,omitempty"` // BindingSelector - The binding selector to use for the AzureIdentityBinding resource. BindingSelector *string `json:"bindingSelector,omitempty"` // Identity - The user assigned identity details. Identity *UserAssignedIdentity `json:"identity,omitempty"` // ProvisioningState - READ-ONLY; The current provisioning state of the pod identity. Possible values include: 'ManagedClusterPodIdentityProvisioningStateAssigned', 'ManagedClusterPodIdentityProvisioningStateUpdating', 'ManagedClusterPodIdentityProvisioningStateDeleting', 'ManagedClusterPodIdentityProvisioningStateFailed' ProvisioningState ManagedClusterPodIdentityProvisioningState `json:"provisioningState,omitempty"` // ProvisioningInfo - READ-ONLY ProvisioningInfo *ManagedClusterPodIdentityProvisioningInfo `json:"provisioningInfo,omitempty"` }
ManagedClusterPodIdentity details about the pod identity assigned to the Managed Cluster.
func (ManagedClusterPodIdentity) MarshalJSON ¶
func (mcpi ManagedClusterPodIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterPodIdentity.
type ManagedClusterPodIdentityException ¶
type ManagedClusterPodIdentityException struct { // Name - The name of the pod identity exception. Name *string `json:"name,omitempty"` // Namespace - The namespace of the pod identity exception. Namespace *string `json:"namespace,omitempty"` // PodLabels - The pod labels to match. PodLabels map[string]*string `json:"podLabels"` }
ManagedClusterPodIdentityException see [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
func (ManagedClusterPodIdentityException) MarshalJSON ¶
func (mcpie ManagedClusterPodIdentityException) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterPodIdentityException.
type ManagedClusterPodIdentityProfile ¶
type ManagedClusterPodIdentityProfile struct { // Enabled - Whether the pod identity addon is enabled. Enabled *bool `json:"enabled,omitempty"` // AllowNetworkPluginKubenet - Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"` // UserAssignedIdentities - The pod identities to use in the cluster. UserAssignedIdentities *[]ManagedClusterPodIdentity `json:"userAssignedIdentities,omitempty"` // UserAssignedIdentityExceptions - The pod identity exceptions to allow. UserAssignedIdentityExceptions *[]ManagedClusterPodIdentityException `json:"userAssignedIdentityExceptions,omitempty"` }
ManagedClusterPodIdentityProfile see [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration.
type ManagedClusterPodIdentityProvisioningError ¶
type ManagedClusterPodIdentityProvisioningError struct { // Error - Details about the error. Error *ManagedClusterPodIdentityProvisioningErrorBody `json:"error,omitempty"` }
ManagedClusterPodIdentityProvisioningError an error response from the pod identity provisioning.
type ManagedClusterPodIdentityProvisioningErrorBody ¶
type ManagedClusterPodIdentityProvisioningErrorBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // Target - The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` // Details - A list of additional details about the error. Details *[]ManagedClusterPodIdentityProvisioningErrorBody `json:"details,omitempty"` }
ManagedClusterPodIdentityProvisioningErrorBody an error response from the pod identity provisioning.
type ManagedClusterPodIdentityProvisioningInfo ¶
type ManagedClusterPodIdentityProvisioningInfo struct { // Error - Pod identity assignment error (if any). Error *ManagedClusterPodIdentityProvisioningError `json:"error,omitempty"` }
ManagedClusterPodIdentityProvisioningInfo ...
type ManagedClusterPodIdentityProvisioningState ¶
type ManagedClusterPodIdentityProvisioningState string
ManagedClusterPodIdentityProvisioningState enumerates the values for managed cluster pod identity provisioning state.
const ( // ManagedClusterPodIdentityProvisioningStateAssigned ... ManagedClusterPodIdentityProvisioningStateAssigned ManagedClusterPodIdentityProvisioningState = "Assigned" // ManagedClusterPodIdentityProvisioningStateDeleting ... ManagedClusterPodIdentityProvisioningStateDeleting ManagedClusterPodIdentityProvisioningState = "Deleting" // ManagedClusterPodIdentityProvisioningStateFailed ... ManagedClusterPodIdentityProvisioningStateFailed ManagedClusterPodIdentityProvisioningState = "Failed" // ManagedClusterPodIdentityProvisioningStateUpdating ... ManagedClusterPodIdentityProvisioningStateUpdating ManagedClusterPodIdentityProvisioningState = "Updating" )
func PossibleManagedClusterPodIdentityProvisioningStateValues ¶
func PossibleManagedClusterPodIdentityProvisioningStateValues() []ManagedClusterPodIdentityProvisioningState
PossibleManagedClusterPodIdentityProvisioningStateValues returns an array of possible values for the ManagedClusterPodIdentityProvisioningState const type.
type ManagedClusterPoolUpgradeProfile ¶
type ManagedClusterPoolUpgradeProfile struct { // KubernetesVersion - The Kubernetes version (major.minor.patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // Name - The Agent Pool name. Name *string `json:"name,omitempty"` // OsType - Possible values include: 'OSTypeLinux', 'OSTypeWindows' OsType OSType `json:"osType,omitempty"` // Upgrades - List of orchestrator types and versions available for upgrade. Upgrades *[]ManagedClusterPoolUpgradeProfileUpgradesItem `json:"upgrades,omitempty"` }
ManagedClusterPoolUpgradeProfile the list of available upgrade versions.
type ManagedClusterPoolUpgradeProfileUpgradesItem ¶
type ManagedClusterPoolUpgradeProfileUpgradesItem struct { // KubernetesVersion - The Kubernetes version (major.minor.patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // IsPreview - Whether the Kubernetes version is currently in preview. IsPreview *bool `json:"isPreview,omitempty"` }
ManagedClusterPoolUpgradeProfileUpgradesItem ...
type ManagedClusterProperties ¶
type ManagedClusterProperties struct { // ProvisioningState - READ-ONLY; The current provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // PowerState - READ-ONLY; The Power State of the cluster. PowerState *PowerState `json:"powerState,omitempty"` // MaxAgentPools - READ-ONLY; The max number of agent pools for the managed cluster. MaxAgentPools *int32 `json:"maxAgentPools,omitempty"` // KubernetesVersion - When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // DNSPrefix - This cannot be updated once the Managed Cluster has been created. DNSPrefix *string `json:"dnsPrefix,omitempty"` // FqdnSubdomain - This cannot be updated once the Managed Cluster has been created. FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"` // Fqdn - READ-ONLY; The FQDN of the master pool. Fqdn *string `json:"fqdn,omitempty"` // PrivateFQDN - READ-ONLY; The FQDN of private cluster. PrivateFQDN *string `json:"privateFQDN,omitempty"` // AzurePortalFQDN - READ-ONLY; The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"` // AgentPoolProfiles - The agent pool properties. AgentPoolProfiles *[]ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"` // LinuxProfile - The profile for Linux VMs in the Managed Cluster. LinuxProfile *LinuxProfile `json:"linuxProfile,omitempty"` // WindowsProfile - The profile for Windows VMs in the Managed Cluster. WindowsProfile *ManagedClusterWindowsProfile `json:"windowsProfile,omitempty"` // ServicePrincipalProfile - Information about a service principal identity for the cluster to use for manipulating Azure APIs. ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` // AddonProfiles - The profile of managed cluster add-on. AddonProfiles map[string]*ManagedClusterAddonProfile `json:"addonProfiles"` // PodIdentityProfile - See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. PodIdentityProfile *ManagedClusterPodIdentityProfile `json:"podIdentityProfile,omitempty"` // NodeResourceGroup - The name of the resource group containing agent pool nodes. NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"` // EnableRBAC - Whether to enable Kubernetes Role-Based Access Control. EnableRBAC *bool `json:"enableRBAC,omitempty"` // EnablePodSecurityPolicy - (DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy. EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"` // NetworkProfile - The network configuration profile. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // AadProfile - The Azure Active Directory configuration. AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` // AutoUpgradeProfile - The auto upgrade configuration. AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"` // AutoScalerProfile - Parameters to be applied to the cluster-autoscaler when enabled AutoScalerProfile *ManagedClusterPropertiesAutoScalerProfile `json:"autoScalerProfile,omitempty"` // APIServerAccessProfile - The access profile for managed cluster API server. APIServerAccessProfile *ManagedClusterAPIServerAccessProfile `json:"apiServerAccessProfile,omitempty"` // DiskEncryptionSetID - This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"` // IdentityProfile - Identities associated with the cluster. IdentityProfile map[string]*UserAssignedIdentity `json:"identityProfile"` // PrivateLinkResources - Private link resources associated with the cluster. PrivateLinkResources *[]PrivateLinkResource `json:"privateLinkResources,omitempty"` // DisableLocalAccounts - If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"` // HTTPProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers. HTTPProxyConfig *ManagedClusterHTTPProxyConfig `json:"httpProxyConfig,omitempty"` // SecurityProfile - Security profile for the managed cluster. SecurityProfile *ManagedClusterSecurityProfile `json:"securityProfile,omitempty"` // PublicNetworkAccess - Default value is 'Enabled' (case insensitive). Could be set to 'Disabled' to enable private cluster. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled' PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
ManagedClusterProperties properties of the managed cluster.
func (ManagedClusterProperties) MarshalJSON ¶
func (mcp ManagedClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterProperties.
type ManagedClusterPropertiesAutoScalerProfile ¶
type ManagedClusterPropertiesAutoScalerProfile struct { // BalanceSimilarNodeGroups - Valid values are 'true' and 'false' BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"` // Expander - If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. Possible values include: 'ExpanderLeastWaste', 'ExpanderMostPods', 'ExpanderPriority', 'ExpanderRandom' Expander Expander `json:"expander,omitempty"` // MaxEmptyBulkDelete - The default is 10. MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"` // MaxGracefulTerminationSec - The default is 600. MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"` // MaxNodeProvisionTime - The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"` // MaxTotalUnreadyPercentage - The default is 45. The maximum is 100 and the minimum is 0. MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"` // NewPodScaleUpDelay - For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"` // OkTotalUnreadyCount - This must be an integer. The default is 3. OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"` // ScanInterval - The default is '10'. Values must be an integer number of seconds. ScanInterval *string `json:"scan-interval,omitempty"` // ScaleDownDelayAfterAdd - The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"` // ScaleDownDelayAfterDelete - The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"` // ScaleDownDelayAfterFailure - The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"` // ScaleDownUnneededTime - The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"` // ScaleDownUnreadyTime - The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"` // ScaleDownUtilizationThreshold - The default is '0.5'. ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"` // SkipNodesWithLocalStorage - The default is true. SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"` // SkipNodesWithSystemPods - The default is true. SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"` }
ManagedClusterPropertiesAutoScalerProfile parameters to be applied to the cluster-autoscaler when enabled
type ManagedClusterSKU ¶
type ManagedClusterSKU struct { // Name - The name of a managed cluster SKU. Possible values include: 'ManagedClusterSKUNameBasic' Name ManagedClusterSKUName `json:"name,omitempty"` // Tier - If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details. Possible values include: 'ManagedClusterSKUTierPaid', 'ManagedClusterSKUTierFree' Tier ManagedClusterSKUTier `json:"tier,omitempty"` }
ManagedClusterSKU the SKU of a Managed Cluster.
type ManagedClusterSKUName ¶
type ManagedClusterSKUName string
ManagedClusterSKUName enumerates the values for managed cluster sku name.
const ( // ManagedClusterSKUNameBasic ... ManagedClusterSKUNameBasic ManagedClusterSKUName = "Basic" )
func PossibleManagedClusterSKUNameValues ¶
func PossibleManagedClusterSKUNameValues() []ManagedClusterSKUName
PossibleManagedClusterSKUNameValues returns an array of possible values for the ManagedClusterSKUName const type.
type ManagedClusterSKUTier ¶
type ManagedClusterSKUTier string
ManagedClusterSKUTier enumerates the values for managed cluster sku tier.
const ( // ManagedClusterSKUTierFree No guaranteed SLA, no additional charges. Free tier clusters have an SLO of // 99.5%. ManagedClusterSKUTierFree ManagedClusterSKUTier = "Free" // ManagedClusterSKUTierPaid Guarantees 99.95% availability of the Kubernetes API server endpoint for // clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability // Zones. ManagedClusterSKUTierPaid ManagedClusterSKUTier = "Paid" )
func PossibleManagedClusterSKUTierValues ¶
func PossibleManagedClusterSKUTierValues() []ManagedClusterSKUTier
PossibleManagedClusterSKUTierValues returns an array of possible values for the ManagedClusterSKUTier const type.
type ManagedClusterSecurityProfile ¶
type ManagedClusterSecurityProfile struct { // AzureDefender - Azure Defender settings for the security profile. AzureDefender *ManagedClusterSecurityProfileAzureDefender `json:"azureDefender,omitempty"` }
ManagedClusterSecurityProfile security profile for the container service cluster.
type ManagedClusterSecurityProfileAzureDefender ¶
type ManagedClusterSecurityProfileAzureDefender struct { // Enabled - Whether to enable Azure Defender Enabled *bool `json:"enabled,omitempty"` // LogAnalyticsWorkspaceResourceID - Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, leave the field empty. LogAnalyticsWorkspaceResourceID *string `json:"logAnalyticsWorkspaceResourceId,omitempty"` }
ManagedClusterSecurityProfileAzureDefender azure Defender settings for the security profile.
type ManagedClusterServicePrincipalProfile ¶
type ManagedClusterServicePrincipalProfile struct { // ClientID - The ID for the service principal. ClientID *string `json:"clientId,omitempty"` // Secret - The secret password associated with the service principal in plain text. Secret *string `json:"secret,omitempty"` }
ManagedClusterServicePrincipalProfile information about a service principal identity for the cluster to use for manipulating Azure APIs.
type ManagedClusterUpgradeProfile ¶
type ManagedClusterUpgradeProfile struct { autorest.Response `json:"-"` // ID - READ-ONLY; The ID of the upgrade profile. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the upgrade profile. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the upgrade profile. Type *string `json:"type,omitempty"` // ManagedClusterUpgradeProfileProperties - The properties of the upgrade profile. *ManagedClusterUpgradeProfileProperties `json:"properties,omitempty"` }
ManagedClusterUpgradeProfile the list of available upgrades for compute pools.
func (ManagedClusterUpgradeProfile) MarshalJSON ¶
func (mcup ManagedClusterUpgradeProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterUpgradeProfile.
func (*ManagedClusterUpgradeProfile) UnmarshalJSON ¶
func (mcup *ManagedClusterUpgradeProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedClusterUpgradeProfile struct.
type ManagedClusterUpgradeProfileProperties ¶
type ManagedClusterUpgradeProfileProperties struct { // ControlPlaneProfile - The list of available upgrade versions for the control plane. ControlPlaneProfile *ManagedClusterPoolUpgradeProfile `json:"controlPlaneProfile,omitempty"` // AgentPoolProfiles - The list of available upgrade versions for agent pools. AgentPoolProfiles *[]ManagedClusterPoolUpgradeProfile `json:"agentPoolProfiles,omitempty"` }
ManagedClusterUpgradeProfileProperties control plane and agent pool upgrade profiles.
type ManagedClusterWindowsProfile ¶
type ManagedClusterWindowsProfile struct { // AdminUsername - Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" AdminPassword *string `json:"adminPassword,omitempty"` // LicenseType - The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. Possible values include: 'LicenseTypeNone', 'LicenseTypeWindowsServer' LicenseType LicenseType `json:"licenseType,omitempty"` // EnableCSIProxy - For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"` // GmsaProfile - The Windows gMSA Profile in the Managed Cluster. GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"` }
ManagedClusterWindowsProfile profile for Windows VMs in the managed cluster.
type ManagedClustersClient ¶
type ManagedClustersClient struct {
BaseClient
}
ManagedClustersClient is the the Container Service Client.
func NewManagedClustersClient ¶
func NewManagedClustersClient(subscriptionID string) ManagedClustersClient
NewManagedClustersClient creates an instance of the ManagedClustersClient client.
func NewManagedClustersClientWithBaseURI ¶
func NewManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) ManagedClustersClient
NewManagedClustersClientWithBaseURI creates an instance of the ManagedClustersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagedClustersClient) CreateOrUpdate ¶
func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedCluster) (result ManagedClustersCreateOrUpdateFuture, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - the managed cluster to create or update.
func (ManagedClustersClient) CreateOrUpdatePreparer ¶
func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedCluster) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagedClustersClient) CreateOrUpdateResponder ¶
func (client ManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result ManagedCluster, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagedClustersClient) CreateOrUpdateSender ¶
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) Delete ¶
func (client ManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersDeleteFuture, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) DeletePreparer ¶
func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagedClustersClient) DeleteResponder ¶
func (client ManagedClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ManagedClustersClient) DeleteSender ¶
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) Get ¶
func (client ManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedCluster, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) GetAccessProfile ¶
func (client ManagedClustersClient) GetAccessProfile(ctx context.Context, resourceGroupName string, resourceName string, roleName string) (result ManagedClusterAccessProfile, err error)
GetAccessProfile **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. roleName - the name of the role for managed cluster accessProfile resource.
func (ManagedClustersClient) GetAccessProfilePreparer ¶
func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, roleName string) (*http.Request, error)
GetAccessProfilePreparer prepares the GetAccessProfile request.
func (ManagedClustersClient) GetAccessProfileResponder ¶
func (client ManagedClustersClient) GetAccessProfileResponder(resp *http.Response) (result ManagedClusterAccessProfile, err error)
GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always closes the http.Response Body.
func (ManagedClustersClient) GetAccessProfileSender ¶
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error)
GetAccessProfileSender sends the GetAccessProfile request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) GetCommandResult ¶
func (client ManagedClustersClient) GetCommandResult(ctx context.Context, resourceGroupName string, resourceName string, commandID string) (result RunCommandResult, err error)
GetCommandResult sends the get command result request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. commandID - id of the command.
func (ManagedClustersClient) GetCommandResultPreparer ¶
func (client ManagedClustersClient) GetCommandResultPreparer(ctx context.Context, resourceGroupName string, resourceName string, commandID string) (*http.Request, error)
GetCommandResultPreparer prepares the GetCommandResult request.
func (ManagedClustersClient) GetCommandResultResponder ¶
func (client ManagedClustersClient) GetCommandResultResponder(resp *http.Response) (result RunCommandResult, err error)
GetCommandResultResponder handles the response to the GetCommandResult request. The method always closes the http.Response Body.
func (ManagedClustersClient) GetCommandResultSender ¶
func (client ManagedClustersClient) GetCommandResultSender(req *http.Request) (*http.Response, error)
GetCommandResultSender sends the GetCommandResult request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) GetOSOptions ¶
func (client ManagedClustersClient) GetOSOptions(ctx context.Context, location string, resourceType string) (result OSOptionProfile, err error)
GetOSOptions sends the get os options request. Parameters: location - the name of a supported Azure region. resourceType - the resource type for which the OS options needs to be returned
func (ManagedClustersClient) GetOSOptionsPreparer ¶
func (client ManagedClustersClient) GetOSOptionsPreparer(ctx context.Context, location string, resourceType string) (*http.Request, error)
GetOSOptionsPreparer prepares the GetOSOptions request.
func (ManagedClustersClient) GetOSOptionsResponder ¶
func (client ManagedClustersClient) GetOSOptionsResponder(resp *http.Response) (result OSOptionProfile, err error)
GetOSOptionsResponder handles the response to the GetOSOptions request. The method always closes the http.Response Body.
func (ManagedClustersClient) GetOSOptionsSender ¶
GetOSOptionsSender sends the GetOSOptions request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) GetPreparer ¶
func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagedClustersClient) GetResponder ¶
func (client ManagedClustersClient) GetResponder(resp *http.Response) (result ManagedCluster, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagedClustersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) GetUpgradeProfile ¶
func (client ManagedClustersClient) GetUpgradeProfile(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClusterUpgradeProfile, err error)
GetUpgradeProfile sends the get upgrade profile request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) GetUpgradeProfilePreparer ¶
func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetUpgradeProfilePreparer prepares the GetUpgradeProfile request.
func (ManagedClustersClient) GetUpgradeProfileResponder ¶
func (client ManagedClustersClient) GetUpgradeProfileResponder(resp *http.Response) (result ManagedClusterUpgradeProfile, err error)
GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always closes the http.Response Body.
func (ManagedClustersClient) GetUpgradeProfileSender ¶
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error)
GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) List ¶
func (client ManagedClustersClient) List(ctx context.Context) (result ManagedClusterListResultPage, err error)
List sends the list request.
func (ManagedClustersClient) ListByResourceGroup ¶
func (client ManagedClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultPage, err error)
ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group.
func (ManagedClustersClient) ListByResourceGroupComplete ¶
func (client ManagedClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedClustersClient) ListByResourceGroupPreparer ¶
func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ManagedClustersClient) ListByResourceGroupResponder ¶
func (client ManagedClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ManagedClusterListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListByResourceGroupSender ¶
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ListClusterAdminCredentials ¶
func (client ManagedClustersClient) ListClusterAdminCredentials(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (result CredentialResults, err error)
ListClusterAdminCredentials sends the list cluster admin credentials request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. serverFqdn - server fqdn type for credentials to be returned
func (ManagedClustersClient) ListClusterAdminCredentialsPreparer ¶
func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (*http.Request, error)
ListClusterAdminCredentialsPreparer prepares the ListClusterAdminCredentials request.
func (ManagedClustersClient) ListClusterAdminCredentialsResponder ¶
func (client ManagedClustersClient) ListClusterAdminCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
ListClusterAdminCredentialsResponder handles the response to the ListClusterAdminCredentials request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListClusterAdminCredentialsSender ¶
func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error)
ListClusterAdminCredentialsSender sends the ListClusterAdminCredentials request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ListClusterMonitoringUserCredentials ¶
func (client ManagedClustersClient) ListClusterMonitoringUserCredentials(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (result CredentialResults, err error)
ListClusterMonitoringUserCredentials sends the list cluster monitoring user credentials request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. serverFqdn - server fqdn type for credentials to be returned
func (ManagedClustersClient) ListClusterMonitoringUserCredentialsPreparer ¶
func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (*http.Request, error)
ListClusterMonitoringUserCredentialsPreparer prepares the ListClusterMonitoringUserCredentials request.
func (ManagedClustersClient) ListClusterMonitoringUserCredentialsResponder ¶
func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
ListClusterMonitoringUserCredentialsResponder handles the response to the ListClusterMonitoringUserCredentials request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListClusterMonitoringUserCredentialsSender ¶
func (client ManagedClustersClient) ListClusterMonitoringUserCredentialsSender(req *http.Request) (*http.Response, error)
ListClusterMonitoringUserCredentialsSender sends the ListClusterMonitoringUserCredentials request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ListClusterUserCredentials ¶
func (client ManagedClustersClient) ListClusterUserCredentials(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (result CredentialResults, err error)
ListClusterUserCredentials sends the list cluster user credentials request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. serverFqdn - server fqdn type for credentials to be returned
func (ManagedClustersClient) ListClusterUserCredentialsPreparer ¶
func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string, serverFqdn string) (*http.Request, error)
ListClusterUserCredentialsPreparer prepares the ListClusterUserCredentials request.
func (ManagedClustersClient) ListClusterUserCredentialsResponder ¶
func (client ManagedClustersClient) ListClusterUserCredentialsResponder(resp *http.Response) (result CredentialResults, err error)
ListClusterUserCredentialsResponder handles the response to the ListClusterUserCredentials request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListClusterUserCredentialsSender ¶
func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error)
ListClusterUserCredentialsSender sends the ListClusterUserCredentials request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ListComplete ¶
func (client ManagedClustersClient) ListComplete(ctx context.Context) (result ManagedClusterListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpoints ¶
func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, resourceGroupName string, resourceName string) (result OutboundEnvironmentEndpointCollectionPage, err error)
ListOutboundNetworkDependenciesEndpoints gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsComplete ¶
func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result OutboundEnvironmentEndpointCollectionIterator, err error)
ListOutboundNetworkDependenciesEndpointsComplete enumerates all values, automatically crossing page boundaries as required.
func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsPreparer ¶
func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListOutboundNetworkDependenciesEndpointsPreparer prepares the ListOutboundNetworkDependenciesEndpoints request.
func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsResponder ¶
func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsResponder(resp *http.Response) (result OutboundEnvironmentEndpointCollection, err error)
ListOutboundNetworkDependenciesEndpointsResponder handles the response to the ListOutboundNetworkDependenciesEndpoints request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsSender ¶
func (client ManagedClustersClient) ListOutboundNetworkDependenciesEndpointsSender(req *http.Request) (*http.Response, error)
ListOutboundNetworkDependenciesEndpointsSender sends the ListOutboundNetworkDependenciesEndpoints request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ManagedClustersClient) ListResponder ¶
func (client ManagedClustersClient) ListResponder(resp *http.Response) (result ManagedClusterListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagedClustersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ResetAADProfile ¶
func (client ManagedClustersClient) ResetAADProfile(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedClusterAADProfile) (result ManagedClustersResetAADProfileFuture, err error)
ResetAADProfile sends the reset aad profile request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - the AAD profile to set on the Managed Cluster
func (ManagedClustersClient) ResetAADProfilePreparer ¶
func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedClusterAADProfile) (*http.Request, error)
ResetAADProfilePreparer prepares the ResetAADProfile request.
func (ManagedClustersClient) ResetAADProfileResponder ¶
func (client ManagedClustersClient) ResetAADProfileResponder(resp *http.Response) (result autorest.Response, err error)
ResetAADProfileResponder handles the response to the ResetAADProfile request. The method always closes the http.Response Body.
func (ManagedClustersClient) ResetAADProfileSender ¶
func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error)
ResetAADProfileSender sends the ResetAADProfile request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) ResetServicePrincipalProfile ¶
func (client ManagedClustersClient) ResetServicePrincipalProfile(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedClusterServicePrincipalProfile) (result ManagedClustersResetServicePrincipalProfileFuture, err error)
ResetServicePrincipalProfile this action cannot be performed on a cluster that is not using a service principal Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - the service principal profile to set on the managed cluster.
func (ManagedClustersClient) ResetServicePrincipalProfilePreparer ¶
func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedClusterServicePrincipalProfile) (*http.Request, error)
ResetServicePrincipalProfilePreparer prepares the ResetServicePrincipalProfile request.
func (ManagedClustersClient) ResetServicePrincipalProfileResponder ¶
func (client ManagedClustersClient) ResetServicePrincipalProfileResponder(resp *http.Response) (result autorest.Response, err error)
ResetServicePrincipalProfileResponder handles the response to the ResetServicePrincipalProfile request. The method always closes the http.Response Body.
func (ManagedClustersClient) ResetServicePrincipalProfileSender ¶
func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error)
ResetServicePrincipalProfileSender sends the ResetServicePrincipalProfile request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) RotateClusterCertificates ¶
func (client ManagedClustersClient) RotateClusterCertificates(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersRotateClusterCertificatesFuture, err error)
RotateClusterCertificates see [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) RotateClusterCertificatesPreparer ¶
func (client ManagedClustersClient) RotateClusterCertificatesPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
RotateClusterCertificatesPreparer prepares the RotateClusterCertificates request.
func (ManagedClustersClient) RotateClusterCertificatesResponder ¶
func (client ManagedClustersClient) RotateClusterCertificatesResponder(resp *http.Response) (result autorest.Response, err error)
RotateClusterCertificatesResponder handles the response to the RotateClusterCertificates request. The method always closes the http.Response Body.
func (ManagedClustersClient) RotateClusterCertificatesSender ¶
func (client ManagedClustersClient) RotateClusterCertificatesSender(req *http.Request) (future ManagedClustersRotateClusterCertificatesFuture, err error)
RotateClusterCertificatesSender sends the RotateClusterCertificates request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) RunCommand ¶
func (client ManagedClustersClient) RunCommand(ctx context.Context, resourceGroupName string, resourceName string, requestPayload RunCommandRequest) (result ManagedClustersRunCommandFuture, err error)
RunCommand AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. requestPayload - the run command request
func (ManagedClustersClient) RunCommandPreparer ¶
func (client ManagedClustersClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, resourceName string, requestPayload RunCommandRequest) (*http.Request, error)
RunCommandPreparer prepares the RunCommand request.
func (ManagedClustersClient) RunCommandResponder ¶
func (client ManagedClustersClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
RunCommandResponder handles the response to the RunCommand request. The method always closes the http.Response Body.
func (ManagedClustersClient) RunCommandSender ¶
func (client ManagedClustersClient) RunCommandSender(req *http.Request) (future ManagedClustersRunCommandFuture, err error)
RunCommandSender sends the RunCommand request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) Start ¶
func (client ManagedClustersClient) Start(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersStartFuture, err error)
Start see [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) StartPreparer ¶
func (client ManagedClustersClient) StartPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (ManagedClustersClient) StartResponder ¶
func (client ManagedClustersClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (ManagedClustersClient) StartSender ¶
func (client ManagedClustersClient) StartSender(req *http.Request) (future ManagedClustersStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) Stop ¶
func (client ManagedClustersClient) Stop(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersStopFuture, err error)
Stop this can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) StopPreparer ¶
func (client ManagedClustersClient) StopPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (ManagedClustersClient) StopResponder ¶
func (client ManagedClustersClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (ManagedClustersClient) StopSender ¶
func (client ManagedClustersClient) StopSender(req *http.Request) (future ManagedClustersStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (ManagedClustersClient) UpdateTags ¶
func (client ManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (result ManagedClustersUpdateTagsFuture, err error)
UpdateTags sends the update tags request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - parameters supplied to the Update Managed Cluster Tags operation.
func (ManagedClustersClient) UpdateTagsPreparer ¶
func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (ManagedClustersClient) UpdateTagsResponder ¶
func (client ManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result ManagedCluster, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (ManagedClustersClient) UpdateTagsSender ¶
func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type ManagedClustersCreateOrUpdateFuture ¶
type ManagedClustersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (ManagedCluster, error) }
ManagedClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ManagedClustersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersDeleteFuture ¶
type ManagedClustersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersDeleteFuture) UnmarshalJSON ¶
func (future *ManagedClustersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersResetAADProfileFuture ¶
type ManagedClustersResetAADProfileFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersResetAADProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersResetAADProfileFuture) UnmarshalJSON ¶
func (future *ManagedClustersResetAADProfileFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersResetServicePrincipalProfileFuture ¶
type ManagedClustersResetServicePrincipalProfileFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersResetServicePrincipalProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersResetServicePrincipalProfileFuture) UnmarshalJSON ¶
func (future *ManagedClustersResetServicePrincipalProfileFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersRotateClusterCertificatesFuture ¶
type ManagedClustersRotateClusterCertificatesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersRotateClusterCertificatesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersRotateClusterCertificatesFuture) UnmarshalJSON ¶
func (future *ManagedClustersRotateClusterCertificatesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersRunCommandFuture ¶
type ManagedClustersRunCommandFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (RunCommandResult, error) }
ManagedClustersRunCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersRunCommandFuture) UnmarshalJSON ¶
func (future *ManagedClustersRunCommandFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersStartFuture ¶
type ManagedClustersStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersStartFuture) UnmarshalJSON ¶
func (future *ManagedClustersStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersStopFuture ¶
type ManagedClustersStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (autorest.Response, error) }
ManagedClustersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersStopFuture) UnmarshalJSON ¶
func (future *ManagedClustersStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ManagedClustersUpdateTagsFuture ¶
type ManagedClustersUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ManagedClustersClient) (ManagedCluster, error) }
ManagedClustersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersUpdateTagsFuture) UnmarshalJSON ¶
func (future *ManagedClustersUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type MasterProfile ¶
type MasterProfile struct { // Count - Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1. Count *int32 `json:"count,omitempty"` // DNSPrefix - DNS prefix to be used to create the FQDN for the master pool. DNSPrefix *string `json:"dnsPrefix,omitempty"` // VMSize - Size of agent VMs. Possible values include: 'VMSizeTypesStandardA1', 'VMSizeTypesStandardA10', 'VMSizeTypesStandardA11', 'VMSizeTypesStandardA1V2', 'VMSizeTypesStandardA2', 'VMSizeTypesStandardA2V2', 'VMSizeTypesStandardA2mV2', 'VMSizeTypesStandardA3', 'VMSizeTypesStandardA4', 'VMSizeTypesStandardA4V2', 'VMSizeTypesStandardA4mV2', 'VMSizeTypesStandardA5', 'VMSizeTypesStandardA6', 'VMSizeTypesStandardA7', 'VMSizeTypesStandardA8', 'VMSizeTypesStandardA8V2', 'VMSizeTypesStandardA8mV2', 'VMSizeTypesStandardA9', 'VMSizeTypesStandardB2ms', 'VMSizeTypesStandardB2s', 'VMSizeTypesStandardB4ms', 'VMSizeTypesStandardB8ms', 'VMSizeTypesStandardD1', 'VMSizeTypesStandardD11', 'VMSizeTypesStandardD11V2', 'VMSizeTypesStandardD11V2Promo', 'VMSizeTypesStandardD12', 'VMSizeTypesStandardD12V2', 'VMSizeTypesStandardD12V2Promo', 'VMSizeTypesStandardD13', 'VMSizeTypesStandardD13V2', 'VMSizeTypesStandardD13V2Promo', 'VMSizeTypesStandardD14', 'VMSizeTypesStandardD14V2', 'VMSizeTypesStandardD14V2Promo', 'VMSizeTypesStandardD15V2', 'VMSizeTypesStandardD16V3', 'VMSizeTypesStandardD16sV3', 'VMSizeTypesStandardD1V2', 'VMSizeTypesStandardD2', 'VMSizeTypesStandardD2V2', 'VMSizeTypesStandardD2V2Promo', 'VMSizeTypesStandardD2V3', 'VMSizeTypesStandardD2sV3', 'VMSizeTypesStandardD3', 'VMSizeTypesStandardD32V3', 'VMSizeTypesStandardD32sV3', 'VMSizeTypesStandardD3V2', 'VMSizeTypesStandardD3V2Promo', 'VMSizeTypesStandardD4', 'VMSizeTypesStandardD4V2', 'VMSizeTypesStandardD4V2Promo', 'VMSizeTypesStandardD4V3', 'VMSizeTypesStandardD4sV3', 'VMSizeTypesStandardD5V2', 'VMSizeTypesStandardD5V2Promo', 'VMSizeTypesStandardD64V3', 'VMSizeTypesStandardD64sV3', 'VMSizeTypesStandardD8V3', 'VMSizeTypesStandardD8sV3', 'VMSizeTypesStandardDS1', 'VMSizeTypesStandardDS11', 'VMSizeTypesStandardDS11V2', 'VMSizeTypesStandardDS11V2Promo', 'VMSizeTypesStandardDS12', 'VMSizeTypesStandardDS12V2', 'VMSizeTypesStandardDS12V2Promo', 'VMSizeTypesStandardDS13', 'VMSizeTypesStandardDS132V2', 'VMSizeTypesStandardDS134V2', 'VMSizeTypesStandardDS13V2', 'VMSizeTypesStandardDS13V2Promo', 'VMSizeTypesStandardDS14', 'VMSizeTypesStandardDS144V2', 'VMSizeTypesStandardDS148V2', 'VMSizeTypesStandardDS14V2', 'VMSizeTypesStandardDS14V2Promo', 'VMSizeTypesStandardDS15V2', 'VMSizeTypesStandardDS1V2', 'VMSizeTypesStandardDS2', 'VMSizeTypesStandardDS2V2', 'VMSizeTypesStandardDS2V2Promo', 'VMSizeTypesStandardDS3', 'VMSizeTypesStandardDS3V2', 'VMSizeTypesStandardDS3V2Promo', 'VMSizeTypesStandardDS4', 'VMSizeTypesStandardDS4V2', 'VMSizeTypesStandardDS4V2Promo', 'VMSizeTypesStandardDS5V2', 'VMSizeTypesStandardDS5V2Promo', 'VMSizeTypesStandardE16V3', 'VMSizeTypesStandardE16sV3', 'VMSizeTypesStandardE2V3', 'VMSizeTypesStandardE2sV3', 'VMSizeTypesStandardE3216sV3', 'VMSizeTypesStandardE328sV3', 'VMSizeTypesStandardE32V3', 'VMSizeTypesStandardE32sV3', 'VMSizeTypesStandardE4V3', 'VMSizeTypesStandardE4sV3', 'VMSizeTypesStandardE6416sV3', 'VMSizeTypesStandardE6432sV3', 'VMSizeTypesStandardE64V3', 'VMSizeTypesStandardE64sV3', 'VMSizeTypesStandardE8V3', 'VMSizeTypesStandardE8sV3', 'VMSizeTypesStandardF1', 'VMSizeTypesStandardF16', 'VMSizeTypesStandardF16s', 'VMSizeTypesStandardF16sV2', 'VMSizeTypesStandardF1s', 'VMSizeTypesStandardF2', 'VMSizeTypesStandardF2s', 'VMSizeTypesStandardF2sV2', 'VMSizeTypesStandardF32sV2', 'VMSizeTypesStandardF4', 'VMSizeTypesStandardF4s', 'VMSizeTypesStandardF4sV2', 'VMSizeTypesStandardF64sV2', 'VMSizeTypesStandardF72sV2', 'VMSizeTypesStandardF8', 'VMSizeTypesStandardF8s', 'VMSizeTypesStandardF8sV2', 'VMSizeTypesStandardG1', 'VMSizeTypesStandardG2', 'VMSizeTypesStandardG3', 'VMSizeTypesStandardG4', 'VMSizeTypesStandardG5', 'VMSizeTypesStandardGS1', 'VMSizeTypesStandardGS2', 'VMSizeTypesStandardGS3', 'VMSizeTypesStandardGS4', 'VMSizeTypesStandardGS44', 'VMSizeTypesStandardGS48', 'VMSizeTypesStandardGS5', 'VMSizeTypesStandardGS516', 'VMSizeTypesStandardGS58', 'VMSizeTypesStandardH16', 'VMSizeTypesStandardH16m', 'VMSizeTypesStandardH16mr', 'VMSizeTypesStandardH16r', 'VMSizeTypesStandardH8', 'VMSizeTypesStandardH8m', 'VMSizeTypesStandardL16s', 'VMSizeTypesStandardL32s', 'VMSizeTypesStandardL4s', 'VMSizeTypesStandardL8s', 'VMSizeTypesStandardM12832ms', 'VMSizeTypesStandardM12864ms', 'VMSizeTypesStandardM128ms', 'VMSizeTypesStandardM128s', 'VMSizeTypesStandardM6416ms', 'VMSizeTypesStandardM6432ms', 'VMSizeTypesStandardM64ms', 'VMSizeTypesStandardM64s', 'VMSizeTypesStandardNC12', 'VMSizeTypesStandardNC12sV2', 'VMSizeTypesStandardNC12sV3', 'VMSizeTypesStandardNC24', 'VMSizeTypesStandardNC24r', 'VMSizeTypesStandardNC24rsV2', 'VMSizeTypesStandardNC24rsV3', 'VMSizeTypesStandardNC24sV2', 'VMSizeTypesStandardNC24sV3', 'VMSizeTypesStandardNC6', 'VMSizeTypesStandardNC6sV2', 'VMSizeTypesStandardNC6sV3', 'VMSizeTypesStandardND12s', 'VMSizeTypesStandardND24rs', 'VMSizeTypesStandardND24s', 'VMSizeTypesStandardND6s', 'VMSizeTypesStandardNV12', 'VMSizeTypesStandardNV24', 'VMSizeTypesStandardNV6' VMSize VMSizeTypes `json:"vmSize,omitempty"` // OsDiskSizeGB - OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. OsDiskSizeGB *int32 `json:"osDiskSizeGB,omitempty"` // VnetSubnetID - VNet SubnetID specifies the VNet's subnet identifier. VnetSubnetID *string `json:"vnetSubnetID,omitempty"` // FirstConsecutiveStaticIP - FirstConsecutiveStaticIP used to specify the first static ip of masters. FirstConsecutiveStaticIP *string `json:"firstConsecutiveStaticIP,omitempty"` // StorageProfile - Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. Possible values include: 'StorageProfileTypesStorageAccount', 'StorageProfileTypesManagedDisks' StorageProfile StorageProfileTypes `json:"storageProfile,omitempty"` // Fqdn - READ-ONLY; FQDN for the master pool. Fqdn *string `json:"fqdn,omitempty"` }
MasterProfile profile for the container service master.
func (MasterProfile) MarshalJSON ¶
func (mp MasterProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MasterProfile.
type NetworkMode ¶
type NetworkMode string
NetworkMode enumerates the values for network mode.
const ( // NetworkModeBridge This is no longer supported NetworkModeBridge NetworkMode = "bridge" // NetworkModeTransparent No bridge is created. Intra-VM Pod to Pod communication is through IP routes // created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) // for more information. NetworkModeTransparent NetworkMode = "transparent" )
func PossibleNetworkModeValues ¶
func PossibleNetworkModeValues() []NetworkMode
PossibleNetworkModeValues returns an array of possible values for the NetworkMode const type.
type NetworkPlugin ¶
type NetworkPlugin string
NetworkPlugin enumerates the values for network plugin.
const ( // NetworkPluginAzure Use the Azure CNI network plugin. See [Azure CNI (advanced) // networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for // more information. NetworkPluginAzure NetworkPlugin = "azure" // NetworkPluginKubenet Use the Kubenet network plugin. See [Kubenet (basic) // networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more // information. NetworkPluginKubenet NetworkPlugin = "kubenet" )
func PossibleNetworkPluginValues ¶
func PossibleNetworkPluginValues() []NetworkPlugin
PossibleNetworkPluginValues returns an array of possible values for the NetworkPlugin const type.
type NetworkPolicy ¶
type NetworkPolicy string
NetworkPolicy enumerates the values for network policy.
const ( // NetworkPolicyAzure Use Azure network policies. See [differences between Azure and Calico // policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) // for more information. NetworkPolicyAzure NetworkPolicy = "azure" // NetworkPolicyCalico Use Calico network policies. See [differences between Azure and Calico // policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) // for more information. NetworkPolicyCalico NetworkPolicy = "calico" )
func PossibleNetworkPolicyValues ¶
func PossibleNetworkPolicyValues() []NetworkPolicy
PossibleNetworkPolicyValues returns an array of possible values for the NetworkPolicy const type.
type NetworkProfile ¶
type NetworkProfile struct { // NetworkPlugin - Network plugin used for building the Kubernetes network. Possible values include: 'NetworkPluginAzure', 'NetworkPluginKubenet' NetworkPlugin NetworkPlugin `json:"networkPlugin,omitempty"` // NetworkPolicy - Network policy used for building the Kubernetes network. Possible values include: 'NetworkPolicyCalico', 'NetworkPolicyAzure' NetworkPolicy NetworkPolicy `json:"networkPolicy,omitempty"` // NetworkMode - This cannot be specified if networkPlugin is anything other than 'azure'. Possible values include: 'NetworkModeTransparent', 'NetworkModeBridge' NetworkMode NetworkMode `json:"networkMode,omitempty"` // PodCidr - A CIDR notation IP range from which to assign pod IPs when kubenet is used. PodCidr *string `json:"podCidr,omitempty"` // ServiceCidr - A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. ServiceCidr *string `json:"serviceCidr,omitempty"` // DNSServiceIP - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. DNSServiceIP *string `json:"dnsServiceIP,omitempty"` // DockerBridgeCidr - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"` // OutboundType - This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). Possible values include: 'OutboundTypeLoadBalancer', 'OutboundTypeUserDefinedRouting', 'OutboundTypeManagedNATGateway', 'OutboundTypeUserAssignedNATGateway' OutboundType OutboundType `json:"outboundType,omitempty"` // LoadBalancerSku - The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. Possible values include: 'LoadBalancerSkuStandard', 'LoadBalancerSkuBasic' LoadBalancerSku LoadBalancerSku `json:"loadBalancerSku,omitempty"` // LoadBalancerProfile - Profile of the cluster load balancer. LoadBalancerProfile *ManagedClusterLoadBalancerProfile `json:"loadBalancerProfile,omitempty"` // NatGatewayProfile - Profile of the cluster NAT gateway. NatGatewayProfile *ManagedClusterNATGatewayProfile `json:"natGatewayProfile,omitempty"` }
NetworkProfile profile of network configuration.
type OSDiskType ¶
type OSDiskType string
OSDiskType enumerates the values for os disk type.
const ( // OSDiskTypeEphemeral Ephemeral OS disks are stored only on the host machine, just like a temporary disk. // This provides lower read/write latency, along with faster node scaling and cluster upgrades. OSDiskTypeEphemeral OSDiskType = "Ephemeral" // OSDiskTypeManaged Azure replicates the operating system disk for a virtual machine to Azure storage to // avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to // have local state persisted, this behavior offers limited value while providing some drawbacks, including // slower node provisioning and higher read/write latency. OSDiskTypeManaged OSDiskType = "Managed" )
func PossibleOSDiskTypeValues ¶
func PossibleOSDiskTypeValues() []OSDiskType
PossibleOSDiskTypeValues returns an array of possible values for the OSDiskType const type.
type OSOptionProfile ¶
type OSOptionProfile struct { autorest.Response `json:"-"` // ID - READ-ONLY; The ID of the OS option resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the OS option resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the OS option resource. Type *string `json:"type,omitempty"` // OSOptionPropertyList - The list of OS options. *OSOptionPropertyList `json:"properties,omitempty"` }
OSOptionProfile the OS option profile.
func (OSOptionProfile) MarshalJSON ¶
func (oop OSOptionProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OSOptionProfile.
func (*OSOptionProfile) UnmarshalJSON ¶
func (oop *OSOptionProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OSOptionProfile struct.
type OSOptionProperty ¶
type OSOptionProperty struct { // OsType - The OS type. OsType *string `json:"os-type,omitempty"` // EnableFipsImage - Whether the image is FIPS-enabled. EnableFipsImage *bool `json:"enable-fips-image,omitempty"` }
OSOptionProperty OS option property.
type OSOptionPropertyList ¶
type OSOptionPropertyList struct { // OsOptionPropertyList - The list of OS options. OsOptionPropertyList *[]OSOptionProperty `json:"osOptionPropertyList,omitempty"` }
OSOptionPropertyList the list of OS option properties.
type OSSKU ¶
type OSSKU string
OSSKU enumerates the values for ossku.
func PossibleOSSKUValues ¶
func PossibleOSSKUValues() []OSSKU
PossibleOSSKUValues returns an array of possible values for the OSSKU const type.
type OSType ¶
type OSType string
OSType enumerates the values for os type.
func PossibleOSTypeValues ¶
func PossibleOSTypeValues() []OSType
PossibleOSTypeValues returns an array of possible values for the OSType const type.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The list of operations Value *[]OperationValue `json:"value,omitempty"` }
OperationListResult the List Operation response.
func (OperationListResult) MarshalJSON ¶
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
type OperationValue ¶
type OperationValue struct { // Origin - READ-ONLY; The origin of the operation. Origin *string `json:"origin,omitempty"` // Name - READ-ONLY; The name of the operation. Name *string `json:"name,omitempty"` // OperationValueDisplay - Describes the properties of a Operation Value Display. *OperationValueDisplay `json:"display,omitempty"` }
OperationValue describes the properties of a Operation value.
func (OperationValue) MarshalJSON ¶
func (ov OperationValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationValue.
func (*OperationValue) UnmarshalJSON ¶
func (ov *OperationValue) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationValue struct.
type OperationValueDisplay ¶
type OperationValueDisplay struct { // Operation - READ-ONLY; The display name of the operation. Operation *string `json:"operation,omitempty"` // Resource - READ-ONLY; The display name of the resource the operation applies to. Resource *string `json:"resource,omitempty"` // Description - READ-ONLY; The description of the operation. Description *string `json:"description,omitempty"` // Provider - READ-ONLY; The resource provider for the operation. Provider *string `json:"provider,omitempty"` }
OperationValueDisplay describes the properties of a Operation Value Display.
func (OperationValueDisplay) MarshalJSON ¶
func (ovd OperationValueDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationValueDisplay.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the the Container Service Client.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List sends the list request.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OutboundEnvironmentEndpoint ¶
type OutboundEnvironmentEndpoint struct { // Category - The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management, apiserver, etc. Category *string `json:"category,omitempty"` // Endpoints - The endpoints that AKS agent nodes connect to Endpoints *[]EndpointDependency `json:"endpoints,omitempty"` }
OutboundEnvironmentEndpoint egress endpoints which AKS agent nodes connect to for common purpose.
type OutboundEnvironmentEndpointCollection ¶
type OutboundEnvironmentEndpointCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]OutboundEnvironmentEndpoint `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
OutboundEnvironmentEndpointCollection collection of OutboundEnvironmentEndpoint
func (OutboundEnvironmentEndpointCollection) IsEmpty ¶
func (oeec OutboundEnvironmentEndpointCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OutboundEnvironmentEndpointCollection) MarshalJSON ¶
func (oeec OutboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundEnvironmentEndpointCollection.
type OutboundEnvironmentEndpointCollectionIterator ¶
type OutboundEnvironmentEndpointCollectionIterator struct {
// contains filtered or unexported fields
}
OutboundEnvironmentEndpointCollectionIterator provides access to a complete listing of OutboundEnvironmentEndpoint values.
func NewOutboundEnvironmentEndpointCollectionIterator ¶
func NewOutboundEnvironmentEndpointCollectionIterator(page OutboundEnvironmentEndpointCollectionPage) OutboundEnvironmentEndpointCollectionIterator
Creates a new instance of the OutboundEnvironmentEndpointCollectionIterator type.
func (*OutboundEnvironmentEndpointCollectionIterator) Next ¶
func (iter *OutboundEnvironmentEndpointCollectionIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OutboundEnvironmentEndpointCollectionIterator) NextWithContext ¶
func (iter *OutboundEnvironmentEndpointCollectionIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OutboundEnvironmentEndpointCollectionIterator) NotDone ¶
func (iter OutboundEnvironmentEndpointCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OutboundEnvironmentEndpointCollectionIterator) Response ¶
func (iter OutboundEnvironmentEndpointCollectionIterator) Response() OutboundEnvironmentEndpointCollection
Response returns the raw server response from the last page request.
func (OutboundEnvironmentEndpointCollectionIterator) Value ¶
func (iter OutboundEnvironmentEndpointCollectionIterator) Value() OutboundEnvironmentEndpoint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OutboundEnvironmentEndpointCollectionPage ¶
type OutboundEnvironmentEndpointCollectionPage struct {
// contains filtered or unexported fields
}
OutboundEnvironmentEndpointCollectionPage contains a page of OutboundEnvironmentEndpoint values.
func NewOutboundEnvironmentEndpointCollectionPage ¶
func NewOutboundEnvironmentEndpointCollectionPage(cur OutboundEnvironmentEndpointCollection, getNextPage func(context.Context, OutboundEnvironmentEndpointCollection) (OutboundEnvironmentEndpointCollection, error)) OutboundEnvironmentEndpointCollectionPage
Creates a new instance of the OutboundEnvironmentEndpointCollectionPage type.
func (*OutboundEnvironmentEndpointCollectionPage) Next ¶
func (page *OutboundEnvironmentEndpointCollectionPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OutboundEnvironmentEndpointCollectionPage) NextWithContext ¶
func (page *OutboundEnvironmentEndpointCollectionPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OutboundEnvironmentEndpointCollectionPage) NotDone ¶
func (page OutboundEnvironmentEndpointCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OutboundEnvironmentEndpointCollectionPage) Response ¶
func (page OutboundEnvironmentEndpointCollectionPage) Response() OutboundEnvironmentEndpointCollection
Response returns the raw server response from the last page request.
func (OutboundEnvironmentEndpointCollectionPage) Values ¶
func (page OutboundEnvironmentEndpointCollectionPage) Values() []OutboundEnvironmentEndpoint
Values returns the slice of values for the current page or nil if there are no values.
type OutboundType ¶
type OutboundType string
OutboundType enumerates the values for outbound type.
const ( // OutboundTypeLoadBalancer The load balancer is used for egress through an AKS assigned public IP. This // supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type // loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer). OutboundTypeLoadBalancer OutboundType = "loadBalancer" // OutboundTypeManagedNATGateway The AKS-managed NAT gateway is used for egress. OutboundTypeManagedNATGateway OutboundType = "managedNATGateway" // OutboundTypeUserAssignedNATGateway The user-assigned NAT gateway associated to the cluster subnet is // used for egress. This is an advanced scenario and requires proper network configuration. OutboundTypeUserAssignedNATGateway OutboundType = "userAssignedNATGateway" // OutboundTypeUserDefinedRouting Egress paths must be defined by the user. This is an advanced scenario // and requires proper network configuration. For more information see [outbound type // userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting). OutboundTypeUserDefinedRouting OutboundType = "userDefinedRouting" )
func PossibleOutboundTypeValues ¶
func PossibleOutboundTypeValues() []OutboundType
PossibleOutboundTypeValues returns an array of possible values for the OutboundType const type.
type PowerState ¶
type PowerState struct { // Code - Tells whether the cluster is Running or Stopped. Possible values include: 'CodeRunning', 'CodeStopped' Code Code `json:"code,omitempty"` }
PowerState describes the Power State of the cluster
type PrivateEndpoint ¶
type PrivateEndpoint struct { // ID - The resource ID of the private endpoint ID *string `json:"id,omitempty"` }
PrivateEndpoint private endpoint which a connection belongs to.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // ID - READ-ONLY; The ID of the private endpoint connection. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the private endpoint connection. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // PrivateEndpointConnectionProperties - The properties of a private endpoint connection. *PrivateEndpointConnectionProperties `json:"properties,omitempty"` }
PrivateEndpointConnection a private endpoint connection
func (PrivateEndpointConnection) MarshalJSON ¶
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (*PrivateEndpointConnection) UnmarshalJSON ¶
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
type PrivateEndpointConnectionListResult ¶
type PrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - The collection value. Value *[]PrivateEndpointConnection `json:"value,omitempty"` }
PrivateEndpointConnectionListResult a list of private endpoint connections
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // ProvisioningState - READ-ONLY; The current provisioning state. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed' ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` // PrivateEndpoint - The resource of private endpoint. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
PrivateEndpointConnectionProperties properties of a private endpoint connection.
func (PrivateEndpointConnectionProperties) MarshalJSON ¶
func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.
const ( // PrivateEndpointConnectionProvisioningStateCreating ... PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" // PrivateEndpointConnectionProvisioningStateDeleting ... PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" // PrivateEndpointConnectionProvisioningStateFailed ... PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" // PrivateEndpointConnectionProvisioningStateSucceeded ... PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func PossiblePrivateEndpointConnectionProvisioningStateValues ¶
func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState
PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
BaseClient
}
PrivateEndpointConnectionsClient is the the Container Service Client.
func NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI ¶
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateEndpointConnectionsClient) Delete ¶
func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. privateEndpointConnectionName - the name of the private endpoint connection.
func (PrivateEndpointConnectionsClient) DeletePreparer ¶
func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointConnectionsClient) DeleteResponder ¶
func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) DeleteSender ¶
func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Get ¶
func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
Get to learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. privateEndpointConnectionName - the name of the private endpoint connection.
func (PrivateEndpointConnectionsClient) GetPreparer ¶
func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointConnectionsClient) GetResponder ¶
func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) List ¶
func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateEndpointConnectionListResult, err error)
List to learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (PrivateEndpointConnectionsClient) ListPreparer ¶
func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PrivateEndpointConnectionsClient) ListResponder ¶
func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) ListSender ¶
func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Update ¶
func (client PrivateEndpointConnectionsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)
Update sends the update request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. privateEndpointConnectionName - the name of the private endpoint connection. parameters - the updated private endpoint connection.
func (PrivateEndpointConnectionsClient) UpdatePreparer ¶
func (client PrivateEndpointConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (PrivateEndpointConnectionsClient) UpdateResponder ¶
func (client PrivateEndpointConnectionsClient) UpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) UpdateSender ¶
func (client PrivateEndpointConnectionsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type PrivateEndpointConnectionsDeleteFuture ¶
type PrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (autorest.Response, error) }
PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON ¶
func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateLinkResource ¶
type PrivateLinkResource struct { autorest.Response `json:"-"` // ID - The ID of the private link resource. ID *string `json:"id,omitempty"` // Name - The name of the private link resource. Name *string `json:"name,omitempty"` // Type - The resource type. Type *string `json:"type,omitempty"` // GroupID - The group ID of the resource. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - The RequiredMembers of the resource RequiredMembers *[]string `json:"requiredMembers,omitempty"` // PrivateLinkServiceID - READ-ONLY; The private link service ID of the resource, this field is exposed only to NRP internally. PrivateLinkServiceID *string `json:"privateLinkServiceID,omitempty"` }
PrivateLinkResource a private link resource
func (PrivateLinkResource) MarshalJSON ¶
func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResource.
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
BaseClient
}
PrivateLinkResourcesClient is the the Container Service Client.
func NewPrivateLinkResourcesClient ¶
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateLinkResourcesClient) List ¶
func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateLinkResourcesListResult, err error)
List to learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (PrivateLinkResourcesClient) ListPreparer ¶
func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PrivateLinkResourcesClient) ListResponder ¶
func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResourcesListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PrivateLinkResourcesListResult ¶
type PrivateLinkResourcesListResult struct { autorest.Response `json:"-"` // Value - The collection value. Value *[]PrivateLinkResource `json:"value,omitempty"` }
PrivateLinkResourcesListResult a list of private link resources
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { // Status - The private link service connection status. Possible values include: 'ConnectionStatusPending', 'ConnectionStatusApproved', 'ConnectionStatusRejected', 'ConnectionStatusDisconnected' Status ConnectionStatus `json:"status,omitempty"` // Description - The private link service connection description. Description *string `json:"description,omitempty"` }
PrivateLinkServiceConnectionState the state of a private link service connection.
type PublicNetworkAccess ¶
type PublicNetworkAccess string
PublicNetworkAccess enumerates the values for public network access.
const ( // PublicNetworkAccessDisabled ... PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" // PublicNetworkAccessEnabled ... PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func PossiblePublicNetworkAccessValues ¶
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess
PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
type ResolvePrivateLinkServiceIDClient ¶
type ResolvePrivateLinkServiceIDClient struct {
BaseClient
}
ResolvePrivateLinkServiceIDClient is the the Container Service Client.
func NewResolvePrivateLinkServiceIDClient ¶
func NewResolvePrivateLinkServiceIDClient(subscriptionID string) ResolvePrivateLinkServiceIDClient
NewResolvePrivateLinkServiceIDClient creates an instance of the ResolvePrivateLinkServiceIDClient client.
func NewResolvePrivateLinkServiceIDClientWithBaseURI ¶
func NewResolvePrivateLinkServiceIDClientWithBaseURI(baseURI string, subscriptionID string) ResolvePrivateLinkServiceIDClient
NewResolvePrivateLinkServiceIDClientWithBaseURI creates an instance of the ResolvePrivateLinkServiceIDClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ResolvePrivateLinkServiceIDClient) POST ¶
func (client ResolvePrivateLinkServiceIDClient) POST(ctx context.Context, resourceGroupName string, resourceName string, parameters PrivateLinkResource) (result PrivateLinkResource, err error)
POST sends the post request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - parameters required in order to resolve a private link service ID.
func (ResolvePrivateLinkServiceIDClient) POSTPreparer ¶
func (client ResolvePrivateLinkServiceIDClient) POSTPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters PrivateLinkResource) (*http.Request, error)
POSTPreparer prepares the POST request.
func (ResolvePrivateLinkServiceIDClient) POSTResponder ¶
func (client ResolvePrivateLinkServiceIDClient) POSTResponder(resp *http.Response) (result PrivateLinkResource, err error)
POSTResponder handles the response to the POST request. The method always closes the http.Response Body.
func (ResolvePrivateLinkServiceIDClient) POSTSender ¶
func (client ResolvePrivateLinkServiceIDClient) POSTSender(req *http.Request) (*http.Response, error)
POSTSender sends the POST request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Resource the Resource model definition.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // ResourceIdentityTypeNone Do not use a managed identity for the Managed Cluster, service principal will // be used instead. ResourceIdentityTypeNone ResourceIdentityType = "None" // ResourceIdentityTypeSystemAssigned Use an implicitly created system assigned managed identity to manage // cluster resources. Master components in the control plane such as kube-controller-manager will use the // system assigned managed identity to manipulate Azure resources. ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" // ResourceIdentityTypeUserAssigned Use a user-specified identity to manage cluster resources. Master // components in the control plane such as kube-controller-manager will use the specified user assigned // managed identity to manipulate Azure resources. ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
type ResourceReference ¶
type ResourceReference struct { // ID - The fully qualified Azure resource id. ID *string `json:"id,omitempty"` }
ResourceReference a reference to an Azure resource.
type RunCommandRequest ¶
type RunCommandRequest struct { // Command - The command to run. Command *string `json:"command,omitempty"` // Context - A base64 encoded zip file containing the files required by the command. Context *string `json:"context,omitempty"` // ClusterToken - AuthToken issued for AKS AAD Server App. ClusterToken *string `json:"clusterToken,omitempty"` }
RunCommandRequest a run command request
type RunCommandResult ¶
type RunCommandResult struct { autorest.Response `json:"-"` // ID - READ-ONLY; The command id. ID *string `json:"id,omitempty"` // CommandResultProperties - Properties of command result. *CommandResultProperties `json:"properties,omitempty"` }
RunCommandResult run command result.
func (RunCommandResult) MarshalJSON ¶
func (rcr RunCommandResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunCommandResult.
func (*RunCommandResult) UnmarshalJSON ¶
func (rcr *RunCommandResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RunCommandResult struct.
type SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
SSHConfiguration SSH configuration for Linux-based VMs running on Azure.
type SSHPublicKey ¶
type SSHPublicKey struct { // KeyData - Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. KeyData *string `json:"keyData,omitempty"` }
SSHPublicKey contains information about SSH certificate public key data.
type ScaleDownMode ¶
type ScaleDownMode string
ScaleDownMode enumerates the values for scale down mode.
const ( // ScaleDownModeDeallocate Attempt to start deallocated instances (if they exist) during scale up and // deallocate instances during scale down. ScaleDownModeDeallocate ScaleDownMode = "Deallocate" // ScaleDownModeDelete Create new instances during scale up and remove instances during scale down. ScaleDownModeDelete ScaleDownMode = "Delete" )
func PossibleScaleDownModeValues ¶
func PossibleScaleDownModeValues() []ScaleDownMode
PossibleScaleDownModeValues returns an array of possible values for the ScaleDownMode const type.
type ScaleSetEvictionPolicy ¶
type ScaleSetEvictionPolicy string
ScaleSetEvictionPolicy enumerates the values for scale set eviction policy.
const ( // ScaleSetEvictionPolicyDeallocate Nodes in the underlying Scale Set of the node pool are set to the // stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your // compute quota and can cause issues with cluster scaling or upgrading. ScaleSetEvictionPolicyDeallocate ScaleSetEvictionPolicy = "Deallocate" // ScaleSetEvictionPolicyDelete Nodes in the underlying Scale Set of the node pool are deleted when they're // evicted. ScaleSetEvictionPolicyDelete ScaleSetEvictionPolicy = "Delete" )
func PossibleScaleSetEvictionPolicyValues ¶
func PossibleScaleSetEvictionPolicyValues() []ScaleSetEvictionPolicy
PossibleScaleSetEvictionPolicyValues returns an array of possible values for the ScaleSetEvictionPolicy const type.
type ScaleSetPriority ¶
type ScaleSetPriority string
ScaleSetPriority enumerates the values for scale set priority.
const ( // ScaleSetPriorityRegular Regular VMs will be used. ScaleSetPriorityRegular ScaleSetPriority = "Regular" // ScaleSetPrioritySpot Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on // AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information. ScaleSetPrioritySpot ScaleSetPriority = "Spot" )
func PossibleScaleSetPriorityValues ¶
func PossibleScaleSetPriorityValues() []ScaleSetPriority
PossibleScaleSetPriorityValues returns an array of possible values for the ScaleSetPriority const type.
type Snapshot ¶
type Snapshot struct { autorest.Response `json:"-"` // SystemData - READ-ONLY; The system metadata relating to this snapshot. SystemData *SystemData `json:"systemData,omitempty"` // SnapshotProperties - Properties of a snapshot. *SnapshotProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Snapshot a node pool snapshot resource.
func (Snapshot) MarshalJSON ¶
MarshalJSON is the custom marshaler for Snapshot.
func (*Snapshot) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Snapshot struct.
type SnapshotListResult ¶
type SnapshotListResult struct { autorest.Response `json:"-"` // Value - The list of snapshots. Value *[]Snapshot `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of snapshot results. NextLink *string `json:"nextLink,omitempty"` }
SnapshotListResult the response from the List Snapshots operation.
func (SnapshotListResult) IsEmpty ¶
func (slr SnapshotListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (SnapshotListResult) MarshalJSON ¶
func (slr SnapshotListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotListResult.
type SnapshotListResultIterator ¶
type SnapshotListResultIterator struct {
// contains filtered or unexported fields
}
SnapshotListResultIterator provides access to a complete listing of Snapshot values.
func NewSnapshotListResultIterator ¶
func NewSnapshotListResultIterator(page SnapshotListResultPage) SnapshotListResultIterator
Creates a new instance of the SnapshotListResultIterator type.
func (*SnapshotListResultIterator) Next ¶
func (iter *SnapshotListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SnapshotListResultIterator) NextWithContext ¶
func (iter *SnapshotListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SnapshotListResultIterator) NotDone ¶
func (iter SnapshotListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SnapshotListResultIterator) Response ¶
func (iter SnapshotListResultIterator) Response() SnapshotListResult
Response returns the raw server response from the last page request.
func (SnapshotListResultIterator) Value ¶
func (iter SnapshotListResultIterator) Value() Snapshot
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SnapshotListResultPage ¶
type SnapshotListResultPage struct {
// contains filtered or unexported fields
}
SnapshotListResultPage contains a page of Snapshot values.
func NewSnapshotListResultPage ¶
func NewSnapshotListResultPage(cur SnapshotListResult, getNextPage func(context.Context, SnapshotListResult) (SnapshotListResult, error)) SnapshotListResultPage
Creates a new instance of the SnapshotListResultPage type.
func (*SnapshotListResultPage) Next ¶
func (page *SnapshotListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SnapshotListResultPage) NextWithContext ¶
func (page *SnapshotListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SnapshotListResultPage) NotDone ¶
func (page SnapshotListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SnapshotListResultPage) Response ¶
func (page SnapshotListResultPage) Response() SnapshotListResult
Response returns the raw server response from the last page request.
func (SnapshotListResultPage) Values ¶
func (page SnapshotListResultPage) Values() []Snapshot
Values returns the slice of values for the current page or nil if there are no values.
type SnapshotProperties ¶
type SnapshotProperties struct { // CreationData - CreationData to be used to specify the source agent pool resource ID to create this snapshot. CreationData *CreationData `json:"creationData,omitempty"` // SnapshotType - Possible values include: 'SnapshotTypeNodePool' SnapshotType SnapshotType `json:"snapshotType,omitempty"` // KubernetesVersion - READ-ONLY; The version of Kubernetes. KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // NodeImageVersion - READ-ONLY; The version of node image. NodeImageVersion *string `json:"nodeImageVersion,omitempty"` // OsType - READ-ONLY; Possible values include: 'OSTypeLinux', 'OSTypeWindows' OsType OSType `json:"osType,omitempty"` // OsSku - READ-ONLY; Possible values include: 'OSSKUUbuntu', 'OSSKUCBLMariner' OsSku OSSKU `json:"osSku,omitempty"` // VMSize - READ-ONLY; The size of the VM. VMSize *string `json:"vmSize,omitempty"` // EnableFIPS - READ-ONLY; Whether to use a FIPS-enabled OS. EnableFIPS *bool `json:"enableFIPS,omitempty"` }
SnapshotProperties properties used to configure a node pool snapshot.
func (SnapshotProperties) MarshalJSON ¶
func (sp SnapshotProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotProperties.
type SnapshotType ¶
type SnapshotType string
SnapshotType enumerates the values for snapshot type.
const ( // SnapshotTypeNodePool The snapshot is a snapshot of a node pool. SnapshotTypeNodePool SnapshotType = "NodePool" )
func PossibleSnapshotTypeValues ¶
func PossibleSnapshotTypeValues() []SnapshotType
PossibleSnapshotTypeValues returns an array of possible values for the SnapshotType const type.
type SnapshotsClient ¶
type SnapshotsClient struct {
BaseClient
}
SnapshotsClient is the the Container Service Client.
func NewSnapshotsClient ¶
func NewSnapshotsClient(subscriptionID string) SnapshotsClient
NewSnapshotsClient creates an instance of the SnapshotsClient client.
func NewSnapshotsClientWithBaseURI ¶
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient
NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SnapshotsClient) CreateOrUpdate ¶
func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters Snapshot) (result Snapshot, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - the snapshot to create or update.
func (SnapshotsClient) CreateOrUpdatePreparer ¶
func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Snapshot) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SnapshotsClient) CreateOrUpdateResponder ¶
func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SnapshotsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Delete ¶
func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (SnapshotsClient) DeletePreparer ¶
func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SnapshotsClient) DeleteResponder ¶
func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SnapshotsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Get ¶
func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Snapshot, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (SnapshotsClient) GetPreparer ¶
func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SnapshotsClient) GetResponder ¶
func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SnapshotsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) List ¶
func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListResultPage, err error)
List sends the list request.
func (SnapshotsClient) ListByResourceGroup ¶
func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListResultPage, err error)
ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group.
func (SnapshotsClient) ListByResourceGroupComplete ¶
func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListByResourceGroupPreparer ¶
func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SnapshotsClient) ListByResourceGroupResponder ¶
func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SnapshotsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) ListComplete ¶
func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SnapshotsClient) ListResponder ¶
func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SnapshotsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) UpdateTags ¶
func (client SnapshotsClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (result Snapshot, err error)
UpdateTags sends the update tags request. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - parameters supplied to the Update snapshot Tags operation.
func (SnapshotsClient) UpdateTagsPreparer ¶
func (client SnapshotsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (SnapshotsClient) UpdateTagsResponder ¶
func (client SnapshotsClient) UpdateTagsResponder(resp *http.Response) (result Snapshot, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (SnapshotsClient) UpdateTagsSender ¶
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type StorageProfileTypes ¶
type StorageProfileTypes string
StorageProfileTypes enumerates the values for storage profile types.
const ( // StorageProfileTypesManagedDisks ... StorageProfileTypesManagedDisks StorageProfileTypes = "ManagedDisks" // StorageProfileTypesStorageAccount ... StorageProfileTypesStorageAccount StorageProfileTypes = "StorageAccount" )
func PossibleStorageProfileTypesValues ¶
func PossibleStorageProfileTypesValues() []StorageProfileTypes
PossibleStorageProfileTypesValues returns an array of possible values for the StorageProfileTypes const type.
type SubResource ¶
type SubResource struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
SubResource reference to another subresource.
func (SubResource) MarshalJSON ¶
func (sr SubResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubResource.
type SysctlConfig ¶
type SysctlConfig struct { // NetCoreSomaxconn - Sysctl setting net.core.somaxconn. NetCoreSomaxconn *int32 `json:"netCoreSomaxconn,omitempty"` // NetCoreNetdevMaxBacklog - Sysctl setting net.core.netdev_max_backlog. NetCoreNetdevMaxBacklog *int32 `json:"netCoreNetdevMaxBacklog,omitempty"` // NetCoreRmemDefault - Sysctl setting net.core.rmem_default. NetCoreRmemDefault *int32 `json:"netCoreRmemDefault,omitempty"` // NetCoreRmemMax - Sysctl setting net.core.rmem_max. NetCoreRmemMax *int32 `json:"netCoreRmemMax,omitempty"` // NetCoreWmemDefault - Sysctl setting net.core.wmem_default. NetCoreWmemDefault *int32 `json:"netCoreWmemDefault,omitempty"` // NetCoreWmemMax - Sysctl setting net.core.wmem_max. NetCoreWmemMax *int32 `json:"netCoreWmemMax,omitempty"` // NetCoreOptmemMax - Sysctl setting net.core.optmem_max. NetCoreOptmemMax *int32 `json:"netCoreOptmemMax,omitempty"` // NetIpv4TCPMaxSynBacklog - Sysctl setting net.ipv4.tcp_max_syn_backlog. NetIpv4TCPMaxSynBacklog *int32 `json:"netIpv4TcpMaxSynBacklog,omitempty"` // NetIpv4TCPMaxTwBuckets - Sysctl setting net.ipv4.tcp_max_tw_buckets. NetIpv4TCPMaxTwBuckets *int32 `json:"netIpv4TcpMaxTwBuckets,omitempty"` // NetIpv4TCPFinTimeout - Sysctl setting net.ipv4.tcp_fin_timeout. NetIpv4TCPFinTimeout *int32 `json:"netIpv4TcpFinTimeout,omitempty"` // NetIpv4TCPKeepaliveTime - Sysctl setting net.ipv4.tcp_keepalive_time. NetIpv4TCPKeepaliveTime *int32 `json:"netIpv4TcpKeepaliveTime,omitempty"` // NetIpv4TCPKeepaliveProbes - Sysctl setting net.ipv4.tcp_keepalive_probes. NetIpv4TCPKeepaliveProbes *int32 `json:"netIpv4TcpKeepaliveProbes,omitempty"` // NetIpv4TcpkeepaliveIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl. NetIpv4TcpkeepaliveIntvl *int32 `json:"netIpv4TcpkeepaliveIntvl,omitempty"` // NetIpv4TCPTwReuse - Sysctl setting net.ipv4.tcp_tw_reuse. NetIpv4TCPTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"` // NetIpv4IPLocalPortRange - Sysctl setting net.ipv4.ip_local_port_range. NetIpv4IPLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"` // NetIpv4NeighDefaultGcThresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1. NetIpv4NeighDefaultGcThresh1 *int32 `json:"netIpv4NeighDefaultGcThresh1,omitempty"` // NetIpv4NeighDefaultGcThresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2. NetIpv4NeighDefaultGcThresh2 *int32 `json:"netIpv4NeighDefaultGcThresh2,omitempty"` // NetIpv4NeighDefaultGcThresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3. NetIpv4NeighDefaultGcThresh3 *int32 `json:"netIpv4NeighDefaultGcThresh3,omitempty"` // NetNetfilterNfConntrackMax - Sysctl setting net.netfilter.nf_conntrack_max. NetNetfilterNfConntrackMax *int32 `json:"netNetfilterNfConntrackMax,omitempty"` // NetNetfilterNfConntrackBuckets - Sysctl setting net.netfilter.nf_conntrack_buckets. NetNetfilterNfConntrackBuckets *int32 `json:"netNetfilterNfConntrackBuckets,omitempty"` // FsInotifyMaxUserWatches - Sysctl setting fs.inotify.max_user_watches. FsInotifyMaxUserWatches *int32 `json:"fsInotifyMaxUserWatches,omitempty"` // FsFileMax - Sysctl setting fs.file-max. FsFileMax *int32 `json:"fsFileMax,omitempty"` // FsAioMaxNr - Sysctl setting fs.aio-max-nr. FsAioMaxNr *int32 `json:"fsAioMaxNr,omitempty"` // FsNrOpen - Sysctl setting fs.nr_open. FsNrOpen *int32 `json:"fsNrOpen,omitempty"` // KernelThreadsMax - Sysctl setting kernel.threads-max. KernelThreadsMax *int32 `json:"kernelThreadsMax,omitempty"` // VMMaxMapCount - Sysctl setting vm.max_map_count. VMMaxMapCount *int32 `json:"vmMaxMapCount,omitempty"` // VMSwappiness - Sysctl setting vm.swappiness. VMSwappiness *int32 `json:"vmSwappiness,omitempty"` // VMVfsCachePressure - Sysctl setting vm.vfs_cache_pressure. VMVfsCachePressure *int32 `json:"vmVfsCachePressure,omitempty"` }
SysctlConfig sysctl settings for Linux agent nodes.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The UTC timestamp of resource creation. CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The type of identity that last modified the resource. LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TagsObject ¶
TagsObject tags object for patch operations.
func (TagsObject) MarshalJSON ¶
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.
type TimeInWeek ¶
type TimeInWeek struct { // Day - The day of the week. Possible values include: 'WeekDaySunday', 'WeekDayMonday', 'WeekDayTuesday', 'WeekDayWednesday', 'WeekDayThursday', 'WeekDayFriday', 'WeekDaySaturday' Day WeekDay `json:"day,omitempty"` // HourSlots - Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. HourSlots *[]int32 `json:"hourSlots,omitempty"` }
TimeInWeek time in a week.
type TimeSpan ¶
type TimeSpan struct { // Start - The start of a time span Start *date.Time `json:"start,omitempty"` // End - The end of a time span End *date.Time `json:"end,omitempty"` }
TimeSpan for example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z.
type UpgradeChannel ¶
type UpgradeChannel string
UpgradeChannel enumerates the values for upgrade channel.
const ( // UpgradeChannelNodeImage Automatically upgrade the node image to the latest version available. Microsoft // provides patches and new images for image nodes frequently (usually weekly), but your running nodes // won't get the new images unless you do a node image upgrade. Turning on the node-image channel will // automatically update your node images whenever a new version is available. UpgradeChannelNodeImage UpgradeChannel = "node-image" // UpgradeChannelNone Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. UpgradeChannelNone UpgradeChannel = "none" // UpgradeChannelPatch Automatically upgrade the cluster to the latest supported patch version when it // becomes available while keeping the minor version the same. For example, if a cluster is running version // 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to // 1.17.9. UpgradeChannelPatch UpgradeChannel = "patch" // UpgradeChannelRapid Automatically upgrade the cluster to the latest supported patch release on the // latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an // N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the // latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 // and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, // then is upgraded to 1.19.1. UpgradeChannelRapid UpgradeChannel = "rapid" // UpgradeChannelStable Automatically upgrade the cluster to the latest supported patch release on minor // version N-1, where N is the latest supported minor version. For example, if a cluster is running version // 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to // 1.18.6. UpgradeChannelStable UpgradeChannel = "stable" )
func PossibleUpgradeChannelValues ¶
func PossibleUpgradeChannelValues() []UpgradeChannel
PossibleUpgradeChannelValues returns an array of possible values for the UpgradeChannel const type.
type UserAssignedIdentity ¶
type UserAssignedIdentity struct { // ResourceID - The resource ID of the user assigned identity. ResourceID *string `json:"resourceId,omitempty"` // ClientID - The client ID of the user assigned identity. ClientID *string `json:"clientId,omitempty"` // ObjectID - The object ID of the user assigned identity. ObjectID *string `json:"objectId,omitempty"` }
UserAssignedIdentity details about a user assigned identity.
type VMDiagnostics ¶
type VMDiagnostics struct { // Enabled - Whether the VM diagnostic agent is provisioned on the VM. Enabled *bool `json:"enabled,omitempty"` // StorageURI - READ-ONLY; The URI of the storage account where diagnostics are stored. StorageURI *string `json:"storageUri,omitempty"` }
VMDiagnostics profile for diagnostics on the container service VMs.
func (VMDiagnostics) MarshalJSON ¶
func (vd VMDiagnostics) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMDiagnostics.
type VMSizeTypes ¶
type VMSizeTypes string
VMSizeTypes enumerates the values for vm size types.
const ( // VMSizeTypesStandardA1 ... VMSizeTypesStandardA1 VMSizeTypes = "Standard_A1" // VMSizeTypesStandardA10 ... VMSizeTypesStandardA10 VMSizeTypes = "Standard_A10" // VMSizeTypesStandardA11 ... VMSizeTypesStandardA11 VMSizeTypes = "Standard_A11" // VMSizeTypesStandardA1V2 ... VMSizeTypesStandardA1V2 VMSizeTypes = "Standard_A1_v2" // VMSizeTypesStandardA2 ... VMSizeTypesStandardA2 VMSizeTypes = "Standard_A2" // VMSizeTypesStandardA2mV2 ... VMSizeTypesStandardA2mV2 VMSizeTypes = "Standard_A2m_v2" // VMSizeTypesStandardA2V2 ... VMSizeTypesStandardA2V2 VMSizeTypes = "Standard_A2_v2" // VMSizeTypesStandardA3 ... VMSizeTypesStandardA3 VMSizeTypes = "Standard_A3" // VMSizeTypesStandardA4 ... VMSizeTypesStandardA4 VMSizeTypes = "Standard_A4" // VMSizeTypesStandardA4mV2 ... VMSizeTypesStandardA4mV2 VMSizeTypes = "Standard_A4m_v2" // VMSizeTypesStandardA4V2 ... VMSizeTypesStandardA4V2 VMSizeTypes = "Standard_A4_v2" // VMSizeTypesStandardA5 ... VMSizeTypesStandardA5 VMSizeTypes = "Standard_A5" // VMSizeTypesStandardA6 ... VMSizeTypesStandardA6 VMSizeTypes = "Standard_A6" // VMSizeTypesStandardA7 ... VMSizeTypesStandardA7 VMSizeTypes = "Standard_A7" // VMSizeTypesStandardA8 ... VMSizeTypesStandardA8 VMSizeTypes = "Standard_A8" // VMSizeTypesStandardA8mV2 ... VMSizeTypesStandardA8mV2 VMSizeTypes = "Standard_A8m_v2" // VMSizeTypesStandardA8V2 ... VMSizeTypesStandardA8V2 VMSizeTypes = "Standard_A8_v2" // VMSizeTypesStandardA9 ... VMSizeTypesStandardA9 VMSizeTypes = "Standard_A9" // VMSizeTypesStandardB2ms ... VMSizeTypesStandardB2ms VMSizeTypes = "Standard_B2ms" // VMSizeTypesStandardB2s ... VMSizeTypesStandardB2s VMSizeTypes = "Standard_B2s" // VMSizeTypesStandardB4ms ... VMSizeTypesStandardB4ms VMSizeTypes = "Standard_B4ms" // VMSizeTypesStandardB8ms ... VMSizeTypesStandardB8ms VMSizeTypes = "Standard_B8ms" // VMSizeTypesStandardD1 ... VMSizeTypesStandardD1 VMSizeTypes = "Standard_D1" // VMSizeTypesStandardD11 ... VMSizeTypesStandardD11 VMSizeTypes = "Standard_D11" // VMSizeTypesStandardD11V2 ... VMSizeTypesStandardD11V2 VMSizeTypes = "Standard_D11_v2" // VMSizeTypesStandardD11V2Promo ... VMSizeTypesStandardD11V2Promo VMSizeTypes = "Standard_D11_v2_Promo" // VMSizeTypesStandardD12 ... VMSizeTypesStandardD12 VMSizeTypes = "Standard_D12" // VMSizeTypesStandardD12V2 ... VMSizeTypesStandardD12V2 VMSizeTypes = "Standard_D12_v2" // VMSizeTypesStandardD12V2Promo ... VMSizeTypesStandardD12V2Promo VMSizeTypes = "Standard_D12_v2_Promo" // VMSizeTypesStandardD13 ... VMSizeTypesStandardD13 VMSizeTypes = "Standard_D13" // VMSizeTypesStandardD13V2 ... VMSizeTypesStandardD13V2 VMSizeTypes = "Standard_D13_v2" // VMSizeTypesStandardD13V2Promo ... VMSizeTypesStandardD13V2Promo VMSizeTypes = "Standard_D13_v2_Promo" // VMSizeTypesStandardD14 ... VMSizeTypesStandardD14 VMSizeTypes = "Standard_D14" // VMSizeTypesStandardD14V2 ... VMSizeTypesStandardD14V2 VMSizeTypes = "Standard_D14_v2" // VMSizeTypesStandardD14V2Promo ... VMSizeTypesStandardD14V2Promo VMSizeTypes = "Standard_D14_v2_Promo" // VMSizeTypesStandardD15V2 ... VMSizeTypesStandardD15V2 VMSizeTypes = "Standard_D15_v2" // VMSizeTypesStandardD16sV3 ... VMSizeTypesStandardD16sV3 VMSizeTypes = "Standard_D16s_v3" // VMSizeTypesStandardD16V3 ... VMSizeTypesStandardD16V3 VMSizeTypes = "Standard_D16_v3" // VMSizeTypesStandardD1V2 ... VMSizeTypesStandardD1V2 VMSizeTypes = "Standard_D1_v2" // VMSizeTypesStandardD2 ... VMSizeTypesStandardD2 VMSizeTypes = "Standard_D2" // VMSizeTypesStandardD2sV3 ... VMSizeTypesStandardD2sV3 VMSizeTypes = "Standard_D2s_v3" // VMSizeTypesStandardD2V2 ... VMSizeTypesStandardD2V2 VMSizeTypes = "Standard_D2_v2" // VMSizeTypesStandardD2V2Promo ... VMSizeTypesStandardD2V2Promo VMSizeTypes = "Standard_D2_v2_Promo" // VMSizeTypesStandardD2V3 ... VMSizeTypesStandardD2V3 VMSizeTypes = "Standard_D2_v3" // VMSizeTypesStandardD3 ... VMSizeTypesStandardD3 VMSizeTypes = "Standard_D3" // VMSizeTypesStandardD32sV3 ... VMSizeTypesStandardD32sV3 VMSizeTypes = "Standard_D32s_v3" // VMSizeTypesStandardD32V3 ... VMSizeTypesStandardD32V3 VMSizeTypes = "Standard_D32_v3" // VMSizeTypesStandardD3V2 ... VMSizeTypesStandardD3V2 VMSizeTypes = "Standard_D3_v2" // VMSizeTypesStandardD3V2Promo ... VMSizeTypesStandardD3V2Promo VMSizeTypes = "Standard_D3_v2_Promo" // VMSizeTypesStandardD4 ... VMSizeTypesStandardD4 VMSizeTypes = "Standard_D4" // VMSizeTypesStandardD4sV3 ... VMSizeTypesStandardD4sV3 VMSizeTypes = "Standard_D4s_v3" // VMSizeTypesStandardD4V2 ... VMSizeTypesStandardD4V2 VMSizeTypes = "Standard_D4_v2" // VMSizeTypesStandardD4V2Promo ... VMSizeTypesStandardD4V2Promo VMSizeTypes = "Standard_D4_v2_Promo" // VMSizeTypesStandardD4V3 ... VMSizeTypesStandardD4V3 VMSizeTypes = "Standard_D4_v3" // VMSizeTypesStandardD5V2 ... VMSizeTypesStandardD5V2 VMSizeTypes = "Standard_D5_v2" // VMSizeTypesStandardD5V2Promo ... VMSizeTypesStandardD5V2Promo VMSizeTypes = "Standard_D5_v2_Promo" // VMSizeTypesStandardD64sV3 ... VMSizeTypesStandardD64sV3 VMSizeTypes = "Standard_D64s_v3" // VMSizeTypesStandardD64V3 ... VMSizeTypesStandardD64V3 VMSizeTypes = "Standard_D64_v3" // VMSizeTypesStandardD8sV3 ... VMSizeTypesStandardD8sV3 VMSizeTypes = "Standard_D8s_v3" // VMSizeTypesStandardD8V3 ... VMSizeTypesStandardD8V3 VMSizeTypes = "Standard_D8_v3" // VMSizeTypesStandardDS1 ... VMSizeTypesStandardDS1 VMSizeTypes = "Standard_DS1" // VMSizeTypesStandardDS11 ... VMSizeTypesStandardDS11 VMSizeTypes = "Standard_DS11" // VMSizeTypesStandardDS11V2 ... VMSizeTypesStandardDS11V2 VMSizeTypes = "Standard_DS11_v2" // VMSizeTypesStandardDS11V2Promo ... VMSizeTypesStandardDS11V2Promo VMSizeTypes = "Standard_DS11_v2_Promo" // VMSizeTypesStandardDS12 ... VMSizeTypesStandardDS12 VMSizeTypes = "Standard_DS12" // VMSizeTypesStandardDS12V2 ... VMSizeTypesStandardDS12V2 VMSizeTypes = "Standard_DS12_v2" // VMSizeTypesStandardDS12V2Promo ... VMSizeTypesStandardDS12V2Promo VMSizeTypes = "Standard_DS12_v2_Promo" // VMSizeTypesStandardDS13 ... VMSizeTypesStandardDS13 VMSizeTypes = "Standard_DS13" // VMSizeTypesStandardDS132V2 ... VMSizeTypesStandardDS132V2 VMSizeTypes = "Standard_DS13-2_v2" // VMSizeTypesStandardDS134V2 ... VMSizeTypesStandardDS134V2 VMSizeTypes = "Standard_DS13-4_v2" // VMSizeTypesStandardDS13V2 ... VMSizeTypesStandardDS13V2 VMSizeTypes = "Standard_DS13_v2" // VMSizeTypesStandardDS13V2Promo ... VMSizeTypesStandardDS13V2Promo VMSizeTypes = "Standard_DS13_v2_Promo" // VMSizeTypesStandardDS14 ... VMSizeTypesStandardDS14 VMSizeTypes = "Standard_DS14" // VMSizeTypesStandardDS144V2 ... VMSizeTypesStandardDS144V2 VMSizeTypes = "Standard_DS14-4_v2" // VMSizeTypesStandardDS148V2 ... VMSizeTypesStandardDS148V2 VMSizeTypes = "Standard_DS14-8_v2" // VMSizeTypesStandardDS14V2 ... VMSizeTypesStandardDS14V2 VMSizeTypes = "Standard_DS14_v2" // VMSizeTypesStandardDS14V2Promo ... VMSizeTypesStandardDS14V2Promo VMSizeTypes = "Standard_DS14_v2_Promo" // VMSizeTypesStandardDS15V2 ... VMSizeTypesStandardDS15V2 VMSizeTypes = "Standard_DS15_v2" // VMSizeTypesStandardDS1V2 ... VMSizeTypesStandardDS1V2 VMSizeTypes = "Standard_DS1_v2" // VMSizeTypesStandardDS2 ... VMSizeTypesStandardDS2 VMSizeTypes = "Standard_DS2" // VMSizeTypesStandardDS2V2 ... VMSizeTypesStandardDS2V2 VMSizeTypes = "Standard_DS2_v2" // VMSizeTypesStandardDS2V2Promo ... VMSizeTypesStandardDS2V2Promo VMSizeTypes = "Standard_DS2_v2_Promo" // VMSizeTypesStandardDS3 ... VMSizeTypesStandardDS3 VMSizeTypes = "Standard_DS3" // VMSizeTypesStandardDS3V2 ... VMSizeTypesStandardDS3V2 VMSizeTypes = "Standard_DS3_v2" // VMSizeTypesStandardDS3V2Promo ... VMSizeTypesStandardDS3V2Promo VMSizeTypes = "Standard_DS3_v2_Promo" // VMSizeTypesStandardDS4 ... VMSizeTypesStandardDS4 VMSizeTypes = "Standard_DS4" // VMSizeTypesStandardDS4V2 ... VMSizeTypesStandardDS4V2 VMSizeTypes = "Standard_DS4_v2" // VMSizeTypesStandardDS4V2Promo ... VMSizeTypesStandardDS4V2Promo VMSizeTypes = "Standard_DS4_v2_Promo" // VMSizeTypesStandardDS5V2 ... VMSizeTypesStandardDS5V2 VMSizeTypes = "Standard_DS5_v2" // VMSizeTypesStandardDS5V2Promo ... VMSizeTypesStandardDS5V2Promo VMSizeTypes = "Standard_DS5_v2_Promo" // VMSizeTypesStandardE16sV3 ... VMSizeTypesStandardE16sV3 VMSizeTypes = "Standard_E16s_v3" // VMSizeTypesStandardE16V3 ... VMSizeTypesStandardE16V3 VMSizeTypes = "Standard_E16_v3" // VMSizeTypesStandardE2sV3 ... VMSizeTypesStandardE2sV3 VMSizeTypes = "Standard_E2s_v3" // VMSizeTypesStandardE2V3 ... VMSizeTypesStandardE2V3 VMSizeTypes = "Standard_E2_v3" // VMSizeTypesStandardE3216sV3 ... VMSizeTypesStandardE3216sV3 VMSizeTypes = "Standard_E32-16s_v3" // VMSizeTypesStandardE328sV3 ... VMSizeTypesStandardE328sV3 VMSizeTypes = "Standard_E32-8s_v3" // VMSizeTypesStandardE32sV3 ... VMSizeTypesStandardE32sV3 VMSizeTypes = "Standard_E32s_v3" // VMSizeTypesStandardE32V3 ... VMSizeTypesStandardE32V3 VMSizeTypes = "Standard_E32_v3" // VMSizeTypesStandardE4sV3 ... VMSizeTypesStandardE4sV3 VMSizeTypes = "Standard_E4s_v3" // VMSizeTypesStandardE4V3 ... VMSizeTypesStandardE4V3 VMSizeTypes = "Standard_E4_v3" // VMSizeTypesStandardE6416sV3 ... VMSizeTypesStandardE6416sV3 VMSizeTypes = "Standard_E64-16s_v3" // VMSizeTypesStandardE6432sV3 ... VMSizeTypesStandardE6432sV3 VMSizeTypes = "Standard_E64-32s_v3" // VMSizeTypesStandardE64sV3 ... VMSizeTypesStandardE64sV3 VMSizeTypes = "Standard_E64s_v3" // VMSizeTypesStandardE64V3 ... VMSizeTypesStandardE64V3 VMSizeTypes = "Standard_E64_v3" // VMSizeTypesStandardE8sV3 ... VMSizeTypesStandardE8sV3 VMSizeTypes = "Standard_E8s_v3" // VMSizeTypesStandardE8V3 ... VMSizeTypesStandardE8V3 VMSizeTypes = "Standard_E8_v3" // VMSizeTypesStandardF1 ... VMSizeTypesStandardF1 VMSizeTypes = "Standard_F1" // VMSizeTypesStandardF16 ... VMSizeTypesStandardF16 VMSizeTypes = "Standard_F16" // VMSizeTypesStandardF16s ... VMSizeTypesStandardF16s VMSizeTypes = "Standard_F16s" // VMSizeTypesStandardF16sV2 ... VMSizeTypesStandardF16sV2 VMSizeTypes = "Standard_F16s_v2" // VMSizeTypesStandardF1s ... VMSizeTypesStandardF1s VMSizeTypes = "Standard_F1s" // VMSizeTypesStandardF2 ... VMSizeTypesStandardF2 VMSizeTypes = "Standard_F2" // VMSizeTypesStandardF2s ... VMSizeTypesStandardF2s VMSizeTypes = "Standard_F2s" // VMSizeTypesStandardF2sV2 ... VMSizeTypesStandardF2sV2 VMSizeTypes = "Standard_F2s_v2" // VMSizeTypesStandardF32sV2 ... VMSizeTypesStandardF32sV2 VMSizeTypes = "Standard_F32s_v2" // VMSizeTypesStandardF4 ... VMSizeTypesStandardF4 VMSizeTypes = "Standard_F4" // VMSizeTypesStandardF4s ... VMSizeTypesStandardF4s VMSizeTypes = "Standard_F4s" // VMSizeTypesStandardF4sV2 ... VMSizeTypesStandardF4sV2 VMSizeTypes = "Standard_F4s_v2" // VMSizeTypesStandardF64sV2 ... VMSizeTypesStandardF64sV2 VMSizeTypes = "Standard_F64s_v2" // VMSizeTypesStandardF72sV2 ... VMSizeTypesStandardF72sV2 VMSizeTypes = "Standard_F72s_v2" // VMSizeTypesStandardF8 ... VMSizeTypesStandardF8 VMSizeTypes = "Standard_F8" // VMSizeTypesStandardF8s ... VMSizeTypesStandardF8s VMSizeTypes = "Standard_F8s" // VMSizeTypesStandardF8sV2 ... VMSizeTypesStandardF8sV2 VMSizeTypes = "Standard_F8s_v2" // VMSizeTypesStandardG1 ... VMSizeTypesStandardG1 VMSizeTypes = "Standard_G1" // VMSizeTypesStandardG2 ... VMSizeTypesStandardG2 VMSizeTypes = "Standard_G2" // VMSizeTypesStandardG3 ... VMSizeTypesStandardG3 VMSizeTypes = "Standard_G3" // VMSizeTypesStandardG4 ... VMSizeTypesStandardG4 VMSizeTypes = "Standard_G4" // VMSizeTypesStandardG5 ... VMSizeTypesStandardG5 VMSizeTypes = "Standard_G5" // VMSizeTypesStandardGS1 ... VMSizeTypesStandardGS1 VMSizeTypes = "Standard_GS1" // VMSizeTypesStandardGS2 ... VMSizeTypesStandardGS2 VMSizeTypes = "Standard_GS2" // VMSizeTypesStandardGS3 ... VMSizeTypesStandardGS3 VMSizeTypes = "Standard_GS3" // VMSizeTypesStandardGS4 ... VMSizeTypesStandardGS4 VMSizeTypes = "Standard_GS4" // VMSizeTypesStandardGS44 ... VMSizeTypesStandardGS44 VMSizeTypes = "Standard_GS4-4" // VMSizeTypesStandardGS48 ... VMSizeTypesStandardGS48 VMSizeTypes = "Standard_GS4-8" // VMSizeTypesStandardGS5 ... VMSizeTypesStandardGS5 VMSizeTypes = "Standard_GS5" // VMSizeTypesStandardGS516 ... VMSizeTypesStandardGS516 VMSizeTypes = "Standard_GS5-16" // VMSizeTypesStandardGS58 ... VMSizeTypesStandardGS58 VMSizeTypes = "Standard_GS5-8" // VMSizeTypesStandardH16 ... VMSizeTypesStandardH16 VMSizeTypes = "Standard_H16" // VMSizeTypesStandardH16m ... VMSizeTypesStandardH16m VMSizeTypes = "Standard_H16m" // VMSizeTypesStandardH16mr ... VMSizeTypesStandardH16mr VMSizeTypes = "Standard_H16mr" // VMSizeTypesStandardH16r ... VMSizeTypesStandardH16r VMSizeTypes = "Standard_H16r" // VMSizeTypesStandardH8 ... VMSizeTypesStandardH8 VMSizeTypes = "Standard_H8" // VMSizeTypesStandardH8m ... VMSizeTypesStandardH8m VMSizeTypes = "Standard_H8m" // VMSizeTypesStandardL16s ... VMSizeTypesStandardL16s VMSizeTypes = "Standard_L16s" // VMSizeTypesStandardL32s ... VMSizeTypesStandardL32s VMSizeTypes = "Standard_L32s" // VMSizeTypesStandardL4s ... VMSizeTypesStandardL4s VMSizeTypes = "Standard_L4s" // VMSizeTypesStandardL8s ... VMSizeTypesStandardL8s VMSizeTypes = "Standard_L8s" // VMSizeTypesStandardM12832ms ... VMSizeTypesStandardM12832ms VMSizeTypes = "Standard_M128-32ms" // VMSizeTypesStandardM12864ms ... VMSizeTypesStandardM12864ms VMSizeTypes = "Standard_M128-64ms" // VMSizeTypesStandardM128ms ... VMSizeTypesStandardM128ms VMSizeTypes = "Standard_M128ms" // VMSizeTypesStandardM128s ... VMSizeTypesStandardM128s VMSizeTypes = "Standard_M128s" // VMSizeTypesStandardM6416ms ... VMSizeTypesStandardM6416ms VMSizeTypes = "Standard_M64-16ms" // VMSizeTypesStandardM6432ms ... VMSizeTypesStandardM6432ms VMSizeTypes = "Standard_M64-32ms" // VMSizeTypesStandardM64ms ... VMSizeTypesStandardM64ms VMSizeTypes = "Standard_M64ms" // VMSizeTypesStandardM64s ... VMSizeTypesStandardM64s VMSizeTypes = "Standard_M64s" // VMSizeTypesStandardNC12 ... VMSizeTypesStandardNC12 VMSizeTypes = "Standard_NC12" // VMSizeTypesStandardNC12sV2 ... VMSizeTypesStandardNC12sV2 VMSizeTypes = "Standard_NC12s_v2" // VMSizeTypesStandardNC12sV3 ... VMSizeTypesStandardNC12sV3 VMSizeTypes = "Standard_NC12s_v3" // VMSizeTypesStandardNC24 ... VMSizeTypesStandardNC24 VMSizeTypes = "Standard_NC24" // VMSizeTypesStandardNC24r ... VMSizeTypesStandardNC24r VMSizeTypes = "Standard_NC24r" // VMSizeTypesStandardNC24rsV2 ... VMSizeTypesStandardNC24rsV2 VMSizeTypes = "Standard_NC24rs_v2" // VMSizeTypesStandardNC24rsV3 ... VMSizeTypesStandardNC24rsV3 VMSizeTypes = "Standard_NC24rs_v3" // VMSizeTypesStandardNC24sV2 ... VMSizeTypesStandardNC24sV2 VMSizeTypes = "Standard_NC24s_v2" // VMSizeTypesStandardNC24sV3 ... VMSizeTypesStandardNC24sV3 VMSizeTypes = "Standard_NC24s_v3" // VMSizeTypesStandardNC6 ... VMSizeTypesStandardNC6 VMSizeTypes = "Standard_NC6" // VMSizeTypesStandardNC6sV2 ... VMSizeTypesStandardNC6sV2 VMSizeTypes = "Standard_NC6s_v2" // VMSizeTypesStandardNC6sV3 ... VMSizeTypesStandardNC6sV3 VMSizeTypes = "Standard_NC6s_v3" // VMSizeTypesStandardND12s ... VMSizeTypesStandardND12s VMSizeTypes = "Standard_ND12s" // VMSizeTypesStandardND24rs ... VMSizeTypesStandardND24rs VMSizeTypes = "Standard_ND24rs" // VMSizeTypesStandardND24s ... VMSizeTypesStandardND24s VMSizeTypes = "Standard_ND24s" // VMSizeTypesStandardND6s ... VMSizeTypesStandardND6s VMSizeTypes = "Standard_ND6s" // VMSizeTypesStandardNV12 ... VMSizeTypesStandardNV12 VMSizeTypes = "Standard_NV12" // VMSizeTypesStandardNV24 ... VMSizeTypesStandardNV24 VMSizeTypes = "Standard_NV24" // VMSizeTypesStandardNV6 ... VMSizeTypesStandardNV6 VMSizeTypes = "Standard_NV6" )
func PossibleVMSizeTypesValues ¶
func PossibleVMSizeTypesValues() []VMSizeTypes
PossibleVMSizeTypesValues returns an array of possible values for the VMSizeTypes const type.
type WeekDay ¶
type WeekDay string
WeekDay enumerates the values for week day.
const ( // WeekDayFriday ... WeekDayFriday WeekDay = "Friday" // WeekDayMonday ... WeekDayMonday WeekDay = "Monday" // WeekDaySaturday ... WeekDaySaturday WeekDay = "Saturday" // WeekDaySunday ... WeekDaySunday WeekDay = "Sunday" // WeekDayThursday ... WeekDayThursday WeekDay = "Thursday" // WeekDayTuesday ... WeekDayTuesday WeekDay = "Tuesday" // WeekDayWednesday ... WeekDayWednesday WeekDay = "Wednesday" )
func PossibleWeekDayValues ¶
func PossibleWeekDayValues() []WeekDay
PossibleWeekDayValues returns an array of possible values for the WeekDay const type.
type WindowsGmsaProfile ¶
type WindowsGmsaProfile struct { // Enabled - Specifies whether to enable Windows gMSA in the managed cluster. Enabled *bool `json:"enabled,omitempty"` // DNSServer - Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. DNSServer *string `json:"dnsServer,omitempty"` // RootDomainName - Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. RootDomainName *string `json:"rootDomainName,omitempty"` }
WindowsGmsaProfile windows gMSA Profile in the managed cluster.
type WorkloadRuntime ¶
type WorkloadRuntime string
WorkloadRuntime enumerates the values for workload runtime.
const ( // WorkloadRuntimeOCIContainer Nodes will use Kubelet to run standard OCI container workloads. WorkloadRuntimeOCIContainer WorkloadRuntime = "OCIContainer" // WorkloadRuntimeWasmWasi Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). WorkloadRuntimeWasmWasi WorkloadRuntime = "WasmWasi" )
func PossibleWorkloadRuntimeValues ¶
func PossibleWorkloadRuntimeValues() []WorkloadRuntime
PossibleWorkloadRuntimeValues returns an array of possible values for the WorkloadRuntime const type.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Deprecated: Please note, this package has been deprecated.
|
Deprecated: Please note, this package has been deprecated. |