admin

package
v0.0.0-...-37f2402 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 10

Documentation

Index

Constants

View Source
const APIVersion = "admin"

APIVersion contains a version string as it will be used by clients

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServerProfile

type APIServerProfile struct {
	Visibility Visibility `json:"visibility,omitempty"`
	URL        string     `json:"url,omitempty"`
	IP         string     `json:"ip,omitempty"`
	IntIP      string     `json:"intIp,omitempty"`
}

APIServerProfile represents an API server profile.

type ArchitectureVersion

type ArchitectureVersion int

ArchitectureVersion represents an architecture version

const (
	ArchitectureVersionV1 ArchitectureVersion = iota
	ArchitectureVersionV2
)

ArchitectureVersion constants

type ClusterProfile

type ClusterProfile struct {
	Domain               string               `json:"domain,omitempty"`
	Version              string               `json:"version,omitempty"`
	ResourceGroupID      string               `json:"resourceGroupId,omitempty"`
	FipsValidatedModules FipsValidatedModules `json:"fipsValidatedModules,omitempty"`
	OIDCIssuer           OIDCIssuer           `json:"oidcIssuer,omitempty"`
}

ClusterProfile represents a cluster profile.

type ClusterUserAssignedIdentity

type ClusterUserAssignedIdentity struct {
	ClientID    string `json:"clientId,omitempty"`
	PrincipalID string `json:"principalId,omitempty"`
}

ClusterUserAssignedIdentity stores information about a user-assigned managed identity in a predefined format required by Microsoft's Managed Identity team.

type ConsoleProfile

type ConsoleProfile struct {
	URL string `json:"url,omitempty"`
}

ConsoleProfile represents a console profile.

type CreatedByType

type CreatedByType string

CreatedByType defines user type, which executed the request

const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

type EffectiveOutboundIP

type EffectiveOutboundIP ResourceReference

EffectiveOutboundIP represents an effective outbound IP resource of the cluster public load balancer.

type EncryptionAtHost

type EncryptionAtHost string

EncryptionAtHost represents encryption at host state

const (
	EncryptionAtHostEnabled  EncryptionAtHost = "Enabled"
	EncryptionAtHostDisabled EncryptionAtHost = "Disabled"
)

EncryptionAtHost constants

type FeatureProfile

type FeatureProfile struct {
	GatewayEnabled bool `json:"gatewayEnabled,omitempty" mutable:"true"`
}

FeatureProfile represents a feature profile.

type FipsValidatedModules

type FipsValidatedModules string

FipsValidatedModules determines if FIPS is used.

const (
	FipsValidatedModulesEnabled  FipsValidatedModules = "Enabled"
	FipsValidatedModulesDisabled FipsValidatedModules = "Disabled"
)

FipsValidatedModules constants.

type HiveProfile

type HiveProfile struct {
	Namespace string `json:"namespace,omitempty"`

	// CreatedByHive is used during PUCM to skip adoption and reconciliation
	// of clusters that were created by Hive to avoid deleting existing
	// ClusterDeployments.
	CreatedByHive bool `json:"createdByHive,omitempty"`
}

type Identity

type Identity struct {
	Type                   string                 `json:"type,omitempty"`
	UserAssignedIdentities UserAssignedIdentities `json:"userAssignedIdentities,omitempty"`
}

Identity stores information about the cluster MSI(s) in a workload identity cluster.

type IngressProfile

type IngressProfile struct {
	Name       string     `json:"name,omitempty"`
	Visibility Visibility `json:"visibility,omitempty"`
	IP         string     `json:"ip,omitempty"`
}

IngressProfile represents an ingress profile.

type Install

type Install struct {
	Now   time.Time    `json:"now,omitempty"`
	Phase InstallPhase `json:"phase"`
}

Install represents an install process.

type InstallPhase

type InstallPhase int

InstallPhase represents an install phase.

const (
	InstallPhaseBootstrap InstallPhase = iota
	InstallPhaseRemoveBootstrap
)

InstallPhase constants.

func InstallPhaseString

func InstallPhaseString(s string) (InstallPhase, error)

InstallPhaseString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.

func InstallPhaseValues

func InstallPhaseValues() []InstallPhase

InstallPhaseValues returns all values of the enum

func (InstallPhase) IsAInstallPhase

func (i InstallPhase) IsAInstallPhase() bool

IsAInstallPhase returns "true" if the value is listed in the enum definition. "false" otherwise

func (InstallPhase) MarshalJSON

func (p InstallPhase) MarshalJSON() ([]byte, error)

MarshalJSON marshals an InstallPhase

func (InstallPhase) String

func (i InstallPhase) String() string

func (*InstallPhase) UnmarshalJSON

func (p *InstallPhase) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals an InstallPhase

type LoadBalancerProfile

type LoadBalancerProfile struct {
	// The desired managed outbound IPs for the cluster public load balancer.
	ManagedOutboundIPs *ManagedOutboundIPs `json:"managedOutboundIps,omitempty"`
	// The list of effective outbound IP addresses of the public load balancer.
	EffectiveOutboundIPs []EffectiveOutboundIP `json:"effectiveOutboundIps,omitempty" swagger:"readOnly"`
	// The desired outbound IP resources for the cluster load balancer.
	OutboundIPs []OutboundIP `json:"outboundIps,omitempty"`
	// The desired outbound IP Prefix resources for the cluster load balancer.
	OutboundIPPrefixes []OutboundIPPrefix `json:"outboundIpPrefixes,omitempty"`
	// The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 1024.
	AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
}

LoadBalancerProfile represents the profile of the cluster public load balancer.

type MTUSize

type MTUSize int

MTUSize represents the MTU size of a cluster (Maximum transmission unit)

const (
	MTU1500 MTUSize = 1500
	MTU3900 MTUSize = 3900
)

MTUSize constants

type MaintenanceState

type MaintenanceState string

MaintenanceState represents the maintenance state of a cluster. This is used by cluster monitornig stack to emit maintenance signals to customers.

const (
	MaintenanceStateNone                 MaintenanceState = "None"
	MaintenanceStatePending              MaintenanceState = "Pending"
	MaintenanceStatePlanned              MaintenanceState = "Planned"
	MaintenanceStateUnplanned            MaintenanceState = "Unplanned"
	MaintenanceStateCustomerActionNeeded MaintenanceState = "CustomerActionNeeded"
)

type MaintenanceTask

type MaintenanceTask string
const (
	MaintenanceTaskEverything MaintenanceTask = "Everything"
	MaintenanceTaskOperator   MaintenanceTask = "OperatorUpdate"
	MaintenanceTaskRenewCerts MaintenanceTask = "CertificatesRenewal"

	MaintenanceTaskPending MaintenanceTask = "Pending"

	// None signal should only be used when (1) admin update fails and (2) SRE fixes the failed admin update without running another admin updates
	// Admin update success should automatically set the cluster into None state
	MaintenanceTaskNone MaintenanceTask = "None"

	// Customer action needed signal should only be used when (1) admin update fails and (2) customer needs to take action to resolve the failure
	// To remove the signal after customer takes action, use maintenance task None
	MaintenanceTaskCustomerActionNeeded MaintenanceTask = "CustomerActionNeeded"
)

type ManagedOutboundIPs

type ManagedOutboundIPs struct {
	// Count represents the desired number of IPv4 outbound IPs created and managed by Azure for the cluster public load balancer.  Allowed values are in the range of 1 - 20.  The default value is 1.
	Count int `json:"count,omitempty"`
}

ManagedOutboundIPs represents the desired managed outbound IPs for the cluster public load balancer.

type MasterProfile

type MasterProfile struct {
	VMSize              VMSize           `json:"vmSize,omitempty"`
	SubnetID            string           `json:"subnetId,omitempty"`
	EncryptionAtHost    EncryptionAtHost `json:"encryptionAtHost,omitempty"`
	DiskEncryptionSetID string           `json:"diskEncryptionSetId,omitempty"`
}

MasterProfile represents a master profile.

type NetworkProfile

type NetworkProfile struct {
	// The software defined network (SDN) to use when installing the cluster.
	SoftwareDefinedNetwork SoftwareDefinedNetwork `json:"softwareDefinedNetwork,omitempty"`

	PodCIDR      string       `json:"podCidr,omitempty"`
	ServiceCIDR  string       `json:"serviceCidr,omitempty"`
	MTUSize      MTUSize      `json:"mtuSize,omitempty"`
	OutboundType OutboundType `json:"outboundType,omitempty" mutable:"true"`

	APIServerPrivateEndpointIP string               `json:"privateEndpointIp,omitempty"`
	GatewayPrivateEndpointIP   string               `json:"gatewayPrivateEndpointIp,omitempty"`
	GatewayPrivateLinkID       string               `json:"gatewayPrivateLinkId,omitempty"`
	PreconfiguredNSG           PreconfiguredNSG     `json:"preconfigureNSG,omitempty"`
	LoadBalancerProfile        *LoadBalancerProfile `json:"loadBalancerProfile,omitempty"`
}

NetworkProfile represents a network profile.

type OIDCIssuer

type OIDCIssuer string

OIDCIssuer represents the URL of the managed OIDC issuer in a workload identity cluster.

type OpenShiftCluster

type OpenShiftCluster struct {
	ID         string                     `json:"id,omitempty" mutable:"case"`
	Name       string                     `json:"name,omitempty" mutable:"case"`
	Type       string                     `json:"type,omitempty" mutable:"case"`
	Location   string                     `json:"location,omitempty"`
	Tags       map[string]string          `json:"tags,omitempty"`
	Properties OpenShiftClusterProperties `json:"properties,omitempty"`
	Identity   *Identity                  `json:"identity,omitempty"`
}

OpenShiftCluster represents an Azure Red Hat OpenShift cluster.

type OpenShiftClusterList

type OpenShiftClusterList struct {
	// The list of OpenShift clusters.
	OpenShiftClusters []*OpenShiftCluster `json:"value"`

	// The link used to get the next page of operations.
	NextLink string `json:"nextLink,omitempty"`
}

OpenShiftClusterList represents a list of OpenShift clusters.

type OpenShiftClusterProperties

type OpenShiftClusterProperties struct {
	ArchitectureVersion             ArchitectureVersion              `json:"architectureVersion"` // ArchitectureVersion is int so 0 is valid value to be returned
	ProvisioningState               ProvisioningState                `json:"provisioningState,omitempty"`
	LastProvisioningState           ProvisioningState                `json:"lastProvisioningState,omitempty"`
	FailedProvisioningState         ProvisioningState                `json:"failedProvisioningState,omitempty"`
	LastAdminUpdateError            string                           `json:"lastAdminUpdateError,omitempty"`
	MaintenanceTask                 MaintenanceTask                  `json:"maintenanceTask,omitempty" mutable:"true"`
	OperatorFlags                   OperatorFlags                    `json:"operatorFlags,omitempty" mutable:"true"`
	OperatorVersion                 string                           `json:"operatorVersion,omitempty" mutable:"true"`
	CreatedAt                       time.Time                        `json:"createdAt,omitempty"`
	CreatedBy                       string                           `json:"createdBy,omitempty"`
	ProvisionedBy                   string                           `json:"provisionedBy,omitempty"`
	ClusterProfile                  ClusterProfile                   `json:"clusterProfile,omitempty"`
	FeatureProfile                  FeatureProfile                   `json:"featureProfile,omitempty"`
	ConsoleProfile                  ConsoleProfile                   `json:"consoleProfile,omitempty"`
	ServicePrincipalProfile         ServicePrincipalProfile          `json:"servicePrincipalProfile,omitempty"`
	PlatformWorkloadIdentityProfile *PlatformWorkloadIdentityProfile `json:"platformWorkloadIdentityProfile,omitempty"`
	NetworkProfile                  NetworkProfile                   `json:"networkProfile,omitempty"`
	MasterProfile                   MasterProfile                    `json:"masterProfile,omitempty"`
	// WorkerProfiles is used to store the worker profile data that was sent in the api request
	WorkerProfiles []WorkerProfile `json:"workerProfiles,omitempty"`
	// WorkerProfilesStatus is used to store the enriched worker profile data
	WorkerProfilesStatus            []WorkerProfile   `json:"workerProfilesStatus,omitempty" swagger:"readOnly"`
	APIServerProfile                APIServerProfile  `json:"apiserverProfile,omitempty"`
	IngressProfiles                 []IngressProfile  `json:"ingressProfiles,omitempty"`
	Install                         *Install          `json:"install,omitempty"`
	StorageSuffix                   string            `json:"storageSuffix,omitempty"`
	RegistryProfiles                []RegistryProfile `json:"registryProfiles,omitempty"`
	ImageRegistryStorageAccountName string            `json:"imageRegistryStorageAccountName,omitempty"`
	InfraID                         string            `json:"infraId,omitempty"`
	HiveProfile                     HiveProfile       `json:"hiveProfile,omitempty"`
	MaintenanceState                MaintenanceState  `json:"maintenanceState,omitempty"`
}

OpenShiftClusterProperties represents an OpenShift cluster's properties.

type OpenShiftVersion

type OpenShiftVersion struct {
	// The ID for the resource.
	ID string `json:"id,omitempty"`

	// Name of the resource.
	Name string `json:"name,omitempty"`

	// The properties for the OpenShiftVersion resource.
	Properties OpenShiftVersionProperties `json:"properties,omitempty"`
}

type OpenShiftVersionList

type OpenShiftVersionList struct {
	OpenShiftVersions []*OpenShiftVersion `json:"value"`
}

OpenShiftVersionList represents a list of OpenShift versions that can be installed.

type OpenShiftVersionProperties

type OpenShiftVersionProperties struct {
	// Version represents the version to create the cluster at.
	Version           string `json:"version,omitempty"`
	OpenShiftPullspec string `json:"openShiftPullspec,omitempty" mutable:"true"`
	InstallerPullspec string `json:"installerPullspec,omitempty" mutable:"true"`
	Enabled           bool   `json:"enabled" mutable:"true"`
}

OpenShiftVersionProperties represents the properties of an OpenShiftVersion.

type OperatorFlags

type OperatorFlags map[string]string

Operator feature flags

type OutboundIP

type OutboundIP ResourceReference

OutboundIP represents a desired outbound IP resource for the cluster load balancer.

type OutboundIPPrefix

type OutboundIPPrefix ResourceReference

OutboundIPPrefix represents a desired outbound IP Prefix resource for the cluster load balancer.

type OutboundType

type OutboundType string

The outbound routing strategy used to provide your cluster egress to the internet.

const (
	OutboundTypeUserDefinedRouting OutboundType = "UserDefinedRouting"
	OutboundTypeLoadbalancer       OutboundType = "Loadbalancer"
)

OutboundType constants.

type PlatformWorkloadIdentity

type PlatformWorkloadIdentity struct {
	OperatorName string `json:"operatorName,omitempty"`
	ResourceID   string `json:"resourceId,omitempty"`
	ClientID     string `json:"clientId,omitempty" swagger:"readOnly"`
	ObjectID     string `json:"objectId,omitempty" swagger:"readOnly"`
}

PlatformWorkloadIdentity stores information representing a single workload identity.

type PlatformWorkloadIdentityProfile

type PlatformWorkloadIdentityProfile struct {
	PlatformWorkloadIdentities []PlatformWorkloadIdentity `json:"platformWorkloadIdentities,omitempty"`
}

PlatformWorkloadIdentityProfile encapsulates all information that is specific to workload identity clusters.

type PlatformWorkloadIdentityRole

type PlatformWorkloadIdentityRole struct {
	// OperatorName represents the name of the operator that this role is for.
	OperatorName string `json:"operatorName,omitempty" mutable:"true"`

	// RoleDefinitionName represents the name of the role.
	RoleDefinitionName string `json:"roleDefinitionName,omitempty" mutable:"true"`

	// RoleDefinitionID represents the resource ID of the role definition.
	RoleDefinitionID string `json:"roleDefinitionId,omitempty" mutable:"true"`

	// ServiceAccounts represents the set of service accounts associated with the given operator, since each service account needs its own federated credential.
	ServiceAccounts []string `json:"serviceAccounts,omitempty" mutable:"true"`
}

PlatformWorkloadIdentityRole represents a mapping from a particular OCP operator to the built-in role that should be assigned to that operator's corresponding managed identity.

type PlatformWorkloadIdentityRoleSet

type PlatformWorkloadIdentityRoleSet struct {
	// The ID for the resource.
	ID string `json:"id,omitempty" mutable:"case"`

	// Name of the resource.
	Name string `json:"name,omitempty" mutable:"case"`

	// The properties for the PlatformWorkloadIdentityRoleSet resource.
	Properties PlatformWorkloadIdentityRoleSetProperties `json:"properties,omitempty"`
}

PlatformWorkloadIdentityRoleSet represents a mapping from the names of OCP operators to the built-in roles that should be assigned to those operator's corresponding managed identities for a particular OCP version.

type PlatformWorkloadIdentityRoleSetList

type PlatformWorkloadIdentityRoleSetList struct {
	// The list of role sets.
	PlatformWorkloadIdentityRoleSets []*PlatformWorkloadIdentityRoleSet `json:"value"`
}

PlatformWorkloadIdentityRoleSetList represents a List of role sets.

type PlatformWorkloadIdentityRoleSetProperties

type PlatformWorkloadIdentityRoleSetProperties struct {
	// OpenShiftVersion represents the version associated with this set of roles.
	OpenShiftVersion string `json:"openShiftVersion,omitempty"`

	// PlatformWorkloadIdentityRoles represents the set of roles associated with this version.
	PlatformWorkloadIdentityRoles []PlatformWorkloadIdentityRole `json:"platformWorkloadIdentityRoles,omitempty" mutable:"true"`
}

PlatformWorkloadIdentityRoleSetProperties represents the properties of a PlatformWorkloadIdentityRoleSet resource.

type PreconfiguredNSG

type PreconfiguredNSG string

PreconfiguredNSG represents whether customers want to use their own NSG attached to the subnets

const (
	PreconfiguredNSGEnabled  PreconfiguredNSG = "Enabled"
	PreconfiguredNSGDisabled PreconfiguredNSG = "Disabled"
)

PreconfiguredNSG constants

type ProvisioningState

type ProvisioningState string

ProvisioningState represents a provisioning state.

const (
	ProvisioningStateCreating      ProvisioningState = "Creating"
	ProvisioningStateUpdating      ProvisioningState = "Updating"
	ProvisioningStateAdminUpdating ProvisioningState = "AdminUpdating"
	ProvisioningStateDeleting      ProvisioningState = "Deleting"
	ProvisioningStateSucceeded     ProvisioningState = "Succeeded"
	ProvisioningStateFailed        ProvisioningState = "Failed"
)

ProvisioningState constants

type RegistryProfile

type RegistryProfile struct {
	Name     string `json:"name,omitempty"`
	Username string `json:"username,omitempty"`
}

RegistryProfile represents a registry profile

type ResourceReference

type ResourceReference struct {
	// The fully qualified Azure resource id.
	ID string `json:"id,omitempty"`
}

ResourceReference represents a reference to an Azure resource.

type ServicePrincipalProfile

type ServicePrincipalProfile struct {
	ClientID   string `json:"clientId,omitempty"`
	SPObjectID string `json:"spObjectId,omitempty"`
}

ServicePrincipalProfile represents a service principal profile.

type SoftwareDefinedNetwork

type SoftwareDefinedNetwork string

SoftwareDefinedNetwork constants.

const (
	SoftwareDefinedNetworkOVNKubernetes SoftwareDefinedNetwork = "OVNKubernetes"
	SoftwareDefinedNetworkOpenShiftSDN  SoftwareDefinedNetwork = "OpenShiftSDN"
)

type SystemData

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

SystemData metadata pertaining to creation and last modification of the resource.

type UserAssignedIdentities

type UserAssignedIdentities map[string]ClusterUserAssignedIdentity

UserAssignedIdentities stores a mapping from resource IDs of managed identities to their client/principal IDs.

type VMSize

type VMSize string

VMSize represents a VM size.

const (
	VMSizeStandardD2sV3  VMSize = "Standard_D2s_v3"
	VMSizeStandardD4sV3  VMSize = "Standard_D4s_v3"
	VMSizeStandardD8sV3  VMSize = "Standard_D8s_v3"
	VMSizeStandardD16sV3 VMSize = "Standard_D16s_v3"
	VMSizeStandardD32sV3 VMSize = "Standard_D32s_v3"

	VMSizeStandardD4sV4  VMSize = "Standard_D4s_v4"
	VMSizeStandardD8sV4  VMSize = "Standard_D8s_v4"
	VMSizeStandardD16sV4 VMSize = "Standard_D16s_v4"
	VMSizeStandardD32sV4 VMSize = "Standard_D32s_v4"
	VMSizeStandardD64sV4 VMSize = "Standard_D64s_v4"

	VMSizeStandardD4sV5  VMSize = "Standard_D4s_v5"
	VMSizeStandardD8sV5  VMSize = "Standard_D8s_v5"
	VMSizeStandardD16sV5 VMSize = "Standard_D16s_v5"
	VMSizeStandardD32sV5 VMSize = "Standard_D32s_v5"
	VMSizeStandardD64sV5 VMSize = "Standard_D64s_v5"
	VMSizeStandardD96sV5 VMSize = "Standard_D96s_v5"

	VMSizeStandardD4asV4  VMSize = "Standard_D4as_v4"
	VMSizeStandardD8asV4  VMSize = "Standard_D8as_v4"
	VMSizeStandardD16asV4 VMSize = "Standard_D16as_v4"
	VMSizeStandardD32asV4 VMSize = "Standard_D32as_v4"
	VMSizeStandardD64asV4 VMSize = "Standard_D64as_v4"
	VMSizeStandardD96asV4 VMSize = "Standard_D96as_v4"

	VMSizeStandardD4asV5  VMSize = "Standard_D4as_v5"
	VMSizeStandardD8asV5  VMSize = "Standard_D8as_v5"
	VMSizeStandardD16asV5 VMSize = "Standard_D16as_v5"
	VMSizeStandardD32asV5 VMSize = "Standard_D32as_v5"
	VMSizeStandardD64asV5 VMSize = "Standard_D64as_v5"
	VMSizeStandardD96asV5 VMSize = "Standard_D96as_v5"

	VMSizeStandardE4sV3  VMSize = "Standard_E4s_v3"
	VMSizeStandardE8sV3  VMSize = "Standard_E8s_v3"
	VMSizeStandardE16sV3 VMSize = "Standard_E16s_v3"
	VMSizeStandardE32sV3 VMSize = "Standard_E32s_v3"

	VMSizeStandardE2sV4  VMSize = "Standard_E2s_v4"
	VMSizeStandardE4sV4  VMSize = "Standard_E4s_v4"
	VMSizeStandardE8sV4  VMSize = "Standard_E8s_v4"
	VMSizeStandardE16sV4 VMSize = "Standard_E16s_v4"
	VMSizeStandardE20sV4 VMSize = "Standard_E20s_v4"
	VMSizeStandardE32sV4 VMSize = "Standard_E32s_v4"
	VMSizeStandardE48sV4 VMSize = "Standard_E48s_v4"
	VMSizeStandardE64sV4 VMSize = "Standard_E64s_v4"

	VMSizeStandardE2sV5  VMSize = "Standard_E2s_v5"
	VMSizeStandardE4sV5  VMSize = "Standard_E4s_v5"
	VMSizeStandardE8sV5  VMSize = "Standard_E8s_v5"
	VMSizeStandardE16sV5 VMSize = "Standard_E16s_v5"
	VMSizeStandardE20sV5 VMSize = "Standard_E20s_v5"
	VMSizeStandardE32sV5 VMSize = "Standard_E32s_v5"
	VMSizeStandardE48sV5 VMSize = "Standard_E48s_v5"
	VMSizeStandardE64sV5 VMSize = "Standard_E64s_v5"
	VMSizeStandardE96sV5 VMSize = "Standard_E96s_v5"

	VMSizeStandardE4asV4  VMSize = "Standard_E4as_v4"
	VMSizeStandardE8asV4  VMSize = "Standard_E8as_v4"
	VMSizeStandardE16asV4 VMSize = "Standard_E16as_v4"
	VMSizeStandardE20asV4 VMSize = "Standard_E20as_v4"
	VMSizeStandardE32asV4 VMSize = "Standard_E32as_v4"
	VMSizeStandardE48asV4 VMSize = "Standard_E48as_v4"
	VMSizeStandardE64asV4 VMSize = "Standard_E64as_v4"
	VMSizeStandardE96asV4 VMSize = "Standard_E96as_v4"

	VMSizeStandardE8asV5  VMSize = "Standard_E8as_v5"
	VMSizeStandardE16asV5 VMSize = "Standard_E16as_v5"
	VMSizeStandardE20asV5 VMSize = "Standard_E20as_v5"
	VMSizeStandardE32asV5 VMSize = "Standard_E32as_v5"
	VMSizeStandardE48asV5 VMSize = "Standard_E48as_v5"
	VMSizeStandardE64asV5 VMSize = "Standard_E64as_v5"
	VMSizeStandardE96asV5 VMSize = "Standard_E96as_v5"

	VMSizeStandardE64isV3   VMSize = "Standard_E64is_v3"
	VMSizeStandardE80isV4   VMSize = "Standard_E80is_v4"
	VMSizeStandardE80idsV4  VMSize = "Standard_E80ids_v4"
	VMSizeStandardE96dsV5   VMSize = "Standard_E96ds_v5"
	VMSizeStandardE104isV5  VMSize = "Standard_E104is_v5"
	VMSizeStandardE104idsV5 VMSize = "Standard_E104ids_v5"

	VMSizeStandardF4sV2  VMSize = "Standard_F4s_v2"
	VMSizeStandardF8sV2  VMSize = "Standard_F8s_v2"
	VMSizeStandardF16sV2 VMSize = "Standard_F16s_v2"
	VMSizeStandardF32sV2 VMSize = "Standard_F32s_v2"
	VMSizeStandardF72sV2 VMSize = "Standard_F72s_v2"

	VMSizeStandardM128ms VMSize = "Standard_M128ms"

	VMSizeStandardL4s  VMSize = "Standard_L4s"
	VMSizeStandardL8s  VMSize = "Standard_L8s"
	VMSizeStandardL16s VMSize = "Standard_L16s"
	VMSizeStandardL32s VMSize = "Standard_L32s"

	VMSizeStandardL8sV2  VMSize = "Standard_L8s_v2"
	VMSizeStandardL16sV2 VMSize = "Standard_L16s_v2"
	VMSizeStandardL32sV2 VMSize = "Standard_L32s_v2"
	VMSizeStandardL48sV2 VMSize = "Standard_L48s_v2"
	VMSizeStandardL64sV2 VMSize = "Standard_L64s_v2"

	VMSizeStandardL8sV3  VMSize = "Standard_L8s_v3"
	VMSizeStandardL16sV3 VMSize = "Standard_L16s_v3"
	VMSizeStandardL32sV3 VMSize = "Standard_L32s_v3"
	VMSizeStandardL48sV3 VMSize = "Standard_L48s_v3"
	VMSizeStandardL64sV3 VMSize = "Standard_L64s_v3"

	// GPU VMs
	VMSizeStandardNC4asT4V3  VMSize = "Standard_NC4as_T4_v3"
	VMSizeStandardNC8asT4V3  VMSize = "Standard_NC8as_T4_v3"
	VMSizeStandardNC16asT4V3 VMSize = "Standard_NC16as_T4_v3"
	VMSizeStandardNC64asT4V3 VMSize = "Standard_NC64as_T4_v3"

	VMSizeStandardNC6sV3   VMSize = "Standard_NC6s_v3"
	VMSizeStandardNC12sV3  VMSize = "Standard_NC12s_v3"
	VMSizeStandardNC24sV3  VMSize = "Standard_NC24s_v3"
	VMSizeStandardNC24rsV3 VMSize = "Standard_NC24rs_v3"
)

VMSize constants.

type Visibility

type Visibility string

Visibility represents visibility.

const (
	VisibilityPublic  Visibility = "Public"
	VisibilityPrivate Visibility = "Private"
)

Visibility constants

type WorkerProfile

type WorkerProfile struct {
	Name                string           `json:"name,omitempty"`
	VMSize              VMSize           `json:"vmSize,omitempty"`
	DiskSizeGB          int              `json:"diskSizeGB,omitempty"`
	SubnetID            string           `json:"subnetId,omitempty"`
	Count               int              `json:"count,omitempty"`
	EncryptionAtHost    EncryptionAtHost `json:"encryptionAtHost,omitempty"`
	DiskEncryptionSetID string           `json:"diskEncryptionSetId,omitempty"`
}

WorkerProfile represents a worker profile.

Jump to

Keyboard shortcuts

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