| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Container.Types
Contents
- Service Configuration
- OAuth Scopes
- NetworkPolicyConfig
- UpdateNodePoolRequest
- UpdateMasterRequest
- StartIPRotationRequest
- SetLegacyAbacRequest
- HorizontalPodAutoscaling
- SetMasterAuthRequest
- ListOperationsResponse
- CreateClusterRequest
- Cluster
- CancelOperationRequest
- UpdateClusterRequest
- SetAddonsConfigRequest
- StatusConditionCode
- NodeConfig
- HTTPLoadBalancing
- Operation
- ClusterResourceLabels
- Empty
- SetNodePoolAutoscalingRequest
- CompleteIPRotationRequest
- OperationOperationType
- NodeManagement
- NodeTaint
- NodePoolAutoscaling
- SetMaintenancePolicyRequest
- KubernetesDashboard
- ClientCertificateConfig
- SetLabelsRequest
- OperationStatus
- MaintenanceWindow
- IPAllocationPolicy
- AddonsConfig
- NetworkConfig
- NodePool
- SetNodePoolManagementRequest
- MasterAuthorizedNetworksConfig
- LegacyAbac
- MasterAuth
- StatusCondition
- NodeConfigMetadata
- NodeConfigLabels
- ServerConfig
- NetworkPolicyProvider
- AutoUpgradeOptions
- SetNodePoolSizeRequest
- Xgafv
- SetMonitoringServiceRequest
- SetLoggingServiceRequest
- MaintenancePolicy
- CIdRBlock
- AcceleratorConfig
- SetLocationsRequest
- SetNetworkPolicyRequest
- PrivateClusterConfig
- DailyMaintenanceWindow
- NodePoolStatus
- ListClustersResponse
- ClusterUpdate
- RollbackNodePoolUpgradeRequest
- NetworkPolicy
- ListNodePoolsResponse
- ClusterStatus
- NodeTaintEffect
- CreateNodePoolRequest
- SetLabelsRequestResourceLabels
- SetMasterAuthRequestAction
Description
Synopsis
- containerService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data NetworkPolicyConfig
- networkPolicyConfig :: NetworkPolicyConfig
- npcDisabled :: Lens' NetworkPolicyConfig (Maybe Bool)
- data UpdateNodePoolRequest
- updateNodePoolRequest :: UpdateNodePoolRequest
- unprZone :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprNodePoolId :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprImageType :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprName :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprClusterId :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprNodeVersion :: Lens' UpdateNodePoolRequest (Maybe Text)
- unprProjectId :: Lens' UpdateNodePoolRequest (Maybe Text)
- data UpdateMasterRequest
- updateMasterRequest :: UpdateMasterRequest
- umrZone :: Lens' UpdateMasterRequest (Maybe Text)
- umrName :: Lens' UpdateMasterRequest (Maybe Text)
- umrClusterId :: Lens' UpdateMasterRequest (Maybe Text)
- umrProjectId :: Lens' UpdateMasterRequest (Maybe Text)
- umrMasterVersion :: Lens' UpdateMasterRequest (Maybe Text)
- data StartIPRotationRequest
- startIPRotationRequest :: StartIPRotationRequest
- sirrZone :: Lens' StartIPRotationRequest (Maybe Text)
- sirrRotateCredentials :: Lens' StartIPRotationRequest (Maybe Bool)
- sirrName :: Lens' StartIPRotationRequest (Maybe Text)
- sirrClusterId :: Lens' StartIPRotationRequest (Maybe Text)
- sirrProjectId :: Lens' StartIPRotationRequest (Maybe Text)
- data SetLegacyAbacRequest
- setLegacyAbacRequest :: SetLegacyAbacRequest
- slarEnabled :: Lens' SetLegacyAbacRequest (Maybe Bool)
- slarZone :: Lens' SetLegacyAbacRequest (Maybe Text)
- slarName :: Lens' SetLegacyAbacRequest (Maybe Text)
- slarClusterId :: Lens' SetLegacyAbacRequest (Maybe Text)
- slarProjectId :: Lens' SetLegacyAbacRequest (Maybe Text)
- data HorizontalPodAutoscaling
- horizontalPodAutoscaling :: HorizontalPodAutoscaling
- hpaDisabled :: Lens' HorizontalPodAutoscaling (Maybe Bool)
- data SetMasterAuthRequest
- setMasterAuthRequest :: SetMasterAuthRequest
- smarAction :: Lens' SetMasterAuthRequest (Maybe SetMasterAuthRequestAction)
- smarZone :: Lens' SetMasterAuthRequest (Maybe Text)
- smarName :: Lens' SetMasterAuthRequest (Maybe Text)
- smarClusterId :: Lens' SetMasterAuthRequest (Maybe Text)
- smarProjectId :: Lens' SetMasterAuthRequest (Maybe Text)
- smarUpdate :: Lens' SetMasterAuthRequest (Maybe MasterAuth)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorOperations :: Lens' ListOperationsResponse [Operation]
- lorMissingZones :: Lens' ListOperationsResponse [Text]
- data CreateClusterRequest
- createClusterRequest :: CreateClusterRequest
- ccrParent :: Lens' CreateClusterRequest (Maybe Text)
- ccrCluster :: Lens' CreateClusterRequest (Maybe Cluster)
- ccrZone :: Lens' CreateClusterRequest (Maybe Text)
- ccrProjectId :: Lens' CreateClusterRequest (Maybe Text)
- data Cluster
- cluster :: Cluster
- cStatus :: Lens' Cluster (Maybe ClusterStatus)
- cNodePools :: Lens' Cluster [NodePool]
- cEnableKubernetesAlpha :: Lens' Cluster (Maybe Bool)
- cResourceLabels :: Lens' Cluster (Maybe ClusterResourceLabels)
- cNodeConfig :: Lens' Cluster (Maybe NodeConfig)
- cNodeIPv4CIdRSize :: Lens' Cluster (Maybe Int32)
- cClusterIPv4CIdR :: Lens' Cluster (Maybe Text)
- cLocation :: Lens' Cluster (Maybe Text)
- cInitialNodeCount :: Lens' Cluster (Maybe Int32)
- cCurrentNodeVersion :: Lens' Cluster (Maybe Text)
- cNetwork :: Lens' Cluster (Maybe Text)
- cInitialClusterVersion :: Lens' Cluster (Maybe Text)
- cZone :: Lens' Cluster (Maybe Text)
- cAddonsConfig :: Lens' Cluster (Maybe AddonsConfig)
- cServicesIPv4CIdR :: Lens' Cluster (Maybe Text)
- cIPAllocationPolicy :: Lens' Cluster (Maybe IPAllocationPolicy)
- cMasterAuthorizedNetworksConfig :: Lens' Cluster (Maybe MasterAuthorizedNetworksConfig)
- cLegacyAbac :: Lens' Cluster (Maybe LegacyAbac)
- cNetworkConfig :: Lens' Cluster (Maybe NetworkConfig)
- cMasterAuth :: Lens' Cluster (Maybe MasterAuth)
- cSelfLink :: Lens' Cluster (Maybe Text)
- cName :: Lens' Cluster (Maybe Text)
- cCurrentMasterVersion :: Lens' Cluster (Maybe Text)
- cStatusMessage :: Lens' Cluster (Maybe Text)
- cSubnetwork :: Lens' Cluster (Maybe Text)
- cCurrentNodeCount :: Lens' Cluster (Maybe Int32)
- cPrivateClusterConfig :: Lens' Cluster (Maybe PrivateClusterConfig)
- cMaintenancePolicy :: Lens' Cluster (Maybe MaintenancePolicy)
- cConditions :: Lens' Cluster [StatusCondition]
- cEndpoint :: Lens' Cluster (Maybe Text)
- cExpireTime :: Lens' Cluster (Maybe Text)
- cNetworkPolicy :: Lens' Cluster (Maybe NetworkPolicy)
- cLocations :: Lens' Cluster [Text]
- cLoggingService :: Lens' Cluster (Maybe Text)
- cLabelFingerprint :: Lens' Cluster (Maybe Text)
- cDescription :: Lens' Cluster (Maybe Text)
- cInstanceGroupURLs :: Lens' Cluster [Text]
- cMonitoringService :: Lens' Cluster (Maybe Text)
- cCreateTime :: Lens' Cluster (Maybe Text)
- data CancelOperationRequest
- cancelOperationRequest :: CancelOperationRequest
- corZone :: Lens' CancelOperationRequest (Maybe Text)
- corName :: Lens' CancelOperationRequest (Maybe Text)
- corProjectId :: Lens' CancelOperationRequest (Maybe Text)
- corOperationId :: Lens' CancelOperationRequest (Maybe Text)
- data UpdateClusterRequest
- updateClusterRequest :: UpdateClusterRequest
- ucrZone :: Lens' UpdateClusterRequest (Maybe Text)
- ucrName :: Lens' UpdateClusterRequest (Maybe Text)
- ucrClusterId :: Lens' UpdateClusterRequest (Maybe Text)
- ucrProjectId :: Lens' UpdateClusterRequest (Maybe Text)
- ucrUpdate :: Lens' UpdateClusterRequest (Maybe ClusterUpdate)
- data SetAddonsConfigRequest
- setAddonsConfigRequest :: SetAddonsConfigRequest
- sacrZone :: Lens' SetAddonsConfigRequest (Maybe Text)
- sacrAddonsConfig :: Lens' SetAddonsConfigRequest (Maybe AddonsConfig)
- sacrName :: Lens' SetAddonsConfigRequest (Maybe Text)
- sacrClusterId :: Lens' SetAddonsConfigRequest (Maybe Text)
- sacrProjectId :: Lens' SetAddonsConfigRequest (Maybe Text)
- data StatusConditionCode
- data NodeConfig
- nodeConfig :: NodeConfig
- ncLocalSsdCount :: Lens' NodeConfig (Maybe Int32)
- ncDiskSizeGb :: Lens' NodeConfig (Maybe Int32)
- ncTaints :: Lens' NodeConfig [NodeTaint]
- ncOAuthScopes :: Lens' NodeConfig [Text]
- ncServiceAccount :: Lens' NodeConfig (Maybe Text)
- ncAccelerators :: Lens' NodeConfig [AcceleratorConfig]
- ncImageType :: Lens' NodeConfig (Maybe Text)
- ncMachineType :: Lens' NodeConfig (Maybe Text)
- ncMetadata :: Lens' NodeConfig (Maybe NodeConfigMetadata)
- ncDiskType :: Lens' NodeConfig (Maybe Text)
- ncLabels :: Lens' NodeConfig (Maybe NodeConfigLabels)
- ncMinCPUPlatform :: Lens' NodeConfig (Maybe Text)
- ncTags :: Lens' NodeConfig [Text]
- ncPreemptible :: Lens' NodeConfig (Maybe Bool)
- data HTTPLoadBalancing
- hTTPLoadBalancing :: HTTPLoadBalancing
- httplbDisabled :: Lens' HTTPLoadBalancing (Maybe Bool)
- data Operation
- operation :: Operation
- oNodepoolConditions :: Lens' Operation [StatusCondition]
- oStatus :: Lens' Operation (Maybe OperationStatus)
- oLocation :: Lens' Operation (Maybe Text)
- oStartTime :: Lens' Operation (Maybe Text)
- oZone :: Lens' Operation (Maybe Text)
- oSelfLink :: Lens' Operation (Maybe Text)
- oName :: Lens' Operation (Maybe Text)
- oStatusMessage :: Lens' Operation (Maybe Text)
- oEndTime :: Lens' Operation (Maybe Text)
- oClusterConditions :: Lens' Operation [StatusCondition]
- oOperationType :: Lens' Operation (Maybe OperationOperationType)
- oTargetLink :: Lens' Operation (Maybe Text)
- oDetail :: Lens' Operation (Maybe Text)
- data ClusterResourceLabels
- clusterResourceLabels :: HashMap Text Text -> ClusterResourceLabels
- crlAddtional :: Lens' ClusterResourceLabels (HashMap Text Text)
- data Empty
- empty :: Empty
- data SetNodePoolAutoscalingRequest
- setNodePoolAutoscalingRequest :: SetNodePoolAutoscalingRequest
- snparAutoscaling :: Lens' SetNodePoolAutoscalingRequest (Maybe NodePoolAutoscaling)
- snparZone :: Lens' SetNodePoolAutoscalingRequest (Maybe Text)
- snparNodePoolId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text)
- snparName :: Lens' SetNodePoolAutoscalingRequest (Maybe Text)
- snparClusterId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text)
- snparProjectId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text)
- data CompleteIPRotationRequest
- completeIPRotationRequest :: CompleteIPRotationRequest
- cirrZone :: Lens' CompleteIPRotationRequest (Maybe Text)
- cirrName :: Lens' CompleteIPRotationRequest (Maybe Text)
- cirrClusterId :: Lens' CompleteIPRotationRequest (Maybe Text)
- cirrProjectId :: Lens' CompleteIPRotationRequest (Maybe Text)
- data OperationOperationType
- data NodeManagement
- nodeManagement :: NodeManagement
- nmAutoUpgrade :: Lens' NodeManagement (Maybe Bool)
- nmAutoRepair :: Lens' NodeManagement (Maybe Bool)
- nmUpgradeOptions :: Lens' NodeManagement (Maybe AutoUpgradeOptions)
- data NodeTaint
- nodeTaint :: NodeTaint
- ntEffect :: Lens' NodeTaint (Maybe NodeTaintEffect)
- ntValue :: Lens' NodeTaint (Maybe Text)
- ntKey :: Lens' NodeTaint (Maybe Text)
- data NodePoolAutoscaling
- nodePoolAutoscaling :: NodePoolAutoscaling
- npaMaxNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32)
- npaEnabled :: Lens' NodePoolAutoscaling (Maybe Bool)
- npaMinNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32)
- data SetMaintenancePolicyRequest
- setMaintenancePolicyRequest :: SetMaintenancePolicyRequest
- smprZone :: Lens' SetMaintenancePolicyRequest (Maybe Text)
- smprName :: Lens' SetMaintenancePolicyRequest (Maybe Text)
- smprClusterId :: Lens' SetMaintenancePolicyRequest (Maybe Text)
- smprMaintenancePolicy :: Lens' SetMaintenancePolicyRequest (Maybe MaintenancePolicy)
- smprProjectId :: Lens' SetMaintenancePolicyRequest (Maybe Text)
- data KubernetesDashboard
- kubernetesDashboard :: KubernetesDashboard
- kdDisabled :: Lens' KubernetesDashboard (Maybe Bool)
- data ClientCertificateConfig
- clientCertificateConfig :: ClientCertificateConfig
- cccIssueClientCertificate :: Lens' ClientCertificateConfig (Maybe Bool)
- data SetLabelsRequest
- setLabelsRequest :: SetLabelsRequest
- slrResourceLabels :: Lens' SetLabelsRequest (Maybe SetLabelsRequestResourceLabels)
- slrZone :: Lens' SetLabelsRequest (Maybe Text)
- slrName :: Lens' SetLabelsRequest (Maybe Text)
- slrClusterId :: Lens' SetLabelsRequest (Maybe Text)
- slrProjectId :: Lens' SetLabelsRequest (Maybe Text)
- slrLabelFingerprint :: Lens' SetLabelsRequest (Maybe Text)
- data OperationStatus
- data MaintenanceWindow
- maintenanceWindow :: MaintenanceWindow
- mwDailyMaintenanceWindow :: Lens' MaintenanceWindow (Maybe DailyMaintenanceWindow)
- data IPAllocationPolicy
- ipAllocationPolicy :: IPAllocationPolicy
- iapServicesSecondaryRangeName :: Lens' IPAllocationPolicy (Maybe Text)
- iapNodeIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text)
- iapUseIPAliases :: Lens' IPAllocationPolicy (Maybe Bool)
- iapClusterIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text)
- iapSubnetworkName :: Lens' IPAllocationPolicy (Maybe Text)
- iapClusterSecondaryRangeName :: Lens' IPAllocationPolicy (Maybe Text)
- iapNodeIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text)
- iapServicesIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text)
- iapClusterIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text)
- iapServicesIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text)
- iapCreateSubnetwork :: Lens' IPAllocationPolicy (Maybe Bool)
- data AddonsConfig
- addonsConfig :: AddonsConfig
- acNetworkPolicyConfig :: Lens' AddonsConfig (Maybe NetworkPolicyConfig)
- acHorizontalPodAutoscaling :: Lens' AddonsConfig (Maybe HorizontalPodAutoscaling)
- acHTTPLoadBalancing :: Lens' AddonsConfig (Maybe HTTPLoadBalancing)
- acKubernetesDashboard :: Lens' AddonsConfig (Maybe KubernetesDashboard)
- data NetworkConfig
- networkConfig :: NetworkConfig
- ncNetwork :: Lens' NetworkConfig (Maybe Text)
- ncSubnetwork :: Lens' NetworkConfig (Maybe Text)
- data NodePool
- nodePool :: NodePool
- npStatus :: Lens' NodePool (Maybe NodePoolStatus)
- npAutoscaling :: Lens' NodePool (Maybe NodePoolAutoscaling)
- npConfig :: Lens' NodePool (Maybe NodeConfig)
- npInitialNodeCount :: Lens' NodePool (Maybe Int32)
- npManagement :: Lens' NodePool (Maybe NodeManagement)
- npSelfLink :: Lens' NodePool (Maybe Text)
- npName :: Lens' NodePool (Maybe Text)
- npStatusMessage :: Lens' NodePool (Maybe Text)
- npVersion :: Lens' NodePool (Maybe Text)
- npConditions :: Lens' NodePool [StatusCondition]
- npInstanceGroupURLs :: Lens' NodePool [Text]
- data SetNodePoolManagementRequest
- setNodePoolManagementRequest :: SetNodePoolManagementRequest
- snpmrManagement :: Lens' SetNodePoolManagementRequest (Maybe NodeManagement)
- snpmrZone :: Lens' SetNodePoolManagementRequest (Maybe Text)
- snpmrNodePoolId :: Lens' SetNodePoolManagementRequest (Maybe Text)
- snpmrName :: Lens' SetNodePoolManagementRequest (Maybe Text)
- snpmrClusterId :: Lens' SetNodePoolManagementRequest (Maybe Text)
- snpmrProjectId :: Lens' SetNodePoolManagementRequest (Maybe Text)
- data MasterAuthorizedNetworksConfig
- masterAuthorizedNetworksConfig :: MasterAuthorizedNetworksConfig
- mancEnabled :: Lens' MasterAuthorizedNetworksConfig (Maybe Bool)
- mancCIdRBlocks :: Lens' MasterAuthorizedNetworksConfig [CIdRBlock]
- data LegacyAbac
- legacyAbac :: LegacyAbac
- laEnabled :: Lens' LegacyAbac (Maybe Bool)
- data MasterAuth
- masterAuth :: MasterAuth
- maClientKey :: Lens' MasterAuth (Maybe Text)
- maUsername :: Lens' MasterAuth (Maybe Text)
- maClientCertificateConfig :: Lens' MasterAuth (Maybe ClientCertificateConfig)
- maClientCertificate :: Lens' MasterAuth (Maybe Text)
- maPassword :: Lens' MasterAuth (Maybe Text)
- maClusterCaCertificate :: Lens' MasterAuth (Maybe Text)
- data StatusCondition
- statusCondition :: StatusCondition
- scCode :: Lens' StatusCondition (Maybe StatusConditionCode)
- scMessage :: Lens' StatusCondition (Maybe Text)
- data NodeConfigMetadata
- nodeConfigMetadata :: HashMap Text Text -> NodeConfigMetadata
- ncmAddtional :: Lens' NodeConfigMetadata (HashMap Text Text)
- data NodeConfigLabels
- nodeConfigLabels :: HashMap Text Text -> NodeConfigLabels
- nclAddtional :: Lens' NodeConfigLabels (HashMap Text Text)
- data ServerConfig
- serverConfig :: ServerConfig
- scDefaultImageType :: Lens' ServerConfig (Maybe Text)
- scValidNodeVersions :: Lens' ServerConfig [Text]
- scValidImageTypes :: Lens' ServerConfig [Text]
- scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text)
- scValidMasterVersions :: Lens' ServerConfig [Text]
- data NetworkPolicyProvider
- data AutoUpgradeOptions
- autoUpgradeOptions :: AutoUpgradeOptions
- auoAutoUpgradeStartTime :: Lens' AutoUpgradeOptions (Maybe Text)
- auoDescription :: Lens' AutoUpgradeOptions (Maybe Text)
- data SetNodePoolSizeRequest
- setNodePoolSizeRequest :: SetNodePoolSizeRequest
- snpsrNodeCount :: Lens' SetNodePoolSizeRequest (Maybe Int32)
- snpsrZone :: Lens' SetNodePoolSizeRequest (Maybe Text)
- snpsrNodePoolId :: Lens' SetNodePoolSizeRequest (Maybe Text)
- snpsrName :: Lens' SetNodePoolSizeRequest (Maybe Text)
- snpsrClusterId :: Lens' SetNodePoolSizeRequest (Maybe Text)
- snpsrProjectId :: Lens' SetNodePoolSizeRequest (Maybe Text)
- data Xgafv
- data SetMonitoringServiceRequest
- setMonitoringServiceRequest :: SetMonitoringServiceRequest
- smsrZone :: Lens' SetMonitoringServiceRequest (Maybe Text)
- smsrName :: Lens' SetMonitoringServiceRequest (Maybe Text)
- smsrClusterId :: Lens' SetMonitoringServiceRequest (Maybe Text)
- smsrProjectId :: Lens' SetMonitoringServiceRequest (Maybe Text)
- smsrMonitoringService :: Lens' SetMonitoringServiceRequest (Maybe Text)
- data SetLoggingServiceRequest
- setLoggingServiceRequest :: SetLoggingServiceRequest
- slsrZone :: Lens' SetLoggingServiceRequest (Maybe Text)
- slsrName :: Lens' SetLoggingServiceRequest (Maybe Text)
- slsrClusterId :: Lens' SetLoggingServiceRequest (Maybe Text)
- slsrProjectId :: Lens' SetLoggingServiceRequest (Maybe Text)
- slsrLoggingService :: Lens' SetLoggingServiceRequest (Maybe Text)
- data MaintenancePolicy
- maintenancePolicy :: MaintenancePolicy
- mpWindow :: Lens' MaintenancePolicy (Maybe MaintenanceWindow)
- data CIdRBlock
- cIdRBlock :: CIdRBlock
- cirbCIdRBlock :: Lens' CIdRBlock (Maybe Text)
- cirbDisplayName :: Lens' CIdRBlock (Maybe Text)
- data AcceleratorConfig
- acceleratorConfig :: AcceleratorConfig
- acAcceleratorCount :: Lens' AcceleratorConfig (Maybe Int64)
- acAcceleratorType :: Lens' AcceleratorConfig (Maybe Text)
- data SetLocationsRequest
- setLocationsRequest :: SetLocationsRequest
- sZone :: Lens' SetLocationsRequest (Maybe Text)
- sName :: Lens' SetLocationsRequest (Maybe Text)
- sClusterId :: Lens' SetLocationsRequest (Maybe Text)
- sProjectId :: Lens' SetLocationsRequest (Maybe Text)
- sLocations :: Lens' SetLocationsRequest [Text]
- data SetNetworkPolicyRequest
- setNetworkPolicyRequest :: SetNetworkPolicyRequest
- snprZone :: Lens' SetNetworkPolicyRequest (Maybe Text)
- snprName :: Lens' SetNetworkPolicyRequest (Maybe Text)
- snprClusterId :: Lens' SetNetworkPolicyRequest (Maybe Text)
- snprProjectId :: Lens' SetNetworkPolicyRequest (Maybe Text)
- snprNetworkPolicy :: Lens' SetNetworkPolicyRequest (Maybe NetworkPolicy)
- data PrivateClusterConfig
- privateClusterConfig :: PrivateClusterConfig
- pccEnablePrivateNodes :: Lens' PrivateClusterConfig (Maybe Bool)
- pccEnablePrivateEndpoint :: Lens' PrivateClusterConfig (Maybe Bool)
- pccPublicEndpoint :: Lens' PrivateClusterConfig (Maybe Text)
- pccMasterIPv4CIdRBlock :: Lens' PrivateClusterConfig (Maybe Text)
- pccPrivateEndpoint :: Lens' PrivateClusterConfig (Maybe Text)
- data DailyMaintenanceWindow
- dailyMaintenanceWindow :: DailyMaintenanceWindow
- dmwStartTime :: Lens' DailyMaintenanceWindow (Maybe Text)
- dmwDuration :: Lens' DailyMaintenanceWindow (Maybe Text)
- data NodePoolStatus
- data ListClustersResponse
- listClustersResponse :: ListClustersResponse
- lcrClusters :: Lens' ListClustersResponse [Cluster]
- lcrMissingZones :: Lens' ListClustersResponse [Text]
- data ClusterUpdate
- clusterUpdate :: ClusterUpdate
- cuDesiredNodePoolAutoscaling :: Lens' ClusterUpdate (Maybe NodePoolAutoscaling)
- cuDesiredAddonsConfig :: Lens' ClusterUpdate (Maybe AddonsConfig)
- cuDesiredNodePoolId :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredMasterAuthorizedNetworksConfig :: Lens' ClusterUpdate (Maybe MasterAuthorizedNetworksConfig)
- cuDesiredImageType :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredNodeVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredMasterVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredLocations :: Lens' ClusterUpdate [Text]
- cuDesiredMonitoringService :: Lens' ClusterUpdate (Maybe Text)
- data RollbackNodePoolUpgradeRequest
- rollbackNodePoolUpgradeRequest :: RollbackNodePoolUpgradeRequest
- rnpurZone :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text)
- rnpurNodePoolId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text)
- rnpurName :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text)
- rnpurClusterId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text)
- rnpurProjectId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text)
- data NetworkPolicy
- networkPolicy :: NetworkPolicy
- npEnabled :: Lens' NetworkPolicy (Maybe Bool)
- npProvider :: Lens' NetworkPolicy (Maybe NetworkPolicyProvider)
- data ListNodePoolsResponse
- listNodePoolsResponse :: ListNodePoolsResponse
- lnprNodePools :: Lens' ListNodePoolsResponse [NodePool]
- data ClusterStatus
- data NodeTaintEffect
- data CreateNodePoolRequest
- createNodePoolRequest :: CreateNodePoolRequest
- cnprParent :: Lens' CreateNodePoolRequest (Maybe Text)
- cnprZone :: Lens' CreateNodePoolRequest (Maybe Text)
- cnprNodePool :: Lens' CreateNodePoolRequest (Maybe NodePool)
- cnprClusterId :: Lens' CreateNodePoolRequest (Maybe Text)
- cnprProjectId :: Lens' CreateNodePoolRequest (Maybe Text)
- data SetLabelsRequestResourceLabels
- setLabelsRequestResourceLabels :: HashMap Text Text -> SetLabelsRequestResourceLabels
- slrrlAddtional :: Lens' SetLabelsRequestResourceLabels (HashMap Text Text)
- data SetMasterAuthRequestAction
Service Configuration
containerService :: ServiceConfig Source #
Default request referring to version v1 of the Kubernetes Engine API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
NetworkPolicyConfig
data NetworkPolicyConfig Source #
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
See: networkPolicyConfig smart constructor.
Instances
networkPolicyConfig :: NetworkPolicyConfig Source #
Creates a value of NetworkPolicyConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npcDisabled :: Lens' NetworkPolicyConfig (Maybe Bool) Source #
Whether NetworkPolicy is enabled for this cluster.
UpdateNodePoolRequest
data UpdateNodePoolRequest Source #
UpdateNodePoolRequests update a node pool's image and/or version.
See: updateNodePoolRequest smart constructor.
Instances
updateNodePoolRequest :: UpdateNodePoolRequest Source #
Creates a value of UpdateNodePoolRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
unprZone :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
unprNodePoolId :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
unprImageType :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
The desired image type for the node pool.
unprName :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
unprClusterId :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
unprNodeVersion :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
unprProjectId :: Lens' UpdateNodePoolRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
UpdateMasterRequest
data UpdateMasterRequest Source #
UpdateMasterRequest updates the master of the cluster.
See: updateMasterRequest smart constructor.
Instances
updateMasterRequest :: UpdateMasterRequest Source #
Creates a value of UpdateMasterRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
umrZone :: Lens' UpdateMasterRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
umrName :: Lens' UpdateMasterRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/*'.
umrClusterId :: Lens' UpdateMasterRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
umrProjectId :: Lens' UpdateMasterRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
umrMasterVersion :: Lens' UpdateMasterRequest (Maybe Text) Source #
The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version
StartIPRotationRequest
data StartIPRotationRequest Source #
StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.
See: startIPRotationRequest smart constructor.
Instances
startIPRotationRequest :: StartIPRotationRequest Source #
Creates a value of StartIPRotationRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sirrZone :: Lens' StartIPRotationRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
sirrRotateCredentials :: Lens' StartIPRotationRequest (Maybe Bool) Source #
Whether to rotate credentials during IP rotation.
sirrName :: Lens' StartIPRotationRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
sirrClusterId :: Lens' StartIPRotationRequest (Maybe Text) Source #
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
sirrProjectId :: Lens' StartIPRotationRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
SetLegacyAbacRequest
data SetLegacyAbacRequest Source #
SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.
See: setLegacyAbacRequest smart constructor.
Instances
setLegacyAbacRequest :: SetLegacyAbacRequest Source #
Creates a value of SetLegacyAbacRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slarEnabled :: Lens' SetLegacyAbacRequest (Maybe Bool) Source #
Whether ABAC authorization will be enabled in the cluster.
slarZone :: Lens' SetLegacyAbacRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
slarName :: Lens' SetLegacyAbacRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects/*/locations/*/clusters/*'.
slarClusterId :: Lens' SetLegacyAbacRequest (Maybe Text) Source #
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
slarProjectId :: Lens' SetLegacyAbacRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
HorizontalPodAutoscaling
data HorizontalPodAutoscaling Source #
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
See: horizontalPodAutoscaling smart constructor.
Instances
horizontalPodAutoscaling :: HorizontalPodAutoscaling Source #
Creates a value of HorizontalPodAutoscaling with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hpaDisabled :: Lens' HorizontalPodAutoscaling (Maybe Bool) Source #
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service.
SetMasterAuthRequest
data SetMasterAuthRequest Source #
SetMasterAuthRequest updates the admin password of a cluster.
See: setMasterAuthRequest smart constructor.
Instances
setMasterAuthRequest :: SetMasterAuthRequest Source #
Creates a value of SetMasterAuthRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smarAction :: Lens' SetMasterAuthRequest (Maybe SetMasterAuthRequestAction) Source #
The exact form of action to be taken on the master auth.
smarZone :: Lens' SetMasterAuthRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
smarName :: Lens' SetMasterAuthRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to set auth. Specified in the format 'projects/*/locations/*/clusters/*'.
smarClusterId :: Lens' SetMasterAuthRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
smarProjectId :: Lens' SetMasterAuthRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
smarUpdate :: Lens' SetMasterAuthRequest (Maybe MasterAuth) Source #
A description of the update.
ListOperationsResponse
data ListOperationsResponse Source #
ListOperationsResponse is the result of ListOperationsRequest.
See: listOperationsResponse smart constructor.
Instances
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations in the project in the specified zone.
lorMissingZones :: Lens' ListOperationsResponse [Text] Source #
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
CreateClusterRequest
data CreateClusterRequest Source #
CreateClusterRequest creates a cluster.
See: createClusterRequest smart constructor.
Instances
createClusterRequest :: CreateClusterRequest Source #
Creates a value of CreateClusterRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccrParent :: Lens' CreateClusterRequest (Maybe Text) Source #
The parent (project and location) where the cluster will be created. Specified in the format 'projects/*/locations/*'.
ccrZone :: Lens' CreateClusterRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
ccrProjectId :: Lens' CreateClusterRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
Cluster
A Google Kubernetes Engine cluster.
See: cluster smart constructor.
Instances
Creates a value of Cluster with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cStatuscNodePoolscEnableKubernetesAlphacResourceLabelscNodeConfigcNodeIPv4CIdRSizecClusterIPv4CIdRcLocationcInitialNodeCountcCurrentNodeVersioncNetworkcInitialClusterVersioncZonecAddonsConfigcServicesIPv4CIdRcIPAllocationPolicycMasterAuthorizedNetworksConfigcLegacyAbaccNetworkConfigcMasterAuthcSelfLinkcNamecCurrentMasterVersioncStatusMessagecSubnetworkcCurrentNodeCountcPrivateClusterConfigcMaintenancePolicycConditionscEndpointcExpireTimecNetworkPolicycLocationscLoggingServicecLabelFingerprintcDescriptioncInstanceGroupURLscMonitoringServicecCreateTime
cStatus :: Lens' Cluster (Maybe ClusterStatus) Source #
- Output only
- The current status of this cluster.
cNodePools :: Lens' Cluster [NodePool] Source #
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
cEnableKubernetesAlpha :: Lens' Cluster (Maybe Bool) Source #
Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
cResourceLabels :: Lens' Cluster (Maybe ClusterResourceLabels) Source #
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
cNodeConfig :: Lens' Cluster (Maybe NodeConfig) Source #
Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used.
cNodeIPv4CIdRSize :: Lens' Cluster (Maybe Int32) Source #
- Output only
- The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range.
cClusterIPv4CIdR :: Lens' Cluster (Maybe Text) Source #
The IP address range of the container pods in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
cLocation :: Lens' Cluster (Maybe Text) Source #
- Output only
- The name of the Google Compute Engine
- zone
- (/compute/docs/regions-zones/regions-zones#available) or
- region
- (/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
cInitialNodeCount :: Lens' Cluster (Maybe Int32) Source #
The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time.
cCurrentNodeVersion :: Lens' Cluster (Maybe Text) Source #
- Output only
- Deprecated, use
- NodePool.version
- (/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
cNetwork :: Lens' Cluster (Maybe Text) Source #
The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the `default` network will be used.
cInitialClusterVersion :: Lens' Cluster (Maybe Text) Source #
The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
cZone :: Lens' Cluster (Maybe Text) Source #
- Output only
- The name of the Google Compute Engine
- zone
- (/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
cAddonsConfig :: Lens' Cluster (Maybe AddonsConfig) Source #
Configurations for the various addons available to run in the cluster.
cServicesIPv4CIdR :: Lens' Cluster (Maybe Text) Source #
- Output only
- The IP address range of the Kubernetes services in this cluster, in
- CIDR
- (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
cIPAllocationPolicy :: Lens' Cluster (Maybe IPAllocationPolicy) Source #
Configuration for cluster IP allocation.
cMasterAuthorizedNetworksConfig :: Lens' Cluster (Maybe MasterAuthorizedNetworksConfig) Source #
The configuration options for master authorized networks feature.
cLegacyAbac :: Lens' Cluster (Maybe LegacyAbac) Source #
Configuration for the legacy ABAC authorization mode.
cNetworkConfig :: Lens' Cluster (Maybe NetworkConfig) Source #
Configuration for cluster networking.
cMasterAuth :: Lens' Cluster (Maybe MasterAuth) Source #
The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued.
cName :: Lens' Cluster (Maybe Text) Source #
The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
cCurrentMasterVersion :: Lens' Cluster (Maybe Text) Source #
- Output only
- The current software version of the master endpoint.
cStatusMessage :: Lens' Cluster (Maybe Text) Source #
- Output only
- Additional information about the current status of this cluster, if available.
cSubnetwork :: Lens' Cluster (Maybe Text) Source #
The name of the Google Compute Engine subnetwork to which the cluster is connected.
cCurrentNodeCount :: Lens' Cluster (Maybe Int32) Source #
- Output only
- The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
cPrivateClusterConfig :: Lens' Cluster (Maybe PrivateClusterConfig) Source #
Configuration for private cluster.
cMaintenancePolicy :: Lens' Cluster (Maybe MaintenancePolicy) Source #
Configure the maintenance policy for this cluster.
cConditions :: Lens' Cluster [StatusCondition] Source #
Which conditions caused the current cluster state.
cEndpoint :: Lens' Cluster (Maybe Text) Source #
- Output only
- The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password'endpoint/`. See the `masterAuth` property of this resource for username and password information.
cExpireTime :: Lens' Cluster (Maybe Text) Source #
- Output only
- The time the cluster will be automatically deleted in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
cNetworkPolicy :: Lens' Cluster (Maybe NetworkPolicy) Source #
Configuration options for the NetworkPolicy feature.
cLocations :: Lens' Cluster [Text] Source #
The list of Google Compute Engine zones in which the cluster's nodes should be located.
cLoggingService :: Lens' Cluster (Maybe Text) Source #
The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.
cLabelFingerprint :: Lens' Cluster (Maybe Text) Source #
The fingerprint of the set of labels for this cluster.
cMonitoringService :: Lens' Cluster (Maybe Text) Source #
The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.
cCreateTime :: Lens' Cluster (Maybe Text) Source #
- Output only
- The time the cluster was created, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
CancelOperationRequest
data CancelOperationRequest Source #
CancelOperationRequest cancels a single operation.
See: cancelOperationRequest smart constructor.
Instances
cancelOperationRequest :: CancelOperationRequest Source #
Creates a value of CancelOperationRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
corZone :: Lens' CancelOperationRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.
corName :: Lens' CancelOperationRequest (Maybe Text) Source #
The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/*/locations/*/operations/*'.
corProjectId :: Lens' CancelOperationRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
corOperationId :: Lens' CancelOperationRequest (Maybe Text) Source #
Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
UpdateClusterRequest
data UpdateClusterRequest Source #
UpdateClusterRequest updates the settings of a cluster.
See: updateClusterRequest smart constructor.
Instances
updateClusterRequest :: UpdateClusterRequest Source #
Creates a value of UpdateClusterRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrZone :: Lens' UpdateClusterRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
ucrName :: Lens' UpdateClusterRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/*'.
ucrClusterId :: Lens' UpdateClusterRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
ucrProjectId :: Lens' UpdateClusterRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
ucrUpdate :: Lens' UpdateClusterRequest (Maybe ClusterUpdate) Source #
A description of the update.
SetAddonsConfigRequest
data SetAddonsConfigRequest Source #
SetAddonsConfigRequest sets the addons associated with the cluster.
See: setAddonsConfigRequest smart constructor.
Instances
setAddonsConfigRequest :: SetAddonsConfigRequest Source #
Creates a value of SetAddonsConfigRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sacrZone :: Lens' SetAddonsConfigRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
sacrAddonsConfig :: Lens' SetAddonsConfigRequest (Maybe AddonsConfig) Source #
The desired configurations for the various addons available to run in the cluster.
sacrName :: Lens' SetAddonsConfigRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to set addons. Specified in the format 'projects/*/locations/*/clusters/*'.
sacrClusterId :: Lens' SetAddonsConfigRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
sacrProjectId :: Lens' SetAddonsConfigRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
StatusConditionCode
data StatusConditionCode Source #
Machine-friendly representation of the condition
Constructors
| Unknown |
|
| GceStockout |
|
| GkeServiceAccountDeleted |
|
| GceQuotaExceeded |
|
| SetByOperator |
|
Instances
NodeConfig
data NodeConfig Source #
Parameters that describe the nodes in a cluster.
See: nodeConfig smart constructor.
Instances
nodeConfig :: NodeConfig Source #
Creates a value of NodeConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncLocalSsdCount :: Lens' NodeConfig (Maybe Int32) Source #
The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.
ncDiskSizeGb :: Lens' NodeConfig (Maybe Int32) Source #
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
ncTaints :: Lens' NodeConfig [NodeTaint] Source #
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
ncOAuthScopes :: Lens' NodeConfig [Text] Source #
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
ncServiceAccount :: Lens' NodeConfig (Maybe Text) Source #
The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the "default" service account is used.
ncAccelerators :: Lens' NodeConfig [AcceleratorConfig] Source #
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
ncImageType :: Lens' NodeConfig (Maybe Text) Source #
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
ncMachineType :: Lens' NodeConfig (Maybe Text) Source #
The name of a Google Compute Engine machine type (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
ncMetadata :: Lens' NodeConfig (Maybe NodeConfigMetadata) Source #
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: "cluster-location" "cluster-name" "cluster-uid" "configure-sh" "enable-os-login" "gci-update-strategy" "gci-ensure-gke-docker" "instance-template" "kube-env" "startup-script" "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
ncDiskType :: Lens' NodeConfig (Maybe Text) Source #
Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If unspecified, the default disk type is 'pd-standard'
ncLabels :: Lens' NodeConfig (Maybe NodeConfigLabels) Source #
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
ncMinCPUPlatform :: Lens' NodeConfig (Maybe Text) Source #
Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as 'minCpuPlatform: "Intel Haswell"' or 'minCpuPlatform: "Intel Sandy Bridge"'. For more information, read how to specify min CPU platform
ncTags :: Lens' NodeConfig [Text] Source #
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
ncPreemptible :: Lens' NodeConfig (Maybe Bool) Source #
Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.
HTTPLoadBalancing
data HTTPLoadBalancing Source #
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
See: hTTPLoadBalancing smart constructor.
Instances
hTTPLoadBalancing :: HTTPLoadBalancing Source #
Creates a value of HTTPLoadBalancing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
httplbDisabled :: Lens' HTTPLoadBalancing (Maybe Bool) Source #
Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
See: operation smart constructor.
Instances
operation :: Operation Source #
Creates a value of Operation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oNodepoolConditions :: Lens' Operation [StatusCondition] Source #
Which conditions caused the current node pool state.
oLocation :: Lens' Operation (Maybe Text) Source #
- Output only
- The name of the Google Compute Engine
- zone
- (/compute/docs/regions-zones/regions-zones#available) or
- region
- (/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
oStartTime :: Lens' Operation (Maybe Text) Source #
- Output only
- The time the operation started, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
oZone :: Lens' Operation (Maybe Text) Source #
The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.
oStatusMessage :: Lens' Operation (Maybe Text) Source #
If an error has occurred, a textual description of the error.
oEndTime :: Lens' Operation (Maybe Text) Source #
- Output only
- The time the operation completed, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
oClusterConditions :: Lens' Operation [StatusCondition] Source #
Which conditions caused the current cluster state.
oOperationType :: Lens' Operation (Maybe OperationOperationType) Source #
The operation type.
oTargetLink :: Lens' Operation (Maybe Text) Source #
Server-defined URL for the target of the operation.
ClusterResourceLabels
data ClusterResourceLabels Source #
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
See: clusterResourceLabels smart constructor.
Instances
clusterResourceLabels Source #
Arguments
| :: HashMap Text Text | |
| -> ClusterResourceLabels |
Creates a value of ClusterResourceLabels with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty smart constructor.
Instances
| Eq Empty Source # | |
| Data Empty Source # | |
Defined in Network.Google.Container.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
| Show Empty Source # | |
| Generic Empty Source # | |
| ToJSON Empty Source # | |
Defined in Network.Google.Container.Types.Product | |
| FromJSON Empty Source # | |
| type Rep Empty Source # | |
SetNodePoolAutoscalingRequest
data SetNodePoolAutoscalingRequest Source #
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
See: setNodePoolAutoscalingRequest smart constructor.
Instances
setNodePoolAutoscalingRequest :: SetNodePoolAutoscalingRequest Source #
Creates a value of SetNodePoolAutoscalingRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snparAutoscaling :: Lens' SetNodePoolAutoscalingRequest (Maybe NodePoolAutoscaling) Source #
Autoscaling configuration for the node pool.
snparZone :: Lens' SetNodePoolAutoscalingRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
snparNodePoolId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text) Source #
Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
snparName :: Lens' SetNodePoolAutoscalingRequest (Maybe Text) Source #
The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
snparClusterId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
snparProjectId :: Lens' SetNodePoolAutoscalingRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
CompleteIPRotationRequest
data CompleteIPRotationRequest Source #
CompleteIPRotationRequest moves the cluster master back into single-IP mode.
See: completeIPRotationRequest smart constructor.
Instances
completeIPRotationRequest :: CompleteIPRotationRequest Source #
Creates a value of CompleteIPRotationRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cirrZone :: Lens' CompleteIPRotationRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
cirrName :: Lens' CompleteIPRotationRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
cirrClusterId :: Lens' CompleteIPRotationRequest (Maybe Text) Source #
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
cirrProjectId :: Lens' CompleteIPRotationRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
OperationOperationType
data OperationOperationType Source #
The operation type.
Constructors
| TypeUnspecified |
|
| CreateCluster |
|
| DeleteCluster |
|
| UpgradeMaster |
|
| UpgradeNodes |
|
| RepairCluster |
|
| UpdateCluster |
|
| CreateNodePool |
|
| DeleteNodePool |
|
| SetNodePoolManagement |
|
| AutoRepairNodes |
|
| AutoUpgradeNodes |
|
| SetLabels |
|
| SetMasterAuth |
|
| SetNodePoolSize |
|
| SetNetworkPolicy |
|
| SetMaintenancePolicy |
|
Instances
NodeManagement
data NodeManagement Source #
NodeManagement defines the set of node management services turned on for the node pool.
See: nodeManagement smart constructor.
Instances
nodeManagement :: NodeManagement Source #
Creates a value of NodeManagement with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nmAutoUpgrade :: Lens' NodeManagement (Maybe Bool) Source #
A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.
nmAutoRepair :: Lens' NodeManagement (Maybe Bool) Source #
A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.
nmUpgradeOptions :: Lens' NodeManagement (Maybe AutoUpgradeOptions) Source #
Specifies the Auto Upgrade knobs for the node pool.
NodeTaint
Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
See: nodeTaint smart constructor.
Instances
| Eq NodeTaint Source # | |
| Data NodeTaint Source # | |
Defined in Network.Google.Container.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NodeTaint -> c NodeTaint # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NodeTaint # toConstr :: NodeTaint -> Constr # dataTypeOf :: NodeTaint -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NodeTaint) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NodeTaint) # gmapT :: (forall b. Data b => b -> b) -> NodeTaint -> NodeTaint # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NodeTaint -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NodeTaint -> r # gmapQ :: (forall d. Data d => d -> u) -> NodeTaint -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> NodeTaint -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> NodeTaint -> m NodeTaint # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NodeTaint -> m NodeTaint # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NodeTaint -> m NodeTaint # | |
| Show NodeTaint Source # | |
| Generic NodeTaint Source # | |
| ToJSON NodeTaint Source # | |
Defined in Network.Google.Container.Types.Product | |
| FromJSON NodeTaint Source # | |
| type Rep NodeTaint Source # | |
Defined in Network.Google.Container.Types.Product type Rep NodeTaint = D1 (MetaData "NodeTaint" "Network.Google.Container.Types.Product" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "NodeTaint'" PrefixI True) (S1 (MetaSel (Just "_ntEffect") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NodeTaintEffect)) :*: (S1 (MetaSel (Just "_ntValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ntKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) | |
NodePoolAutoscaling
data NodePoolAutoscaling Source #
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
See: nodePoolAutoscaling smart constructor.
Instances
nodePoolAutoscaling :: NodePoolAutoscaling Source #
Creates a value of NodePoolAutoscaling with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npaMaxNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32) Source #
Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.
npaEnabled :: Lens' NodePoolAutoscaling (Maybe Bool) Source #
Is autoscaling enabled for this node pool.
npaMinNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32) Source #
Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
SetMaintenancePolicyRequest
data SetMaintenancePolicyRequest Source #
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
See: setMaintenancePolicyRequest smart constructor.
Instances
setMaintenancePolicyRequest :: SetMaintenancePolicyRequest Source #
Creates a value of SetMaintenancePolicyRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smprZone :: Lens' SetMaintenancePolicyRequest (Maybe Text) Source #
The name of the Google Compute Engine zone in which the cluster resides.
smprName :: Lens' SetMaintenancePolicyRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects/*/locations/*/clusters/*'.
smprClusterId :: Lens' SetMaintenancePolicyRequest (Maybe Text) Source #
The name of the cluster to update.
smprMaintenancePolicy :: Lens' SetMaintenancePolicyRequest (Maybe MaintenancePolicy) Source #
The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
smprProjectId :: Lens' SetMaintenancePolicyRequest (Maybe Text) Source #
The Google Developers Console project ID or project number.
KubernetesDashboard
data KubernetesDashboard Source #
Configuration for the Kubernetes Dashboard.
See: kubernetesDashboard smart constructor.
Instances
kubernetesDashboard :: KubernetesDashboard Source #
Creates a value of KubernetesDashboard with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kdDisabled :: Lens' KubernetesDashboard (Maybe Bool) Source #
Whether the Kubernetes Dashboard is enabled for this cluster.
ClientCertificateConfig
data ClientCertificateConfig Source #
Configuration for client certificates on the cluster.
See: clientCertificateConfig smart constructor.
Instances
clientCertificateConfig :: ClientCertificateConfig Source #
Creates a value of ClientCertificateConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cccIssueClientCertificate :: Lens' ClientCertificateConfig (Maybe Bool) Source #
Issue a client certificate.
SetLabelsRequest
data SetLabelsRequest Source #
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
See: setLabelsRequest smart constructor.
Instances
setLabelsRequest :: SetLabelsRequest Source #
Creates a value of SetLabelsRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slrResourceLabels :: Lens' SetLabelsRequest (Maybe SetLabelsRequestResourceLabels) Source #
The labels to set for that cluster.
slrZone :: Lens' SetLabelsRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
slrName :: Lens' SetLabelsRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects/*/locations/*/clusters/*'.
slrClusterId :: Lens' SetLabelsRequest (Maybe Text) Source #
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
slrProjectId :: Lens' SetLabelsRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
slrLabelFingerprint :: Lens' SetLabelsRequest (Maybe Text) Source #
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a 'get()' request to the resource to get the latest fingerprint.
OperationStatus
data OperationStatus Source #
The current status of the operation.
Constructors
| StatusUnspecified |
|
| Pending |
|
| Running |
|
| Done |
|
| Aborting |
|
Instances
MaintenanceWindow
data MaintenanceWindow Source #
MaintenanceWindow defines the maintenance window to be used for the cluster.
See: maintenanceWindow smart constructor.
Instances
maintenanceWindow :: MaintenanceWindow Source #
Creates a value of MaintenanceWindow with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mwDailyMaintenanceWindow :: Lens' MaintenanceWindow (Maybe DailyMaintenanceWindow) Source #
DailyMaintenanceWindow specifies a daily maintenance operation window.
IPAllocationPolicy
data IPAllocationPolicy Source #
Configuration for controlling how IPs are allocated in the cluster.
See: ipAllocationPolicy smart constructor.
Instances
ipAllocationPolicy :: IPAllocationPolicy Source #
Creates a value of IPAllocationPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iapServicesSecondaryRangeName :: Lens' IPAllocationPolicy (Maybe Text) Source #
The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.
iapNodeIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text) Source #
This field is deprecated, use node_ipv4_cidr_block.
iapUseIPAliases :: Lens' IPAllocationPolicy (Maybe Bool) Source #
Whether alias IPs will be used for pod IPs in the cluster.
iapClusterIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text) Source #
This field is deprecated, use cluster_ipv4_cidr_block.
iapSubnetworkName :: Lens' IPAllocationPolicy (Maybe Text) Source #
A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
iapClusterSecondaryRangeName :: Lens' IPAllocationPolicy (Maybe Text) Source #
The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.
iapNodeIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text) Source #
The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
iapServicesIPv4CIdR :: Lens' IPAllocationPolicy (Maybe Text) Source #
This field is deprecated, use services_ipv4_cidr_block.
iapClusterIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text) Source #
The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
iapServicesIPv4CIdRBlock :: Lens' IPAllocationPolicy (Maybe Text) Source #
The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
iapCreateSubnetwork :: Lens' IPAllocationPolicy (Maybe Bool) Source #
Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.
AddonsConfig
data AddonsConfig Source #
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
See: addonsConfig smart constructor.
Instances
addonsConfig :: AddonsConfig Source #
Creates a value of AddonsConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acNetworkPolicyConfig :: Lens' AddonsConfig (Maybe NetworkPolicyConfig) Source #
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
acHorizontalPodAutoscaling :: Lens' AddonsConfig (Maybe HorizontalPodAutoscaling) Source #
Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
acHTTPLoadBalancing :: Lens' AddonsConfig (Maybe HTTPLoadBalancing) Source #
Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
acKubernetesDashboard :: Lens' AddonsConfig (Maybe KubernetesDashboard) Source #
Configuration for the Kubernetes Dashboard.
NetworkConfig
data NetworkConfig Source #
NetworkConfig reports the relative names of network & subnetwork.
See: networkConfig smart constructor.
Instances
networkConfig :: NetworkConfig Source #
Creates a value of NetworkConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncNetwork :: Lens' NetworkConfig (Maybe Text) Source #
Output only. The relative name of the Google Compute Engine network(/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
ncSubnetwork :: Lens' NetworkConfig (Maybe Text) Source #
Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
NodePool
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
See: nodePool smart constructor.
Instances
Creates a value of NodePool with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npStatus :: Lens' NodePool (Maybe NodePoolStatus) Source #
- Output only
- The status of the nodes in this pool instance.
npAutoscaling :: Lens' NodePool (Maybe NodePoolAutoscaling) Source #
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
npInitialNodeCount :: Lens' NodePool (Maybe Int32) Source #
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
npManagement :: Lens' NodePool (Maybe NodeManagement) Source #
NodeManagement configuration for this NodePool.
npStatusMessage :: Lens' NodePool (Maybe Text) Source #
- Output only
- Additional information about the current status of this node pool instance, if available.
npConditions :: Lens' NodePool [StatusCondition] Source #
Which conditions caused the current node pool state.
npInstanceGroupURLs :: Lens' NodePool [Text] Source #
- Output only
- The resource URLs of the managed instance groups associated with this node pool.
SetNodePoolManagementRequest
data SetNodePoolManagementRequest Source #
SetNodePoolManagementRequest sets the node management properties of a node pool.
See: setNodePoolManagementRequest smart constructor.
Instances
setNodePoolManagementRequest :: SetNodePoolManagementRequest Source #
Creates a value of SetNodePoolManagementRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snpmrManagement :: Lens' SetNodePoolManagementRequest (Maybe NodeManagement) Source #
NodeManagement configuration for the node pool.
snpmrZone :: Lens' SetNodePoolManagementRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
snpmrNodePoolId :: Lens' SetNodePoolManagementRequest (Maybe Text) Source #
Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
snpmrName :: Lens' SetNodePoolManagementRequest (Maybe Text) Source #
The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
snpmrClusterId :: Lens' SetNodePoolManagementRequest (Maybe Text) Source #
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
snpmrProjectId :: Lens' SetNodePoolManagementRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
MasterAuthorizedNetworksConfig
data MasterAuthorizedNetworksConfig Source #
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
See: masterAuthorizedNetworksConfig smart constructor.
Instances
masterAuthorizedNetworksConfig :: MasterAuthorizedNetworksConfig Source #
Creates a value of MasterAuthorizedNetworksConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mancEnabled :: Lens' MasterAuthorizedNetworksConfig (Maybe Bool) Source #
Whether or not master authorized networks is enabled.
mancCIdRBlocks :: Lens' MasterAuthorizedNetworksConfig [CIdRBlock] Source #
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
LegacyAbac
data LegacyAbac Source #
Configuration for the legacy Attribute Based Access Control authorization mode.
See: legacyAbac smart constructor.
Instances
legacyAbac :: LegacyAbac Source #
Creates a value of LegacyAbac with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
laEnabled :: Lens' LegacyAbac (Maybe Bool) Source #
Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
MasterAuth
data MasterAuth Source #
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
See: masterAuth smart constructor.
Instances
masterAuth :: MasterAuth Source #
Creates a value of MasterAuth with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
maClientKey :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded private key used by clients to authenticate to the cluster endpoint.
maUsername :: Lens' MasterAuth (Maybe Text) Source #
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string).
maClientCertificateConfig :: Lens' MasterAuth (Maybe ClientCertificateConfig) Source #
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
maClientCertificate :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
maPassword :: Lens' MasterAuth (Maybe Text) Source #
The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty.
maClusterCaCertificate :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded public certificate that is the root of trust for the cluster.
StatusCondition
data StatusCondition Source #
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
See: statusCondition smart constructor.
Instances
statusCondition :: StatusCondition Source #
Creates a value of StatusCondition with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scCode :: Lens' StatusCondition (Maybe StatusConditionCode) Source #
Machine-friendly representation of the condition
scMessage :: Lens' StatusCondition (Maybe Text) Source #
Human-friendly representation of the condition
NodeConfigMetadata
data NodeConfigMetadata Source #
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: "cluster-location" "cluster-name" "cluster-uid" "configure-sh" "enable-os-login" "gci-update-strategy" "gci-ensure-gke-docker" "instance-template" "kube-env" "startup-script" "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
See: nodeConfigMetadata smart constructor.
Instances
Arguments
| :: HashMap Text Text | |
| -> NodeConfigMetadata |
Creates a value of NodeConfigMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
NodeConfigLabels
data NodeConfigLabels Source #
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
See: nodeConfigLabels smart constructor.
Instances
Arguments
| :: HashMap Text Text | |
| -> NodeConfigLabels |
Creates a value of NodeConfigLabels with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ServerConfig
data ServerConfig Source #
Kubernetes Engine service configuration.
See: serverConfig smart constructor.
Instances
serverConfig :: ServerConfig Source #
Creates a value of ServerConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scDefaultImageType :: Lens' ServerConfig (Maybe Text) Source #
Default image type.
scValidNodeVersions :: Lens' ServerConfig [Text] Source #
List of valid node upgrade target versions.
scValidImageTypes :: Lens' ServerConfig [Text] Source #
List of valid image types.
scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text) Source #
Version of Kubernetes the service deploys by default.
scValidMasterVersions :: Lens' ServerConfig [Text] Source #
List of valid master versions.
NetworkPolicyProvider
data NetworkPolicyProvider Source #
The selected network policy provider.
Constructors
| ProviderUnspecified |
|
| Calico |
|
Instances
AutoUpgradeOptions
data AutoUpgradeOptions Source #
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
See: autoUpgradeOptions smart constructor.
Instances
autoUpgradeOptions :: AutoUpgradeOptions Source #
Creates a value of AutoUpgradeOptions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
auoAutoUpgradeStartTime :: Lens' AutoUpgradeOptions (Maybe Text) Source #
- Output only
- This field is set when upgrades are about to commence with the approximate start time for the upgrades, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
auoDescription :: Lens' AutoUpgradeOptions (Maybe Text) Source #
- Output only
- This field is set when upgrades are about to commence with the description of the upgrade.
SetNodePoolSizeRequest
data SetNodePoolSizeRequest Source #
SetNodePoolSizeRequest sets the size a node pool.
See: setNodePoolSizeRequest smart constructor.
Instances
setNodePoolSizeRequest :: SetNodePoolSizeRequest Source #
Creates a value of SetNodePoolSizeRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snpsrNodeCount :: Lens' SetNodePoolSizeRequest (Maybe Int32) Source #
The desired node count for the pool.
snpsrZone :: Lens' SetNodePoolSizeRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
snpsrNodePoolId :: Lens' SetNodePoolSizeRequest (Maybe Text) Source #
Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
snpsrName :: Lens' SetNodePoolSizeRequest (Maybe Text) Source #
The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
snpsrClusterId :: Lens' SetNodePoolSizeRequest (Maybe Text) Source #
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
snpsrProjectId :: Lens' SetNodePoolSizeRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Xgafv
V1 error format.
Instances
SetMonitoringServiceRequest
data SetMonitoringServiceRequest Source #
SetMonitoringServiceRequest sets the monitoring service of a cluster.
See: setMonitoringServiceRequest smart constructor.
Instances
setMonitoringServiceRequest :: SetMonitoringServiceRequest Source #
Creates a value of SetMonitoringServiceRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smsrZone :: Lens' SetMonitoringServiceRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
smsrName :: Lens' SetMonitoringServiceRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects/*/locations/*/clusters/*'.
smsrClusterId :: Lens' SetMonitoringServiceRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
smsrProjectId :: Lens' SetMonitoringServiceRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
smsrMonitoringService :: Lens' SetMonitoringServiceRequest (Maybe Text) Source #
The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster
SetLoggingServiceRequest
data SetLoggingServiceRequest Source #
SetLoggingServiceRequest sets the logging service of a cluster.
See: setLoggingServiceRequest smart constructor.
Instances
setLoggingServiceRequest :: SetLoggingServiceRequest Source #
Creates a value of SetLoggingServiceRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slsrZone :: Lens' SetLoggingServiceRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
slsrName :: Lens' SetLoggingServiceRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to set logging. Specified in the format 'projects/*/locations/*/clusters/*'.
slsrClusterId :: Lens' SetLoggingServiceRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
slsrProjectId :: Lens' SetLoggingServiceRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
slsrLoggingService :: Lens' SetLoggingServiceRequest (Maybe Text) Source #
The logging service the cluster should use to write metrics. Currently available options: * "logging.googleapis.com" - the Google Cloud Logging service * "none" - no metrics will be exported from the cluster
MaintenancePolicy
data MaintenancePolicy Source #
MaintenancePolicy defines the maintenance policy to be used for the cluster.
See: maintenancePolicy smart constructor.
Instances
maintenancePolicy :: MaintenancePolicy Source #
Creates a value of MaintenancePolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mpWindow :: Lens' MaintenancePolicy (Maybe MaintenanceWindow) Source #
Specifies the maintenance window in which maintenance may be performed.
CIdRBlock
CidrBlock contains an optional name and one CIDR block.
See: cIdRBlock smart constructor.
Instances
| Eq CIdRBlock Source # | |
| Data CIdRBlock Source # | |
Defined in Network.Google.Container.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CIdRBlock -> c CIdRBlock # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CIdRBlock # toConstr :: CIdRBlock -> Constr # dataTypeOf :: CIdRBlock -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CIdRBlock) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CIdRBlock) # gmapT :: (forall b. Data b => b -> b) -> CIdRBlock -> CIdRBlock # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CIdRBlock -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CIdRBlock -> r # gmapQ :: (forall d. Data d => d -> u) -> CIdRBlock -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CIdRBlock -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CIdRBlock -> m CIdRBlock # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CIdRBlock -> m CIdRBlock # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CIdRBlock -> m CIdRBlock # | |
| Show CIdRBlock Source # | |
| Generic CIdRBlock Source # | |
| ToJSON CIdRBlock Source # | |
Defined in Network.Google.Container.Types.Product | |
| FromJSON CIdRBlock Source # | |
| type Rep CIdRBlock Source # | |
Defined in Network.Google.Container.Types.Product type Rep CIdRBlock = D1 (MetaData "CIdRBlock" "Network.Google.Container.Types.Product" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "CIdRBlock'" PrefixI True) (S1 (MetaSel (Just "_cirbCIdRBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cirbDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) | |
cIdRBlock :: CIdRBlock Source #
Creates a value of CIdRBlock with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cirbCIdRBlock :: Lens' CIdRBlock (Maybe Text) Source #
cidr_block must be specified in CIDR notation.
cirbDisplayName :: Lens' CIdRBlock (Maybe Text) Source #
display_name is an optional field for users to identify CIDR blocks.
AcceleratorConfig
data AcceleratorConfig Source #
AcceleratorConfig represents a Hardware Accelerator request.
See: acceleratorConfig smart constructor.
Instances
acceleratorConfig :: AcceleratorConfig Source #
Creates a value of AcceleratorConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acAcceleratorCount :: Lens' AcceleratorConfig (Maybe Int64) Source #
The number of the accelerator cards exposed to an instance.
acAcceleratorType :: Lens' AcceleratorConfig (Maybe Text) Source #
The accelerator type resource name. List of supported accelerators here
SetLocationsRequest
data SetLocationsRequest Source #
SetLocationsRequest sets the locations of the cluster.
See: setLocationsRequest smart constructor.
Instances
setLocationsRequest :: SetLocationsRequest Source #
Creates a value of SetLocationsRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sZone :: Lens' SetLocationsRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
sName :: Lens' SetLocationsRequest (Maybe Text) Source #
The name (project, location, cluster) of the cluster to set locations. Specified in the format 'projects/*/locations/*/clusters/*'.
sClusterId :: Lens' SetLocationsRequest (Maybe Text) Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
sProjectId :: Lens' SetLocationsRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
sLocations :: Lens' SetLocationsRequest [Text] Source #
The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
SetNetworkPolicyRequest
data SetNetworkPolicyRequest Source #
SetNetworkPolicyRequest enables/disables network policy for a cluster.
See: setNetworkPolicyRequest smart constructor.
Instances
setNetworkPolicyRequest :: SetNetworkPolicyRequest Source #
Creates a value of SetNetworkPolicyRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snprZone :: Lens' SetNetworkPolicyRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
snprName :: Lens' SetNetworkPolicyRequest (Maybe Text) Source #
The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects/*/locations/*/clusters/*'.
snprClusterId :: Lens' SetNetworkPolicyRequest (Maybe Text) Source #
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
snprProjectId :: Lens' SetNetworkPolicyRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
snprNetworkPolicy :: Lens' SetNetworkPolicyRequest (Maybe NetworkPolicy) Source #
Configuration options for the NetworkPolicy feature.
PrivateClusterConfig
data PrivateClusterConfig Source #
Configuration options for private clusters.
See: privateClusterConfig smart constructor.
Instances
privateClusterConfig :: PrivateClusterConfig Source #
Creates a value of PrivateClusterConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pccEnablePrivateNodes :: Lens' PrivateClusterConfig (Maybe Bool) Source #
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
pccEnablePrivateEndpoint :: Lens' PrivateClusterConfig (Maybe Bool) Source #
Whether the master's internal IP address is used as the cluster endpoint.
pccPublicEndpoint :: Lens' PrivateClusterConfig (Maybe Text) Source #
Output only. The external IP address of this cluster's master endpoint.
pccMasterIPv4CIdRBlock :: Lens' PrivateClusterConfig (Maybe Text) Source #
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
pccPrivateEndpoint :: Lens' PrivateClusterConfig (Maybe Text) Source #
Output only. The internal IP address of this cluster's master endpoint.
DailyMaintenanceWindow
data DailyMaintenanceWindow Source #
Time window specified for daily maintenance operations.
See: dailyMaintenanceWindow smart constructor.
Instances
dailyMaintenanceWindow :: DailyMaintenanceWindow Source #
Creates a value of DailyMaintenanceWindow with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmwStartTime :: Lens' DailyMaintenanceWindow (Maybe Text) Source #
Time within the maintenance window to start the maintenance operations. Time format should be in RFC3339 format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
dmwDuration :: Lens' DailyMaintenanceWindow (Maybe Text) Source #
- Output only
- Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
NodePoolStatus
data NodePoolStatus Source #
- Output only
- The status of the nodes in this pool instance.
Constructors
| NPSStatusUnspecified |
|
| NPSProvisioning |
|
| NPSRunning |
|
| NPSRunningWithError |
|
| NPSReconciling |
|
| NPSStopping |
|
| NPSError' |
|
Instances
ListClustersResponse
data ListClustersResponse Source #
ListClustersResponse is the result of ListClustersRequest.
See: listClustersResponse smart constructor.
Instances
listClustersResponse :: ListClustersResponse Source #
Creates a value of ListClustersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrClusters :: Lens' ListClustersResponse [Cluster] Source #
A list of clusters in the project in the specified zone, or across all ones.
lcrMissingZones :: Lens' ListClustersResponse [Text] Source #
If any zones are listed here, the list of clusters returned may be missing those zones.
ClusterUpdate
data ClusterUpdate Source #
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
See: clusterUpdate smart constructor.
Instances
clusterUpdate :: ClusterUpdate Source #
Creates a value of ClusterUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cuDesiredNodePoolAutoscaling :: Lens' ClusterUpdate (Maybe NodePoolAutoscaling) Source #
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
cuDesiredAddonsConfig :: Lens' ClusterUpdate (Maybe AddonsConfig) Source #
Configurations for the various addons available to run in the cluster.
cuDesiredNodePoolId :: Lens' ClusterUpdate (Maybe Text) Source #
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
cuDesiredMasterAuthorizedNetworksConfig :: Lens' ClusterUpdate (Maybe MasterAuthorizedNetworksConfig) Source #
The desired configuration options for master authorized networks feature.
cuDesiredImageType :: Lens' ClusterUpdate (Maybe Text) Source #
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
cuDesiredNodeVersion :: Lens' ClusterUpdate (Maybe Text) Source #
The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
cuDesiredMasterVersion :: Lens' ClusterUpdate (Maybe Text) Source #
The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version
cuDesiredLocations :: Lens' ClusterUpdate [Text] Source #
The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
cuDesiredMonitoringService :: Lens' ClusterUpdate (Maybe Text) Source #
The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster
RollbackNodePoolUpgradeRequest
data RollbackNodePoolUpgradeRequest Source #
RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
See: rollbackNodePoolUpgradeRequest smart constructor.
Instances
rollbackNodePoolUpgradeRequest :: RollbackNodePoolUpgradeRequest Source #
Creates a value of RollbackNodePoolUpgradeRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rnpurZone :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
rnpurNodePoolId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text) Source #
Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.
rnpurName :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text) Source #
The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
rnpurClusterId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text) Source #
Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
rnpurProjectId :: Lens' RollbackNodePoolUpgradeRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
NetworkPolicy
data NetworkPolicy Source #
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
See: networkPolicy smart constructor.
Instances
networkPolicy :: NetworkPolicy Source #
Creates a value of NetworkPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npEnabled :: Lens' NetworkPolicy (Maybe Bool) Source #
Whether network policy is enabled on the cluster.
npProvider :: Lens' NetworkPolicy (Maybe NetworkPolicyProvider) Source #
The selected network policy provider.
ListNodePoolsResponse
data ListNodePoolsResponse Source #
ListNodePoolsResponse is the result of ListNodePoolsRequest.
See: listNodePoolsResponse smart constructor.
Instances
listNodePoolsResponse :: ListNodePoolsResponse Source #
Creates a value of ListNodePoolsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnprNodePools :: Lens' ListNodePoolsResponse [NodePool] Source #
A list of node pools for a cluster.
ClusterStatus
data ClusterStatus Source #
- Output only
- The current status of this cluster.
Constructors
| CSStatusUnspecified |
|
| CSProvisioning |
|
| CSRunning |
|
| CSReconciling |
|
| CSStopping |
|
| CSError' |
|
| CSDegraded |
|
Instances
NodeTaintEffect
data NodeTaintEffect Source #
Effect for taint.
Constructors
| EffectUnspecified |
|
| NoSchedule |
|
| PreferNoSchedule |
|
| NoExecute |
|
Instances
CreateNodePoolRequest
data CreateNodePoolRequest Source #
CreateNodePoolRequest creates a node pool for a cluster.
See: createNodePoolRequest smart constructor.
Instances
createNodePoolRequest :: CreateNodePoolRequest Source #
Creates a value of CreateNodePoolRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cnprParent :: Lens' CreateNodePoolRequest (Maybe Text) Source #
The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/*/locations/*/clusters/*'.
cnprZone :: Lens' CreateNodePoolRequest (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
cnprNodePool :: Lens' CreateNodePoolRequest (Maybe NodePool) Source #
The node pool to create.
cnprClusterId :: Lens' CreateNodePoolRequest (Maybe Text) Source #
Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
cnprProjectId :: Lens' CreateNodePoolRequest (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
SetLabelsRequestResourceLabels
data SetLabelsRequestResourceLabels Source #
The labels to set for that cluster.
See: setLabelsRequestResourceLabels smart constructor.
Instances
setLabelsRequestResourceLabels Source #
Arguments
| :: HashMap Text Text | |
| -> SetLabelsRequestResourceLabels |
Creates a value of SetLabelsRequestResourceLabels with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SetMasterAuthRequestAction
data SetMasterAuthRequestAction Source #
The exact form of action to be taken on the master auth.
Constructors
| SMARAUnknown |
|
| SMARASetPassword |
|
| SMARAGeneratePassword |
|
| SMARASetUsername |
|