Documentation ¶
Overview ¶
Package containerservice implements the Azure ARM Containerservice service API version .
The Container Service Client.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessProfile
- type AgentPoolProfile
- type BaseClient
- type BasicOpenShiftManagedClusterBaseIdentityProvider
- type CloudError
- type CloudErrorBody
- type ContainerService
- type ContainerServicesClient
- func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, ...) (result ContainerServicesCreateOrUpdateFutureType, err error)
- func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, containerServiceName string, ...) (*http.Request, error)
- func (client ContainerServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerService, err error)
- func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error)
- func (client ContainerServicesClient) Delete(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerServicesDeleteFutureType, err error)
- func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error)
- func (client ContainerServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error)
- func (client ContainerServicesClient) Get(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerService, err error)
- func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error)
- func (client ContainerServicesClient) GetResponder(resp *http.Response) (result ContainerService, err error)
- func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ContainerServicesClient) List(ctx context.Context) (result ListResultPage, err error)
- func (client ContainerServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
- func (client ContainerServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
- func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ContainerServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
- func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ContainerServicesClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)
- func (client ContainerServicesClient) ListOrchestrators(ctx context.Context, location string, resourceType string) (result OrchestratorVersionProfileListResult, err error)
- func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Context, location string, resourceType string) (*http.Request, error)
- func (client ContainerServicesClient) ListOrchestratorsResponder(resp *http.Response) (result OrchestratorVersionProfileListResult, err error)
- func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error)
- func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ContainerServicesClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error)
- type ContainerServicesCreateOrUpdateFutureType
- type ContainerServicesDeleteFutureType
- type CredentialResult
- type CredentialResults
- type CustomProfile
- type DiagnosticsProfile
- type KeyVaultSecretRef
- type Kind
- type LinuxProfile
- type ListResult
- type ListResultIterator
- type ListResultPage
- type ManagedCluster
- type ManagedClusterAADProfile
- type ManagedClusterAccessProfile
- type ManagedClusterAddonProfile
- type ManagedClusterAgentPoolProfile
- type ManagedClusterListResult
- type ManagedClusterListResultIterator
- type ManagedClusterListResultPage
- type ManagedClusterPoolUpgradeProfile
- type ManagedClusterProperties
- type ManagedClusterServicePrincipalProfile
- type ManagedClusterUpgradeProfile
- type ManagedClusterUpgradeProfileProperties
- 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) 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) 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) 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) 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 ManagedClustersUpdateTagsFuture
- type MasterProfile
- type NetworkPlugin
- type NetworkPolicy
- type NetworkProfile
- type NetworkProfileType
- type OSType
- type OpenShiftAgentPoolProfileRole
- type OpenShiftContainerServiceVMSize
- type OpenShiftManagedCluster
- type OpenShiftManagedClusterAADIdentityProvider
- func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider() (BasicOpenShiftManagedClusterBaseIdentityProvider, bool)
- func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider() (*OpenShiftManagedClusterAADIdentityProvider, bool)
- func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider() (*OpenShiftManagedClusterBaseIdentityProvider, bool)
- func (osmcaip OpenShiftManagedClusterAADIdentityProvider) MarshalJSON() ([]byte, error)
- type OpenShiftManagedClusterAgentPoolProfile
- type OpenShiftManagedClusterAuthProfile
- type OpenShiftManagedClusterBaseIdentityProvider
- func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider() (BasicOpenShiftManagedClusterBaseIdentityProvider, bool)
- func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider() (*OpenShiftManagedClusterAADIdentityProvider, bool)
- func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider() (*OpenShiftManagedClusterBaseIdentityProvider, bool)
- func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) MarshalJSON() ([]byte, error)
- type OpenShiftManagedClusterIdentityProvider
- type OpenShiftManagedClusterMasterPoolProfile
- type OpenShiftManagedClusterProperties
- type OpenShiftManagedClustersClient
- func (client OpenShiftManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result OpenShiftManagedClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersDeleteFuture, err error)
- func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error)
- func (client OpenShiftManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) GetResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, ...) (result OpenShiftManagedClustersUpdateTagsFuture, err error)
- func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
- func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error)
- type OpenShiftManagedClustersCreateOrUpdateFuture
- type OpenShiftManagedClustersDeleteFuture
- type OpenShiftManagedClustersUpdateTagsFuture
- type OpenShiftRouterProfile
- 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 OrchestratorProfile
- type OrchestratorProfileType
- type OrchestratorTypes
- type OrchestratorVersionProfile
- type OrchestratorVersionProfileListResult
- type OrchestratorVersionProfileProperties
- type Properties
- type PurchasePlan
- type Resource
- type SSHConfiguration
- type SSHPublicKey
- type ServicePrincipalProfile
- type StorageProfileTypes
- type TagsObject
- type VMDiagnostics
- type VMSizeTypes
- type WindowsProfile
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 AgentPoolProfile ¶
type AgentPoolProfile struct { // Name - Unique name of the agent pool profile in the context of the subscription and resource group. Name *string `json:"name,omitempty"` // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. Count *int32 `json:"count,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"` // DNSPrefix - DNS prefix to be used to create the FQDN for the agent pool. DNSPrefix *string `json:"dnsPrefix,omitempty"` // Fqdn - FDQN for the agent pool. Fqdn *string `json:"fqdn,omitempty"` // Ports - Ports number array used to expose on this agent pool. The default opened ports are different based on your choice of orchestrator. Ports *[]int32 `json:"ports,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: 'StorageAccount', 'ManagedDisks' StorageProfile StorageProfileTypes `json:"storageProfile,omitempty"` // VnetSubnetID - VNet SubnetID specifies the vnet's subnet identifier. VnetSubnetID *string `json:"vnetSubnetID,omitempty"` // OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' OsType OSType `json:"osType,omitempty"` }
AgentPoolProfile profile for the container service agent pool.
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.
type BasicOpenShiftManagedClusterBaseIdentityProvider ¶
type BasicOpenShiftManagedClusterBaseIdentityProvider interface { AsOpenShiftManagedClusterAADIdentityProvider() (*OpenShiftManagedClusterAADIdentityProvider, bool) AsOpenShiftManagedClusterBaseIdentityProvider() (*OpenShiftManagedClusterBaseIdentityProvider, bool) }
BasicOpenShiftManagedClusterBaseIdentityProvider structure for any Identity provider.
type CloudError ¶
type CloudError struct {
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 ContainerService ¶
type ContainerService struct { autorest.Response `json:"-"` // Properties - Properties of the container service. *Properties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ContainerService container service.
func (ContainerService) MarshalJSON ¶
func (cs ContainerService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerService.
func (*ContainerService) UnmarshalJSON ¶
func (cs *ContainerService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ContainerService struct.
type ContainerServicesClient ¶
type ContainerServicesClient struct {
BaseClient
}
ContainerServicesClient is the the Container Service Client.
func NewContainerServicesClient ¶
func NewContainerServicesClient(subscriptionID string) ContainerServicesClient
NewContainerServicesClient creates an instance of the ContainerServicesClient client.
func NewContainerServicesClientWithBaseURI ¶
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient
NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client.
func (ContainerServicesClient) CreateOrUpdate ¶
func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, parameters ContainerService) (result ContainerServicesCreateOrUpdateFutureType, err error)
CreateOrUpdate creates or updates a container service with the specified configuration of orchestrator, masters, and agents. Parameters: resourceGroupName - the name of the resource group. containerServiceName - the name of the container service in the specified subscription and resource group. parameters - parameters supplied to the Create or Update a Container Service operation.
func (ContainerServicesClient) CreateOrUpdatePreparer ¶
func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, containerServiceName string, parameters ContainerService) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ContainerServicesClient) CreateOrUpdateResponder ¶
func (client ContainerServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerService, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ContainerServicesClient) CreateOrUpdateSender ¶
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ContainerServicesClient) Delete ¶
func (client ContainerServicesClient) Delete(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerServicesDeleteFutureType, err error)
Delete deletes the specified container service in the specified subscription and resource group. The operation does not delete other resources created as part of creating a container service, including storage accounts, VMs, and availability sets. All the other resources created with the container service are part of the same resource group and can be deleted individually. Parameters: resourceGroupName - the name of the resource group. containerServiceName - the name of the container service in the specified subscription and resource group.
func (ContainerServicesClient) DeletePreparer ¶
func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ContainerServicesClient) DeleteResponder ¶
func (client ContainerServicesClient) 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 (ContainerServicesClient) DeleteSender ¶
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ContainerServicesClient) Get ¶
func (client ContainerServicesClient) Get(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerService, err error)
Get gets the properties of the specified container service in the specified subscription and resource group. The operation returns the properties including state, orchestrator, number of masters and agents, and FQDNs of masters and agents. Parameters: resourceGroupName - the name of the resource group. containerServiceName - the name of the container service in the specified subscription and resource group.
func (ContainerServicesClient) GetPreparer ¶
func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ContainerServicesClient) GetResponder ¶
func (client ContainerServicesClient) GetResponder(resp *http.Response) (result ContainerService, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ContainerServicesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ContainerServicesClient) List ¶
func (client ContainerServicesClient) List(ctx context.Context) (result ListResultPage, err error)
List gets a list of container services in the specified subscription. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.
func (ContainerServicesClient) ListByResourceGroup ¶
func (client ContainerServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
ListByResourceGroup gets a list of container services in the specified subscription and resource group. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents. Parameters: resourceGroupName - the name of the resource group.
func (ContainerServicesClient) ListByResourceGroupComplete ¶
func (client ContainerServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ContainerServicesClient) ListByResourceGroupPreparer ¶
func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ContainerServicesClient) ListByResourceGroupResponder ¶
func (client ContainerServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ContainerServicesClient) ListByResourceGroupSender ¶
func (client ContainerServicesClient) 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 (ContainerServicesClient) ListComplete ¶
func (client ContainerServicesClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ContainerServicesClient) ListOrchestrators ¶
func (client ContainerServicesClient) ListOrchestrators(ctx context.Context, location string, resourceType string) (result OrchestratorVersionProfileListResult, err error)
ListOrchestrators gets a list of supported orchestrators in the specified subscription. The operation returns properties of each orchestrator including verison and available upgrades. Parameters: location - the name of a supported Azure region. resourceType - resource type for which the list of orchestrators needs to be returned
func (ContainerServicesClient) ListOrchestratorsPreparer ¶
func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Context, location string, resourceType string) (*http.Request, error)
ListOrchestratorsPreparer prepares the ListOrchestrators request.
func (ContainerServicesClient) ListOrchestratorsResponder ¶
func (client ContainerServicesClient) ListOrchestratorsResponder(resp *http.Response) (result OrchestratorVersionProfileListResult, err error)
ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always closes the http.Response Body.
func (ContainerServicesClient) ListOrchestratorsSender ¶
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error)
ListOrchestratorsSender sends the ListOrchestrators request. The method will close the http.Response Body if it receives an error.
func (ContainerServicesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ContainerServicesClient) ListResponder ¶
func (client ContainerServicesClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ContainerServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ContainerServicesCreateOrUpdateFutureType ¶
ContainerServicesCreateOrUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ContainerServicesCreateOrUpdateFutureType) Result ¶
func (future *ContainerServicesCreateOrUpdateFutureType) Result(client ContainerServicesClient) (cs ContainerService, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ContainerServicesDeleteFutureType ¶
ContainerServicesDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ContainerServicesDeleteFutureType) Result ¶
func (future *ContainerServicesDeleteFutureType) Result(client ContainerServicesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type CredentialResult ¶
type CredentialResult struct { // Name - The name of the credential. Name *string `json:"name,omitempty"` // Value - Base64-encoded Kubernetes configuration file. Value *[]byte `json:"value,omitempty"` }
CredentialResult the credential result response.
type CredentialResults ¶
type CredentialResults struct { autorest.Response `json:"-"` Kubeconfigs *[]CredentialResult `json:"kubeconfigs,omitempty"` }
CredentialResults the list of credential result response.
type CustomProfile ¶
type CustomProfile struct { // Orchestrator - The name of the custom orchestrator to use. Orchestrator *string `json:"orchestrator,omitempty"` }
CustomProfile properties to configure a custom container service cluster.
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 KeyVaultSecretRef ¶
type KeyVaultSecretRef struct { // VaultID - Key vault identifier. VaultID *string `json:"vaultID,omitempty"` // SecretName - The secret name. SecretName *string `json:"secretName,omitempty"` // Version - The secret version. Version *string `json:"version,omitempty"` }
KeyVaultSecretRef reference to a secret stored in Azure Key Vault.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type LinuxProfile ¶
type LinuxProfile struct { // AdminUsername - The administrator username to use for Linux VMs. AdminUsername *string `json:"adminUsername,omitempty"` // SSH - 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 ListResult ¶
type ListResult struct { autorest.Response `json:"-"` // Value - The list of container services. Value *[]ContainerService `json:"value,omitempty"` // NextLink - The URL to get the next set of container service results. NextLink *string `json:"nextLink,omitempty"` }
ListResult the response from the List Container Services operation.
func (ListResult) IsEmpty ¶
func (lr ListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ListResultIterator ¶
type ListResultIterator struct {
// contains filtered or unexported fields
}
ListResultIterator provides access to a complete listing of ContainerService values.
func (*ListResultIterator) Next ¶
func (iter *ListResultIterator) 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.
func (ListResultIterator) NotDone ¶
func (iter ListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListResultIterator) Response ¶
func (iter ListResultIterator) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultIterator) Value ¶
func (iter ListResultIterator) Value() ContainerService
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListResultPage ¶
type ListResultPage struct {
// contains filtered or unexported fields
}
ListResultPage contains a page of ContainerService values.
func (*ListResultPage) Next ¶
func (page *ListResultPage) 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.
func (ListResultPage) NotDone ¶
func (page ListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListResultPage) Response ¶
func (page ListResultPage) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultPage) Values ¶
func (page ListResultPage) Values() []ContainerService
Values returns the slice of values for the current page or nil if there are no values.
type ManagedCluster ¶
type ManagedCluster struct { autorest.Response `json:"-"` // ManagedClusterProperties - Properties of a managed cluster. *ManagedClusterProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - 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 { // 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 aADProfile specifies attributes for Azure Active Directory integration.
type ManagedClusterAccessProfile ¶
type ManagedClusterAccessProfile struct { autorest.Response `json:"-"` // AccessProfile - AccessProfile of a managed cluster. *AccessProfile `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - 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"` }
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 ManagedClusterAgentPoolProfile ¶
type ManagedClusterAgentPoolProfile struct { // Name - Unique name of the agent pool profile in the context of the subscription and resource group. Name *string `json:"name,omitempty"` // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. Count *int32 `json:"count,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"` // StorageProfile - Storage profile specifies what kind of storage used. Defaults to ManagedDisks. Possible values include: 'StorageAccount', 'ManagedDisks' StorageProfile StorageProfileTypes `json:"storageProfile,omitempty"` // VnetSubnetID - VNet SubnetID specifies the vnet's subnet identifier. VnetSubnetID *string `json:"vnetSubnetID,omitempty"` // MaxPods - Maximum number of pods that can run on a node. MaxPods *int32 `json:"maxPods,omitempty"` // OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' OsType OSType `json:"osType,omitempty"` }
ManagedClusterAgentPoolProfile profile for the container service agent pool.
type ManagedClusterListResult ¶
type ManagedClusterListResult struct { autorest.Response `json:"-"` // Value - The list of managed clusters. Value *[]ManagedCluster `json:"value,omitempty"` // NextLink - 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.
type ManagedClusterListResultIterator ¶
type ManagedClusterListResultIterator struct {
// contains filtered or unexported fields
}
ManagedClusterListResultIterator provides access to a complete listing of ManagedCluster values.
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.
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 (*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.
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 ManagedClusterPoolUpgradeProfile ¶
type ManagedClusterPoolUpgradeProfile struct { // KubernetesVersion - Kubernetes version (major, minor, patch). KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // Name - Pool name. Name *string `json:"name,omitempty"` // OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' OsType OSType `json:"osType,omitempty"` // Upgrades - List of orchestrator types and versions available for upgrade. Upgrades *[]string `json:"upgrades,omitempty"` }
ManagedClusterPoolUpgradeProfile the list of available upgrade versions.
type ManagedClusterProperties ¶
type ManagedClusterProperties struct { // ProvisioningState - The current deployment or provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // KubernetesVersion - Version of Kubernetes specified when creating the managed cluster. KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // DNSPrefix - DNS prefix specified when creating the managed cluster. DNSPrefix *string `json:"dnsPrefix,omitempty"` // Fqdn - FDQN for the master pool. Fqdn *string `json:"fqdn,omitempty"` // AgentPoolProfiles - Properties of the agent pool. Currently only one agent pool can exist. AgentPoolProfiles *[]ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"` // LinuxProfile - Profile for Linux VMs in the container service cluster. LinuxProfile *LinuxProfile `json:"linuxProfile,omitempty"` // ServicePrincipalProfile - Information about a service principal identity for the cluster to use for manipulating Azure APIs. ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` // AddonProfiles - Profile of managed cluster add-on. AddonProfiles map[string]*ManagedClusterAddonProfile `json:"addonProfiles"` // NodeResourceGroup - 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"` // NetworkProfile - Profile of network configuration. NetworkProfile *NetworkProfileType `json:"networkProfile,omitempty"` // AadProfile - Profile of Azure Active Directory configuration. AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` }
ManagedClusterProperties properties of the managed cluster.
func (ManagedClusterProperties) MarshalJSON ¶
func (mcp ManagedClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedClusterProperties.
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 - Id of upgrade profile. ID *string `json:"id,omitempty"` // Name - Name of upgrade profile. Name *string `json:"name,omitempty"` // Type - Type of upgrade profile. Type *string `json:"type,omitempty"` // ManagedClusterUpgradeProfileProperties - Properties of 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 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.
func (ManagedClustersClient) CreateOrUpdate ¶
func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedCluster) (result ManagedClustersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a managed cluster with the specified configuration for agents and Kubernetes version. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource. parameters - parameters supplied to the Create or Update a Managed Cluster operation.
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 deletes the managed cluster with a specified resource group and name. 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 gets the details of the managed cluster with a specified resource group and name. 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 gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. 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) 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 gets the details of the upgrade profile for a managed cluster with a specified resource group and name. 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 gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.
func (ManagedClustersClient) ListByResourceGroup ¶
func (client ManagedClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultPage, err error)
ListByResourceGroup lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster. 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) (result CredentialResults, err error)
ListClusterAdminCredentials gets clusteradmin credential of the managed cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) ListClusterAdminCredentialsPreparer ¶
func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName 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) ListClusterUserCredentials ¶
func (client ManagedClustersClient) ListClusterUserCredentials(ctx context.Context, resourceGroupName string, resourceName string) (result CredentialResults, err error)
ListClusterUserCredentials gets clusteruser credential of the managed cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the managed cluster resource.
func (ManagedClustersClient) ListClusterUserCredentialsPreparer ¶
func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName 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) 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) UpdateTags ¶
func (client ManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (result ManagedClustersUpdateTagsFuture, err error)
UpdateTags updates a managed cluster with the specified tags. 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 ¶
ManagedClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersCreateOrUpdateFuture) Result ¶
func (future *ManagedClustersCreateOrUpdateFuture) Result(client ManagedClustersClient) (mc ManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ManagedClustersDeleteFuture ¶
ManagedClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersDeleteFuture) Result ¶
func (future *ManagedClustersDeleteFuture) Result(client ManagedClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ManagedClustersUpdateTagsFuture ¶
ManagedClustersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ManagedClustersUpdateTagsFuture) Result ¶
func (future *ManagedClustersUpdateTagsFuture) Result(client ManagedClustersClient) (mc ManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
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: 'StorageAccount', 'ManagedDisks' StorageProfile StorageProfileTypes `json:"storageProfile,omitempty"` // Fqdn - FDQN for the master pool. Fqdn *string `json:"fqdn,omitempty"` }
MasterProfile profile for the container service master.
type NetworkPlugin ¶
type NetworkPlugin string
NetworkPlugin enumerates the values for network plugin.
const ( // Azure ... Azure NetworkPlugin = "azure" // Kubenet ... Kubenet 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 ( // Calico ... Calico NetworkPolicy = "calico" )
func PossibleNetworkPolicyValues ¶
func PossibleNetworkPolicyValues() []NetworkPolicy
PossibleNetworkPolicyValues returns an array of possible values for the NetworkPolicy const type.
type NetworkProfile ¶
type NetworkProfile struct { // VnetCidr - CIDR for the OpenShift Vnet. VnetCidr *string `json:"vnetCidr,omitempty"` // PeerVnetID - CIDR of the Vnet to peer. PeerVnetID *string `json:"peerVnetId,omitempty"` }
NetworkProfile represents the OpenShift networking configuration
type NetworkProfileType ¶
type NetworkProfileType struct { // NetworkPlugin - Network plugin used for building Kubernetes network. Possible values include: 'Azure', 'Kubenet' NetworkPlugin NetworkPlugin `json:"networkPlugin,omitempty"` // NetworkPolicy - Network policy used for building Kubernetes network. Possible values include: 'Calico' NetworkPolicy NetworkPolicy `json:"networkPolicy,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"` }
NetworkProfileType profile of network configuration.
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 OpenShiftAgentPoolProfileRole ¶
type OpenShiftAgentPoolProfileRole string
OpenShiftAgentPoolProfileRole enumerates the values for open shift agent pool profile role.
const ( // Compute ... Compute OpenShiftAgentPoolProfileRole = "compute" // Infra ... Infra OpenShiftAgentPoolProfileRole = "infra" )
func PossibleOpenShiftAgentPoolProfileRoleValues ¶
func PossibleOpenShiftAgentPoolProfileRoleValues() []OpenShiftAgentPoolProfileRole
PossibleOpenShiftAgentPoolProfileRoleValues returns an array of possible values for the OpenShiftAgentPoolProfileRole const type.
type OpenShiftContainerServiceVMSize ¶
type OpenShiftContainerServiceVMSize string
OpenShiftContainerServiceVMSize enumerates the values for open shift container service vm size.
const ( // StandardD2sV3 ... StandardD2sV3 OpenShiftContainerServiceVMSize = "Standard_D2s_v3" // StandardD4sV3 ... StandardD4sV3 OpenShiftContainerServiceVMSize = "Standard_D4s_v3" )
func PossibleOpenShiftContainerServiceVMSizeValues ¶
func PossibleOpenShiftContainerServiceVMSizeValues() []OpenShiftContainerServiceVMSize
PossibleOpenShiftContainerServiceVMSizeValues returns an array of possible values for the OpenShiftContainerServiceVMSize const type.
type OpenShiftManagedCluster ¶
type OpenShiftManagedCluster struct { autorest.Response `json:"-"` // Plan - Define the resource plan as required by ARM for billing purposes Plan *PurchasePlan `json:"plan,omitempty"` // OpenShiftManagedClusterProperties - Properties of a openshift managed cluster. *OpenShiftManagedClusterProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
OpenShiftManagedCluster openShift Managed cluster.
func (OpenShiftManagedCluster) MarshalJSON ¶
func (osmc OpenShiftManagedCluster) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftManagedCluster.
func (*OpenShiftManagedCluster) UnmarshalJSON ¶
func (osmc *OpenShiftManagedCluster) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OpenShiftManagedCluster struct.
type OpenShiftManagedClusterAADIdentityProvider ¶
type OpenShiftManagedClusterAADIdentityProvider struct { // ClientID - The clientId password associated with the provider. ClientID *string `json:"clientId,omitempty"` // Secret - The secret password associated with the provider. Secret *string `json:"secret,omitempty"` // TenantID - The tenantId associated with the provider. TenantID *string `json:"tenantId,omitempty"` // Kind - Possible values include: 'KindOpenShiftManagedClusterBaseIdentityProvider', 'KindAADIdentityProvider' Kind Kind `json:"kind,omitempty"` }
OpenShiftManagedClusterAADIdentityProvider defines the Identity provider for MS AAD.
func (OpenShiftManagedClusterAADIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider ¶
func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider() (BasicOpenShiftManagedClusterBaseIdentityProvider, bool)
AsBasicOpenShiftManagedClusterBaseIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterAADIdentityProvider.
func (OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider ¶
func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider() (*OpenShiftManagedClusterAADIdentityProvider, bool)
AsOpenShiftManagedClusterAADIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterAADIdentityProvider.
func (OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider ¶
func (osmcaip OpenShiftManagedClusterAADIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider() (*OpenShiftManagedClusterBaseIdentityProvider, bool)
AsOpenShiftManagedClusterBaseIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterAADIdentityProvider.
func (OpenShiftManagedClusterAADIdentityProvider) MarshalJSON ¶
func (osmcaip OpenShiftManagedClusterAADIdentityProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftManagedClusterAADIdentityProvider.
type OpenShiftManagedClusterAgentPoolProfile ¶
type OpenShiftManagedClusterAgentPoolProfile struct { // Name - Unique name of the pool profile in the context of the subscription and resource group. Name *string `json:"name,omitempty"` // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 5 (inclusive). The default value is 2. Count *int32 `json:"count,omitempty"` // VMSize - Size of agent VMs. Possible values include: 'StandardD2sV3', 'StandardD4sV3' VMSize OpenShiftContainerServiceVMSize `json:"vmSize,omitempty"` // SubnetCidr - Subnet CIDR for the peering. SubnetCidr *string `json:"subnetCidr,omitempty"` // OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' OsType OSType `json:"osType,omitempty"` // Role - Define the role of the AgentPoolProfile. Possible values include: 'Compute', 'Infra' Role OpenShiftAgentPoolProfileRole `json:"role,omitempty"` }
OpenShiftManagedClusterAgentPoolProfile defines the configuration of the OpenShift cluster VMs.
type OpenShiftManagedClusterAuthProfile ¶
type OpenShiftManagedClusterAuthProfile struct { // IdentityProviders - Type of authentication profile to use. IdentityProviders *[]OpenShiftManagedClusterIdentityProvider `json:"identityProviders,omitempty"` }
OpenShiftManagedClusterAuthProfile defines all possible authentication profiles for the OpenShift cluster.
type OpenShiftManagedClusterBaseIdentityProvider ¶
type OpenShiftManagedClusterBaseIdentityProvider struct { // Kind - Possible values include: 'KindOpenShiftManagedClusterBaseIdentityProvider', 'KindAADIdentityProvider' Kind Kind `json:"kind,omitempty"` }
OpenShiftManagedClusterBaseIdentityProvider structure for any Identity provider.
func (OpenShiftManagedClusterBaseIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider ¶
func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsBasicOpenShiftManagedClusterBaseIdentityProvider() (BasicOpenShiftManagedClusterBaseIdentityProvider, bool)
AsBasicOpenShiftManagedClusterBaseIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterBaseIdentityProvider.
func (OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider ¶
func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterAADIdentityProvider() (*OpenShiftManagedClusterAADIdentityProvider, bool)
AsOpenShiftManagedClusterAADIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterBaseIdentityProvider.
func (OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider ¶
func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) AsOpenShiftManagedClusterBaseIdentityProvider() (*OpenShiftManagedClusterBaseIdentityProvider, bool)
AsOpenShiftManagedClusterBaseIdentityProvider is the BasicOpenShiftManagedClusterBaseIdentityProvider implementation for OpenShiftManagedClusterBaseIdentityProvider.
func (OpenShiftManagedClusterBaseIdentityProvider) MarshalJSON ¶
func (osmcbip OpenShiftManagedClusterBaseIdentityProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftManagedClusterBaseIdentityProvider.
type OpenShiftManagedClusterIdentityProvider ¶
type OpenShiftManagedClusterIdentityProvider struct { // Name - Name of the provider. Name *string `json:"name,omitempty"` // Provider - Configuration of the provider. Provider BasicOpenShiftManagedClusterBaseIdentityProvider `json:"provider,omitempty"` }
OpenShiftManagedClusterIdentityProvider defines the configuration of the identity providers to be used in the OpenShift cluster.
func (*OpenShiftManagedClusterIdentityProvider) UnmarshalJSON ¶
func (osmcip *OpenShiftManagedClusterIdentityProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OpenShiftManagedClusterIdentityProvider struct.
type OpenShiftManagedClusterMasterPoolProfile ¶
type OpenShiftManagedClusterMasterPoolProfile struct { // Name - Unique name of the master pool profile in the context of the subscription and resource group. Name *string `json:"name,omitempty"` // Count - Number of masters (VMs) to host docker containers. The default value is 3. Count *int32 `json:"count,omitempty"` // VMSize - Size of agent VMs. Possible values include: 'StandardD2sV3', 'StandardD4sV3' VMSize OpenShiftContainerServiceVMSize `json:"vmSize,omitempty"` // SubnetCidr - Subnet CIDR for the peering. SubnetCidr *string `json:"subnetCidr,omitempty"` // OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' OsType OSType `json:"osType,omitempty"` }
OpenShiftManagedClusterMasterPoolProfile openShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.
type OpenShiftManagedClusterProperties ¶
type OpenShiftManagedClusterProperties struct { // ProvisioningState - The current deployment or provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // OpenShiftVersion - Version of OpenShift specified when creating the cluster. OpenShiftVersion *string `json:"openShiftVersion,omitempty"` // PublicHostname - Optional user-specified FQDN for OpenShift API server. PublicHostname *string `json:"publicHostname,omitempty"` // Fqdn - User-specified FQDN for OpenShift API server loadbalancer internal hostname. Fqdn *string `json:"fqdn,omitempty"` // NetworkProfile - Configuration for OpenShift networking. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // RouterProfiles - Configuration for OpenShift router(s). RouterProfiles *[]OpenShiftRouterProfile `json:"routerProfiles,omitempty"` // MasterPoolProfile - Configuration for OpenShift master VMs. MasterPoolProfile *OpenShiftManagedClusterMasterPoolProfile `json:"masterPoolProfile,omitempty"` // AgentPoolProfiles - Configuration of OpenShift cluster VMs. AgentPoolProfiles *[]OpenShiftManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"` // AuthProfile - Configures OpenShift authentication. AuthProfile *OpenShiftManagedClusterAuthProfile `json:"authProfile,omitempty"` }
OpenShiftManagedClusterProperties properties of the openshift managed cluster.
type OpenShiftManagedClustersClient ¶
type OpenShiftManagedClustersClient struct {
BaseClient
}
OpenShiftManagedClustersClient is the the Container Service Client.
func NewOpenShiftManagedClustersClient ¶
func NewOpenShiftManagedClustersClient(subscriptionID string) OpenShiftManagedClustersClient
NewOpenShiftManagedClustersClient creates an instance of the OpenShiftManagedClustersClient client.
func NewOpenShiftManagedClustersClientWithBaseURI ¶
func NewOpenShiftManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) OpenShiftManagedClustersClient
NewOpenShiftManagedClustersClientWithBaseURI creates an instance of the OpenShiftManagedClustersClient client.
func (OpenShiftManagedClustersClient) CreateOrUpdate ¶
func (client OpenShiftManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftManagedCluster) (result OpenShiftManagedClustersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a openshift managed cluster with the specified configuration for agents and OpenShift version. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource. parameters - parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
func (OpenShiftManagedClustersClient) CreateOrUpdatePreparer ¶
func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftManagedCluster) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (OpenShiftManagedClustersClient) CreateOrUpdateResponder ¶
func (client OpenShiftManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (OpenShiftManagedClustersClient) CreateOrUpdateSender ¶
func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (OpenShiftManagedClustersClient) Delete ¶
func (client OpenShiftManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedClustersDeleteFuture, err error)
Delete deletes the openshift managed cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.
func (OpenShiftManagedClustersClient) DeletePreparer ¶
func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (OpenShiftManagedClustersClient) DeleteResponder ¶
func (client OpenShiftManagedClustersClient) 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 (OpenShiftManagedClustersClient) DeleteSender ¶
func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (OpenShiftManagedClustersClient) Get ¶
func (client OpenShiftManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftManagedCluster, err error)
Get gets the details of the managed openshift cluster with a specified resource group and name. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource.
func (OpenShiftManagedClustersClient) GetPreparer ¶
func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (OpenShiftManagedClustersClient) GetResponder ¶
func (client OpenShiftManagedClustersClient) GetResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (OpenShiftManagedClustersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (OpenShiftManagedClustersClient) UpdateTags ¶
func (client OpenShiftManagedClustersClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (result OpenShiftManagedClustersUpdateTagsFuture, err error)
UpdateTags updates an openshift managed cluster with the specified tags. Parameters: resourceGroupName - the name of the resource group. resourceName - the name of the openshift managed cluster resource. parameters - parameters supplied to the Update OpenShift Managed Cluster Tags operation.
func (OpenShiftManagedClustersClient) UpdateTagsPreparer ¶
func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (OpenShiftManagedClustersClient) UpdateTagsResponder ¶
func (client OpenShiftManagedClustersClient) UpdateTagsResponder(resp *http.Response) (result OpenShiftManagedCluster, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (OpenShiftManagedClustersClient) UpdateTagsSender ¶
func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type OpenShiftManagedClustersCreateOrUpdateFuture ¶
OpenShiftManagedClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersCreateOrUpdateFuture) Result ¶
func (future *OpenShiftManagedClustersCreateOrUpdateFuture) Result(client OpenShiftManagedClustersClient) (osmc OpenShiftManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersDeleteFuture ¶
OpenShiftManagedClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersDeleteFuture) Result ¶
func (future *OpenShiftManagedClustersDeleteFuture) Result(client OpenShiftManagedClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftManagedClustersUpdateTagsFuture ¶
OpenShiftManagedClustersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftManagedClustersUpdateTagsFuture) Result ¶
func (future *OpenShiftManagedClustersUpdateTagsFuture) Result(client OpenShiftManagedClustersClient) (osmc OpenShiftManagedCluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type OpenShiftRouterProfile ¶
type OpenShiftRouterProfile struct { // Name - Name of the router profile. Name *string `json:"name,omitempty"` // PublicSubdomain - DNS subdomain for openshift router. PublicSubdomain *string `json:"publicSubdomain,omitempty"` // Fqdn - Auto-allocated FQDN for the OpenShift router. Fqdn *string `json:"fqdn,omitempty"` }
OpenShiftRouterProfile represents an OpenShift router
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - The list of compute operations Value *[]OperationValue `json:"value,omitempty"` }
OperationListResult the List Compute Operation operation response.
type OperationValue ¶
type OperationValue struct { // Origin - The origin of the compute operation. Origin *string `json:"origin,omitempty"` // Name - The name of the compute operation. Name *string `json:"name,omitempty"` // OperationValueDisplay - Describes the properties of a Compute Operation Value Display. *OperationValueDisplay `json:"display,omitempty"` }
OperationValue describes the properties of a Compute 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 - The display name of the compute operation. Operation *string `json:"operation,omitempty"` // Resource - The display name of the resource the operation applies to. Resource *string `json:"resource,omitempty"` // Description - The description of the operation. Description *string `json:"description,omitempty"` // Provider - The resource provider for the operation. Provider *string `json:"provider,omitempty"` }
OperationValueDisplay describes the properties of a Compute Operation Value Display.
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.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List gets a list of compute operations.
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 OrchestratorProfile ¶
type OrchestratorProfile struct { // OrchestratorType - Orchestrator type. OrchestratorType *string `json:"orchestratorType,omitempty"` // OrchestratorVersion - Orchestrator version (major, minor, patch). OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` }
OrchestratorProfile contains information about orchestrator.
type OrchestratorProfileType ¶
type OrchestratorProfileType struct { // OrchestratorType - The orchestrator to use to manage container service cluster resources. Valid values are Kubernetes, Swarm, DCOS, DockerCE and Custom. Possible values include: 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom' OrchestratorType OrchestratorTypes `json:"orchestratorType,omitempty"` // OrchestratorVersion - The version of the orchestrator to use. You can specify the major.minor.patch part of the actual version.For example, you can specify version as "1.6.11". OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` }
OrchestratorProfileType profile for the container service orchestrator.
type OrchestratorTypes ¶
type OrchestratorTypes string
OrchestratorTypes enumerates the values for orchestrator types.
const ( // Custom ... Custom OrchestratorTypes = "Custom" // DCOS ... DCOS OrchestratorTypes = "DCOS" // DockerCE ... DockerCE OrchestratorTypes = "DockerCE" // Kubernetes ... Kubernetes OrchestratorTypes = "Kubernetes" // Swarm ... Swarm OrchestratorTypes = "Swarm" )
func PossibleOrchestratorTypesValues ¶
func PossibleOrchestratorTypesValues() []OrchestratorTypes
PossibleOrchestratorTypesValues returns an array of possible values for the OrchestratorTypes const type.
type OrchestratorVersionProfile ¶
type OrchestratorVersionProfile struct { // OrchestratorType - Orchestrator type. OrchestratorType *string `json:"orchestratorType,omitempty"` // OrchestratorVersion - Orchestrator version (major, minor, patch). OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` // Default - Installed by default if version is not specified. Default *bool `json:"default,omitempty"` // Upgrades - The list of available upgrade versions. Upgrades *[]OrchestratorProfile `json:"upgrades,omitempty"` }
OrchestratorVersionProfile the profile of an orchestrator and its available versions.
type OrchestratorVersionProfileListResult ¶
type OrchestratorVersionProfileListResult struct { autorest.Response `json:"-"` // ID - Id of the orchestrator version profile list result. ID *string `json:"id,omitempty"` // Name - Name of the orchestrator version profile list result. Name *string `json:"name,omitempty"` // Type - Type of the orchestrator version profile list result. Type *string `json:"type,omitempty"` // OrchestratorVersionProfileProperties - The properties of an orchestrator version profile. *OrchestratorVersionProfileProperties `json:"properties,omitempty"` }
OrchestratorVersionProfileListResult the list of versions for supported orchestrators.
func (OrchestratorVersionProfileListResult) MarshalJSON ¶
func (ovplr OrchestratorVersionProfileListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OrchestratorVersionProfileListResult.
func (*OrchestratorVersionProfileListResult) UnmarshalJSON ¶
func (ovplr *OrchestratorVersionProfileListResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OrchestratorVersionProfileListResult struct.
type OrchestratorVersionProfileProperties ¶
type OrchestratorVersionProfileProperties struct { // Orchestrators - List of orchestrator version profiles. Orchestrators *[]OrchestratorVersionProfile `json:"orchestrators,omitempty"` }
OrchestratorVersionProfileProperties the properties of an orchestrator version profile.
type Properties ¶
type Properties struct { // ProvisioningState - The current deployment or provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // OrchestratorProfile - Profile for the container service orchestrator. OrchestratorProfile *OrchestratorProfileType `json:"orchestratorProfile,omitempty"` // CustomProfile - Properties to configure a custom container service cluster. CustomProfile *CustomProfile `json:"customProfile,omitempty"` // ServicePrincipalProfile - Information about a service principal identity for the cluster to use for manipulating Azure APIs. Exact one of secret or keyVaultSecretRef need to be specified. ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` // MasterProfile - Profile for the container service master. MasterProfile *MasterProfile `json:"masterProfile,omitempty"` // AgentPoolProfiles - Properties of the agent pool. AgentPoolProfiles *[]AgentPoolProfile `json:"agentPoolProfiles,omitempty"` // WindowsProfile - Profile for Windows VMs in the container service cluster. WindowsProfile *WindowsProfile `json:"windowsProfile,omitempty"` // LinuxProfile - Profile for Linux VMs in the container service cluster. LinuxProfile *LinuxProfile `json:"linuxProfile,omitempty"` // DiagnosticsProfile - Profile for diagnostics in the container service cluster. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` }
Properties properties of the container service.
type PurchasePlan ¶
type PurchasePlan struct { // Name - The plan ID. Name *string `json:"name,omitempty"` // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Product *string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` // Publisher - The plan ID. Publisher *string `json:"publisher,omitempty"` }
PurchasePlan used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
type Resource ¶
type Resource struct { // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - 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 SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key 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 ServicePrincipalProfile ¶
type ServicePrincipalProfile 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"` // KeyVaultSecretRef - Reference to a secret stored in Azure Key Vault. KeyVaultSecretRef *KeyVaultSecretRef `json:"keyVaultSecretRef,omitempty"` }
ServicePrincipalProfile information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified.
type StorageProfileTypes ¶
type StorageProfileTypes string
StorageProfileTypes enumerates the values for storage profile types.
const ( // ManagedDisks ... ManagedDisks StorageProfileTypes = "ManagedDisks" // StorageAccount ... StorageAccount StorageProfileTypes = "StorageAccount" )
func PossibleStorageProfileTypesValues ¶
func PossibleStorageProfileTypesValues() []StorageProfileTypes
PossibleStorageProfileTypesValues returns an array of possible values for the StorageProfileTypes const type.
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 VMDiagnostics ¶
type VMDiagnostics struct { // Enabled - Whether the VM diagnostic agent is provisioned on the VM. Enabled *bool `json:"enabled,omitempty"` // StorageURI - The URI of the storage account where diagnostics are stored. StorageURI *string `json:"storageUri,omitempty"` }
VMDiagnostics profile for diagnostics on the container service VMs.
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 WindowsProfile ¶
type WindowsProfile struct { // AdminUsername - The administrator username to use for Windows VMs. AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - The administrator password to use for Windows VMs. AdminPassword *string `json:"adminPassword,omitempty"` }
WindowsProfile profile for Windows VMs in the container service cluster.