|
| 1 | +# Copyright 2025 Google LLC. All Rights Reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# |
| 15 | +# The content below is copied from |
| 16 | +# https://source.corp.google.com/piper///depot/google3/third_party/py/googlecloudsdk/surface/parallelstore/;cl=733505343 |
| 17 | +# |
| 18 | +# NOTE: This file is autogenerated and should not be edited by hand. |
| 19 | +# AUTOGEN_CLI_VERSION: HEAD |
| 20 | +- release_tracks: |
| 21 | + - GA |
| 22 | + auto_generated: true |
| 23 | + hidden: true |
| 24 | + help_text: |
| 25 | + brief: Creates a Parallelstore instance |
| 26 | + description: | |
| 27 | + Creates a Parallelstore instance. |
| 28 | + examples: |- |
| 29 | + To create an instance `my-instance` in location `us-central1-a` with 12000 Gib capacity run: |
| 30 | +
|
| 31 | + $ {command} my-instance --capacity-gib=12000 --location=us-central1-a |
| 32 | + arguments: |
| 33 | + params: |
| 34 | + - help_text: |- |
| 35 | + Identifier. The resource name of the instance, in the format |
| 36 | + `projects/{project}/locations/{location}/instances/{instance_id}`. |
| 37 | + is_positional: true |
| 38 | + is_primary_resource: true |
| 39 | + request_id_field: instanceId |
| 40 | + resource_spec: !REF googlecloudsdk.command_lib.parallelstore.v1_resources:project_location_instance |
| 41 | + required: true |
| 42 | + - arg_name: description |
| 43 | + api_field: instance.description |
| 44 | + required: false |
| 45 | + repeated: false |
| 46 | + help_text: |- |
| 47 | + The description of the instance. 2048 characters or less. |
| 48 | + - arg_name: labels |
| 49 | + api_field: instance.labels |
| 50 | + required: false |
| 51 | + repeated: true |
| 52 | + help_text: |- |
| 53 | + Cloud Labels are a flexible and lightweight mechanism for organizing cloud |
| 54 | + resources into groups that reflect a customer's organizational needs and |
| 55 | + deployment strategies. See |
| 56 | + https://cloud.google.com/resource-manager/docs/labels-overview for details. |
| 57 | + spec: |
| 58 | + - api_field: key |
| 59 | + - api_field: value |
| 60 | + - arg_name: capacity-gib |
| 61 | + api_field: instance.capacityGib |
| 62 | + required: true |
| 63 | + repeated: false |
| 64 | + type: long |
| 65 | + help_text: |- |
| 66 | + The instance's storage capacity in Gibibytes (GiB). Allowed values are |
| 67 | + between 12000 and 100000, in multiples of 4000; e.g., 12000, 16000, |
| 68 | + 20000, ... |
| 69 | + - arg_name: network |
| 70 | + help_text: |- |
| 71 | + The name of the Compute Engine |
| 72 | + [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the |
| 73 | + instance is connected. |
| 74 | + is_positional: false |
| 75 | + is_primary_resource: false |
| 76 | + resource_spec: !REF googlecloudsdk.command_lib.parallelstore.v1_resources:project_global_network |
| 77 | + resource_method_params: |
| 78 | + instance.network: '{__relative_name__}' |
| 79 | + required: false |
| 80 | + - arg_name: reserved-ip-range |
| 81 | + help_text: |- |
| 82 | + The ID of the IP address range being used by the instance's VPC network. |
| 83 | + See |
| 84 | + [Configure a VPC |
| 85 | + network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc). |
| 86 | + If no ID is provided, all ranges are considered. |
| 87 | + is_positional: false |
| 88 | + is_primary_resource: false |
| 89 | + resource_spec: !REF googlecloudsdk.command_lib.parallelstore.v1_resources:project_region_address |
| 90 | + resource_method_params: |
| 91 | + instance.reservedIpRange: '{__relative_name__}' |
| 92 | + required: false |
| 93 | + - arg_name: file-stripe-level |
| 94 | + api_field: instance.fileStripeLevel |
| 95 | + required: false |
| 96 | + help_text: |- |
| 97 | + Stripe level for files. Allowed values are: |
| 98 | +
|
| 99 | + * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size |
| 100 | + files. |
| 101 | + * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads |
| 102 | + involving a mix of small and large files. |
| 103 | + * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files. |
| 104 | + choices: |
| 105 | + - arg_value: file-stripe-level-min |
| 106 | + enum_value: FILE_STRIPE_LEVEL_MIN |
| 107 | + help_text: |- |
| 108 | + Minimum file striping |
| 109 | + - arg_value: file-stripe-level-balanced |
| 110 | + enum_value: FILE_STRIPE_LEVEL_BALANCED |
| 111 | + help_text: |- |
| 112 | + Medium file striping |
| 113 | + - arg_value: file-stripe-level-max |
| 114 | + enum_value: FILE_STRIPE_LEVEL_MAX |
| 115 | + help_text: |- |
| 116 | + Maximum file striping |
| 117 | + - arg_name: directory-stripe-level |
| 118 | + api_field: instance.directoryStripeLevel |
| 119 | + required: false |
| 120 | + help_text: |- |
| 121 | + Stripe level for directories. Allowed values are: |
| 122 | +
|
| 123 | + * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a |
| 124 | + small number of files. |
| 125 | + * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads |
| 126 | + involving a mix of small and large directories. |
| 127 | + * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large |
| 128 | + number of files. |
| 129 | + choices: |
| 130 | + - arg_value: directory-stripe-level-min |
| 131 | + enum_value: DIRECTORY_STRIPE_LEVEL_MIN |
| 132 | + help_text: |- |
| 133 | + Minimum directory striping |
| 134 | + - arg_value: directory-stripe-level-balanced |
| 135 | + enum_value: DIRECTORY_STRIPE_LEVEL_BALANCED |
| 136 | + help_text: |- |
| 137 | + Medium directory striping |
| 138 | + - arg_value: directory-stripe-level-max |
| 139 | + enum_value: DIRECTORY_STRIPE_LEVEL_MAX |
| 140 | + help_text: |- |
| 141 | + Maximum directory striping |
| 142 | + - arg_name: deployment-type |
| 143 | + api_field: instance.deploymentType |
| 144 | + required: false |
| 145 | + help_text: |- |
| 146 | + The deployment type of the instance. Allowed values are: |
| 147 | +
|
| 148 | + * `SCRATCH`: the instance is a scratch instance. |
| 149 | + * `PERSISTENT`: the instance is a persistent instance. |
| 150 | + choices: |
| 151 | + - arg_value: scratch |
| 152 | + enum_value: SCRATCH |
| 153 | + help_text: |- |
| 154 | + Scratch |
| 155 | + - arg_value: persistent |
| 156 | + enum_value: PERSISTENT |
| 157 | + help_text: |- |
| 158 | + Persistent |
| 159 | + - arg_name: request-id |
| 160 | + api_field: requestId |
| 161 | + required: false |
| 162 | + repeated: false |
| 163 | + help_text: |- |
| 164 | + An optional request ID to identify requests. Specify a unique request ID |
| 165 | + so that if you must retry your request, the server will know to ignore |
| 166 | + the request if it has already been completed. The server will guarantee |
| 167 | + that for at least 60 minutes since the first request. |
| 168 | +
|
| 169 | + For example, consider a situation where you make an initial request and t |
| 170 | + he request times out. If you make the request again with the same request |
| 171 | + ID, the server can check if original operation with the same request ID |
| 172 | + was received, and if so, will ignore the second request. This prevents |
| 173 | + clients from accidentally creating duplicate commitments. |
| 174 | +
|
| 175 | + The request ID must be a valid UUID with the exception that zero UUID is |
| 176 | + not supported (00000000-0000-0000-0000-000000000000). |
| 177 | + request: |
| 178 | + api_version: v1 |
| 179 | + collection: |
| 180 | + - parallelstore.projects.locations.instances |
| 181 | + async: |
| 182 | + collection: |
| 183 | + - parallelstore.projects.locations.operations |
0 commit comments