Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ru/_includes/compute/oslogin-connect-with-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

```bash
yc compute ssh \
--name <имя_ВМ>
--login <логин_пользователя_или_сервисного_аккаунта>
--name <имя_ВМ> \
--login <логин_пользователя_или_сервисного_аккаунта> \
--internal-address
```

Expand Down
4 changes: 2 additions & 2 deletions ru/_includes/compute/vm-detach-public-ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Чтобы отвязать публичный IP-адрес от ВМ, выполните команду CLI:

```bash
yc compute instance remove-one-to-one-nat
--id=<идентификатор_ВМ>
yc compute instance remove-one-to-one-nat \
--id=<идентификатор_ВМ> \
--network-interface-index=<номер_сетевого_интерфейса_ВМ>
```

Expand Down
2 changes: 1 addition & 1 deletion ru/_includes/security/standard/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ yc compute instance update <ID_виртуальной_машины> \

```bash
export ORG_ID=<ID_организации>
yc organization-manager organization list-access-bindings
yc organization-manager organization list-access-bindings \
--id=${ORG_ID} \
--format=json | jq -r '.[] | select(.role_id=="admin" or .role_id=="editor" or .role_id=="organization-manager.organizations.owner" or .role_id=="organization-manager.admin" or .role_id=="resource-manager.clouds.owner" or role_id=="resource-manager.clouds.editor")'
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@

```bash
curl \
--user admin:<пароль>
--user admin:<пароль> \
--cacert ~/.opensearch/root.crt \
-X POST 'https://<FQDN_хоста_с_ролью_DATA>:{{ port-mos }}/_nodes/reload_secure_settings'
```
Expand Down
4 changes: 2 additions & 2 deletions ru/_tutorials/infrastructure/autoscale-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@

```bash
yc vpc subnet create queue-autoscale-subnet-d \
--network-name queue-autoscale-network
--range 192.168.1.0/24
--network-name queue-autoscale-network \
--range 192.168.1.0/24 \
--zone {{ region-id }}-d
```

Expand Down
2 changes: 1 addition & 1 deletion ru/_tutorials/infrastructure/run-docker-on-vm-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
--zone {{ region-id }}-b \
--network-interface subnet-name=default-{{ region-id }}-b,nat-ip-version=ipv4 \
--create-boot-disk image-folder-id=standard-images,image-family=centos-7 \
--ssh-key ~/.ssh/id_ed25519.pub
--ssh-key ~/.ssh/id_ed25519.pub \
--service-account-name service-acc
```

Expand Down
2 changes: 1 addition & 1 deletion ru/_tutorials/ml-ai/speechsense/auto-upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
```bash
aws s3api put-object \
--endpoint-url=https://{{ s3-storage-host }} \
--bucket <имя_бакета>
--bucket <имя_бакета> \
--key <имя_папки>/
```

Expand Down
2 changes: 1 addition & 1 deletion ru/_tutorials/security/alb-with-ddos-protection-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@

```bash
yc alb virtual-host create ddos-host \
--http-router-name ddos-router
--http-router-name ddos-router \
--authority alb-with-ddos.com
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

```bash
yc iam service-account create \
--name github-action
--name github-action \
--folder-name <имя_каталога>
```

Expand Down
2 changes: 1 addition & 1 deletion ru/api-gateway/operations/trigger/ymq-trigger-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
--gateway-id <идентификатор_API-шлюза> \
--gateway-websocket-broadcast-path <путь> \
--gateway-websocket-broadcast-service-account-id <идентификатор_сервисного_аккаунта> \
--batch-size <размер_группы_сообщений>
--batch-size <размер_группы_сообщений> \
--batch-cutoff <максимальное_время_ожидания>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ description: Следуя данной инструкции, вы сможете
```bash
yc application-load-balancer load-balancer disable-zones \
<имя_или_идентификатор_балансировщика> \
--zones <зоны_доступности>
--zones <зоны_доступности> \
--duration <время_отключения>
```

Expand Down
4 changes: 2 additions & 2 deletions ru/certificate-manager/operations/cert-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ description: Следуя данной инструкции, вы сможете

```bash
yc certificate-manager certificate set-access-bindings my-certificate \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/dedicated-host/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ description: Для группы выделенных хостов {{ compute-na

```bash
yc compute host-group set-access-bindings my-host-group \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/disk-control/disk-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute disk set-access-bindings my-disk \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/disk-placement-groups/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute disk-placement-group set-access-bindings my-disk-group \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/filesystem/filesystem-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute filesystem set-access-bindings my-filesystem \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/gpu-cluster/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute gpu-cluster set-access-bindings my-gpu-cluster \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/image-control/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute image set-access-bindings my-image \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/placement-groups/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute placement-group set-access-bindings my-group \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/snapshot-control/snapshot-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute snapshot set-access-bindings my-snapshot \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute snapshot-schedule set-access-bindings my-schedule \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/vm-connect/enable-os-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ description: Следуя данной инструкции, вы сможете
Выполните команду:

```bash
yc compute instance update
yc compute instance update \
--name <имя_ВМ> \
--folder-id <идентификатор_каталога> \
--metadata enable-oslogin=false
Expand All @@ -117,7 +117,7 @@ description: Следуя данной инструкции, вы сможете
Убедитесь, что доступ по {{ oslogin }} выключен:

```bash
yc compute ssh
yc compute ssh \
--name <имя_ВМ> \
--folder-id <идентификатор_каталога>
```
Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/vm-control/vm-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ description: Следуя данной инструкции, вы настрои

```bash
yc compute instance set-access-bindings test-vm \
--access-binding role=editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=viewer,subject=userAccount:helj89sfj80a********
--access-binding role=editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=viewer,subject=userAccount:helj89sfj80a******** \
--access-binding role=editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
2 changes: 1 addition & 1 deletion ru/dns/operations/zone-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ description: Следуя данной инструкции, вы настрои

```bash
yc dns zone set-access-bindings my-disk-group \
--access-binding role=dns.editor,subject=userAccount:gfei8n54hmfh********
--access-binding role=dns.editor,subject=userAccount:gfei8n54hmfh******** \
--access-binding role=dns.editor,subject=serviceAccount:ajel6l0jcb9s********
```

Expand Down
2 changes: 1 addition & 1 deletion ru/iam/operations/refresh-token/revoke.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ description: Следуя данной инструкции, вы сможете

```bash
yc iam refresh-token revoke \
--refresh-token <тело_refresh-токена_в_stdin>
--refresh-token <тело_refresh-токена_в_stdin> \
--refresh-token-id <идентификатор_refresh-токена> \
--subject-id <идентификатор_пользователя> \
--client-id <идентификатор_OAuth-приложения> \
Expand Down
8 changes: 4 additions & 4 deletions ru/iot-core/operations/device/alias/alias-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
Создайте алиас:

```bash
yc iot device add-topic-aliases arenak5ciqss********
yc iot device add-topic-aliases arenak5ciqss******** \
--topic-aliases commands='$devices/arenak5ciqss********/commands'
```

Expand All @@ -50,9 +50,9 @@
Также вы можете добавить алиас при [создании устройства](../device-create.md). Для этого вместо уникального идентификатора в топике устройства указывается `{id}`, так как уникальный идентификатор еще неизвестен:

```bash
yc iot device create
--registry-name <имя_реестра>
--name <имя_устройства>
yc iot device create \
--registry-name <имя_реестра> \
--name <имя_устройства> \
--topic-aliases <имя_алиаса>='$devices/{id}/<events,_state,_commands_или_config>'
```

Expand Down
2 changes: 1 addition & 1 deletion ru/kms/operations/symmetric-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
```bash
yc kms symmetric-crypto reencrypt \
--id <идентификатор_ключа> \
--ciphertext-file ciphertext-file
--ciphertext-file ciphertext-file \
--source-key-id <идентификатор_исходного_ключа> \
--source-ciphertext-file source-ciphertext-file
```
Expand Down
6 changes: 3 additions & 3 deletions ru/managed-clickhouse/operations/cluster-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
curl \
--request POST \
--header "Authorization: Bearer $IAM_TOKEN" \
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions'
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions' \
--data '{
"extensionSpec": {
"name": "<имя_расширения>"
Expand Down Expand Up @@ -385,7 +385,7 @@
curl \
--request PATCH \
--header "Authorization: Bearer $IAM_TOKEN" \
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions'
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions' \
--data '{
"extensionSpec": {
"name": "<имя_расширения>"
Expand Down Expand Up @@ -522,7 +522,7 @@
curl \
--request POST \
--header "Authorization: Bearer $IAM_TOKEN" \
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions:batchSet'
--url 'https://{{ api-host-mdb }}/managed-clickhouse/v1/clusters/<идентификатор_кластера>/extensions:batchSet' \
--data '{
"extensionSpec": [
{
Expand Down
2 changes: 1 addition & 1 deletion ru/managed-clickhouse/operations/cluster-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ description: Из статьи вы узнаете, как управлять п
Чтобы получить список пользователей кластера, выполните команду:

```bash
{{ yc-mdb-ch }} user list
{{ yc-mdb-ch }} user list \
--cluster-name=<имя_кластера>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ description: Следуя данной инструкции, вы сможете
--node-service-account-name <имя_сервисного_аккаунта_для_узлов> \
--master-location zone=<зона_доступности>,subnet-id=<имя_подсети> \
--master-scale-policy policy=auto,min-resource-preset-id=<класс_хостов_мастера> \
--daily-maintenance-window start=22:00,duration=10h
--daily-maintenance-window start=22:00,duration=10h \
--labels <имя_облачной_метки=значение_облачной_метки>

```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ description: Следуя данной инструкции, вы сможете
--preemptible \
--public-ip \
--template-labels <ключ_облачной_метки=значение_облачной_метки> \
--node-labels <ключ_k8s-метки=значение_k8s-метки>
--node-labels <ключ_k8s-метки=значение_k8s-метки> \
--version <версия_{{ k8s }}_на_узлах_группы> \
--node-name <шаблон_имени_узлов> \
--node-taints <taint-политики> \
Expand Down
4 changes: 2 additions & 2 deletions ru/managed-mysql/operations/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ description: Из статьи вы узнаете, как изменить на
1. Укажите нужный класс в команде изменения кластера:

```bash
{{ yc-mdb-my }} cluster update <имя_или_идентификатор_кластера>
{{ yc-mdb-my }} cluster update <имя_или_идентификатор_кластера> \
--resource-preset <идентификатор_класса>
```

Expand Down Expand Up @@ -419,7 +419,7 @@ description: Из статьи вы узнаете, как изменить на
Все поддерживаемые параметры перечислены в [формате запроса для метода update](../api-ref/Cluster/update.md), в поле `mysql_config_5_7`. Чтобы указать имя параметра в вызове CLI, преобразуйте его имя из вида <q>lowerCamelCase</q> в <q>snake_case</q>, например, параметр `logMinDurationStatement` из запроса к API преобразуется в `log_min_duration_statement` для команды CLI:

```bash
{{ yc-mdb-my }} cluster update-config <имя_кластера>
{{ yc-mdb-my }} cluster update-config <имя_кластера> \
--set log_min_duration_statement=100,<имя_параметра>=<значение>,...
```

Expand Down
2 changes: 1 addition & 1 deletion ru/managed-postgresql/operations/cluster-backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ description: Вы можете создавать резервные копии
--resource-preset <класс_хоста> \
--user name=<имя_пользователя>,password=<пароль_пользователя> \
--database name=<имя_БД>,owner=<имя_владельца_БД> \
--disk-size <размер_хранилища_ГБ>
--disk-size <размер_хранилища_ГБ> \
--backup-window-start 10:00:00
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ description: Правила определяют, могут ли пользов
curl \
--request POST \
--header "Authorization: Bearer $IAM_TOKEN" \
--url 'https://{{ api-host-trino }}/managed-trino/v1/clusters'
--url 'https://{{ api-host-trino }}/managed-trino/v1/clusters' \
--data '@body.json'
```

Expand Down Expand Up @@ -785,7 +785,7 @@ description: Правила определяют, могут ли пользов
curl \
--request PATCH \
--header "Authorization: Bearer $IAM_TOKEN" \
--url 'https://{{ api-host-trino }}/managed-trino/v1/clusters/<идентификатор_кластера>'
--url 'https://{{ api-host-trino }}/managed-trino/v1/clusters/<идентификатор_кластера>' \
--data '@body.json'
```

Expand Down
Loading