Pular para o conteúdo principal
POST
CSharp (SDK)

Autorizações

Authorization
string
header
obrigatório

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Cabeçalhos

Idempotency-Key
string
obrigatório
Minimum string length: 1
X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 128
data
object[]

Repositórios baixados para o volume uma vez, antes que ele fique pronto. Cada entrada precisa do seu próprio caminho. As entradas dos repositórios da organização são lidas com um token de curta duração para a credencial que as criou, que deve conter read:repos; outras fontes são obtidas anonimamente. Se um download falhar, o volume falha, indicando a entrada; crie um novo volume para tentar novamente.

Maximum array length: 32

Resposta

Repetição idempotente equivalente

accrued_cost_usd
number<double>
obrigatório
Intervalo obrigatório: x >= 0
attachment_count
integer
obrigatório
Intervalo obrigatório: x >= 0
cleanup_failure
object | null
obrigatório
created_at
string<date-time>
obrigatório
current_storage_price_usd_hr
number<double>
obrigatório
Intervalo obrigatório: x >= 0
data
object[]
obrigatório

Os repositórios baixados do volume; resolved_revision é definido quando o volume está pronto.

deleted_at
string<date-time> | null
obrigatório
failure
object | null
obrigatório
id
string
obrigatório
name
string
obrigatório
provisioned_at
string<date-time> | null
obrigatório
status
enum<string>
obrigatório
Opções disponíveis:
creating,
ready,
deleting,
deleted,
failed
storage_rate_usd_per_gib_hour
number<double>
obrigatório
Intervalo obrigatório: x >= 0
stored_bytes
integer<int64>
obrigatório
Intervalo obrigatório: x >= 0
stored_bytes_observed_at
string<date-time> | null
obrigatório
updated_at
string<date-time>
obrigatório