You are viewing documentation for version 2021-04-30. View latest version.
API for managing Packer images.
GetBuild
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ builds/ {build_id}
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
DeleteBuild
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ builds/ {build_id}
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
UpdateBuild
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ builds/ {build_id}
BuildUpdates is used to group the elements of a Build that are allowed to be updated after the build has been created. It is part of the UpdateBuildRequest.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListBuckets
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Specifies a page token to use to retrieve the previous page. Set this to
the previous_page_token
returned by previous list requests to get the
previous page of results. If set, next_page_token
must not be set.
Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending.
The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed.
Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order.
A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.
A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
CreateBucket
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images
A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.
A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetBucket
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}
A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.
A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
DeleteBucket
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
UpdateBucket
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}
A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.
A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListBucketAncestry
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ ancestry
The type of ancestry relations to list. Type 'parents' lists all the direct source images for this image bucket. Type 'children' lists all of the child images built directly from this image bucket. If not specified, defaults to listing both parent and child relationships for the image bucket.
An image channel in the image bucket associated with the request. This property filters the results to children whose parent iteration was assigned to this channel when the children were built. If not specified, the endpoint returns all children built from any iteration in this image bucket.
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Specifies a page token to use to retrieve the previous page. Set this to
the previous_page_token
returned by previous list requests to get the
previous page of results. If set, next_page_token
must not be set.
The human-readable version number of an iteration that HCP Packer uses to list that iteration's parents. All parents are the parent images Packer used to build this iteration. If not specified, the endpoint returns the parents of the image bucket's latest iteration.
ULID of the iteration that HCP Packer uses to list that iteration's parents. All parents are the parent images Packer used to build this iteration. If not specified, the endpoint returns the parents of the image bucket's latest iteration.
The parent-child relationship between two image buckets.
The total number of ancestral relationships returned for the specified image bucket. These can be parent or child images.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListChannels
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels
A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
CreateChannel
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels
Fingerprint of the iteration set by Packer when you call packer build
.
Refer to the Packer documentation for more information on how this value is set.
The fingerprint can be used as an identifier for the iteration.
A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetChannel
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels/ {slug}
Human-readable name for the bucket that the channel is associated with.
A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
DeleteChannel
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels/ {slug}
Human-readable name for the bucket that the channel is associated with.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
UpdateChannel
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels/ {slug}
Human-readable name for the bucket that the channel is associated with.
ULID of the iteration. This was created and set by the HCP Packer registry when the iteration was created.
Fingerprint of the iteration set by Packer when you call packer build
.
Refer to the Packer documentation for more information on how this value is set.
The fingerprint can be used as an identifier for the iteration.
When set, the service will only update the channel with attributes listed in the mask. For an empty mask list, all attributes will be updated according to their given value.
One or more of the iteration identifiers can be listed when updating the channel assignment. In this case, if paths for multiple iteration identifiers are present in the mask, the values of the equivalent fields must belong to the same iteration. NOTE: This is different from the behavior without a mask or with an empty mask, where the first non-zero identifier (in the order iterationId, fingerprint, incrementalVersion) is the only identifier used, and others are ignored.
Examples of usage:
A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListChannelHistory
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ channels/ {slug}/ history
Human-readable name for the bucket that the channel is associated with.
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
A channel assignment history entry. It contains information about when an iteration was assigned to a channel, and the user who did the assignment.
packer build
is currently running in the iteration.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetIteration
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ iteration
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListIterations
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ iterations
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Specifies a page token to use to retrieve the previous page. Set this to
the previous_page_token
returned by previous list requests to get the
previous page of results. If set, next_page_token
must not be set.
Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending.
The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed.
Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order.
The list endpoint does not return build information.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
CreateIteration
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ iterations
Fingerprint of the iteration set by Packer when you call packer build
.
Refer to the Packer documentation for more information on how this value is set.
The fingerprint can be used as an identifier for the iteration.
A valid fingerprint is 1-40 characters long and contains only ASCII letters, numbers, hyphens, dots, quotes,
and underscores.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
CreateBuild
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ iterations/ {iteration_id}
This message is used for build/create calls; it removes elements from the Build message that the user cannot set.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListBuilds
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ images/ {bucket_slug}/ iterations/ {iteration_id}/ builds
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Specifies a page token to use to retrieve the previous page. Set this to
the previous_page_token
returned by previous list requests to get the
previous page of results. If set, next_page_token
must not be set.
Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending.
The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed.
Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
DeleteIteration
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ iterations/ {iteration_id}
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
UpdateIteration
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ iterations/ {iteration_id}
Set to "true" when all builds associated with this iteration have successfully completed and uploaded metadata to the registry. When "complete" is true, this iteration is considered ready to use, and can have channels assigned to it.
Optional field to provide the reason for why this iteration is being revoked.
revoke_at accepts strings in the RFC 3339 format to represent the revocation timestamp. To instantly revoke the iteration, provide the current timestamp. The revoke_at timestamp will always be recorded in UTC (Coordinated Universal Time). This option is equivalent to the 'revoke_in' option and therefore only one of them should be set when updating the iteration.
revoke_in accepts a signed sequence of decimal numbers with a unit suffix to represent the duration to the revocation date, such as '30d' or '2h45m'. Valid time units are 's', 'm', 'h', and 'd' as for seconds, minutes, hours, and days. To instantly revoke the iteration, provide the duration of zero seconds ("0s"). The revoke_in duration will be used to calculate the iteration revocation timestamp, which will be recorded as UTC (Coordinated Universal Time). This option is equivalent to the 'revoke_at' option and therefore only one of them should be set when updating the iteration.
When set to true, the iteration's descendants won't inherit its revocation status.
Represents the actual region:image_id mapping for a single image, in a single build.
packer build
is currently running.packer build
has finished successfully.packer build
was cancelled by a user.packer build
failed and therefore image creation failed.Operation represents a single operation.
State is one of the states that an Operation can be in.
The states are purposely coarse grained to make it easy to understand the operation state machine: pending => running => done. Or pending => queued => running => done. No other state transitions are possible. Success/failure can be determined based on the result oneof.
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the API Design Guide.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetRegistry
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ registry
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
DeleteRegistry
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ registry
Operation represents a single operation.
State is one of the states that an Operation can be in.
The states are purposely coarse grained to make it easy to understand the operation state machine: pending => running => done. Or pending => queued => running => done. No other state transitions are possible. Success/failure can be determined based on the result oneof.
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the API Design Guide.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
CreateRegistry
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ registry
Operation represents a single operation.
State is one of the states that an Operation can be in.
The states are purposely coarse grained to make it easy to understand the operation state machine: pending => running => done. Or pending => queued => running => done. No other state transitions are possible. Success/failure can be determined based on the result oneof.
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the API Design Guide.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
UpdateRegistry
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ registry
Operation represents a single operation.
State is one of the states that an Operation can be in.
The states are purposely coarse grained to make it easy to understand the operation state machine: pending => running => done. Or pending => queued => running => done. No other state transitions are possible. Success/failure can be determined based on the result oneof.
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the API Design Guide.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
RegenerateTFCRunTaskHmacKey
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ runtasks/ hmac
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetRegistryTFCRunTaskAPI
https:/ / api.cloud.hashicorp.com/ packer/ 2021-04-30/ organizations/ {location.organization_id}/ projects/ {location.project_id}/ runtasks/ {task_type}
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.