REST Resource: projects.locations.datastores

リソース: Datastore

データストア リソースを表します。

JSON 表現
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "description": string,
  "clusters": [
    string
  ],
  "nfsDatastore": {
    object (NfsDatastore)
  },
  "state": enum (State),
  "uid": string,
  "etag": string
}
フィールド
name

string

出力専用。ID。このデータストアのリソース名。リソース名は、https://cloud.google.com/apis/design/resource_names の規則に従ったスキームレス URI です。例: projects/my-project/locations/us-central1/datastores/datastore

createTime

string (Timestamp format)

出力専用。このリソースの作成時間。

RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

updateTime

string (Timestamp format)

出力専用。このリソースの最終更新時刻。

RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

description

string

省略可。このデータストアのユーザー指定の説明

clusters[]

string

出力専用。データストアが接続されているクラスタ。

nfsDatastore

object (NfsDatastore)

必須。NFS データストアの設定。

state

enum (State)

出力専用。Datastore の状態。

uid

string

出力専用。システムが生成したリソースの固有識別子。

etag

string

省略可。更新リクエストと削除リクエストで送信して、サーバーがリクエストを処理する前に、ユーザーが指定した値が最新であることを確認できるチェックサム。サーバーは、リクエスト内の他のフィールドの値に基づいてチェックサムを計算します。

NfsDatastore

NFS データストアの構成。

JSON 表現
{

  // Union field FileServiceOption can be only one of the following:
  "googleFileService": {
    object (GoogleFileService)
  },
  "thirdPartyFileService": {
    object (ThirdPartyFileService)
  },
  "googleVmwareFileService": {
    object (GoogleVmwareFileService)
  }
  // End of list of possible types for union field FileServiceOption.
}
フィールド
共用体フィールド FileServiceOption。NFS データストアのファイル サービス オプション。FileServiceOption は次のいずれかになります。
googleFileService

object (GoogleFileService)

Google ファイル サービス構成

thirdPartyFileService

object (ThirdPartyFileService)

サードパーティのファイル サービスの設定

googleVmwareFileService

object (GoogleVmwareFileService)

GCVE ファイル サービス構成

GoogleFileService

Google サービス ファイルのサービス構成

JSON 表現
{

  // Union field FileServiceOption can be only one of the following:
  "netappVolume": string,
  "filestoreInstance": string
  // End of list of possible types for union field FileServiceOption.
}
フィールド
共用体フィールド FileServiceOption。Google サービス ファイルのサービス名 FileServiceOption は、次のいずれかになります。
netappVolume

string

Google NetApp ボリューム リソース名(例: projects/my-project/locations/me-west1-b/volumes/my-volume)

filestoreInstance

string

Google Filestore インスタンスのリソース名(projects/my-project/locations/me-west1-b/instances/my-instance など)

ThirdPartyFileService

サードパーティのファイル サービスの設定

JSON 表現
{
  "servers": [
    string
  ],
  "fileShare": string,
  "network": string
}
フィールド
servers[]

string

必須。NFS ファイル サービスのサーバー IP アドレス。NFS v3 の場合は、単一の IP アドレスまたは DNS 名を指定します。NFS 4.1 プロトコルのサポートが有効になると、複数のサーバーがサポートされる可能性があります。

fileShare

string

必須。必要なマウント フォルダ名

network

string

必須。NFS アクセスに使用される VPC ピアリングを識別するために必要です。NFS の VPC のネットワーク名(例: projects/project-id/global/networks/my-network_id)

GoogleVmwareFileService

この型にはフィールドがありません。

ボリューム メッセージは、GCVE で管理されるファイル サービスの作成に関するユーザー入力をキャプチャします

状態

Datastore の状態

列挙型
STATE_UNSPECIFIED デフォルト値。この値は使用しないでください。
CREATING NFS ボリュームが作成されています。
ACTIVE NFS ボリュームがアクティブである。
UPDATING NFS ボリュームを更新しています。
DELETING NFS ボリュームが削除されています。

メソッド

create

指定されたプロジェクトとロケーションに新しい Datastore リソースを作成します。

delete

Datastore リソースを削除します。

get

リソース名で Datastore リソースを取得します。

list

指定されたプロジェクトとロケーションの Datastore リソースの一覧を取得します。

patch

Datastore リソースを変更します。