Liking cljdoc? Tell your friends :D

happygapi.compute.disks

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

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

addResourcePolicies$clj

(addResourcePolicies$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/addResourcePolicies

Required parameters: zone, project, disk

Optional parameters: requestId

Body:

{:resourcePolicies [string]}

Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.

https://cloud.google.com/compute/api/reference/rest/v1/disks/addResourcePolicies

Required parameters: zone, project, disk

Optional parameters: requestId

Body: 

{:resourcePolicies [string]}

Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
sourceraw docstring

aggregatedList$clj

(aggregatedList$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/disks/aggregatedList

Required parameters: project

Optional parameters: pageToken, includeAllScopes, maxResults, orderBy, returnPartialSuccess, filter

Retrieves an aggregated list of persistent disks.

https://cloud.google.com/compute/api/reference/rest/v1/disks/aggregatedList

Required parameters: project

Optional parameters: pageToken, includeAllScopes, maxResults, orderBy, returnPartialSuccess, filter

Retrieves an aggregated list of persistent disks.
sourceraw docstring

createSnapshot$clj

(createSnapshot$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/createSnapshot

Required parameters: zone, disk, project

Optional parameters: requestId, guestFlush

Body:

{:description string, :labels {}, :autoCreated boolean, :locationHint string, :sourceDiskId string, :downloadBytes string, :creationTimestamp string, :chainName string, :name string, :sourceDisk string, :licenses [string], :selfLink string, :sourceDiskEncryptionKey {:kmsKeyName string, :kmsKeyServiceAccount string, :sha256 string, :rawKey string, :rsaEncryptedKey string}, :satisfiesPzs boolean, :status string, :id string, :kind string, :diskSizeGb string, :licenseCodes [string], :storageBytesStatus string, :snapshotEncryptionKey {:kmsKeyName string, :kmsKeyServiceAccount string, :sha256 string, :rawKey string, :rsaEncryptedKey string}, :storageLocations [string], :storageBytes string, :labelFingerprint string}

Creates a snapshot of a specified persistent disk.

https://cloud.google.com/compute/api/reference/rest/v1/disks/createSnapshot

Required parameters: zone, disk, project

Optional parameters: requestId, guestFlush

Body: 

{:description string,
 :labels {},
 :autoCreated boolean,
 :locationHint string,
 :sourceDiskId string,
 :downloadBytes string,
 :creationTimestamp string,
 :chainName string,
 :name string,
 :sourceDisk string,
 :licenses [string],
 :selfLink string,
 :sourceDiskEncryptionKey {:kmsKeyName string,
                           :kmsKeyServiceAccount string,
                           :sha256 string,
                           :rawKey string,
                           :rsaEncryptedKey string},
 :satisfiesPzs boolean,
 :status string,
 :id string,
 :kind string,
 :diskSizeGb string,
 :licenseCodes [string],
 :storageBytesStatus string,
 :snapshotEncryptionKey {:kmsKeyName string,
                         :kmsKeyServiceAccount string,
                         :sha256 string,
                         :rawKey string,
                         :rsaEncryptedKey string},
 :storageLocations [string],
 :storageBytes string,
 :labelFingerprint string}

Creates a snapshot of a specified persistent disk.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/disks/delete

Required parameters: zone, disk, project

Optional parameters: requestId

Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.

https://cloud.google.com/compute/api/reference/rest/v1/disks/delete

Required parameters: zone, disk, project

Optional parameters: requestId

Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
sourceraw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/disks/get

Required parameters: zone, disk, project

Optional parameters: none

Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.

https://cloud.google.com/compute/api/reference/rest/v1/disks/get

Required parameters: zone, disk, project

Optional parameters: none

Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
sourceraw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/disks/getIamPolicy

Required parameters: project, zone, resource

Optional parameters: optionsRequestedPolicyVersion

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

https://cloud.google.com/compute/api/reference/rest/v1/disks/getIamPolicy

Required parameters: project, zone, resource

Optional parameters: optionsRequestedPolicyVersion

Gets the access control policy for a resource. May be empty if no such policy or resource exists.
sourceraw docstring

insert$clj

(insert$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/insert

Required parameters: zone, project

Optional parameters: sourceImage, requestId

Body:

{:description string, :labels {}, :locationHint string, :sourceSnapshotEncryptionKey {:kmsKeyName string, :kmsKeyServiceAccount string, :sha256 string, :rawKey string, :rsaEncryptedKey string}, :guestOsFeatures [{:type string}], :resourcePolicies [string], :sourceImage string, :sourceDiskId string, :creationTimestamp string, :sourceImageEncryptionKey {:kmsKeyName string, :kmsKeyServiceAccount string, :sha256 string, :rawKey string, :rsaEncryptedKey string}, :zone string, :name string, :sizeGb string, :sourceDisk string, :physicalBlockSizeBytes string, :sourceImageId string, :lastDetachTimestamp string, :licenses [string], :selfLink string, :type string, :sourceSnapshot string, :region string, :lastAttachTimestamp string, :satisfiesPzs boolean, :status string, :id string, :kind string, :sourceSnapshotId string, :sourceStorageObject string, :licenseCodes [string], :replicaZones [string], :options string, :diskEncryptionKey {:kmsKeyName string, :kmsKeyServiceAccount string, :sha256 string, :rawKey string, :rsaEncryptedKey string}, :users [string], :labelFingerprint string, :provisionedIops string}

Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.

https://cloud.google.com/compute/api/reference/rest/v1/disks/insert

Required parameters: zone, project

Optional parameters: sourceImage, requestId

Body: 

{:description string,
 :labels {},
 :locationHint string,
 :sourceSnapshotEncryptionKey {:kmsKeyName string,
                               :kmsKeyServiceAccount string,
                               :sha256 string,
                               :rawKey string,
                               :rsaEncryptedKey string},
 :guestOsFeatures [{:type string}],
 :resourcePolicies [string],
 :sourceImage string,
 :sourceDiskId string,
 :creationTimestamp string,
 :sourceImageEncryptionKey {:kmsKeyName string,
                            :kmsKeyServiceAccount string,
                            :sha256 string,
                            :rawKey string,
                            :rsaEncryptedKey string},
 :zone string,
 :name string,
 :sizeGb string,
 :sourceDisk string,
 :physicalBlockSizeBytes string,
 :sourceImageId string,
 :lastDetachTimestamp string,
 :licenses [string],
 :selfLink string,
 :type string,
 :sourceSnapshot string,
 :region string,
 :lastAttachTimestamp string,
 :satisfiesPzs boolean,
 :status string,
 :id string,
 :kind string,
 :sourceSnapshotId string,
 :sourceStorageObject string,
 :licenseCodes [string],
 :replicaZones [string],
 :options string,
 :diskEncryptionKey {:kmsKeyName string,
                     :kmsKeyServiceAccount string,
                     :sha256 string,
                     :rawKey string,
                     :rsaEncryptedKey string},
 :users [string],
 :labelFingerprint string,
 :provisionedIops string}

Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.
sourceraw docstring

list$clj

(list$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/disks/list

Required parameters: project, zone

Optional parameters: returnPartialSuccess, pageToken, maxResults, filter, orderBy

Retrieves a list of persistent disks contained within the specified zone.

https://cloud.google.com/compute/api/reference/rest/v1/disks/list

Required parameters: project, zone

Optional parameters: returnPartialSuccess, pageToken, maxResults, filter, orderBy

Retrieves a list of persistent disks contained within the specified zone.
sourceraw docstring

removeResourcePolicies$clj

(removeResourcePolicies$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/removeResourcePolicies

Required parameters: disk, project, zone

Optional parameters: requestId

Body:

{:resourcePolicies [string]}

Removes resource policies from a disk.

https://cloud.google.com/compute/api/reference/rest/v1/disks/removeResourcePolicies

Required parameters: disk, project, zone

Optional parameters: requestId

Body: 

{:resourcePolicies [string]}

Removes resource policies from a disk.
sourceraw docstring

resize$clj

(resize$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/resize

Required parameters: disk, project, zone

Optional parameters: requestId

Body:

{:sizeGb string}

Resizes the specified persistent disk. You can only increase the size of the disk.

https://cloud.google.com/compute/api/reference/rest/v1/disks/resize

Required parameters: disk, project, zone

Optional parameters: requestId

Body: 

{:sizeGb string}

Resizes the specified persistent disk. You can only increase the size of the disk.
sourceraw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/setIamPolicy

Required parameters: resource, zone, project

Optional parameters: none

Body:

{:bindings [{:members [string], :condition Expr, :bindingId string, :role string}], :policy {:etag string, :auditConfigs [AuditConfig], :iamOwned boolean, :version integer, :rules [Rule], :bindings [Binding]}, :etag string}

Sets the access control policy on the specified resource. Replaces any existing policy.

https://cloud.google.com/compute/api/reference/rest/v1/disks/setIamPolicy

Required parameters: resource, zone, project

Optional parameters: none

Body: 

{:bindings [{:members [string],
             :condition Expr,
             :bindingId string,
             :role string}],
 :policy {:etag string,
          :auditConfigs [AuditConfig],
          :iamOwned boolean,
          :version integer,
          :rules [Rule],
          :bindings [Binding]},
 :etag string}

Sets the access control policy on the specified resource. Replaces any existing policy.
sourceraw docstring

setLabels$clj

(setLabels$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/setLabels

Required parameters: zone, project, resource

Optional parameters: requestId

Body:

{:labelFingerprint string, :labels {}}

Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.

https://cloud.google.com/compute/api/reference/rest/v1/disks/setLabels

Required parameters: zone, project, resource

Optional parameters: requestId

Body: 

{:labelFingerprint string, :labels {}}

Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.
sourceraw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/disks/testIamPermissions

Required parameters: project, zone, resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource.

https://cloud.google.com/compute/api/reference/rest/v1/disks/testIamPermissions

Required parameters: project, zone, resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource.
sourceraw docstring

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

× close