Liking cljdoc? Tell your friends :D

happygapi.compute.regionInstanceGroupManagers

Compute Engine API: regionInstanceGroupManagers. Creates and runs virtual machines on Google Cloud Platform. See: https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers

Compute Engine API: regionInstanceGroupManagers.
Creates and runs virtual machines on Google Cloud Platform.
See: https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers
raw docstring

abandonInstances$clj

(abandonInstances$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/abandonInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:instances [string]}

Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/abandonInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:instances [string]}

Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.
sourceraw docstring

applyUpdatesToInstances$clj

(applyUpdatesToInstances$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/applyUpdatesToInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: none

Body:

{:instances [string], :minimalAction string, :mostDisruptiveAllowedAction string}

Apply updates to selected instances the managed instance group.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/applyUpdatesToInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: none

Body: 

{:instances [string],
 :minimalAction string,
 :mostDisruptiveAllowedAction string}

Apply updates to selected instances the managed instance group.
sourceraw docstring

createInstances$clj

(createInstances$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/createInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:instances [{:fingerprint string, :name string}]}

Creates instances with per-instance configs in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/createInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:instances [{:fingerprint string, :name string}]}

Creates instances with per-instance configs in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/delete

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Deletes the specified managed instance group and all of the instances in that group.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/delete

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Deletes the specified managed instance group and all of the instances in that group.
sourceraw docstring

deleteInstances$clj

(deleteInstances$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/deleteInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:instances [string]}

Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/deleteInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:instances [string]}

Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/get

Required parameters: instanceGroupManager, project, region

Optional parameters: none

Returns all of the details about the specified managed instance group.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/get

Required parameters: instanceGroupManager, project, region

Optional parameters: none

Returns all of the details about the specified managed instance group.
sourceraw docstring

insert$clj

(insert$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/insert

Required parameters: project, region

Optional parameters: requestId

Body:

{:description string, :updatePolicy {:instanceRedistributionType string, :maxSurge FixedOrPercent, :maxUnavailable FixedOrPercent, :minimalAction string, :replacementMethod string, :type string}, :creationTimestamp string, :zone string, :name string, :selfLink string, :targetPools [string], :region string, :currentActions {:recreating integer, :restarting integer, :creating integer, :deleting integer, :refreshing integer, :abandoning integer, :verifying integer, :none integer, :creatingWithoutRetries integer}, :autoHealingPolicies [{:healthCheck string, :initialDelaySec integer}], :status {:autoscaler string, :isStable boolean, :versionTarget InstanceGroupManagerStatusVersionTarget}, :instanceGroup string, :id string, :kind string, :distributionPolicy {:zones [DistributionPolicyZoneConfiguration]}, :baseInstanceName string, :versions [{:instanceTemplate string, :name string, :targetSize FixedOrPercent}], :targetSize integer, :instanceTemplate string, :fingerprint string, :namedPorts [{:name string, :port integer}]}

Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.

A regional managed instance group can contain up to 2000 instances.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/insert

Required parameters: project, region

Optional parameters: requestId

Body: 

{:description string,
 :updatePolicy {:instanceRedistributionType string,
                :maxSurge FixedOrPercent,
                :maxUnavailable FixedOrPercent,
                :minimalAction string,
                :replacementMethod string,
                :type string},
 :creationTimestamp string,
 :zone string,
 :name string,
 :selfLink string,
 :targetPools [string],
 :region string,
 :currentActions {:recreating integer,
                  :restarting integer,
                  :creating integer,
                  :deleting integer,
                  :refreshing integer,
                  :abandoning integer,
                  :verifying integer,
                  :none integer,
                  :creatingWithoutRetries integer},
 :autoHealingPolicies [{:healthCheck string, :initialDelaySec integer}],
 :status {:autoscaler string,
          :isStable boolean,
          :versionTarget InstanceGroupManagerStatusVersionTarget},
 :instanceGroup string,
 :id string,
 :kind string,
 :distributionPolicy {:zones [DistributionPolicyZoneConfiguration]},
 :baseInstanceName string,
 :versions [{:instanceTemplate string,
             :name string,
             :targetSize FixedOrPercent}],
 :targetSize integer,
 :instanceTemplate string,
 :fingerprint string,
 :namedPorts [{:name string, :port integer}]}

Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.

A regional managed instance group can contain up to 2000 instances.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/list

Required parameters: project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Retrieves the list of managed instance groups that are contained within the specified region.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/list

Required parameters: project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Retrieves the list of managed instance groups that are contained within the specified region.
sourceraw docstring

listErrors$clj

(listErrors$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/listErrors

Required parameters: instanceGroupManager, project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Lists all errors thrown by actions on instances for a given regional managed instance group.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/listErrors

Required parameters: instanceGroupManager, project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Lists all errors thrown by actions on instances for a given regional managed instance group.
sourceraw docstring

listManagedInstances$clj

(listManagedInstances$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/listManagedInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/listManagedInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.
sourceraw docstring

patch$clj

(patch$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/patch

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:description string, :updatePolicy {:instanceRedistributionType string, :maxSurge FixedOrPercent, :maxUnavailable FixedOrPercent, :minimalAction string, :replacementMethod string, :type string}, :creationTimestamp string, :zone string, :name string, :selfLink string, :targetPools [string], :region string, :currentActions {:recreating integer, :restarting integer, :creating integer, :deleting integer, :refreshing integer, :abandoning integer, :verifying integer, :none integer, :creatingWithoutRetries integer}, :autoHealingPolicies [{:healthCheck string, :initialDelaySec integer}], :status {:autoscaler string, :isStable boolean, :versionTarget InstanceGroupManagerStatusVersionTarget}, :instanceGroup string, :id string, :kind string, :distributionPolicy {:zones [DistributionPolicyZoneConfiguration]}, :baseInstanceName string, :versions [{:instanceTemplate string, :name string, :targetSize FixedOrPercent}], :targetSize integer, :instanceTemplate string, :fingerprint string, :namedPorts [{:name string, :port integer}]}

Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/patch

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:description string,
 :updatePolicy {:instanceRedistributionType string,
                :maxSurge FixedOrPercent,
                :maxUnavailable FixedOrPercent,
                :minimalAction string,
                :replacementMethod string,
                :type string},
 :creationTimestamp string,
 :zone string,
 :name string,
 :selfLink string,
 :targetPools [string],
 :region string,
 :currentActions {:recreating integer,
                  :restarting integer,
                  :creating integer,
                  :deleting integer,
                  :refreshing integer,
                  :abandoning integer,
                  :verifying integer,
                  :none integer,
                  :creatingWithoutRetries integer},
 :autoHealingPolicies [{:healthCheck string, :initialDelaySec integer}],
 :status {:autoscaler string,
          :isStable boolean,
          :versionTarget InstanceGroupManagerStatusVersionTarget},
 :instanceGroup string,
 :id string,
 :kind string,
 :distributionPolicy {:zones [DistributionPolicyZoneConfiguration]},
 :baseInstanceName string,
 :versions [{:instanceTemplate string,
             :name string,
             :targetSize FixedOrPercent}],
 :targetSize integer,
 :instanceTemplate string,
 :fingerprint string,
 :namedPorts [{:name string, :port integer}]}

Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
sourceraw docstring

recreateInstances$clj

(recreateInstances$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/recreateInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:instances [string]}

Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/recreateInstances

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:instances [string]}

Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

You can specify a maximum of 1000 instances with this method per request.
sourceraw docstring

resize$clj

(resize$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/resize

Required parameters: instanceGroupManager, project, region, size

Optional parameters: requestId

Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances.

The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/resize

Required parameters: instanceGroupManager, project, region, size

Optional parameters: requestId

Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances.

The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
sourceraw docstring

setInstanceTemplate$clj

(setInstanceTemplate$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/setInstanceTemplate

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:instanceTemplate string}

Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/setInstanceTemplate

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:instanceTemplate string}

Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.
sourceraw docstring

setTargetPools$clj

(setTargetPools$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/setTargetPools

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body:

{:fingerprint string, :targetPools [string]}

Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionInstanceGroupManagers/setTargetPools

Required parameters: instanceGroupManager, project, region

Optional parameters: requestId

Body: 

{:fingerprint string, :targetPools [string]}

Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close