Copyright | (c) 2015 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 |
- Service Configuration
- OAuth Scopes
- OperationWarningsItemDataItem
- InstanceGroupManagersAbandonInstancesRequest
- InstanceGroupManagersSetInstanceTemplateRequest
- OperationWarningsItemCode
- OperationList
- InstanceGroupManagerList
- ReplicaPoolAutoHealingPolicyActionType
- Operation
- InstanceGroupManager
- ReplicaPoolAutoHealingPolicy
- InstanceGroupManagersRecreateInstancesRequest
- OperationStatus
- InstanceGroupManagersDeleteInstancesRequest
- OperationError
- InstanceGroupManagersSetTargetPoolsRequest
- OperationErrorErrorsItem
- OperationWarningsItem
- replicaPoolService :: Service
- computeScope :: OAuthScope
- cloudPlatformReadOnlyScope :: OAuthScope
- cloudPlatformScope :: OAuthScope
- computeReadonlyScope :: OAuthScope
- data OperationWarningsItemDataItem
- operationWarningsItemDataItem :: OperationWarningsItemDataItem
- owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text)
- owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text)
- data InstanceGroupManagersAbandonInstancesRequest
- instanceGroupManagersAbandonInstancesRequest :: InstanceGroupManagersAbandonInstancesRequest
- igmairInstances :: Lens' InstanceGroupManagersAbandonInstancesRequest [Text]
- data InstanceGroupManagersSetInstanceTemplateRequest
- instanceGroupManagersSetInstanceTemplateRequest :: InstanceGroupManagersSetInstanceTemplateRequest
- igmsitrInstanceTemplate :: Lens' InstanceGroupManagersSetInstanceTemplateRequest (Maybe Text)
- data OperationWarningsItemCode
- = DeprecatedResourceUsed
- | DiskSizeLargerThanImageSize
- | InjectedKernelsDeprecated
- | NextHopAddressNotAssigned
- | NextHopCannotIPForward
- | NextHopInstanceNotFound
- | NextHopInstanceNotOnNetwork
- | NextHopNotRunning
- | NoResultsOnPage
- | RequiredTosAgreement
- | ResourceNotDeleted
- | SingleInstancePropertyTemplate
- | Unreachable
- data OperationList
- operationList :: OperationList
- olNextPageToken :: Lens' OperationList (Maybe Text)
- olKind :: Lens' OperationList Text
- olItems :: Lens' OperationList [Operation]
- olSelfLink :: Lens' OperationList (Maybe Text)
- olId :: Lens' OperationList (Maybe Text)
- data InstanceGroupManagerList
- instanceGroupManagerList :: InstanceGroupManagerList
- igmlNextPageToken :: Lens' InstanceGroupManagerList (Maybe Text)
- igmlKind :: Lens' InstanceGroupManagerList Text
- igmlItems :: Lens' InstanceGroupManagerList [InstanceGroupManager]
- igmlSelfLink :: Lens' InstanceGroupManagerList (Maybe Text)
- igmlId :: Lens' InstanceGroupManagerList (Maybe Text)
- data ReplicaPoolAutoHealingPolicyActionType
- data Operation
- operation :: Operation
- oTargetId :: Lens' Operation (Maybe Word64)
- oStatus :: Lens' Operation (Maybe OperationStatus)
- oInsertTime :: Lens' Operation (Maybe Text)
- oProgress :: Lens' Operation (Maybe Int32)
- oStartTime :: Lens' Operation (Maybe Text)
- oKind :: Lens' Operation Text
- oError :: Lens' Operation (Maybe OperationError)
- oHTTPErrorMessage :: Lens' Operation (Maybe Text)
- oZone :: Lens' Operation (Maybe Text)
- oWarnings :: Lens' Operation [OperationWarningsItem]
- oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32)
- oUser :: Lens' Operation (Maybe Text)
- oSelfLink :: Lens' Operation (Maybe Text)
- oName :: Lens' Operation (Maybe Text)
- oStatusMessage :: Lens' Operation (Maybe Text)
- oCreationTimestamp :: Lens' Operation (Maybe Text)
- oEndTime :: Lens' Operation (Maybe Text)
- oId :: Lens' Operation (Maybe Word64)
- oOperationType :: Lens' Operation (Maybe Text)
- oRegion :: Lens' Operation (Maybe Text)
- oTargetLink :: Lens' Operation (Maybe Text)
- oClientOperationId :: Lens' Operation (Maybe Text)
- data InstanceGroupManager
- instanceGroupManager :: InstanceGroupManager
- igmCurrentSize :: Lens' InstanceGroupManager (Maybe Int32)
- igmGroup :: Lens' InstanceGroupManager (Maybe Text)
- igmKind :: Lens' InstanceGroupManager Text
- igmFingerprint :: Lens' InstanceGroupManager (Maybe Word8)
- igmBaseInstanceName :: Lens' InstanceGroupManager (Maybe Text)
- igmAutoHealingPolicies :: Lens' InstanceGroupManager [ReplicaPoolAutoHealingPolicy]
- igmInstanceTemplate :: Lens' InstanceGroupManager (Maybe Text)
- igmTargetSize :: Lens' InstanceGroupManager (Maybe Int32)
- igmSelfLink :: Lens' InstanceGroupManager (Maybe Text)
- igmName :: Lens' InstanceGroupManager (Maybe Text)
- igmCreationTimestamp :: Lens' InstanceGroupManager (Maybe Text)
- igmId :: Lens' InstanceGroupManager (Maybe Word64)
- igmTargetPools :: Lens' InstanceGroupManager [Text]
- igmDescription :: Lens' InstanceGroupManager (Maybe Text)
- data ReplicaPoolAutoHealingPolicy
- replicaPoolAutoHealingPolicy :: ReplicaPoolAutoHealingPolicy
- rpahpHealthCheck :: Lens' ReplicaPoolAutoHealingPolicy (Maybe Text)
- rpahpActionType :: Lens' ReplicaPoolAutoHealingPolicy (Maybe ReplicaPoolAutoHealingPolicyActionType)
- data InstanceGroupManagersRecreateInstancesRequest
- instanceGroupManagersRecreateInstancesRequest :: InstanceGroupManagersRecreateInstancesRequest
- igmrirInstances :: Lens' InstanceGroupManagersRecreateInstancesRequest [Text]
- data OperationStatus
- data InstanceGroupManagersDeleteInstancesRequest
- instanceGroupManagersDeleteInstancesRequest :: InstanceGroupManagersDeleteInstancesRequest
- igmdirInstances :: Lens' InstanceGroupManagersDeleteInstancesRequest [Text]
- data OperationError
- operationError :: OperationError
- oeErrors :: Lens' OperationError [OperationErrorErrorsItem]
- data InstanceGroupManagersSetTargetPoolsRequest
- instanceGroupManagersSetTargetPoolsRequest :: InstanceGroupManagersSetTargetPoolsRequest
- igmstprFingerprint :: Lens' InstanceGroupManagersSetTargetPoolsRequest (Maybe Word8)
- igmstprTargetPools :: Lens' InstanceGroupManagersSetTargetPoolsRequest [Text]
- data OperationErrorErrorsItem
- operationErrorErrorsItem :: OperationErrorErrorsItem
- oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text)
- oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text)
- oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text)
- data OperationWarningsItem
- operationWarningsItem :: OperationWarningsItem
- owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem]
- owiCode :: Lens' OperationWarningsItem (Maybe OperationWarningsItemCode)
- owiMessage :: Lens' OperationWarningsItem (Maybe Text)
Service Configuration
replicaPoolService :: Service Source
Default request referring to version v1beta2
of the Google Compute Engine Instance Group Manager API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
computeScope :: OAuthScope Source
View and manage your Google Compute Engine resources
cloudPlatformReadOnlyScope :: OAuthScope Source
View your data across Google Cloud Platform services
cloudPlatformScope :: OAuthScope Source
View and manage your data across Google Cloud Platform services
computeReadonlyScope :: OAuthScope Source
View your Google Compute Engine resources
OperationWarningsItemDataItem
data OperationWarningsItemDataItem Source
operationWarningsItemDataItem :: OperationWarningsItemDataItem Source
Creates a value of OperationWarningsItemDataItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text) Source
- Output Only
- Metadata value for this warning.
owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text) Source
- Output Only
- Metadata key for this warning.
InstanceGroupManagersAbandonInstancesRequest
data InstanceGroupManagersAbandonInstancesRequest Source
instanceGroupManagersAbandonInstancesRequest :: InstanceGroupManagersAbandonInstancesRequest Source
Creates a value of InstanceGroupManagersAbandonInstancesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmairInstances :: Lens' InstanceGroupManagersAbandonInstancesRequest [Text] Source
The names of one or more instances to abandon. For example: { 'instances': [ 'instance-c3po', 'instance-r2d2' ] }
InstanceGroupManagersSetInstanceTemplateRequest
data InstanceGroupManagersSetInstanceTemplateRequest Source
instanceGroupManagersSetInstanceTemplateRequest :: InstanceGroupManagersSetInstanceTemplateRequest Source
Creates a value of InstanceGroupManagersSetInstanceTemplateRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmsitrInstanceTemplate :: Lens' InstanceGroupManagersSetInstanceTemplateRequest (Maybe Text) Source
The full URL to an Instance Template from which all new instances will be created.
OperationWarningsItemCode
data OperationWarningsItemCode Source
- Output only
- The warning type identifier for this warning.
DeprecatedResourceUsed | DEPRECATED_RESOURCE_USED |
DiskSizeLargerThanImageSize | DISK_SIZE_LARGER_THAN_IMAGE_SIZE |
InjectedKernelsDeprecated | INJECTED_KERNELS_DEPRECATED |
NextHopAddressNotAssigned | NEXT_HOP_ADDRESS_NOT_ASSIGNED |
NextHopCannotIPForward | NEXT_HOP_CANNOT_IP_FORWARD |
NextHopInstanceNotFound | NEXT_HOP_INSTANCE_NOT_FOUND |
NextHopInstanceNotOnNetwork | NEXT_HOP_INSTANCE_NOT_ON_NETWORK |
NextHopNotRunning | NEXT_HOP_NOT_RUNNING |
NoResultsOnPage | NO_RESULTS_ON_PAGE |
RequiredTosAgreement | REQUIRED_TOS_AGREEMENT |
ResourceNotDeleted | RESOURCE_NOT_DELETED |
SingleInstancePropertyTemplate | SINGLE_INSTANCE_PROPERTY_TEMPLATE |
Unreachable | UNREACHABLE |
OperationList
data OperationList Source
operationList :: OperationList Source
Creates a value of OperationList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
olNextPageToken :: Lens' OperationList (Maybe Text) Source
A token used to continue a truncated list request (output only).
olKind :: Lens' OperationList Text Source
Type of resource.
olItems :: Lens' OperationList [Operation] Source
The operation resources.
olSelfLink :: Lens' OperationList (Maybe Text) Source
Server defined URL for this resource (output only).
olId :: Lens' OperationList (Maybe Text) Source
Unique identifier for the resource; defined by the server (output only).
InstanceGroupManagerList
instanceGroupManagerList :: InstanceGroupManagerList Source
Creates a value of InstanceGroupManagerList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmlNextPageToken :: Lens' InstanceGroupManagerList (Maybe Text) Source
A token used to continue a truncated list request (output only).
igmlKind :: Lens' InstanceGroupManagerList Text Source
Type of resource.
igmlItems :: Lens' InstanceGroupManagerList [InstanceGroupManager] Source
A list of instance resources.
igmlSelfLink :: Lens' InstanceGroupManagerList (Maybe Text) Source
Server defined URL for this resource (output only).
igmlId :: Lens' InstanceGroupManagerList (Maybe Text) Source
Unique identifier for the resource; defined by the server (output only).
ReplicaPoolAutoHealingPolicyActionType
data ReplicaPoolAutoHealingPolicyActionType Source
The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart.
Operation
An operation resource, used to manage asynchronous API requests.
See: operation
smart constructor.
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:
oTargetId :: Lens' Operation (Maybe Word64) Source
- Output Only
- Unique target ID which identifies a particular incarnation of the target.
oInsertTime :: Lens' Operation (Maybe Text) Source
- Output Only
- The time that this operation was requested, in RFC3339 text format.
oProgress :: Lens' Operation (Maybe Int32) Source
- Output only
- An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
oStartTime :: Lens' Operation (Maybe Text) Source
- Output Only
- The time that this operation was started by the server, in RFC3339 text format.
oError :: Lens' Operation (Maybe OperationError) Source
- Output Only
- If errors occurred during processing of this operation, this field will be populated.
oHTTPErrorMessage :: Lens' Operation (Maybe Text) Source
- Output only
- If operation fails, the HTTP error message returned.
oZone :: Lens' Operation (Maybe Text) Source
- Output Only
- URL of the zone where the operation resides. Only available when performing per-zone operations.
oWarnings :: Lens' Operation [OperationWarningsItem] Source
- Output Only
- If there are issues with this operation, a warning is returned.
oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32) Source
- Output only
- If operation fails, the HTTP error status code returned.
oUser :: Lens' Operation (Maybe Text) Source
- Output Only
- User who requested the operation, for example: user'example.com.
oSelfLink :: Lens' Operation (Maybe Text) Source
- Output Only
- Server-defined fully-qualified URL for this resource.
oStatusMessage :: Lens' Operation (Maybe Text) Source
- Output Only
- An optional textual description of the current status of the operation.
oCreationTimestamp :: Lens' Operation (Maybe Text) Source
- Output Only
- The time that this operation was requested, in RFC3339 text format.
oEndTime :: Lens' Operation (Maybe Text) Source
- Output Only
- The time that this operation was completed, in RFC3339 text format.
oId :: Lens' Operation (Maybe Word64) Source
- Output Only
- Unique identifier for the resource, generated by the server.
oOperationType :: Lens' Operation (Maybe Text) Source
- Output only
- Type of the operation. Operations include insert, update, and delete.
oRegion :: Lens' Operation (Maybe Text) Source
- Output Only
- URL of the region where the operation resides. Only available when performing regional operations.
oTargetLink :: Lens' Operation (Maybe Text) Source
- Output only
- URL of the resource the operation is mutating.
oClientOperationId :: Lens' Operation (Maybe Text) Source
- Output only
- An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
InstanceGroupManager
data InstanceGroupManager Source
An Instance Group Manager resource.
See: instanceGroupManager
smart constructor.
instanceGroupManager :: InstanceGroupManager Source
Creates a value of InstanceGroupManager
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmCurrentSize :: Lens' InstanceGroupManager (Maybe Int32) Source
- Output only
- The number of instances that currently exist and are a part of this group. This includes instances that are starting but are not yet RUNNING, and instances that are in the process of being deleted or abandoned.
igmGroup :: Lens' InstanceGroupManager (Maybe Text) Source
- Output only
- The full URL of the instance group created by the manager. This group contains all of the instances being managed, and cannot contain non-managed instances.
igmKind :: Lens' InstanceGroupManager Text Source
- Output only
- The resource type. Always replicapool#instanceGroupManager.
igmFingerprint :: Lens' InstanceGroupManager (Maybe Word8) Source
- Output only
- Fingerprint of the instance group manager. This field is used for optimistic locking. An up-to-date fingerprint must be provided in order to modify the Instance Group Manager resource.
igmBaseInstanceName :: Lens' InstanceGroupManager (Maybe Text) Source
The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
igmAutoHealingPolicies :: Lens' InstanceGroupManager [ReplicaPoolAutoHealingPolicy] Source
The autohealing policy for this managed instance group. You can specify only one value.
igmInstanceTemplate :: Lens' InstanceGroupManager (Maybe Text) Source
The full URL to an instance template from which all new instances will be created.
igmTargetSize :: Lens' InstanceGroupManager (Maybe Int32) Source
- Output only
- The number of instances that the manager is attempting to maintain. Deleting or abandoning instances affects this number, as does resizing the group.
igmSelfLink :: Lens' InstanceGroupManager (Maybe Text) Source
- Output only
- The fully qualified URL for this resource.
igmName :: Lens' InstanceGroupManager (Maybe Text) Source
The name of the instance group manager. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.
igmCreationTimestamp :: Lens' InstanceGroupManager (Maybe Text) Source
- Output only
- The time the instance group manager was created, in RFC3339 text format.
igmId :: Lens' InstanceGroupManager (Maybe Word64) Source
- Output only
- A server-assigned unique identifier for the resource.
igmTargetPools :: Lens' InstanceGroupManager [Text] Source
The full URL of all target pools to which new instances in the group are added. Updating the target pool values does not affect existing instances.
igmDescription :: Lens' InstanceGroupManager (Maybe Text) Source
An optional textual description of the instance group manager.
ReplicaPoolAutoHealingPolicy
replicaPoolAutoHealingPolicy :: ReplicaPoolAutoHealingPolicy Source
Creates a value of ReplicaPoolAutoHealingPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpahpHealthCheck :: Lens' ReplicaPoolAutoHealingPolicy (Maybe Text) Source
The URL for the HealthCheck that signals autohealing.
rpahpActionType :: Lens' ReplicaPoolAutoHealingPolicy (Maybe ReplicaPoolAutoHealingPolicyActionType) Source
The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart.
InstanceGroupManagersRecreateInstancesRequest
data InstanceGroupManagersRecreateInstancesRequest Source
instanceGroupManagersRecreateInstancesRequest :: InstanceGroupManagersRecreateInstancesRequest Source
Creates a value of InstanceGroupManagersRecreateInstancesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmrirInstances :: Lens' InstanceGroupManagersRecreateInstancesRequest [Text] Source
The names of one or more instances to recreate. For example: { 'instances': [ 'instance-c3po', 'instance-r2d2' ] }
OperationStatus
data OperationStatus Source
- Output Only
- Status of the operation.
InstanceGroupManagersDeleteInstancesRequest
data InstanceGroupManagersDeleteInstancesRequest Source
instanceGroupManagersDeleteInstancesRequest :: InstanceGroupManagersDeleteInstancesRequest Source
Creates a value of InstanceGroupManagersDeleteInstancesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmdirInstances :: Lens' InstanceGroupManagersDeleteInstancesRequest [Text] Source
Names of instances to delete. Example: 'instance-foo', 'instance-bar'
OperationError
data OperationError Source
- Output Only
- If errors occurred during processing of this operation, this field will be populated.
See: operationError
smart constructor.
operationError :: OperationError Source
Creates a value of OperationError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oeErrors :: Lens' OperationError [OperationErrorErrorsItem] Source
- Output Only
- The array of errors encountered while processing this operation.
InstanceGroupManagersSetTargetPoolsRequest
data InstanceGroupManagersSetTargetPoolsRequest Source
instanceGroupManagersSetTargetPoolsRequest :: InstanceGroupManagersSetTargetPoolsRequest Source
Creates a value of InstanceGroupManagersSetTargetPoolsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmstprFingerprint :: Lens' InstanceGroupManagersSetTargetPoolsRequest (Maybe Word8) Source
The current fingerprint of the Instance Group Manager resource. If this does not match the server-side fingerprint of the resource, then the request will be rejected.
igmstprTargetPools :: Lens' InstanceGroupManagersSetTargetPoolsRequest [Text] Source
A list of fully-qualified URLs to existing Target Pool resources. New instances in the Instance Group Manager will be added to the specified target pools; existing instances are not affected.
OperationErrorErrorsItem
operationErrorErrorsItem :: OperationErrorErrorsItem Source
Creates a value of OperationErrorErrorsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text) Source
- Output Only
- Indicates the field in the request which caused the error. This property is optional.
oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text) Source
- Output Only
- The error type identifier for this error.
oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text) Source
- Output Only
- An optional, human-readable error message.
OperationWarningsItem
operationWarningsItem :: OperationWarningsItem Source
Creates a value of OperationWarningsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem] Source
- Output only
- Metadata for this warning in key:value format.
owiCode :: Lens' OperationWarningsItem (Maybe OperationWarningsItemCode) Source
- Output only
- The warning type identifier for this warning.
owiMessage :: Lens' OperationWarningsItem (Maybe Text) Source
- Output only
- Optional human-readable details for this warning.