Liking cljdoc? Tell your friends :D

happygapi.compute.regionDisks

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

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

addResourcePolicies$clj

(addResourcePolicies$ auth parameters body)

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

Required parameters: project, region, disk

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://cloud.google.com/compute/api/reference/rest/v1/regionDisks/addResourcePolicies

Required parameters: project, region, disk

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://cloud.google.com/compute/api/reference/rest/v1/regionDisks/createSnapshot

Required parameters: project, region, disk

Optional parameters: requestId

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 this regional disk.

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

Required parameters: project, region, disk

Optional parameters: requestId

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 this regional disk.
sourceraw docstring

delete$clj

(delete$ auth parameters)

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

Required parameters: region, project, disk

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://cloud.google.com/compute/api/reference/rest/v1/regionDisks/delete

Required parameters: region, project, disk

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://cloud.google.com/compute/api/reference/rest/v1/regionDisks/get

Required parameters: region, project, disk

Optional parameters: none

Returns a specified regional persistent disk.

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

Required parameters: region, project, disk

Optional parameters: none

Returns a specified regional persistent disk.
sourceraw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters)

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

Required parameters: project, resource, region

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/regionDisks/getIamPolicy

Required parameters: project, resource, region

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/regionDisks/insert

Required parameters: region, project

Optional parameters: requestId, sourceImage

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 regional disk in the specified project using the data included in the request.

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

Required parameters: region, project

Optional parameters: requestId, sourceImage

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 regional disk in the specified project using the data included in the request.
sourceraw docstring

list$clj

(list$ auth parameters)

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

Required parameters: region, project

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

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

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

Required parameters: region, project

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

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

removeResourcePolicies$clj

(removeResourcePolicies$ auth parameters body)

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

Required parameters: project, disk, region

Optional parameters: requestId

Body:

{:resourcePolicies [string]}

Removes resource policies from a regional disk.

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

Required parameters: project, disk, region

Optional parameters: requestId

Body: 

{:resourcePolicies [string]}

Removes resource policies from a regional disk.
sourceraw docstring

resize$clj

(resize$ auth parameters body)

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

Required parameters: region, disk, project

Optional parameters: requestId

Body:

{:sizeGb string}

Resizes the specified regional persistent disk.

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

Required parameters: region, disk, project

Optional parameters: requestId

Body: 

{:sizeGb string}

Resizes the specified regional persistent disk.
sourceraw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

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

Required parameters: resource, region, project

Optional parameters: none

Body:

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

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

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

Required parameters: resource, region, project

Optional parameters: none

Body: 

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

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/regionDisks/setLabels

Required parameters: project, region, resource

Optional parameters: requestId

Body:

{:labelFingerprint string, :labels {}}

Sets the labels on the target regional disk.

https://cloud.google.com/compute/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://cloud.google.com/compute/api/reference/rest/v1/regionDisks/testIamPermissions

Required parameters: project, resource, region

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/regionDisks/testIamPermissions

Required parameters: project, resource, region

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