Liking cljdoc? Tell your friends :D

happygapi.compute.regionDisks

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

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

addResourcePolicies$clj

(addResourcePolicies$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/addResourcePolicies

Required parameters: disk, project, region

Optional parameters: requestId

Body:

{:resourcePolicies [string]}

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

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/addResourcePolicies

Required parameters: disk, project, region

Optional parameters: requestId

Body: 

{:resourcePolicies [string]}

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

createSnapshot$clj

(createSnapshot$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/createSnapshot

Required parameters: disk, project, region

Optional parameters: requestId

Body:

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

Creates a snapshot of this regional disk.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/createSnapshot

Required parameters: disk, project, region

Optional parameters: requestId

Body: 

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

Creates a snapshot of this regional disk.
sourceraw docstring

delete$clj

(delete$ auth parameters)

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

Required parameters: disk, project, region

Optional parameters: requestId

Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of 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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/delete

Required parameters: disk, project, region

Optional parameters: requestId

Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of 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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/get

Required parameters: disk, project, region

Optional parameters: none

Returns a specified regional persistent disk.

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

Required parameters: disk, project, region

Optional parameters: none

Returns a specified regional persistent disk.
sourceraw docstring

insert$clj

(insert$ auth parameters body)

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

Required parameters: project, region

Optional parameters: requestId, sourceImage

Body:

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

Creates a persistent regional disk in the specified project using the data included in the request.

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

Required parameters: project, region

Optional parameters: requestId, sourceImage

Body: 

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

Creates a persistent regional disk in the specified project using the data included in the request.
sourceraw docstring

list$clj

(list$ auth parameters)

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

Required parameters: project, region

Optional parameters: filter, maxResults, orderBy, pageToken

Retrieves the list of persistent disks contained within the specified region.

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

Required parameters: project, region

Optional parameters: filter, maxResults, orderBy, pageToken

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

removeResourcePolicies$clj

(removeResourcePolicies$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/removeResourcePolicies

Required parameters: disk, project, region

Optional parameters: requestId

Body:

{:resourcePolicies [string]}

Removes resource policies from a regional disk.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/removeResourcePolicies

Required parameters: disk, project, region

Optional parameters: requestId

Body: 

{:resourcePolicies [string]}

Removes resource policies from a regional disk.
sourceraw docstring

resize$clj

(resize$ auth parameters body)

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

Required parameters: disk, project, region

Optional parameters: requestId

Body:

{:sizeGb string}

Resizes the specified regional persistent disk.

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

Required parameters: disk, project, region

Optional parameters: requestId

Body: 

{:sizeGb string}

Resizes the specified regional persistent disk.
sourceraw docstring

setLabels$clj

(setLabels$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/setLabels

Required parameters: project, region, resource

Optional parameters: requestId

Body:

{:labelFingerprint string, :labels {}}

Sets the labels on the target regional disk.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/setLabels

Required parameters: project, region, resource

Optional parameters: requestId

Body: 

{:labelFingerprint string, :labels {}}

Sets the labels on the target regional disk.
sourceraw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/testIamPermissions

Required parameters: project, region, resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/regionDisks/testIamPermissions

Required parameters: project, region, 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